Vegard Lundby Rekaa wrote: > Is there another, easier way to do this? lynx -dump whatismyip.org or try this stupid line: $ su --command="ifconfig |egrep -A1 Point-to-Point|egrep '(inet addr:)'| sed -n '1p'"|gawk '{print $2}'|cut -c6-22 hth Gerhard Gaußling