D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Overloading routers and phones

 

On Wed, 5 Sep 2018, Tom via list wrote:

We have a couple of holiday cottages which link to our fantastically fast BT hub, 1.98Meg Down and 404k up as of the moment. I can go into one cottage which has 7 people in it and most of them cannot connect with their phones/Ipads - the phones complain of not connecting due to slow connection. I take a laptop over and it works fine. There is one device connected there and looking at the router its pretty much using all of the 404k upload.

Is this likely to be the reason the phones cant connect - the other cottage and our house work fine most of the time. When they are in the cottage however a phone in the house wont work but here and the other cottage seem fine.

Any selfiephone/device uploading photos, videos, "cloud sync", etc. will kill the line - even though upload is slower than incoming. It more or less kills downloading. (because the return ACK packets get intermixed with the uploading data running at full ~1500 byte packet size).

What you can do (since this is a Linux list), is put in a small Linux router - 2 Ethernet ports. One going to the ADSL router/modem, the other going to a separate Wi-Fi access point. A 1Ghz Atom or AMD Geode system is more than good enough.

(Personally, I'd dump any existing modem/router and replace it with a simple ADSL modem only device and get the Linux box to to PPPoE - this is what I do at home and what I did for my clients when I was selling this sort of stuff)

On the Linux box you turn it into a router, get it to do the NAT, DHCP, DNS, and then run something like "wondershaper" on it (google it) to limit the upstream speed slightly and prioritise return ACK, etc. packets. Linux does this really well although learning the runes takes a lifetime. You could start by searching for something like:

  linux advanced routing & traffic control

e.g. http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/

and read the whole of that site too... (googling for bufferbloat will reveal some more information about stuff like this too)

If you were up for it, you could run squid and force-proxy web connections too - that might speed up somethings, but not streaming which is accounting for more and most usage these days. I did this for some experimental train projects I worked on a few years back and it was wortwhile - more so if you have a box with a couple of GB of RAM inside it for squid to use. (We had a whole voyager 4-coach train piggy backed onto 2 x 3G connections at one point and it was usable, however more people upload selfies now than then)

It might also be worthwhile seeing how good (or bad) the local mobile signals are new and simply turning off the Wi-Fi if it's better... 4g?

Or just re-advertise it as a place of peace and solitude ...

Gordon

--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq