c***@gmail.com
2006-10-17 23:59:10 UTC
Can you help me understand the reason the LCP is failing...there are 2
logs below to help you understand what is happening. This is for a
pppoe-server session but the failure is happening in the pppd setup (or
so I think).
Here's my current pppoe-server-options (which are used as if they were
in ppp/options):
noauth
debug
ms-dns 192.168.1.1
logfile /var/log/pppd.log
Here's the /var/log/pppd.log with windows client:
using channel 153
Using interface ppp0
Connect: ppp0 <--> /dev/pts/22
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
rcvd [proto=0x7eff] 7d 23 c0 21 7d 21 7d 21 7d 20 7d 31 7d 21 7d 24 7d
25 c8 7d 25 7d 26 7d 3f 83 7d 20 66 7d 2d 7d ...
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
rcvd [proto=0x7eff] 7d 23 c0 21 7d 21 7d 23 7d 20 7d 31 7d 21 7d 24 7d
25 c8 7d 25 7d 26 7d 3f 83 7d 20 66 7d 2d 7d ...
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
rcvd [proto=0x7eff] 7d 23 c0 21 7d 21 7d 25 7d 20 7d 31 7d 21 7d 24 7d
25 c8 7d 25 7d 26 7d 3f 83 7d 20 66 7d 2d 7d ...
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
rcvd [proto=0x7eff] 7d 23 c0 21 7d 21 7d 27 7d 20 7d 31 7d 21 7d 24 7d
25 c8 7d 25 7d 26 7d 3f 83 7d 20 66 7d 2d 7d ...
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
LCP: timeout sending Config-Requests
Connection terminated.
using channel 154
Using interface ppp0
Connect: ppp0 <--> /dev/pts/23
Waiting for 2 child processes...
script /usr/sbin/pppoe -n -I eth1 -e 1:00:0a:e4:de:2e:bf -S ' -T 60
-s', pid 8839
script /usr/sbin/pppoe -n -I eth1 -e 1:00:0a:e4:de:2e:bf -S ' -T 60
-s', pid 8831
And if I remove the -s option:
using channel 156
Using interface ppp0
Connect: ppp0 <--> /dev/pts/25
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
rcvd [LCP ConfReq id=0x1 <mru 1480> <magic 0x20e927fe> <callback CBCP>]
sent [LCP ConfRej id=0x1 <callback CBCP>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
sending SIGTERM to process 8863
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
rcvd [LCP ConfReq id=0x3 <mru 1480> <magic 0x20e927fe> <callback CBCP>]
sent [LCP ConfRej id=0x3 <callback CBCP>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
rcvd [LCP ConfReq id=0x5 <mru 1480> <magic 0x20e927fe> <callback CBCP>]
sent [LCP ConfRej id=0x5 <callback CBCP>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
rcvd [LCP ConfReq id=0x7 <mru 1480> <magic 0x20e927fe> <callback CBCP>]
sent [LCP ConfRej id=0x7 <callback CBCP>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
LCP: timeout sending Config-Requests
Connection terminated.
using channel 157
Using interface ppp0
Connect: ppp0 <--> /dev/pts/26
Waiting for 2 child processes...
script /usr/sbin/pppoe -n -I eth1 -e 1:00:0a:e4:de:2e:bf -S ' -T 60',
pid 8903 script /usr/sbin/pppoe -n -I eth1 -e 1:00:0a:e4:de:2e:bf -S '
-T 60', pid 8895sent [LCP ConfReq id=0x2 <magic 0x8838f39c>]
logs below to help you understand what is happening. This is for a
pppoe-server session but the failure is happening in the pppd setup (or
so I think).
Here's my current pppoe-server-options (which are used as if they were
in ppp/options):
noauth
debug
ms-dns 192.168.1.1
logfile /var/log/pppd.log
Here's the /var/log/pppd.log with windows client:
using channel 153
Using interface ppp0
Connect: ppp0 <--> /dev/pts/22
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
rcvd [proto=0x7eff] 7d 23 c0 21 7d 21 7d 21 7d 20 7d 31 7d 21 7d 24 7d
25 c8 7d 25 7d 26 7d 3f 83 7d 20 66 7d 2d 7d ...
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
rcvd [proto=0x7eff] 7d 23 c0 21 7d 21 7d 23 7d 20 7d 31 7d 21 7d 24 7d
25 c8 7d 25 7d 26 7d 3f 83 7d 20 66 7d 2d 7d ...
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
rcvd [proto=0x7eff] 7d 23 c0 21 7d 21 7d 25 7d 20 7d 31 7d 21 7d 24 7d
25 c8 7d 25 7d 26 7d 3f 83 7d 20 66 7d 2d 7d ...
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
rcvd [proto=0x7eff] 7d 23 c0 21 7d 21 7d 27 7d 20 7d 31 7d 21 7d 24 7d
25 c8 7d 25 7d 26 7d 3f 83 7d 20 66 7d 2d 7d ...
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <magic 0xe188cc35>]
LCP: timeout sending Config-Requests
Connection terminated.
using channel 154
Using interface ppp0
Connect: ppp0 <--> /dev/pts/23
Waiting for 2 child processes...
script /usr/sbin/pppoe -n -I eth1 -e 1:00:0a:e4:de:2e:bf -S ' -T 60
-s', pid 8839
script /usr/sbin/pppoe -n -I eth1 -e 1:00:0a:e4:de:2e:bf -S ' -T 60
-s', pid 8831
And if I remove the -s option:
using channel 156
Using interface ppp0
Connect: ppp0 <--> /dev/pts/25
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
rcvd [LCP ConfReq id=0x1 <mru 1480> <magic 0x20e927fe> <callback CBCP>]
sent [LCP ConfRej id=0x1 <callback CBCP>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
sending SIGTERM to process 8863
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
rcvd [LCP ConfReq id=0x3 <mru 1480> <magic 0x20e927fe> <callback CBCP>]
sent [LCP ConfRej id=0x3 <callback CBCP>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
rcvd [LCP ConfReq id=0x5 <mru 1480> <magic 0x20e927fe> <callback CBCP>]
sent [LCP ConfRej id=0x5 <callback CBCP>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
rcvd [LCP ConfReq id=0x7 <mru 1480> <magic 0x20e927fe> <callback CBCP>]
sent [LCP ConfRej id=0x7 <callback CBCP>]
sent [LCP ConfReq id=0x1 <magic 0x65589cc4>]
LCP: timeout sending Config-Requests
Connection terminated.
using channel 157
Using interface ppp0
Connect: ppp0 <--> /dev/pts/26
Waiting for 2 child processes...
script /usr/sbin/pppoe -n -I eth1 -e 1:00:0a:e4:de:2e:bf -S ' -T 60',
pid 8903 script /usr/sbin/pppoe -n -I eth1 -e 1:00:0a:e4:de:2e:bf -S '
-T 60', pid 8895sent [LCP ConfReq id=0x2 <magic 0x8838f39c>]