Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
- 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
- :
- Re: Intermittent Fibre connection - pppd/PPPoE/Dra...
Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
24-07-2013 2:50 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Essentially, I'm seeing my Draytek Vigor 2130n complain about a lack of response to (PPP/LCP) echo-requests, and then fail to complete PPPoE with missing PADO (!?) packets on my Fibre connection.
After much grief with the stock Technicolor router (problems with WiFi, firewall & DHCP which made me reboot it once a week) I bought a Draytek 2130n. I went for that with using the stick BT modem as my modem's in the hall but I really need the WiFi in a more centralised point in the house, and I've had great experiences with Draytek in the past.
However, I'm seeing the 2130n dropping connection periodically, and then failing to reconnect for 5-30 minutes. I did a firmware update and a full reset, plus a local cable check*, but so far no joy.
(* - the cable between the modem and the router is the long CAT-5 I used to used between my old ADSL router and my switch; I have a CAT-5 cable tester which implies it's OK, I've not seen issues with it before, and have even replaced one of the plugs since I could make it drop a line by twisting it.)
The connection drop is random; I've seen it happen with a period of 2 hours, and I've also gone 2 days with no problem. It always begins with something like:
Jul 23 16:23:07 router pppd[13625]: No response to 5 echo-requests
Jul 23 16:23:07 router pppd[13625]: Serial link appears to be disconnected.
Jul 23 16:23:07 router pppd[13625]: Connect time 1071.7 minutes.
Jul 23 16:23:07 router pppd[13625]: Sent 17419154 bytes, received 112625748 bytes.
Jul 23 16:23:07 router pppd[13625]: Script /etc/ppp/ip-down started (pid 873)
Jul 23 16:23:07 router pppd[13625]: sent [LCP TermReq id=0x3 "Peer not responding"]
Jul 23 16:23:07 router root: [IP-DOWN] IFACE=ppp0 TTY=eth1.2 SPEED=0 LOCAL=X.X.X.X REMOTE=X.X.X.X IPPARAM=wan
Jul 23 16:23:08 router root: [IP-DOWN]revert uci network state in ip-down...
.. and then I get repeating ..
Jul 23 16:27:45 router pppd[11999]: pppd 2.4.4 started by root, uid 0
Jul 23 16:28:00 router pppd[11999]: Timeout waiting for PADO packets
Jul 23 16:28:00 router pppd[11999]: Unable to complete PPPoE Discovery
.. amongst other things.
Does anyone have any ideas for how I can pin this down? The guy on the ticket I have showed me a graph of drops I've had in the past week (a lot), but I feel they could just be an artefact of my router deciding to disconnect.
Over the weekend I shall move my router to the hall and use the short Draytek supplied CAT-5 cable (seemingly not fully wired?) between the 2m in case it's my home-made one.
But, of all the problems I had with the Technicolor, dropping connections didn't seem to be one, so I can't help but think the modem & the cabling are OK (not that I guess I would know; I only know now as the Draytek's emailing me every time it comes back up, and it was *so* flakey when I first set it up. And there's always the chance that a dodgy connection was causing some sort of fall-out in the Technicolor).
I think the Draytek runs a flavour of OpenWRT; is there anything techy I can try there (I'm quite happy using Linux)? I have SSHd in, and fiddled with the /etc/ppp/options file to try to increase the lcp timeout values, but they don't seem to be used. The file has:
#lcp-echo-failure 5
#lcp-echo-interval 3
lcp-echo-failure 30
lcp-echo-interval 4
.. (I commented out the original values), but despite at least one reset, one reboot, and several I/F+pppd restarts, the logged error still says it had "No response to 5 echo-requests", not 30.
So I've no really clue as to what's happening. For ref., the modem DSL light seems to always stay on, if I recall correctly. Indeed, I can't yet detect any change of lights on the modem or the router when there';s a failure; I have to check the logs to see it's gone down.
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
24-07-2013 2:56 PM
- 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: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
24-07-2013 3:55 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
25-07-2013 10:37 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I'm running OpenWRT on a custom built PC which has 3 gigabit LAN chips on it.
The utility I based my work on was pppoesk. It didn't work well for me as originally provided by the author:
https://github.com/lpefferkorn/pppoesk
My hacked up version which works for me is here:
https://docs.google.com/file/d/0B-_YzKUQ1hkzeDR4bnVMMXYxWE0/edit?usp=sharing
I'm on x86 PC so I didn't have to worry about endianess (big vs little endian) but if you were trying to compile this for ARM on a draytekit looks like the code might need modifying.
But I think your big problem is that you are getting disconnections in the first place. My connection never dies of its own accord (uptime measured in weeks) - I only started trying to solve the probelm as it annoyed me every time the cleaner power cycled the router / I forgot to shut down cleanly that I was forced to wait an eternity to reconnect. But the maximum connection timeout should be around 8 minutes (2 minutes * 3 + a portion of 2 minutes) - so if you find you can't connect for half an hour or so then something else is up.
Perhaps your cabinet /port at the cabinet is broken and goes away for long periods of time, or loses it's connection to the backhaul, or you have a line issue?
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
25-07-2013 10:45 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Of course, I could be typing this to a cabling ninja who I'm teaching to suck eggs though so if that is the case apologies!
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
25-07-2013 10:59 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yes, after some of the recent[ish] threads I've now read, the initial problem seems to the disconnections; the time taken to come back up would appear to be secondary (I'd thought maybe they were another symptom). I'm not sure I'm ready to dedicate a custom-made OpenWRT box to the task yet, though!
I've not been able to find out of anyone where the LCP acks. are supposed to originate. My gut feeling is that they're from outside my property, just being routed through the modem, which would allow for the fault to be pretty much anywhere, but would include stuff someone else has to fix. I just don't know how to pin it down. I also don't trust the PlusNet-supplied routers to have told me if this malarkey was going on before, either.
One thing I do mean to try over the weekend* is to move my router to next to my modem and use the supplied cable to connect them (as opposed to my custom longer one), using my one to connect the router to my switch. This would have to be short-term as the wifi likely won't get far enough into my house (the hall socket is round 2 brick walls).
As to cables: I've done a several CAT-5s (enough to have a crimping tool and a supply of what I thought to be decent cable, plus some connectors & boots). But I don't do or know enough to be able to state whether any of it is quality or not! The biggest problem I've had recently was accidentally cutting into the inner cables while trying to de-sheath the main trunk! It was late at night when I did that, though; I've not had that grief before.
* as it happens, I did a full power-off+wait last night (I'd done all the previous stuff with the modem left on) and it's actually stayed up cleanly so far, so I may give it a few more days before trying another test.
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
25-07-2013 11:18 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I have tried several versions but stuck with v1.5.1 as this has been most reliable for me.
I note that the WiFi side of this router is not particularly good (slow) are you seeing the same?
I'm also using the stock Huawei VDSL modem but with access to the web interface - http://huaweihg612hacking.wordpress.com/
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
25-07-2013 11:43 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: fnxweb I've not been able to find out of anyone where the LCP acks. are supposed to originate. My gut feeling is that they're from outside my property, just being routed through the modem, which would allow for the fault to be pretty much anywhere, but would include stuff someone else has to fix. I just don't know how to pin it down. I also don't trust the PlusNet-supplied routers to have told me if this malarkey was going on before, either.
I believe the LCP acks should come in response to your LCP echo requests from the same place as your PPP session ends (ie at Plusnet's PPP server).
If you have long bits of CAT5 (if you bought a reel, probably solid core) you are better off terminating them with a line socket or faceplate / keystone jack using a punchdown tool. If you go that route make sure the punchdown tool matches the terminals (either 110 standard or LSA/Krone). Then you use a short length of factory built cable. That's the "proper" way to do it.
Hope you get sorted!
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
25-07-2013 1:21 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@jimbo: Thanks, I might come at you privately for more wiring tips when it comes to it! You've now breached my knowledge of the subject!
I just had the "no response" loss again this morning, despite the full reset, so tonight/tomorrow morning I'll do the relocation so I can prove the modem/router cable. Then see what happens over the next 2-4 days.
I've now had both PlusNet asking me to register a line fault and DrayTek telling me to return it under RMA! I think I'll go with the RMA initially (presuming the cable doesn't prove to be the issue [but then, again, I didn't have this with either of the previous routers]) and hope that that helps. While that's gone back, I'll get PlusNet to check my drop-outs with the previous router in-place, as if that continues it really implies it's a line fault.
Although how they'll prove it with something that generally is failing only once or twice a day I don't know: my actual download/upload speedtests are still fine.
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
25-07-2013 1:51 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Ex-Broadband Service Manager
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
26-07-2013 8:19 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Jul 25 10:54:49 router pppd[24775]: No response to 5 echo-requests
Jul 25 10:54:49 router pppd[24775]: Serial link appears to be disconnected.
Jul 25 10:54:49 router pppd[24775]: Connect time 662.2 minutes.
...
[connection comes up OK briefly]
...
Jul 25 11:00:27 router pppd[3785]: rcvd [LCP TermReq id=0x9]
Jul 25 11:00:27 router pppd[3785]: LCP terminated by peer
I've now (20-30 mins ago) moved my router into my hall next to the modem, connecting the 2 via the stock cable that came with the Draytek (I may also try the one that came with the Technicolor if this has no luck) instead of my longer home-made one*.
This will at least be able to demonstrate whether it's my wiring or not. If I still see errors, DrayTek have agreed to RMA the router, so I can switch back to the Technicolor for a few weeks (same wiring as now). I'll get back to PN support after a fortnight or so to see if there have been drop-outs with that router (as I don't think it can tell me). If there have been drop-outs, I can trigger a fault-check/call-out.
Thanks for everyone who's chipped in; if you need to contact me directly, I'm on [tt]phoenix, fnxweb-com[/tt] for home, or [tt]fnxweb, gmail-com[/tt] when out & about.
“I'll be back ...”
* - I've checked, and am using “Enhanced CAT-5e” cabling (unshielded), so that much, at least, should be OK, presuming the cable is actually intact and I've not wholly stuffed up the crimping. My wiring isn't involved in the DSL process now, though, so it's not so relevant.
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
26-07-2013 12:08 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
26-07-2013 12:30 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The cable has, printed down the sides, “Enhanced CAT5E UTP 4PR 24AWG 095M”.
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
26-07-2013 2:08 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The fluffy strands are a pull cord so you don't have to damage the conductors stripping off the outer - you pull it hard and it splits the outer so you can just cut it off easily with scissors / snips.
Stranded is used for patch cable - where each conductor will have 7 strands. This is much more flexible for routing in racks etc - and is usually terminated in plugs. Solid cable is really supposed to be used for building / infrastructure between patch panels and wall plates.If you think about electrics - stranded is used for mains cables between the wall and your TV/comupter, but solid mains cable is used in the walls for your sockets and light circuits. The same applies to data cable.
Re: Intermittent Fibre connection - pppd/PPPoE/Draytek-2130n problem?
26-07-2013 2:10 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
With the single copper core it's much more likely to fracture as the cable is moved so should only be used for "fixed" installations, whereas multi-core is much more robust and is suitable for patch cores.
- 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
- :
- Re: Intermittent Fibre connection - pppd/PPPoE/Dra...