LinHES Forums
http://forums.linhes.org/

How do I : Update website with link to Mythweb regularly?
http://forums.linhes.org/viewtopic.php?f=5&t=3487
Page 1 of 1

Author:  SWC [ Fri Feb 11, 2005 9:01 am ]
Post subject:  How do I : Update website with link to Mythweb regularly?

I'm not the most well versed when it comes to Linux, so I'm loking for a little guidance in what I think should be a doable addition to my Myth box.

I have a cable connection that is on all the time, but the IP is not static.

I have a linksys wireless router (WR54G) between the cable modem and my myth backend.

I have set up the wireless router to forward port 80 to the mythbackend, so that when I know the IP of the cable modem, I can pull up my mythweb and schedule, etc. The mythweb is password protected via instructions found on this forum, so no worries there.

I have a web page with a static IP on the internet.

How can I:

Regularly (every hour or two) have the myth backend determine its external IP and update the web page with a link to the wythweb site?

The missing components in my knowledge are:
A) How do I schedule a script to run (via cron?) every so often on Knoppmyth.

B) How do I find out the external IP of a box behind the router from the box itself?

Advice?

-swc

Author:  cesman [ Fri Feb 11, 2005 9:06 am ]
Post subject: 

Google for dynamic DNS.

Author:  khrusher [ Fri Feb 11, 2005 9:39 am ]
Post subject: 

I use dyndns, but my update client is a little flake.

I have been using the following script as well:

http://www.chrismenard.com/BuildMythWebPage.sh

    It determines the IP address
    Generates an HTML file with links through the IP address
    ftp's the HTML file to the Internet
setup is easy
    wget the file
    update the parms (your internet server, ftp info, port of mythweb apache server, etc) should be pretty easy to figure out.
    run via cron regularly to generate page
This is mine, which ALWAYS has accurate links (this page has more links then the sample will generate):

http://www.chrismenard.com/myth.html

Author:  jockboy6 [ Fri Feb 11, 2005 2:51 pm ]
Post subject:  no-ip.com

I use a free service called no-ip.com. It gives you both a domain name and it keeps track of your IP. It has a linux based client that keeps track of your IP and reports it to their servers.

http://www.no-ip.com

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/