[RP-PPPoE] PPP complains about modem hang-up when invoked from pppoe-server

David Fernandez david.fernandez.work at googlemail.com
Wed Oct 11 10:03:02 EDT 2017


Hi there,

I'm trying to configure a simple pppoe server without routing or forwarding.

The client is a windows machine.

The PPPoE discovery seems to be fine, but the moment the windows sends 
the first LCP packet, the linux terminates the PPPoE session with the 
error "Generic-Error: RP-PPPoE: Child pppd process terminated" in the PADT.

Enabling debug and dump for pppd shows only that pppd complains about 
mmodem hangup, log below.

Any ideas? Must be something very silly:

Feb  2 14:16:11 LEDE pppoe-server[1799]: Session 1 created for client 
7c:d3:0a:15:22:49 (192.168.170.100) on eth1 using Service-Name 'myservice'
Feb  2 14:16:11 LEDE pppd[1799]: pppd options in effect:
Feb  2 14:16:11 LEDE pppd[1799]: debug#011#011# (from 
/etc/ppp/pppoe-server-options)
Feb  2 14:16:11 LEDE pppd[1799]: nodetach#011#011# (from command line)
Feb  2 14:16:11 LEDE pppd[1799]: dump#011#011# (from 
/etc/ppp/pppoe-server-options)
Feb  2 14:16:11 LEDE pppd[1799]: noauth#011#011# (from 
/etc/ppp/pppoe-server-options)
Feb  2 14:16:11 LEDE pppd[1799]: pty /usr/sbin/pppoe -n -I eth1 -e 
1:7c:d3:0a:15:22:49 -S 'myservice'#011#011# (from command line)
Feb  2 14:16:11 LEDE pppd[1799]: nocrtscts#011#011# (from 
/etc/ppp/pppoe-server-options)
Feb  2 14:16:11 LEDE pppd[1799]: local#011#011# (from 
/etc/ppp/pppoe-server-options)
Feb  2 14:16:11 LEDE pppd[1799]: noaccomp#011#011# (from command line)
Feb  2 14:16:11 LEDE pppd[1799]: default-asyncmap#011#011# (from command 
line)
Feb  2 14:16:11 LEDE pppd[1799]: mru 1492#011#011# (from command line)
Feb  2 14:16:11 LEDE pppd[1799]: mtu 1492#011#011# (from command line)
Feb  2 14:16:11 LEDE pppd[1799]: nopcomp#011#011# (from command line)
Feb  2 14:16:11 LEDE pppd[1799]: lcp-echo-failure 2#011#011# (from 
/etc/ppp/pppoe-server-options)
Feb  2 14:16:11 LEDE pppd[1799]: lcp-echo-interval 10#011#011# (from 
/etc/ppp/pppoe-server-options)
Feb  2 14:16:11 LEDE pppd[1799]: noipdefault#011#011# (from 
/etc/ppp/pppoe-server-options)
Feb  2 14:16:11 LEDE pppd[1799]: nodefaultroute#011#011# (from 
/etc/ppp/pppoe-server-options)
Feb  2 14:16:11 LEDE pppd[1799]: netmask 255.255.255.0#011#011# (from 
/etc/ppp/pppoe-server-options)
Feb  2 14:16:11 LEDE pppd[1799]: 
192.168.170.254:192.168.170.100#011#011# (from command line)
Feb  2 14:16:11 LEDE pppd[1799]: pppd 2.4.7 started by root, uid 0
Feb  2 14:16:11 LEDE pppd[1799]: Using interface ppp0
Feb  2 14:16:11 LEDE pppd[1799]: Connect: ppp0 <--> /dev/pts/0
Feb  2 14:16:11 LEDE pppd[1799]: Modem hangup
Feb  2 14:16:11 LEDE pppd[1799]: Connection terminated.
Feb  2 14:16:12 LEDE pppd[1799]: Exit.
Feb  2 14:16:12 LEDE pppoe-server[1798]: Session 1 closed for client 
7c:d3:0a:15:22:49 (192.168.170.100) on eth1
Feb  2 14:16:12 LEDE pppoe-server[1798]: Sent PADT
Feb  2 14:16:12 LEDE pppoe-server[1798]: PADT for session 1 received 
from 7C:D3:0A:15:22:49; should be from 00:00:00:00:00:00



More information about the RP-PPPoE mailing list