Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to find a router's public non-static IP address' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to find a router's public non-static IP address
Authored by: jmdevaney on Oct 24, '05 06:09:21AM
This is what I use:


#!/bin/bash

curl -s http://checkip.dyndns.org | awk '{print $6}' | awk ' BEGIN { FS = "<" } { print $1 } '

---
Jdevaney

[ Reply to This | # ]

whatismyip.org
Authored by: guardian34 on Oct 24, '05 06:25:02AM

You can also use this:
curl -s http://whatismyip.org



[ Reply to This | # ]
whatismyip.org
Authored by: unforeseen:X11 on Oct 24, '05 08:37:22AM

Yes, this one is waaaay simpler. ;-)

---
this is not the sig you`re looking for.



[ Reply to This | # ]