on Mon, Jul 30, 2001 at 08:51:20PM -0700, Karsten M. Self
(kmself@ix.netcom.com) wrote:
> on Mon, Jul 30, 2001 at 04:47:29PM -0400, [EMAIL PROTECTED] ([EMAIL
> PROTECTED]) wrote:
Wups. That was copied from my OpenBSD box. You'll want to use 'ppp0'
(or other PPP device), not 'tun0', the oBSD in
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 < get-ip
/sbin/ifconfig tun0 2>/dev/null | grep inet | awk '{ print $2 }'
EOF
$ chmod +x get-ip
$ ./get-ip
--
Kar
Subject: Finding your IP
Date: Mon, Jul 30, 2001 at 04:47:29PM -0400
In reply to:[EMAIL PROTECTED]
Quoting [EMAIL PROTECTED]([EMAIL PROTECTED]):
> How can I find out what my IP is once I connect to my PPP service?
>
plog
--
If a listener nods his head when you're explaining yo
run /sbin/ifconfig ppp0
(or just /sbin/ifconfig and look for the block near ppp0).
I believe it's part of the net-tools package.
On Mon, Jul 30, 2001 at 04:47:29PM -0400, [EMAIL PROTECTED] scribbled...
> How can I find out what my IP is once I connect to my PPP service?
>
> Thanks,
> Deven
>
4 matches
Mail list logo