WAN-IP of router

David A. Bandel david.bandel at gmail.com
Fri Aug 6 06:58:38 PDT 2010


On Thu, Aug 5, 2010 at 13:21, Jorge Almeida <jjalmeida at gmail.com> wrote:
> On Thu, Aug 5, 2010 at 1:50 PM, Brad De Vries <devriesbj at gmail.com> wrote:
>
>>
>> Jorge, you can also take a look at how other scripts query routers.
>>
>> I use a Perl script called ddclient (http://ddclient.sourceforge.net.)
>>  I'm not sure if your router is listed as being "supported" by
>> ddclient, but even if it's not, it might be helpful to see how it
>> works.
>>
> Thanks, Brad. It even is in portage. But I was really wondering
> whether there is some standard networking tool to do the job. I guess
> there isn't, so I'll make my own script once I get dd-wrt installed.
> Until then, I can live with using http://whatismyipaddress.com once a
> day or so.
>

I suggest looking at openwrt.  Lots more options there.  Once you can
get into your router with a command line, a simple `ip addr` will show
you all the addresses on the system.

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto
Visit my blog at: http://www.pananix.com/cgi-bin/blosxom




More information about the Linux-users mailing list