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

Re: Problems with PPP on boot



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

>> In your case, is Bind being started by an init script in 
>> /etc/init.d/?  If so, perhaps you could add a new init script that 
>> brings up the PPPoE connection.  Then, using update-rc.d, add the 
>> symbolic links to your script with a number that causes your PPPoE 
>> init script to be run before the Bind init script and any others 
>> that require the PPPoE link.

I haven't modified any of the relevant init scripts.

As far as I know the ppp daemon is started from /etc/rcS.d/S40networking
(it contains command 'ifup -a' which should bring up all network
interfaces, including ppp0)

Other daemons (bind, ntp, ...) are started from scripts that are linked
to /etc/rc2.d (S19bind, S23ntp-server, etc.).

The manuals you pointed me to say that /etc/rcS.d scripts are ran before
any of the /etc/rc2.d scripts.

I think the problem is that S40networking runs 'ifup -a' which in turn
runs pppd. pppd forks and returns immediately, which means that other
boot scripts are started while the ppp is making connection in the
background.

Best regards
Tomaz Solc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEoPsfsAlAlRhL9q8RAr2nAJwIQeaZa+qOVYrpUbwVuIg6NhjRrwCcDKr0
HjdK+n1LlYC4nKiTFLizhKE=
=9Zj5
-----END PGP SIGNATURE-----



Reply to: