Live data from Hacker News

Automatically fixing packet loss on my connection

senryu.pub

31–40 of 40 posts

Re: Automatically fixing packet loss on my connection

#31
This seems like an over-engineered, half-assed solution like putting tape on a check engine light.

There is no reason why properly working equipment should need a periodic restart. Either his modem is bad and needs to be replaced or the other end (the DSLAM) is bad and bouncing the link temporarily fixes the problem as a side-effect.

Re: Automatically fixing packet loss on my connection

#32
As A&A's wiki (https://support.aa.net.uk/Packet_Loss) describes, you can see packet loss at link saturation. There is another option, buffering, which causes high latency. The intermediate device must either buffer (causing "buffer bloat" = increased latency) or drop the packet.

If increased packet loss is occurring seemingly randomly, it could be something on the network is updating/syncing and saturating the link. It could be Steam games, desktop OS updates, mobile device updates, podcast downloading, game console updates, etc.

Re: Automatically fixing packet loss on my connection

#33
post #10

Basically restart the modem by cutting the power every time the connection is flaky. With a very complicated setup. Cutting power repeatedly a large number of times is a great way of eventually bricking the box. This modem has an admin web interface. The author could have used it to trigger a restart. The whole thing could have been automated with just a pi at 100 times less cost, effort and risks.

You can’t access that web interface from the internal network as the Vigor 130 is not a router. Unless someone has a fancy trick I’m missing I have to disconnect my router and connect a laptop directly to the modem with a fixed IP to access it, unfortunately. The Vigor 130 is really more of a PPPoA to PPPoE converter, or at least, that’s how it’s commonly used.

vigor 130 -

not the full web interface, but... try wireshark on it

if you have the right setting enabled, you'll find it is broadcasting its status onto the network for you to pick up

vigor's routers use this info. to show line speed etc. when using a modem via the router

Re: Automatically fixing packet loss on my connection

#34

This seems like an over-engineered, half-assed solution like putting tape on a check engine light. There is no reason why properly working equipment should need a periodic restart. Either his modem is bad and needs to be replaced or the other end (the DSLAM) is bad and bouncing the link temporarily fixes the problem as a side-effect.

Many of these devices are indeed bad and your choice is to replace them with another one that’s exactly as bad.

Re: Automatically fixing packet loss on my connection

#35

As A&A's wiki ( https://support.aa.net.uk/Packet_Loss ) describes, you can see packet loss at link saturation. There is another option, buffering, which causes high latency. The intermediate device must either buffer (causing "buffer bloat" = increased latency) or drop the packet. If increased packet loss is occurring seemingly randomly, it could be something on the network is updating/syncing and saturating the link…

Yeah I have run into this, notably with the Xbox Live app for Windows, which totally saturates the line and generates something like 15% packet loss reports. However that's a different event to the occasional lower but prolonged packet loss which occurs infrequently and usually on a more idle line; which I believe to almost certainly be caused by something beyond my equipment. Knowing how OpenReach operate (who manage our largest internet infrastructure) it's a fairly safe assumption that it's a fault they've introduced somewhere.

Re: Automatically fixing packet loss on my connection

#36

This seems like an over-engineered, half-assed solution like putting tape on a check engine light. There is no reason why properly working equipment should need a periodic restart. Either his modem is bad and needs to be replaced or the other end (the DSLAM) is bad and bouncing the link temporarily fixes the problem as a side-effect.

The modem is fine; this is a very intermittent issue, like once every two months, if that, and caused further up the line. In the UK most of our internet infrastructure is, frankly, a bit shit, and maintained by a small subset of companies. These issues occur on every ISP I've had here, as unfortunately most rely on OpenReach's infrastructure.

The reason I chose to automate it is that when I'm away from the house I want the connection to self-repair where possible, and resetting the modem is something basically everyone in the UK has to do sometimes to fix their line (seriously). Yes I could probably have A&A investigate it, but at some point, if it is an identifiable issue, they'd likely have to request an OpenReach engineer to work on something and then there's just the risk of it being made even worse.

RevK's blog has plenty of interesting anecdotes about the issues with our internet infrastructure here: https://www.revk.uk/search/label/BT

Re: Automatically fixing packet loss on my connection

#37
post #33

Earlier quoted context omitted.

You can’t access that web interface from the internal network as the Vigor 130 is not a router. Unless someone has a fancy trick I’m missing I have to disconnect my router and connect a laptop directly to the modem with a fixed IP to access it, unfortunately. The Vigor 130 is really more of a PPPoA to PPPoE converter, or at least, that’s how it’s commonly used.

vigor 130 - not the full web interface, but... try wireshark on it if you have the right setting enabled, you'll find it is broadcasting its status onto the network for you to pick up vigor's routers use this info. to show line speed etc. when using a modem via the router

Ooh this is good to know, thank you!

Re: Automatically fixing packet loss on my connection

#38

Earlier quoted context omitted.

Have you ruled out the Draytek?

I don’t have anything to swap it out with unfortunately, and due to the infrequent nature of the issue it’d be pretty hard to predict. Intermittent packet loss is something I’ve experienced everywhere I’ve lived in the UK and with different devices. The only constant has been the BT/OpenReach network on which many of our ISPs are based :|

ADSL modems cost less than $10 used. Replacing the modem should have been done well before trying this hairbrained workaround that doesn't actually fix the real problem.

Re: Automatically fixing packet loss on my connection

#39
post #7

Earlier quoted context omitted.

Typically this is done with something like an Aeotec Z-Stick Gen5.

This is what I’m using. The plugs are also Aeotec and work well, although there is some minor high audio frequency when very close to them. Mine are a few years old though. The Z-Wave integration for Home Assistant is basically plug and play with this stick. I run HA in docker and just pass the device through, works nicely.

One word of caution, the world of Z-Wave with Home Assistant is about to be flipped on its head due to some developer personal constraints. https://github.com/home-assistant/architecture/issues/483

Re: Automatically fixing packet loss on my connection

#40

Earlier quoted context omitted.

Have you ruled out the Draytek?

I don’t have anything to swap it out with unfortunately, and due to the infrequent nature of the issue it’d be pretty hard to predict. Intermittent packet loss is something I’ve experienced everywhere I’ve lived in the UK and with different devices. The only constant has been the BT/OpenReach network on which many of our ISPs are based :|

I've got several of the Huawei (V|A)DSL modems that BT used to fit when VDSL first rolled out, you're more than welcome to have one of them!
Post reply on HN