Results 1 to 2 of 2
I am using a ppp network to communicate across two transceivers. The transceivers act like a serial cable directly connecting two computers. I am running a pppd getty in /etc/inittab ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-03-2009 #1
- Join Date
- Dec 2009
How to disable INIT: respawning to fast disabling for 5 minutes"
I am running a pppd getty in /etc/inittab
pd:2345:respawn:/usr/sbin/pppd /dev/ttyUSB0 nodetach
INIT: Id "pd" respawning too fast: disabled for 5 minutes
Connect: ppp0 <--> /dev/ttyUSB0
Other than this the connection is fairly stable and has no problems. Any help would be appreciated
- 01-19-2010 #2
- Join Date
- Jun 2008
Add pppd delay or else recompile init
I don't have much experience with this but perhaps add the "connect" flag to the pppd line and run something that times out for a few seconds before each new start of pppd. Perhaps pppd gets knocked by noise and tries to start up too fast or before the other end has cleaned up (I'm guessing).
>> pd:2345:respawn:/usr/sbin/pppd /dev/ttyUSB0 nodetach connect 'sleep 5'
Changing to this line above might cause pppd to respawn no faster than every 5 seconds, and that might solve the problem.
If you want to take chances, you can also try to recompile init (eg, maybe you use the "sysinit" project at freshmeat) and change "#define SLEEPTIME 300 /* Disable time */" to a value less than 300 (300 is 5 minutes).
Sorry, but I have not tested these suggestions and am working off limited amount of knowledge and experience.