ApolloHoax.net

Off Topic => General Discussion => Topic started by: Peter B on July 28, 2019, 02:09:01 AM

Title: Problems with internet connection - any help please?
Post by: Peter B on July 28, 2019, 02:09:01 AM
Hi everyone

We're having annoying problems with intermittent internet dropouts, and I was wondering if anyone had any suggestions for possible causes, please.

I mostly use a laptop in a room at the other end of the house from our (wireless) router, although my wife often uses a device within a few metres of the router but still has problems. So proximity to the device doesn't seem to be an issue.

The router is located on a low plastic table. It's near a heating vent in the floor, although the heated air is directed away from the device. The router is also near a charger for an electric mobility scooter battery. And it's also not far from a dishwasher, as well as a stash of metal containers (old baby formula tins). I understand that heat and humidity can be issues, but connection issues sometimes occur at times when neither the heater or dishwasher are operating.

The router is fairly new (less than a year old), the laptop is a few years old, while the tablets are a bit younger than the laptop.

Are these sorts of problems to do with the router or the receiving devices? Or the distance between the devices and the routers? Our internet provider? Static electricity? Unexorcised spirits? Any suggestions for solving or reducing the problem would be gratefully accepted. Thank you!
Title: Re: Problems with internet connection - any help please?
Post by: LunarOrbit on July 28, 2019, 02:51:37 AM
How many devices are connected to the router? The more devices you have the more likely you'll have connection problems. If it's just 2 or 3 you shouldn't have problems.

The distance and the number (and types) of walls between you and the router will also affect signal strength.

The charger for the scooter might be causing radio interference. Do you have wifi issues when the scooter is not charging? Cordless phones might cause issues with some routers.

Do you have nearby neighbours that have their own wifi? It could be interfering with yours.

You can try getting a wifi range extender. It's just a little box that you can put in another room farther from the router to repeat its signal.

Sent from my SM-G975W using Tapatalk

Title: Re: Problems with internet connection - any help please?
Post by: smartcooky on July 28, 2019, 06:50:09 AM
A couple of questions

1. What is the maximum number of devices allowed on your router (it is usually 8 or 16 across the 2.4GHz and 5GHz bands)
2. How many devices do you have in the house that can connect to the router
3. Have you logged into the router and checked that there are no unauthorized users (neighbors) connected.
4. What is your connection lease time set to on your router, and do you have devices that regularly disconnect and reconnect.

The reason I ask is that we had a problem some time ago which sounded very much like yours. We had a crappy Vodafone router (the one issued when we signed up) that could only take 8 connections. The problem, as it turned out, was the router not releasing devices when they went out out of range, and then reconnecting as a new device when they came back into range. The lease time was 24 hours and could not be changed. At the time, we had two laptops, three phones and a tablet all on the WiFi - that's six connections. If I went out, say, to the shop, when I came back, the router would not allow me to connect on my original connection and connected me to a new one, so we now have 7 of the 8 connections taken. A couple of phone reboots, and bang, all the connections are full, and we had to reboot the router.

My solution was to ditch the free router and buy a Ubiquiti Edge router with a separate WiFi access point mounted high up on the ceiling, centrally in the house (it just looks like a smoke detector). No problems since then.
Title: Re: Problems with internet connection - any help please?
Post by: grmcdorman on July 28, 2019, 08:54:04 AM
It's really hard to say; what sort of wireless devices do you have? If you happen to have an Android phone or tablet, then Wif Analyzer (https://play.google.com/store/apps/details?id=com.farproc.wifi.analyzer) will really help, as you can see exactly what's happening with your WiFi signal. You can also use ping on Windows and Ping & Net (https://play.google.com/store/apps/details?id=com.ulfdittmer.android.ping) to ping your router repeatedly to see how your traffic behaves. There are probably similar free apps for iOS (Apple) devices.

Does the router have Ethernet ports? If it does, try plugging into one of those to see if the problem persists; if so, it's not your WiFi, it's your internet connection.

However, the best choice - as smartcooky said - is to replace the router (or disable its WiFi and plug a better WiFi router into one of its Ethernet ports). The routers supplied by ISP are often very basic. This would also allow you to get a dual band (2.4GHz/5GHz) router; 5GHz is shorter range but far less prone to interference.

I wouldn't recommend a range extender, they are extremely hit-and-miss. Mesh routers, conversely, work well but you should only invest in that if you can verify with something like WiFi Analyzer that signal strength is an issue.
Title: Re: Problems with internet connection - any help please?
Post by: Obviousman on July 28, 2019, 05:08:24 PM
Who is the ISP? Telstra?
Title: Re: Problems with internet connection - any help please?
Post by: ka9q on July 31, 2019, 01:12:53 AM
Your first order of business is to determine of the problem is on the radio link between you and your access point, over the link between your house and your ISP, or somewhere farther away.

I'm very familiar with the tools to do this on Linux and, to a lesser extent, on Mac OSX. One of them appears as the tool "tracert" on Windows. Do you know that one?

My preferred tool is "mtr", which is an enhanced tracert/traceroute, but it is only natively available on UNIX and Linux systems. It's available as part of a larger port of Linux/Unix tools to MacOSX. I don't know about Windows; maybe somebody else knows? What I like about mtr is that you can leave it running and see loss and delay statistics for each individual hop between you and your destination.
Title: Re: Problems with internet connection - any help please?
Post by: Peter B on August 23, 2019, 08:13:10 AM
Okay, thanks for your suggestions, everyone.

Our ISP is TPG, recommended to me by a friend who knows his IT stuff (he was using TPG at the time, not sure if he still does).

We've replaced the router supplied by TPG with one recommended by the tech we called in to see what was going on (an organisation called Geeks2U).

I've removed the battery charger from where it was, but we still seem to have problems. The problem with our connectivity problem is that it's unpredictable, in that things will be fine for days, and then we'll have a few hours of being unable to connect.

We normally have two laptops connected permanently, and at most one tablet as well, so I don't think the number of devices should be a problem. The distance from the router to the most distant laptop (where I'm typing this now) would be about 15 metres, with perhaps three/four walls between. Neighbours almost certainly have wireless routers, as this laptop can detect several when I'm choosing which one to connect to, but the signal strengths are a lot lower than ours.

That's about all the questions you've asked that I can answer at the moment - the rest of them I'd have to do some research to find out the answers.

But thank you anyway for the information you've provided.
Title: Re: Problems with internet connection - any help please?
Post by: ka9q on August 24, 2019, 02:14:33 AM
You still need to locate the problem -- in your computer, on the radio link, in the router, on the link to your ISP, or in your ISP itself.

The best way to do this is with the traceroute command. That was its name under UNIX/Linux, but Microsoft adopted it and renamed theirs tracert. It sends packets to some destination (I typically use 8.8.8.8 or 1.1.1.1) and shows you the IP address and the round trip time to each router along the way. It works by sending test packets to the destination with incrementing "time to live" fields (which are really maximum allowable router hops) and then processing the "time exceeded" error messages that come back from the routers when the packets hit those limits.

In either case you run it from the command line.  (E.g., tracert 1.1.1.1) Run it first when everything is working normally (sometimes hops won't identify themselves even when they're working). Then run it when you have an outage and compare the results. It'll usually be obvious where the problem is by where the traceroute runs off into the weeds.

It's an invaluable debugging tool. I wish I had a penny for each time I've run it.

Title: Re: Problems with internet connection - any help please?
Post by: bknight on August 24, 2019, 11:54:47 AM
I never knew that command, but you indicated it would be easy to identify where the problem existed.  I have a lap(current one) that frequently drops signal from our Comcast router, but the signal will most of the time recover in seconds a bit of a nuisance but I thought it was the wireless card in the lap not being able to hook up to the router some 30-40 feet away and two walls.  The hardware and pc have up to date drivers/op sys.  When I carry it back to the same room the signal strength is much greater and it rarely drops signal in that room.
Title: Re: Problems with internet connection - any help please?
Post by: grmcdorman on August 24, 2019, 04:19:49 PM
traceroute/tracert isn't going to give much more if you are actually getting WiFi signal drops, as opposed to a generic "can't reach the intarwebs".

Given that in that case it rarely drops, it's more likely that for that it is indeed the wireless signal.

If you can confirm that it is only the WiFi there are a number of possible solutions; unfortunately most cost money:

As mentioned above, a WiFi extender is usually not very useful, in my experience.
Title: Re: Problems with internet connection - any help please?
Post by: bknight on August 25, 2019, 07:50:22 AM
traceroute/tracert isn't going to give much more if you are actually getting WiFi signal drops, as opposed to a generic "can't reach the intarwebs".

Given that in that case it rarely drops, it's more likely that for that it is indeed the wireless signal.

If you can confirm that it is only the WiFi there are a number of possible solutions; unfortunately most cost money:
  • Use one of the WiFi scanner apps to see what the best channel is for your router, and change it. Requires some technical know-how to change router settings.
  • Move the router. A central location is best; I believe higher is better, too. Also, if it has movable antennas, try changing how they point. Finally, make sure it isn't by something that could block the signal (like metal).
  • Try using the 5GHz band, if you're not already. 5GHz is usually far less crowded than the older 2.4GHz, but does have shorter range and is affected more by walls. Most smart phones these days support 5GHz, but your laptop might not. However, for the laptop you can buy a small USB adapter that supports 5GHz.
  • Buy a mesh router setup. Mesh routers (unlike WiFi repeaters) do a good job of covering a larger area, as they have multiple WiFi access points to provide coverage. Significantly more expensive than a simple WiFi router, though.
  • A final option is Ethernet over Powerline. Very dependent on the quality of your wiring and the things you've got plugged in; I also don't know how well it works in the UK (that's where you are, yes?). Also requires you to plug in to the EoP adapter with a cable; a nuisance for the laptop and impossible for smart phones and tablets.

As mentioned above, a WiFi extender is usually not very useful, in my experience.

The router is located at more or less the center of the house.  Using a cable is one option, but that requires drilling some holes in the ceiling/walls something my spouse doesn't want to look at.  I will look into your other options, but I have another older lap setting about one foot away and don't have the issues with it, so I'm still betting on a bade wireless card.
Thanks
Title: Re: Problems with internet connection - any help please?
Post by: grmcdorman on August 25, 2019, 10:42:27 AM
Good that you already have the router near the centre of the house. Using the WiFi scanner app can also help you identify weak or dead spots in the house, though, and if you're ambitious you can move the router around and use the app to see how doing so affects things.

Ethernet over Powerline doesn't require drilling holes. Basically, you buy a kit (containing two devices) and plug one in next to the router (not in a powerbar or surge suppressor), connect it to the router with a cable, and then in another room plug in the other device. You can then plug another cable between the second device and your laptop and get a connection to your router.

The data flows from your laptop (for example), through the cable to the second EoP device, and then through your mains wiring inside the house to the first EoP device, which sends the data to the router.

When it works, it can work well; unfortunately it's very much at the mercy of the quality of your house wiring - and what you've got plugged in. A washer, for example, tends to put a lot of noise on the wiring and can interfere with EoP operations. It is less prone to interference (v.s. WiFi) from a neighbour using EoP, especially in detached homes.

We use EoP in our home, and it generally works very well for us. In particular, my son - who plays online games - finds that the WiFi has lag issues that the EoP doesn't, despite the WiFi being strong and (unlike yours) not dropping.

As I said though, I don't know if it's even available in the UK, much less how well it works on typical UK domestic mains wiring.
Title: Re: Problems with internet connection - any help please?
Post by: ka9q on August 26, 2019, 04:41:22 AM
I'm not a fan of Ethernet over powerline, but that's because I'm a radio ham, and it's yet another source of HF radio noise. Ethernet itself can also generate radio noise, but running over cables designed for the purpose it's much less of a problem (and faster and more reliable).

Even better is fiber optic cable, which generates absolutely no radio interference and is absolutely immune to it. It's how I connect the multiple switches in our house (the WiFi access points being hung off the nearest switch). It's become surprisingly inexpensive, and it's easy to use.
Title: Re: Problems with internet connection - any help please?
Post by: grmcdorman on August 26, 2019, 07:48:38 PM
I'm not a fan of Ethernet over powerline, but that's because I'm a radio ham, and it's yet another source of HF radio noise. Ethernet itself can also generate radio noise, but running over cables designed for the purpose it's much less of a problem (and faster and more reliable).

Even better is fiber optic cable, which generates absolutely no radio interference and is absolutely immune to it. It's how I connect the multiple switches in our house (the WiFi access points being hung off the nearest switch). It's become surprisingly inexpensive, and it's easy to use.
Absolutely. The problem is running the cable; as bknight mentioned drilling holes aren't an option for him, or for many other people. That's why the various no-cable options, despite their significant drawbacks, are so popular.
Title: Re: Problems with internet connection - any help please?
Post by: bknight on August 27, 2019, 07:43:39 AM
Absolutely. The problem is running the cable; as bknight mentioned drilling holes aren't an option for him, or for many other people. That's why the various no-cable options, despite their significant drawbacks, are so popular.

I'm bothered by your indication that other devices hooked into the power, washer, dryer, microwave, oven, stovetop in addition to all the internet devices, causing interference or degradation of signal.  The primary goal is to have a more stable connection.
Title: Re: Problems with internet connection - any help please?
Post by: bobdude11 on August 27, 2019, 01:26:18 PM
You could try something like this:
https://docs.microsoft.com/en-us/sysinternals/downloads/psping

It's a command line tool, but provides information regarding latency.

Also, TCPView:
https://docs.microsoft.com/en-us/sysinternals/downloads/tcpview

While these may not tell you exactly what is going on, they are a good start.

Personally, I use WireShark to see traffic flow:
https://www.wireshark.org/

You can follow any http connection - it may be the best option to determine why you are losing connectivity.

One other thought:

Is there any consistency in when you are connected (and stay that way) and when the connection is no longer available? I thought that maybe someone is using a vacuum cleaner or something and unplugs your router to be able to use that (but now I think that may be a silly thought).
Title: Re: Problems with internet connection - any help please?
Post by: ka9q on August 27, 2019, 04:22:46 PM
I'm bothered by your indication that other devices hooked into the power, washer, dryer, microwave, oven, stovetop in addition to all the internet devices, causing interference or degradation of signal.  The primary goal is to have a more stable connection.
The problem is that power lines simply weren't designed to carry communication signals in the first place. That they work at all is a testament to the technology, but they can't outperform a cable (or especially an optical fiber) specifically designed for the purpose.

Yes, there are some situations where you really can't install new wires. But I think a lot of people use these things just because they seem a little cheaper than doing it right, and then have all sorts of problems.

I don't even like to use WiFi when I can use wired Ethernet, or better yet, fiber.
Title: Re: Problems with internet connection - any help please?
Post by: ka9q on August 27, 2019, 04:27:48 PM
Personally, I use WireShark to see traffic flow:
https://www.wireshark.org/
I use wireshark (and its little cousin tcpdump) all the time, but you really need to understand the protocols to grok its output and I don't think they're the best tools for analyzing outright connectivity failures. I still think traceroute/tracert is best for that.

There's also a steroid-laden version called 'mtr' but it's on Linux/Unix only.
Title: Re: Problems with internet connection - any help please?
Post by: rocketman on August 27, 2019, 04:30:00 PM
When you say "unable to connect", are you having trouble with your devices connecting to the local router, or trouble with accessing sites out there on the internet once you are connected to the router?

If you're not sure, and you have multiple devices, pinging from one to another might tell whether the problem is between your devices and the router, or between the router and the internet.

ETA - this was meant as a response to the original problem by Peter B, not the additional problem by bknight.  Also, ka9q reply #7 should be useful, I did not see it at the time I wrote my reply.
Title: Re: Problems with internet connection - any help please?
Post by: ka9q on August 27, 2019, 04:42:35 PM
If you're not sure, and you have multiple devices, pinging from one to another might tell whether the problem is between your devices and the router, or between the router and the internet.
That's precisely why I recommend traceroute. Other tools cannot tell you WHERE the problem is; traceroute is designed to do exactly that.
Title: Re: Problems with internet connection - any help please?
Post by: grmcdorman on August 27, 2019, 06:22:04 PM
Absolutely. The problem is running the cable; as bknight mentioned drilling holes aren't an option for him, or for many other people. That's why the various no-cable options, despite their significant drawbacks, are so popular.

I'm bothered by your indication that other devices hooked into the power, washer, dryer, microwave, oven, stovetop in addition to all the internet devices, causing interference or degradation of signal.  The primary goal is to have a more stable connection.
Thing is, as you've found, WiFi isn't any better. It can be interfered with by nearby WiFi networks, cordless phones (especially in the 2.4GHz range, some cordless phones use that band), microwaves, or anything that leaks EMI at the right frequencies. It looks like you've found this out the hard way, although it still hasn't been absolutely established that the WiFi is really the issue.

WiFi also has had, and continues to have, security issues (if you use WPA2 you're probably safe, though). Do not use WEP, avoid WPA, and also try to avoid the push-button connect called WPS (it has loopholes that basically can't be closed, from what I understand).

When Ethernet over Powerline works, it's usually better than WiFi. But there are conditions that you won't know until you try it. Interference from appliances depends on the appliance; old devices tend to generate more noise. House mains wiring also depends on age; wiring decades old (thirty, forty, more) is also more likely to have issues. If you can find someplace with a no-questions-asked full refund policy, and you think you could manage with a cable for your laptop in a farther room, you can give it a try; otherwise I'd suggest trying to see what can be done about your WiFi.

Bottom line, as ka9q points out, is that really any solution other than cables has significant operational drawbacks. Cable, though, has installation issues that the others don't, and as you say it's not an option for you (or for most other home owners, for that matter).
Title: Re: Problems with internet connection - any help please?
Post by: Peter B on September 22, 2019, 04:45:51 AM
I just thought people might like to know that I had a techie around on Friday to have a look at things.

What he did was install filters (what I'd previously called splitters) on the other phone lines in the house. That is, we have three phones across the house, one of which also is the location of the modem. By installing filters on the other two lines the techie managed to nearly double our download speed, and we haven't had any dropouts.

He also got me to raise the modem from a low table to a higher platform - about a metre higher.

However we're going to look at getting broadband in at some point in the future, as our current speeds are apparently ridiculously slow compared with what other people are getting. Still, every speed increase helps.

Anyway, thank you all for your help and comments.