Configuring OpenWRT for PPPoE via Openreach FTTC modem
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Broadband
- :
- Configuring OpenWRT for PPPoE via Openreach FTTC m...
- « Previous
-
- 1
- 2
- Next »
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
02-05-2013 8:48 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I see the logs of the PPPoE PADI being sent (3 times), with no reply coming back, then it takes down the interface and brings it back up to try again. Eventually it kicks in.
If I take down the PPPoE interface cleanly from the OpenWRT web UI, and then bring it back up from the webUI, the PPPoE connection is established within 10 seconds. This seems solid and repeatable.
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
02-05-2013 9:10 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I've just simulated this by doing "ifconfig eth2 down" - which takes down the interface that I've got the openreach modem - and then doing "ifconfig eth2 up". The result of that is the long wait for it to eventually connect.
I guess a sticking plaster might be to fix up the shutdown scripts so that the pppoe-wan connection is taken down cleanly first. That would only fix scenarios where the router had been powered off / rebooted cleanly. It does seem a bit weird that these broken sessions hang around for quite so long.
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
03-05-2013 8:33 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
03-05-2013 9:49 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I found with my OpenWRT box yesterday that if I disconnect the PPPoE connection and then reboot the OpenWRT box it connects instantly after the reboot.
Agree this really needs someone with access t the appropriate logs at Plusnet to help debug.
I could see a few interesting avenues for investigation:
1) make sure that OpenWRT is as good as it can be - ie take down the connection cleanly wherever possible
2) (not sure if this is feasible) Before making a PPPoE connection, attempt to kill any open session by sending the same thing down the wire that gets sent on a clean disconnection
But really, it seems like the problem is at the Plusnet PPP end.
Can anyone tell me - does the PPP session terminate at the cabinet, at the exchange, or at a Plusnet office somewhere?
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
03-05-2013 9:53 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
03-05-2013 9:56 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
03-05-2013 10:05 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
http://bellsouthpwp.net/j/d/jdloop/adsl/shastabbg/
"Control connection teardown
The PPPoE Active Discovery Terminate (PADT) packet may be sent any time after a session is established to indicate that a PPPoE session has been terminated. It may be sent by either the host or the Access Concentrator. The DESTINATION_ADDR field is a unicast Ethernet address, the CODE field is set to 0xa7 and the SESSION_ID must be set to indicate which session is to be terminated. No tags are required. When a PADT is received, no further PPP traffic is allowed to be sent using that session. Even normal PPP termination packets must not be sent after sending or receiving a PADT. A PPP peer should use the PPP protocol itself to bring down a PPPoE session, but the PADT may be used when PPP cannot be used."
pppoe command could be used:
http://linux.about.com/od/commands/l/blcmdl8_pppoe.htm
"-k
Causes pppoe to terminate an existing session by sending a PADT frame, and then exit. You must use the -e option in conjunction with this option to specify the session to kill. This may be useful for killing sessions when a buggy peer does not realize the session has ended."
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
07-05-2013 3:39 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
https://dev.openwrt.org/ticket/12472#comment:4
Doesn't help with the situation where the modem has dropped and reconnected, or an uncontrolled reboot/ power loss of the router.
Could anyone from Plusnet comment on why there is this behaviour of very long PPP timeouts? I'd like to make my connection more robust in the case of power being cycled to the router and all the options at my end are very longwinded to what is probably a server configuration issue.
As njay says, it does look like the current configuration is in contravention of SIN495
http://www.sinet.bt.com/495v1p0.pdf
I'm happy to help in any testing which might be useful.
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
08-05-2013 1:11 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
https://github.com/lpefferkorn/pppoesk
Basically it sniffs the interface specified for PPP packets, grabs the session ID out of one, and then builds a PADT and sends it down the interface, causing the session to be killed at Plusnet's server, and allowing a new session to start. The source code at the link above appears to have a couple of quirks which I'm looking into, but I wonder if the Technicolor router does something similar.
Now I need to modify the script that brings up the WAN interface to run this app before starting up the new PPPoE connection.
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
08-05-2013 8:47 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The readme in that link seems to imply that the concentrator still responds with a PADO packet even when there is a stale session. That's obviously not true since the router reports PADO timeout. The utility, as you say, seems to just listen and attempt to extract MAC and Session ID from any pppoe packets and then send a PADT to close the session.
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
08-05-2013 8:55 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I'm stuck a little at the moment trying to work out how to get this run before each connection attempt. Have you played with openwrt much?
Still would be better for plusnet not to have the stale connections hanging around for so long. Some input from plusnet on why the service is configured like this would be appreciated.
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
09-05-2013 5:29 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
14-05-2013 1:25 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
21-08-2013 12:07 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem
21-08-2013 12:11 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
- « Previous
-
- 1
- 2
- Next »
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Broadband
- :
- Configuring OpenWRT for PPPoE via Openreach FTTC m...