<div>What is my ipaddress' Terms of Use</div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 15px; line-height: 20px; ">"You may not use a script, agent, application or otherwise query this website in an automated fashion without prior written permission."</span></div>
<div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 15px; line-height: 20px; "><br></span></div><h2 style="margin:0;">IP Information: <span class="ip blue">115.70.121.139<!-- contact us before using a script to get your IP address --></span></h2><br>
<br><div><br><div class="gmail_quote">On 5 August 2010 20:51, Jay Nugent <span dir="ltr"><<a href="mailto:jjn@nuge.com">jjn@nuge.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Greetings,<br>
<div class="im"><br>
On Thu, 5 Aug 2010, Jorge Almeida wrote:<br>
<br>
> Is there any sensible, script-friendly, way of finding my router's<br>
> external (dynamical) IP? It looks surprisingly difficult, judging by<br>
> Google results...<br>
> The thing is an ASUS RT-N16. I intend to install dd-wrt, eventually,<br>
> but for the time being it has the original software, which appears to<br>
> be complete crap, BTW.<br>
<br>
</div> <a href="http://whatismyipaddress.com" target="_blank">http://whatismyipaddress.com</a><br>
<br>
And as a script use the --dump option of lynx and then grep for the<br>
specific string that will contain your IP address answer. You can then<br>
use awk to grab the IP address string itself if that is all you want.<br>
<br>
<br>
lynx --dump <a href="http://whatismyipaddress.com" target="_blank">http://whatismyipaddress.com</a> | grep "IP Information"<br>
<br>
<br>
<br>
Enjoy!<br>
--- Jay Nugent<br>
Ypsilanti, Michigan<br>
<br>
Train how you will Operate, and you will Operate how you were Trained.<br>
+------------------------------------------------------------------------+<br>
<font color="#888888">| Jay Nugent <a href="mailto:jjn@nuge.com">jjn@nuge.com</a> (734)484-5105 (734)649-0850/Cell |<br>
| Nugent Telecommunications [<a href="http://www.nuge.com" target="_blank">www.nuge.com</a>] |<br>
| Internet Consulting/Linux SysAdmin/Engineering & Design/ISP Reseller |<br>
| ISP Monitoring [<a href="http://www.ispmonitor.org" target="_blank">www.ispmonitor.org</a>] ISP & Modem Performance Monitoring |<br>
| Web-Pegasus [<a href="http://www.webpegasus.com" target="_blank">www.webpegasus.com</a>] Web Hosting/DNS Hosting/Shell Accts|<br>
+------------------------------------------------------------------------+<br>
6:01am up 7 days, 14:27, 3 users, load average: 0.09, 0.11, 0.13<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Linux-users mailing list ( <a href="mailto:Linux-users@linux-sxs.org">Linux-users@linux-sxs.org</a> )<br>
Unsub/Password/Etc:<br>
<a href="http://linux-sxs.org/mailman/listinfo/linux-users" target="_blank">http://linux-sxs.org/mailman/listinfo/linux-users</a><br>
<br>
Need to chat further on this subject? Check out #linux-users on <a href="http://irc.linux-sxs.org" target="_blank">irc.linux-sxs.org</a> !<br>
</div></div></blockquote></div><br></div>