cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring OpenWRT for PPPoE via Openreach FTTC modem

jimbof
Grafter
Posts: 348
Thanks: 2
Registered: ‎02-05-2013

Configuring OpenWRT for PPPoE via Openreach FTTC modem

So my FTTC fibre install has gone ahead and is now working.  I'd ideally like to not use the plusnet router and use my OpenWRT router over PPPoE.  This was working fine with my old provider (TalkTalk LLU) using a cheap TPLINK ADSL modem in PPPoE mode, but with the BT Openreach modem connected I get the following PPPoE error in the connection logs:
"May  2 05:31:20 OpenWrt daemon.warn pppd[2739]: Timeout waiting for PADO packets
May  2 05:31:20 OpenWrt daemon.err pppd[2739]: Unable to complete PPPoE Discovery"
Anyone have this kind of setup working?
29 REPLIES 29
pwatson
Rising Star
Posts: 2,470
Thanks: 8
Fixes: 1
Registered: ‎26-11-2012

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

I'm running Gargoyle on my router and find that it takes around 5 mins to connect.  I haven't looked at the log to find out why but looking on Google suggests your issue may be related.
How long do you leave the router to connect?
MisterW
Superuser
Superuser
Posts: 16,218
Thanks: 6,198
Fixes: 447
Registered: ‎30-07-2007

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

Other people have seen similar problems with other routers http://community.plus.net/forum/index.php/topic,108935.0.html . I'm not sure that anyone has really got to the bootom of the problem though. Sad It just seems that leave it alone and it eventually connects is the answer...

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.

jimbof
Grafter
Posts: 348
Thanks: 2
Registered: ‎02-05-2013

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

Thanks for the pointers; I'll give it a go and have a play, see if there are any options that are useful. 
I think an additional complication is that my OpenWRT box is a fast x86 small form factor PC with 3 gigabit interfaces; openWRT actually cycles the WAN interface up and down each time it gets one of these timeouts - to the extent of the "happy light" for the ethernet port turning on and off.  If I find an answer I'll let you all know Smiley
MisterW
Superuser
Superuser
Posts: 16,218
Thanks: 6,198
Fixes: 447
Registered: ‎30-07-2007

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

I've just been having a bit of a look around and come across a couple of posts indicating that Service Name may be an issue with pppoe discovery.
This one https://forum.openwrt.org/viewtopic.php?id=29821 regarding setting it on OpenWrt.
This one http://community.plus.net/forum/index.php/topic,88204.32.html which seems to indicate it should be set to 'Plusnet' and one on the A & A Site
which seems to indicate it should be blank
Quote
Note that FTTC works differently to typical ADSL broadband and includes a BT VDSL router which talks PPPoE. You will need PPPoE equipment or software to use the service. A PPPoE router can be used. The PPPoE service name must be left blank.

Might be worth checking what is configured for Service Name in your OpenWrt and maybe experimenting with either Plusnet or blank.

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.

jimbof
Grafter
Posts: 348
Thanks: 2
Registered: ‎02-05-2013

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

Conflicting indeed.  I just logged into the web interface on the Thomson which is up at the moment and I can see there doesn't seem to be a service name in place:
"Service Name: -"
It won't hurt to try though.  I see the posts are quite old though so perhaps it is no longer necessary.
The other thought I had was whether the modem needs power cycling if you change the router that is connected to it.  In my case so far I hadn't - just swapped the ethernet between the Thomson and the OpenWRT box.  I would expect that to be enough to reset the modem, but perhaps it isn't.
MisterW
Superuser
Superuser
Posts: 16,218
Thanks: 6,198
Fixes: 447
Registered: ‎30-07-2007

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

Quote
The other thought I had was whether the modem needs power cycling if you change the router that is connected to it.
I wouldn't have expected the modem to need power cycling when changing the router. What IS probably a good idea is to manually disconnect the pppoe session on the router before unplugging, that way at least you know that there is no active ppp session that needs to timeout before the new router can connect.
Quote
I can see there doesn't seem to be a service name in place:
"Service Name:  -"
That tends to agree with the AA post, be interesting to see if OpenWrt has a different default.

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.

jimbof
Grafter
Posts: 348
Thanks: 2
Registered: ‎02-05-2013

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

Default in OpenWRT is no service name, though you have the option to enter one, and also the concentrator name.  I see the Thomson lists a concentrator in the info section, but by the looks of it it has been provided automatically down the line.
I didn't disconnect the session in the Thomson router first, and I was pushed for time so I didn't hang around much this morning.  After seeing it not get connected I immediately swapped back to the Thomson.  I wonder how long the server side PPP connections take to time out?
njay
Grafter
Posts: 185
Registered: ‎05-04-2013

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

I dont know if its relevant but extract from SIN495
Unlike other WBC access technologies, WBC FTTC accesses use the PPP (“Point-to-Point
Protocol”) session establishment to inform the BT Wholesale BRAS of the Openreach line
rate. It is therefore essential that the PPP session is re-started every time the VDSL line retrains.
To ensure this, the PPP / L2TP timeout values must be set to less than 20 seconds.
jimbof
Grafter
Posts: 348
Thanks: 2
Registered: ‎02-05-2013

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

Thanks, interesting.  Well I'm sure I'll have some "fun" this evening!
How much of a problem for my throughput is fiddling with the connection going to be - is the line management going to peg me at some very low speed only to never rise again?
MisterW
Superuser
Superuser
Posts: 16,218
Thanks: 6,198
Fixes: 447
Registered: ‎30-07-2007

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

As long as the modem isn't reset then it shouldn't really have any effect. Although I suppose that if the BRAS is aware of ppp session establishment then, even though the line rate isn't changing, it may take some ( but who knows what ? ) action...

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.

bill888
Champion
Posts: 1,255
Thanks: 264
Fixes: 38
Registered: ‎18-10-2008

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

fwiw, I've encountered something very similar when I was testing PPPoE on ADSL and fibre.
As MisterW has already suggested, try just leaving your OpenWRT router for between 5 to 8 minutes to see if it would eventually establish the PPPoE connection.  
I have been swapping between different ADSL/fibre modems and routers and encountered this timeout issue.  PAD0 and 'ethernet concentrator cannot be reached' are some of the messages I've observed in the various logs.   When using the fibre PN router, it can take 5-8 minutes before the Internet LED comes on after changing the BTOR modem.
I did try disconnecting the PPP session on one occasion on the TG582N, but it also seemed to cause the router to forget the password and I had to type it in again after rebooting the router.    I haven't tried 'disconnecting' again when swapping modems.

ex-Plusnet (ADSL, FTTC) 2008-2023. now BT (FTTP) 2023-
MisterW
Superuser
Superuser
Posts: 16,218
Thanks: 6,198
Fixes: 447
Registered: ‎30-07-2007

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

If there's nothing obvious from any of the tests so far suggested then it looks like OpenWrt might be able to give better diagnostics than commercial routers.
Setting pppd into verbose mode as indicated here http://wiki.openwrt.org/doc/howto/log.messages might give us more information to go on.

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.

jimbof
Grafter
Posts: 348
Thanks: 2
Registered: ‎02-05-2013

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

I'll enable verbose mode before I start playing tonight.
jimbof
Grafter
Posts: 348
Thanks: 2
Registered: ‎02-05-2013

Re: Configuring OpenWRT for PPPoE via Openreach FTTC modem

Ok so am now typing via my OpenWRT box. 
Steps I took:
Enable PPPD logging.
Disconnect the Thomson router from web interface.
Power down Thomson router.
Power down OpenWRT box.
Power down Openreach modem.
Connect OpenWRT box to Openreach modem.
Wait 15 minutes.
Power on Openreach modem.
Wait for DSL light to solid green on Openreach modem.
Boot OpenWRT box.
Connected first time, instantly, without interaction.
Perhaps it is as simple as if there is an open session it takes a long time to die of it's own accord, and until then you get no reply to PADI with PADO?
Anyhow, will monitor to see if it is robust.