#63: Trouble with your network?

buffering

We’ve all been there. Just when you need it to work, your home internet connection goes down or huffs off in go-slow mode. You’ll have seen others who, even 5 years after enforced home working, haven’t quite figured out how to make their networks, er, work. Or the colleague who always appears to be having trouble with their internet, so they can’t switch on the camera…?

What to do if your network appears to be up the swannee?

STEP ONE – THE THREE-FINGERED-SALUTE

If you’re lazy and uninterested in the root cause of a problem, then a quick way to resolution might be the have-you-tried-turning-it-off-and-on-again trick. Most broadband routers have a button to reboot them, or even just pull the power for 10 seconds and then put it back in.

Sometimes, service providers will tell you to reboot your router if you are getting an error – streaming apps on smart TVs appear to be adept at this. Technology gurus will scoff that there’s no way that could be the problem, it must be something with the app provider (until they reboot the router as a last resort, and the app starts working).

The original “Three Fingered Salute” was a moniker applied to CTRL+ALT+DEL, the unmaskable hardware combination on early PCs which forced a reboot. Nowadays, Windows handles it with more grace.

STEP TWO – CAN YOU SEE OUTSIDE?

Once you’ve waited 5 minutes for your broadband router to restart (and assuming that hasn’t fixed the problem), the next thing to check is if your computer can talk to the outside world. If not, that means the problem is somewhere between your keyboard and the internet service provider that the modem connects to. Trying to log a fault with your provider’s support desk will generally mean they’ll make you try unplugging and restarting everything in your house first, so be prepared.

Make sure you’re actually connected to the network and have a valid address; in Windows 11, go to Settings / Network & Internet and look at Properties of whatever the connection is. You should see the local network address of your machine, and the gateway through which everything is sent and received. The format of the numbers might vary but should look something like:

A screenshot of a computer

AI-generated content may be incorrect.

[If you’re getting a 169.xxx.xxx.xxx address then something is going wrong with your computer and getting an IP address; if it’s in your house, try removing and replacing the network cable, or rebooting the PC and/or router. If it’s in a hotel or public wifi area, give up and set your phone up to do Tethering].

PING!

Now, fire up a command prompt (press WindowsKey+R then enter cmd) and enter ping 192.168.1.1 (or whatever address your default gateway is).

A screen shot of a computer

AI-generated content may be incorrect.

The ping command literally bounces a short piece of data at the address you’re looking for; if that location is available (and not being blocked by some firewall or other) then it replies, and the fact that you got a response and the speed it took are displayed.

If you’re going to be playing with cables and stuff, you could enter ping -t 192.168.1.1 – the -t flag makes it continue pinging until you close the window or press CTRL+C. If you’re getting a reply at all, and the latency (time<1ms) is stable and low, then your connection to the router is just fine.

Latency is the enemy of a stable and reliable connection – when you see people having problems with Zoom/Teams meetings and their audio or video is garbled and choppy, that’s almost always a latency problem, either within their home network or somewhere further up the chain. Some networks suffer from it inherently – satellite connected, like in-flight WFi, are a good example – and anything that needs a stable, real-time connection (video calls, multiplayer gaming etc) is best avoided.

STEP TWOa – ARE YOU WIRELESS?

If you’re using a wireless network, it’s worth checking that something isn’t getting in the way unexpectedly. IT bods troubleshooting a problematic early business WiFi network found that it kept dropping out randomly, but more often around lunchtime – until they realised their neighbour in the office block had a kitchen on the other side of the wall, with a microwave oven that nuked their WiFi whenever it was used. Some home electronics could do the same, or even things like wood burning stoves.

Maybe your household is near other users who could be getting in the way? Try scaring them for a laugh but it’s also worth making sure your WiFi network isn’t clashing with theirs. It could be worth trying the ping -t trick above and move the machine around the place to see if there are some spots where you’re getting really high latency numbers, or to see if the ping reply doesn’t come back at all.

Try the WiFi Analyzer app from the Windows Store (if you’re on a PC; there are many others for iOS/Android and Mac):

A screenshot of a graph

AI-generated content may be incorrect.

This app will show you all the neighbouring networks and which channel they’re operating on; if you’re sharing the spectrum with too many others then it might be worth reconfiguring your WiFi network to lock to a different channel; time to RTFM for the router.

An alternative to WiFi Analyzer is the long-established inSSider. The latest version needs you to register for an account, but the old one – which still gives a lot of useful info – is still available, if you’re careful to dodge the many links to other unwanted stuff:

A screen shot of a computer

AI-generated content may be incorrect.

IT’S NOT ME, IT’S YOU

If the internet connection is still not playing ball, but initial signs are that the local network is OK and you’re fairly confident you don’t have sporadic hardware problems or similar, then it’s pretty likely the fault lies elsewhere. Get ready to face the inertia of service provider helpdesks who will assume that the problem is at your end… to prevail, we must arm ourselves with evidence and above all, keep calm.

To avoid over-doing things, we’ll pick that one up next week.

607 – How’s you call health?

clip_image002When the pandemic first hit, many people realised that fast, reliable home broadband was an essential utility rather than a nice-to-have. With potentially more people in the house sharing the connection all day, streaming video and doing online meetings, contention in the domestic environment became something of an issue, where one user can hog the available bandwidth to the detriment of others.

The same issue occurs en masse at the broadband provider’s network, where their resources are shared between users on the assumption that they won’t see all of them demanding full speed at the same time: a contention ratio of 50:1 is pretty common, meaning if your neighbours are hammering their connection then it may affect you (assuming you’re on the same provider).

clip_image004By now, we should all be used to the challenge of making your home network better – plugging into a wired network port to avoid poor WiFi signal, making sure other devices don’t do massive downloads during the working day. Check the speed of your network using one of the many tools available – like this one from Microsoft Research; if you search on Bing.com for just speed test then you’ll get a simple speedometer view.

If you’re using Teams or other realtime conferencing tools, it’s arguably more important to look at the latency (or “ping”) and the upload speed, than focussing on the headline download speed; if you have a device uploading lots of data, it might rob your bandwidth and ramp up the latency, which will be the enemy of any kind of synchronous comms. Check your latency over time with an online tool (like TestMy Latency) or download WinMTR to look for spikes in latency.

It’s worth making sure your PC isn’t causing issues itself, by running out of memory or pegging out the CPU and therefore giving a poor experience: the topic of looking for poor home network perf has been covered previously in ToW #533 amongst others.

clip_image006clip_image008Microsoft Teams has added some built-in monitoring and data collection capabilities, reported back to a central admin dashboard (Set up Call Quality Dashboard (CQD), and now semi-realtime data is visible in the Teams client itself. 

clip_image010When in a call, go to the menu and look for Call health. Click on the various “view more… data >” buttons to see further detail, like the size and rate of the video you’re sending to the call you’re currently on. If your colleagues tell you that the quality of your video is poor, take a look in there to see what you’re actually sending.

As an end user, see here to understand how to interpret the various data. Hover over the little info icons to the side of each headline to see a bubble explaining in one-line what this is measuring. It’s quite interesting.

For admin guidance on what bandwidth and latency requirements you should have to perform acceptably, see here.

533 – Revisiting TaskMgr

clip_image002If  you’ve ever had problems with your PC’s performance, you may have turned to Task Manager. It’s been in Windows since the NT4.0 days, when developer Dave Plummer came up with a bit of software he was planning to sell, but decided to donate it to his employer instead:

I’m the Microsoft developer that wrote TaskMgr at home in my den in about 1994 and then the NT silverback devs [ie Dave Cutler] let me check it into the main tree even though I was a greenhorn at the time. So that meant I got to bring it into work and polish it up and make it an official part of Windows, where it remains to this day.

clip_image004

Dave tells his career story from a talk a couple of years back, but hit the news recently through a Reddit post from which the italic text above originates.

He was inspired to apply to Microsoft in 1993 – having read the Hard Drive book (an excellent historical tome, having inspired at least a few great Microsofties to join up), then went on to write various money-saving optimisations for MS-DOS, and ended up in the NT team, leaving the company 10 years later.

Dave also recommends another great history book – Showstopper!

Back to the current era, Task Manager is still a really useful tool when it comes to figuring out issues with your Windows PC. If you think something is wrong (app starts bogging down, feels like the PC is in a bad way), you can quickly start Task Manager with the shortcut CTRL+SHIFT+ESC (easy to hit with one hand…)

clip_image006In an emergency (if it feels like your laptop it about to blow up, with fan blaring, screen blinking, UI non-responsive etc – maybe joining a Teams call or opening an Excel spreadsheet), it’s usually possible to throw TASKMGR its own special three-fingered-salute, since it isn’t tied to the Windows Shell –  you can use even Task Manager to kill or restart the EXPLORER.EXE that sits under the Start menu, task bar etc.

If you can get to Task Manager, you can run a CMD or Powershell prompt, start explorer or msedge etc.

Practical Example

A colleague pleaded recently that he was having a poor experience with Teams, and queried, did he need to upgrade his 150Mbps internet connection?

To check what kind of network performance you’re actually receiving, there are many speed test apps and sites.

If you’re using the new Edge (if not, why not? Don’t use IE – it’s too old;  stop using old Edge – it’s obsolete; the new Edge is fast and it’s better than Chrome), and you have Bing as your default search engine, all you need do is enter ? speed test into the address bar and you’ll get a speed test gadget to give you an idea of performance.

clip_image008If the base speed looks OK, use Task Manager to inspect what’s happening – fire it up in your favoured way (clicky-clicky-menu, right-click the taskbar, CTRL-ALT-DEL > Task Manager, if not CTRL-SHIFT-ESC) and by default you’ll see the near-useless list of what’s running with no other context. Time to show more details…

On the Processes tab, click on the CPU column to sort by what’s using the processor most – its also worth casting an eye on some other resources to make sure they’re not running out of steam; if you see an app consuming a huge amount of memory, it might be leaking, and shutting it down completely could make all the difference.

clip_image010

Task Manager lets you kill processes (“End Task”) too, if the app has hung and won’t close cleanly. In fact, Dave said there should be nothing that Task Manager can’t kill (apart from some critical system processes – TM might have been able to kill them, but will also bluescreen the machine … so some protection has been added to prevent the user from doing something that would be instantly fatal to Windows – though TM is able to kill itself).

Back to the Teams troubleshooting scenario – If you don’t see the PC getting nailed by some process (that isn’t Teams itself), then it’s worth looking at the Performance tab, and leave it running for a short while, paying particular attention to WiFi/Ethernet.

clip_image012

clip_image014If you see sustained high throughput, then switch back to the Processes tab, sort by Network and you can see what service/app it is that’s hammering the connection. You could fire up Resource Monitor if you want to dig in even further, started from the bottom of the Performance tab. ResMon lets you drill down to see what a single process is doing, what it’s connecting to, how much network traffic is going to and from it, and so on. Useful, if you like that sort of thing.

Finally, your network might perform brilliantly most of the time, but every so often you get a blip that feels like it’s dragging, then it picks up again. This could be spikes in latency, the enemy of anything real-time, like video calls.

Try running the Microsoft Research Speed Test appclip_image016 the nice thing is that it keeps a history log, so if you ever think your connection is bogging down, try running a realtime test.

The Network delay is actually key here – if you had more than 1Mbps upload and 5Mbps download speed, that should be plenty – but if your network delay is commonly more than ~150ms, it’s going to start causing problems.

If you have a network connection whose latency fluctuates a lot, there are a bunch of things you could do to seek and troubleshoot: 

  • Is something else on your network uploading huge amounts of data (a backup process, or OneDrive sync maybe) ? This is particularly important if you use an ADSL type connection, where choking the upload will also dramatically reduce download throughput too.
  • Is your wireless network getting interference? (try switching to a wired network, or use a Wifi Analyzer app to see if the channel it’s using has a noisy neighbour?)
  • Pin the blame on your service provider by keeping a log of latency performance over time, using something like http://ping-test.net/. If you can prove that your own network is stable, but there are glitches upstream somewhere, then you may be able to make your ISP turn their attention to their own network – tools like WinMTR will help you validate the performance of the network all the way between your machine and some endpoint; so if your ISP has networking problems, you might see spikes happening.