Hello folks,
I have two identical TL-WR1043N devices of the same version and running 19.07.04. The pppoe wan connects on one device and does not connect on the other. I tried the following things.
- Config reset both the devices and configure.
- Download the configuration from the working device and upload to the non-working one.
- downgraded to openwrt 18 and tried.
but one device seems does not work at all with PPPOE wan, but it works fine with dhcp.
I enabled the debug in the pppoe conf file and capture some logs.
Here is the working one
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
dst ff:ff:ff:ff:ff:ff src 70:4f:57:b2:60:be
[service-name] [host-uniq 00 00 0f ee]
Recv PPPOE Discovery V1T1 PADO session 0x0 length 46
dst 70:4f:57:b2:60:be src ac:1f:6b:a4:0b:4c
[AC-name EXCITEL] [service-name] [service-name excitel] [host-uniq 00 00 0f ee] [AC-cookie 1b f6 af d6 04 88 ff ff]
Send PPPOE Discovery V1T1 PADR session 0x0 length 24
dst ac:1f:6b:a4:0b:4c src 70:4f:57:b2:60:be
[service-name] [host-uniq 00 00 0f ee] [AC-cookie 1b f6 af d6 04 88 ff ff]
Recv PPPOE Discovery V1T1 PADO session 0x0 length 48
dst 70:4f:57:b2:60:be src cc:2d:e0:11:93:f6
[host-uniq 00 00 0f ee] [service-name] [AC-name Jaihind online-Attapur] [service-name EXCELL]
Recv PPPOE Discovery V1T1 PADS session 0x8280 length 35
dst 70:4f:57:b2:60:be src ac:1f:6b:a4:0b:4c
[AC-name EXCITEL] [service-name] [host-uniq 00 00 0f ee] [AC-cookie 1b f6 af d6 04 88 ff ff]
PADS: Service-Name: ''
PPP session is 33408
Connected to ac:1f:6b:a4:0b:4c via interface eth0.200
using channel 24
Renamed interface ppp0 to pppoe-wan
Using interface pppoe-wan
Connect: pppoe-wan <--> eth0.200
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xc1704f23>]
rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0xc1704f23>]
rcvd [LCP ConfReq id=0x2 <pcomp> <mru 1492> <magic 0x16c0b948> <auth chap MD5>]
sent [LCP ConfRej id=0x2 <pcomp>]
rcvd [LCP ConfReq id=0x3 <mru 1492> <magic 0x16c0b948> <auth chap MD5>]
sent [LCP ConfAck id=0x3 <mru 1492> <magic 0x16c0b948> <auth chap MD5>]
sent [LCP EchoReq id=0x0 magic=0xc1704f23]
rcvd [CHAP Challenge id=0x1 <bb1e685bc8fed7a3f7bf4858ce79cbfcf8bce0bd7e2b78384cfb02bac1>, name = "6wind"]
sent [CHAP Response id=0x1 <bd6574691a8479e6a1daf2cd1601df67>, name = "udaikiran"]
rcvd [LCP EchoRep id=0x0 magic=0x16c0b948]
rcvd [CHAP Success id=0x1 "Welcome"]
CHAP authentication succeeded: Welcome
CHAP authentication succeeded
peer from calling number AC:1F:6B:A4:0B:4C authorized
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPV6CP ConfReq id=0x1 <addr fe80::d512:900e:6d7f:ae4e>]
rcvd [IPCP ConfReq id=0x1 <addr 110.235.224.1>]
sent [IPCP ConfAck id=0x1 <addr 110.235.224.1>]
rcvd [LCP ProtRej id=0x1 80 57 01 01 00 0e 01 0a d5 12 90 0e 6d 7f ae 4e]
Protocol-Reject for 'IPv6 Control Protocol' (0x8057) received
rcvd [IPCP ConfNak id=0x1 <addr 144.48.75.254> <ms-dns1 110.235.231.2> <ms-dns2 110.235.224.1>]
sent [IPCP ConfReq id=0x2 <addr 144.48.75.254> <ms-dns1 110.235.231.2> <ms-dns2 110.235.224.1>]
rcvd [IPCP ConfAck id=0x2 <addr 144.48.75.254> <ms-dns1 110.235.231.2> <ms-dns2 110.235.224.1>]
local IP address 144.48.75.254
remote IP address 110.235.224.1
primary DNS address 110.235.231.2
secondary DNS address 110.235.224.1
Script /lib/netifd/ppp-up started (pid 4131)
Script /lib/netifd/ppp-up finished (pid 4131), status = 0x1
And here is the non-working one.
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
dst ff:ff:ff:ff:ff:ff src 70:4f:57:b2:5a:ae
[service-name] [host-uniq 00 00 4f 10]
Recv PPPOE Discovery V1T1 PADO session 0x0 length 46
dst 70:4f:57:b2:5a:ae src ac:1f:6b:a4:0b:4c
[AC-name EXCITEL] [service-name] [service-name excitel] [host-uniq 00 00 4f 10] [AC-cookie 1b f7 05 50 04 88 ff ff]
Send PPPOE Discovery V1T1 PADR session 0x0 length 24
dst ac:1f:6b:a4:0b:4c src 70:4f:57:b2:5a:ae
[service-name] [host-uniq 00 00 4f 10] [AC-cookie 1b f7 05 50 04 88 ff ff]
Recv PPPOE Discovery V1T1 PADO session 0x0 length 46
dst 70:4f:57:b2:5a:ae src ac:1f:6b:a4:0b:86
[AC-name EXCITEL] [service-name] [service-name excitel] [host-uniq 00 00 4f 10] [AC-cookie 1b f6 cf 79 04 88 ff ff]
Recv PPPOE Discovery V1T1 PADO session 0x0 length 48
dst 70:4f:57:b2:5a:ae src cc:2d:e0:11:93:f6
[host-uniq 00 00 4f 10] [service-name] [AC-name Jaihind online-Attapur] [service-name EXCELL]
Recv PPPOE Discovery V1T1 PADS session 0x8343 length 35
dst 70:4f:57:b2:5a:ae src ac:1f:6b:a4:0b:4c
[AC-name EXCITEL] [service-name] [host-uniq 00 00 4f 10] [AC-cookie 1b f7 05 50 04 88 ff ff]
PADS: Service-Name: ''
PPP session is 33603
Connected to ac:1f:6b:a4:0b:4c via interface eth0.200
using channel 184
Renamed interface ppp0 to pppoe-wan
Using interface pppoe-wan
Connect: pppoe-wan <--> eth0.200
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xfb4c855a>]
rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0xfb4c855a>]
rcvd [LCP ConfReq id=0x2 <pcomp> <mru 1492> <magic 0xeabe4074> <auth chap MD5>]
sent [LCP ConfRej id=0x2 <pcomp>]
rcvd [LCP ConfReq id=0x3 <mru 1492> <magic 0xeabe4074> <auth chap MD5>]
sent [LCP ConfAck id=0x3 <mru 1492> <magic 0xeabe4074> <auth chap MD5>]
sent [LCP EchoReq id=0x0 magic=0xfb4c855a]
rcvd [CHAP Challenge id=0x1 <bb1e686d4b3b75a5c1879becfd7e5820851bb69732c8600f17aa59ff865da74176eeb77e91a3d01765c2eddb4f>, name = "6wind"]
sent [CHAP Response id=0x1 <a3fdb413a8f170227456a7c15f4b9893>, name = "udaikiran"]
rcvd [LCP EchoRep id=0x0 magic=0xeabe4074]
sent [LCP EchoReq id=0x1 magic=0xfb4c855a]
rcvd [LCP EchoRep id=0x1 magic=0xeabe4074]
sent [LCP EchoReq id=0x2 magic=0xfb4c855a]
rcvd [LCP EchoRep id=0x2 magic=0xeabe4074]
rcvd [CHAP Failure id=0x1 "mac validation failed: c"]
CHAP authentication failed: mac validation failed: c
CHAP authentication failed
sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
rcvd [LCP TermReq id=0x4]
sent [LCP TermAck id=0x4]
rcvd [LCP TermAck id=0x5]
Connection terminated.
Send PPPOE Discovery V1T1 PADT session 0x8343 length 20
dst ac:1f:6b:a4:0b:4c src 70:4f:57:b2:5a:ae
[host-uniq 00 00 4f 10] [AC-cookie 1b f7 05 50 04 88 ff ff]
Sent PADT
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0x0 length 12
dst ff:ff:ff:ff:ff:ff src 70:4f:57:b2:5a:ae
[service-name] [host-uniq 00 00 4f 65]
Recv PPPOE Discovery V1T1 PADO session 0x0 length 46
dst 70:4f:57:b2:5a:ae src ac:1f:6b:a4:0b:4c
[AC-name EXCITEL] [service-name] [service-name excitel] [host-uniq 00 00 4f 65] [AC-cookie 1b f7 05 a6 04 88 ff ff]
Send PPPOE Discovery V1T1 PADR session 0x0 length 24
dst ac:1f:6b:a4:0b:4c src 70:4f:57:b2:5a:ae
[service-name] [host-uniq 00 00 4f 65] [AC-cookie 1b f7 05 a6 04 88 ff ff]
Recv PPPOE Discovery V1T1 PADO session 0x0 length 46
dst 70:4f:57:b2:5a:ae src ac:1f:6b:a4:0b:86
[AC-name EXCITEL] [service-name] [service-name excitel] [host-uniq 00 00 4f 65] [AC-cookie 1b f6 cf d0 04 88 ff ff]
Recv PPPOE Discovery V1T1 PADO session 0x0 length 48
dst 70:4f:57:b2:5a:ae src cc:2d:e0:11:93:f6
[host-uniq 00 00 4f 65] [service-name] [AC-name Jaihind online-Attapur] [service-name EXCELL]
Recv PPPOE Discovery V1T1 PADS session 0x8342 length 35
dst 70:4f:57:b2:5a:ae src ac:1f:6b:a4:0b:4c
[AC-name EXCITEL] [service-name] [host-uniq 00 00 4f 65] [AC-cookie 1b f7 05 a6 04 88 ff ff]
PADS: Service-Name: ''
PPP session is 33602
Connected to ac:1f:6b:a4:0b:4c via interface eth0.200
using channel 185
Renamed interface ppp0 to pppoe-wan
Using interface pppoe-wan
Connect: pppoe-wan <--> eth0.200
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xf1117b64>]
rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0xf1117b64>]
For some reason the pppoe wan fails to setup in one device. Please help.