[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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.
-- 
John Hasler
john@dhh.gt.org
Dancing Horse Hill
Elmwood, Wisconsin



Reply to: