[plug] Determining ip address

James Devenish devenish at guild.uwa.edu.au
Wed Dec 17 13:59:56 WST 2003


In message <3FDFEF43.7000608 at wasp.net.au>
on Wed, Dec 17, 2003 at 09:53:07AM +0400, Brad Campbell wrote:
> I'm behind a Lucent Cellpipe 20A pppoa gateway up here, I need an easy, 
> scriptable way to determine my external ip address

For Linux, Cameron parses the output of `ip addr show dev <if>` or
`ifconfig` or `netstat -ei` style commands (shown an earlier thread
from the last two days).





More information about the plug mailing list