Modify

Opened 5 years ago

Last modified 4 years ago

#12472 new defect

PPPoE not functional on TL-WDR4300

Reported by: cellsplicer@… Owned by: developers
Priority: response-needed Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

PPPoE does not function as expected on TL-WDR4300.

WAN is assigned to a VLAN consisting of tagged CPU port and untagged WAN port (Switch port 1). Protocol is set to PPPoE and correct username/password is entered in LuCI. However, the interface does not function. These messages appear repeatedly in syslog:

Nov 14 16:43:13 yuno daemon.info pppd[25708]: Plugin rp-pppoe.so loaded.
Nov 14 16:43:13 yuno daemon.info pppd[25708]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Nov 14 16:43:13 yuno daemon.notice pppd[25708]: pppd 2.4.5 started by root, uid 0
Nov 14 16:43:28 yuno daemon.warn pppd[25708]: Timeout waiting for PADO packets
Nov 14 16:43:28 yuno daemon.err pppd[25708]: Unable to complete PPPoE Discovery
Nov 14 16:43:28 yuno daemon.info pppd[25708]: Exit.

Attachments (0)

Change History (6)

comment:1 Changed 5 years ago by jow

  • Priority changed from normal to response-needed

Attach your current network config.

comment:2 follow-up: Changed 5 years ago by anonymous

The old session is not sent PADT. Try this patch.

--- package/netifd/files/etc/init.d/network.orig        2012-10-08 13:05:21.833819801 +0900
+++ package/netifd/files/etc/init.d/network     2012-10-11 13:34:04.309819801 +0900
@@ -26,12 +26,14 @@
 }
 
 restart() {
+       ifdown wan && sleep 3
        ifdown -a
        sleep 1
        start
 }
 
 shutdown() {
+       ifdown wan && sleep 3
        ifdown -a
        stop
 }

I wrote about it to nbd, but he does not answer.

comment:3 in reply to: ↑ 2 Changed 5 years ago by anonymous

Replying to anonymous:

The old session is not sent PADT. Try this patch.

--- package/netifd/files/etc/init.d/network.orig        2012-10-08 13:05:21.833819801 +0900
+++ package/netifd/files/etc/init.d/network     2012-10-11 13:34:04.309819801 +0900
@@ -26,12 +26,14 @@
 }
 
 restart() {
+       ifdown wan && sleep 3
        ifdown -a
        sleep 1
        start
 }
 
 shutdown() {
+       ifdown wan && sleep 3
        ifdown -a
        stop
 }

I wrote about it to nbd, but he does not answer.

Thank you very much. That fixed it!

comment:4 follow-up: Changed 5 years ago by anonymous

I think that it is necessary to use other code.

--- package/netifd/files/etc/init.d/network.orig	2012-10-07 19:05:00.000000000 +0000
+++ package/netifd/files/etc/init.d/network	2013-01-25 12:28:16.469857863 +0000
@@ -26,12 +26,16 @@
 }
 
 restart() {
+	ifconfig | grep "^pppoe-" | awk '{ print $1 }' | awk -F"pppoe-" '{ c = "ifdown \"" $2 "\""; system(c); }'
+	sleep 3
 	ifdown -a
 	sleep 1
 	start
 }
 
 shutdown() {
+	ifconfig | grep "^pppoe-" | awk '{ print $1 }' | awk -F"pppoe-" '{ c = "ifdown \"" $2 "\""; system(c); }'
+	sleep 3
 	ifdown -a
 	stop
 }

It will normally work when the PPPoE-interface isn't named "wan".

comment:5 in reply to: ↑ 4 Changed 4 years ago by anonymous

I am trying to implement this "patch", how do I do so? Can you please provide step-by-step instructions for a newbie?

comment:6 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.