Floyd L. Davidson wrote:
> (E-Mail Removed) (David Efflandt) wrote:
>
>>On Sat, 14 May 2005, Jason L. Woodruff <(E-Mail Removed)>
>>wrote:
>>
>>>As suspicous as this may sound, I was wondering If anyone knew of a way
>>>to retrieve the WAN ip of a router in the event that it gets reset. I
>>>manage a client's Linux File-Sharing server from my home and I was
>>>wondering if it's possible to have the Linux server query for the WAN ip
>>>from the router or from some other source and email or upload the ip
>>>info so I won't have to call the office to get the WAN ip everytime I
>>>need to login via SSH and update the system for them. Damn dynamic
>>>assigning! Any info would be appreciated.
>
> ...
>
>>Now I simply use Linux on an old Celeron 300 as a pppoe/firewall/router,
>>so it runs the no-ip.com DNS update client from /etc/ppp/ip-up (which
>>automatically runs whenever pppoe gets an IP).
>
>
> Note that ip-up, or whatever might be available on the router
> that is similar, could also just email the new IP address to the
> OP...
>
Hey guys,
Thanks for all the great information. To give a little more details
about the setup, the clients that I'm working with have a Netopia DSL
modem sitting behind one of those "EL Cheapo" "Wal-Mart" jobs Linksys
N041 router with a 4 port switch. A little blue box the size of 4"X2.5"
.. They are running a "nice" DELL Dimesion with 2.8GHz HT system that had
WIndows XP Pro but talked them into putting Linux (Fedora Core 3)
because of some weired 3 to 5 minute connection to the office share on
the Windows XP setup. Now it only takes 3 to 5 seconds with Linux (but
that's another story). The point here is that the router function is not
done through Linux but through a hardware device. I was kinda of
thinking of a script that could actually use a text web browser and
connect to a site that can display your WAN ip and let perl strip the
text for any numbers, then auto FTP the info into a remote FTP server
and upload the file everyday by using a CRON job. My next question, how
do you write a script? LOL, just kidding, I'll give your suggestions a
go. Again, thanks for all of your help!
-Jason
--
Registered Linux user #339721
Visit me @
http://home.centurytel.net/jlw-tech