on Mon, Jul 30, 2001 at 04:47:29PM -0400, [EMAIL PROTECTED] ([EMAIL PROTECTED]) 
wrote:
> How can I find out what my IP is once I connect to my PPP service?

    $ cat <<EOF > get-ip
    /sbin/ifconfig tun0 2>/dev/null | grep inet | awk '{ print $2 }'
    EOF
    $ chmod +x get-ip
    $ ./get-ip

-- 
Karsten M. Self <kmself@ix.netcom.com>      http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?         There is no K5 cabal
  http://gestalt-system.sourceforge.net/           http://www.kuro5hin.org
Free Dmitry!! Boycott Adobe!! Repeal the DMCA!!  http://www.freedmitry.org

Attachment: pgp1thXsuTBqR.pgp
Description: PGP signature

Reply via email to