Click to See Complete Forum and Search --> : ppp0 fails on reboot


bsh152s
08-31-2003, 02:13 AM
I followed instructions on how to setup a Yahoo DSL connection a while back. The result was that I was able to connect through the ppp0 device. I have no idea why I don't use eth0 to connect but that's another matter. By the way, I have attached a screenshot of my setup.

Anyway, everything works fine except that when I reboot, it fails when bringing up interface ppp0. It does this most of the time if not all of the time. But, I am able to connect manually once bootup finishes. On the other hand, if I shutdown and the boot up, everything works fine. Any ideas?

I'm using RH 9.0, my network eth0 device is RTL8139, and I have a Speedstream 5100 modem.

bsh152s
08-31-2003, 12:00 PM
bump

andycrofts
08-31-2003, 12:36 PM
...but from memory I had a similar problem.
Unfortunately, my gateway/server's commandline only (that's what connects to the interrnet) so I can't help with specific files, but...
IFIRC, I had to put a 10-second delay in the script between bringing up the network device, and connecting to the ISP..

This is my rc.local...
[root@madetoja etc]# cat rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

# start pppoe (bad way - must be a better one!
/usr/local/bin/start-pppoe
#wait for it to come up
sleep 10
# start zoneedit...
/usr/local/bin/zoneedit

Zoneedit's what sets my dns to my domain name. I know your case isn't the same, but (certainly from your symptoms) this is the direction I'd be inclined to look.

-Cheers
-Andy