skyboy
August 1st, 2005, 08:54 AM
Hi,
I wanted to know if it is possible to create a script to be able to retrieve my IP address from http://www.whatismyip.com
My router's IP is dynamic and changing quite often so it would be great so I could add this script to my superkaramba theme to know my IP address as soon as it changes.
OOhh yes, my computer is connect to my router, so basically it's my router IP address I need to retreive, that is why I can't use something like
ifconfig ath0 | grep 'inet addr' | cut -d ':' -f2 | cut -d ' ' -f1
thanks :)
I wanted to know if it is possible to create a script to be able to retrieve my IP address from http://www.whatismyip.com
My router's IP is dynamic and changing quite often so it would be great so I could add this script to my superkaramba theme to know my IP address as soon as it changes.
OOhh yes, my computer is connect to my router, so basically it's my router IP address I need to retreive, that is why I can't use something like
ifconfig ath0 | grep 'inet addr' | cut -d ':' -f2 | cut -d ' ' -f1
thanks :)