Click to See Complete Forum and Search --> : PPPoE-Server Startup Script failes
atray
01-12-2006, 12:26 AM
I have created a /etc/init.d/pppoe-server that works if I manually start it, but if I reboot the server it appears to start, but will not function until I manually restart the service. I have tried putting the following line in /etc/rc.local
pppoe-server -I eth1 -L 192.168.0.1 -R 192.168.0.100-102
This results in the same type of problem only this time I have to type it in by hand, I cannot simply execute the rc.local
I am befuddled by this...
Any ideas?
ph34r
01-12-2006, 10:16 AM
Put the full path to the program
/usr/sbin/pppoe-server -I eth1 -L 192.168.0.1 -R 192.168.0.100-102
Note that it may not be in /usr/sbin - do "which pppoe-server" to find out where it really is
atray
01-12-2006, 02:52 PM
Thanks for the reply.
Tried:
/usr/sbin/pppoe-server -I eth1 -L 192.168.0.1 -R 192.168.0.100-103
Still does the same thing.
/var/log/messages shows:
Jan 12 12:42:43 localhost pppoe-server[2243]: Session 1 created for client 00:11:43:75:bd:99 (192.168.0.100) on eth1 using Service-Name ''
Jan 12 12:42:44 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California
Jan 12 12:42:44 localhost kernel: PPP generic driver version 2.4.2
Jan 12 12:42:47 localhost pppd[2243]: pppd 2.4.2 started by root, uid 0
Jan 12 12:42:47 localhost pppd[2243]: Couldn't get channel number: Input/output error
Jan 12 12:42:47 localhost pppd[2243]: Exit.
Jan 12 12:42:47 localhost pppoe-server[2045]: Session 1 closed for client 00:11:43:75:bd:99 (192.168.0.100) on eth1
Jan 12 12:42:48 localhost pppoe-server[2045]: Sent PADT