On Fri, 14 Sep 2001, noel seq wrote:
Thanx, works beautifully. I could not locate the routing instructions made by ppp when the modem got connected. So i thought of writing one myself. How do i get the gateway from my ppp0. Ifconfig gives the entire details. There was a thread sometime back to mail the ip address received from the modem, but i could not locate it from the archives. If someone is using it please post it on the list. Philip had written a script to this effect.
check man pppd. Also, if you set DEFROUTE=no in /etc/sysconfig/network-scripts/ifcfg-ppp0, and then in /etc/sysconfig/network-scripts/ifup-ppp you add the routing code it may work.
Philip