Re: grep for ip address on boot

2002-11-19 Thread Ray Olszewski
I don't know how promptly your application requires you to sync with ppp0 IP address changes, but there is an off-the-shelf alternative to what you are proposing. When pppd runs, it will execute the script /etc/ppp/ip-up, and that script has access to the local IP address as an environment vari

Re: grep for ip address on boot

2002-11-19 Thread Mike Dresser
On 19 Nov 2002, Bryan Simmons wrote: > I have an adsl connection that uses a dynamic IP from my ISP. I use the > adsl-status script to find out what my IP is at any time. > What I want to do is parse the response I get from adsl-status to > isolate my IP. Here is the output of the adsl-status sc

grep for ip address on boot

2002-11-19 Thread Bryan Simmons
I have an adsl connection that uses a dynamic IP from my ISP. I use the adsl-status script to find out what my IP is at any time. What I want to do is parse the response I get from adsl-status to isolate my IP. Here is the output of the adsl-status script: adsl-status: Link is up and running on