WAN-IP of router
Brad De Vries
devriesbj at gmail.com
Thu Aug 5 05:50:00 PDT 2010
On Thu, Aug 5, 2010 at 3:59 AM, Jorge Almeida <jjalmeida at gmail.com> wrote:
> Is there any sensible, script-friendly, way of finding my router's
> external (dynamical) IP? It looks surprisingly difficult, judging by
> Google results...
> The thing is an ASUS RT-N16. I intend to install dd-wrt, eventually,
> but for the time being it has the original software, which appears to
> be complete crap, BTW.
>
> Jorge Almeida
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.
Brad.
More information about the Linux-users
mailing list