LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Have to "poff" and then "pon" every time at startup (https://www.linuxquestions.org/questions/linux-networking-3/have-to-poff-and-then-pon-every-time-at-startup-598035/)

seish 11-08-2007 07:46 AM

Have to "poff" and then "pon" every time at startup
 
Hi LQ.org community.

I have this very annoying problem with my PPPOE connection. Im using a provider i configured as "provider", and I did my config with the pppoeconfig command.
Everything works great
except that every time I start my computep my pppoe connection is on and I have to restart it by typing
sudo poff provider
sudo pon provider

I can try and set it as an X startup script, but thats not solving the problem.

Do you know how I can fix this.
I think maybe in the boot order it starts something before the other but thats just noob guessing.

/Using Debian unstable
PS: When I was using Mandrake years ago there was an option "Interactive startup" where at every step of the boot you got prompted to continue or skip loading the current service. It really helped examine how my computer boots. Is there a similar option on debian. Im using LILO if its connected to that.

Cheers

Libra RHR 11-09-2007 02:48 AM

Try an ugly hack if this works:
Remove the pppoe start up from the System V Init scripts (this can be done for example by any graphic tool you can determine the startup services with).

Reboot then and look if the pppoe is really NOT UP. If so, add an appropriate line to the script "/etc/rc.local" - you may create this, because in most cases it does nothing and so not even exists.

Reboot again to see if it works - and then it should work forever.

Cheers


All times are GMT -5. The time now is 10:56 PM.