View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Feb 11, 2005 9:01 am 
Offline
Joined: Sun Mar 07, 2004 4:05 pm
Posts: 42
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 11, 2005 9:06 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Google for dynamic DNS.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 11, 2005 9:39 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
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

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject: no-ip.com
PostPosted: Fri Feb 11, 2005 2:51 pm 
Offline
Joined: Fri Feb 11, 2005 2:47 pm
Posts: 14
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


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu