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

Re: How to determine local IP



Ramesh Natarajan writes:
> Hi, Once dialed in, how to determine the local (dynamically assigned) IP
> id? I know pppd invokes ip-up with the local IP. But outside that, is
> there a env variable, API or a file that holds returns this info?

Put a script in /etc/ppp/ip-up.d to write the IP to a file.
-- 
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI


Reply to: