Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread John Hasler
Wayne Topa writes: > If you used pppconfig/pon > plog Or even if you didn't. Plog is just #!/bin/sh if [ -s /var/log/ppp.log ]; then exec tail "$@" /var/log/ppp.log else exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\[' fi It doesn't care how pppd was started or configured. -- Jo

Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Wayne Topa
Subject: Determining IP address of my pc (dial up and/or cable modem) Date: Thu, May 24, 2001 at 08:35:57AM -0400 In reply to:Antonio Rodriguez Quoting Antonio Rodriguez([EMAIL PROTECTED]): > I know this must be a very stupid question (+/+) flaming myself > Any way: I am not

Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Martin Feeney
ifconfig ppp0 | grep 'inet addr:' | sed 's/.*inet addr:\([0-9.]*\).*/\1/g' If your connection is via ethernet, just swap ppp0 above with eth0 or eth1 or whatever. The above will return just the ip address. For more general information on your interfaces, just use ifconfig.

Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Petr \[Dingo\] Dvorak
On Thu, 24 May 2001, Christophe TROESTLER wrote: CT> On Thu, 24 May 2001, "Antonio Rodriguez" <[EMAIL PROTECTED]> wrote: CT> > CT> > I know this must be a very stupid question (+/+) flaming myself CT> > Any way: I am not sure how I can determine the IP address of my CT> > machine after I hav

Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Christophe TROESTLER
On Thu, 24 May 2001, "Antonio Rodriguez" <[EMAIL PROTECTED]> wrote: > > I know this must be a very stupid question (+/+) flaming myself > Any way: I am not sure how I can determine the IP address of my > machine after I have a dialup connection established. Will the first > ip given by mtr be

Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Sanjeev Gupta
On Thu, 24 May 2001, Antonio Rodriguez wrote: > I know this must be a very stupid question (+/+) flaming myself > Any way: I am not sure how I can determine the IP address of my machine > after I have a dialup connection established. Will the first ip given by mtr > be mine, or first machi