LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-06-2021, 05:51 AM   #1
JohnFluter
LQ Newbie
 
Registered: May 2009
Posts: 19

Rep: Reputation: 3
Question 2.4GHz or 5GHz ?


I am starting to have WiFi networking problems. This has now stopped my networked HP printer from being accessed from my (only) laptop that runs 5GHz WiFi from Xubuntu 18.04 64 bit.

I cannot ping my printer over WiFi. There is no problem with a wired connection.

My old laptop, same OS, but 32 bit and 2.4GHz WiFi works normally (perfectly!).

The other issue that has appeared recently is the random stopping of data flow to and from internet streamed music sources. (Youtube and broadcast TV are not affected.)

I have forced 2.4GHz connection by editing my laptop's WiFi connection.

I can now print again. Time will tell if I can stream again.

This seems to be a very crude fix! Where is the real problem and is there a better way of resolving it?
 
Old 05-06-2021, 06:21 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Briefly the issues are:
  • The 2.4 Ghz channels are more crowded, but the signal travels better in house environments.
  • Not every wifi device has 5Ghz capability.

Check your local area with
Code:
iwlist wlan0 scan |grep -B2 Quality
which should show you channel and signal strength. So good moves would be
  1. Check if your printer is 5Ghz capable. It might not be.
  2. Put your laptop beside your printer and see if the printer gets a decent signal on 2.4Ghz
  3. Repeat this exercise for 5Ghz.
  4. Modify the layout in your house if possible, and retest. As a guide, 2.4Ghz will reflect some off glass, but 5Ghz is inclined to go through.

Let us know what you come up with. BTW, my router isn't capable of 5Ghz. I can get a better one from my isp for €25. Received wisdom is to use channels 1, 6, or 11 on 2.4 Ghz. But people set routers to 'automatic', which automatically chooses the worst channel to be on . I found channel 9 was best for me. But I need to recheck often. The 5Ghz spectrum is a lot cleaner.

Last edited by business_kid; 05-06-2021 at 06:45 AM.
 
1 members found this post helpful.
Old 05-06-2021, 06:42 AM   #3
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,308
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
I'd avoid the 2.4GHz band if at all possible. While it kind of travels better indoors, it is also subject to all kinds of interference. Anything from phone extensions, any kind of bluetooth devices, and microwave ovens can interfere to name just three sources of problems. In an urban environment or multi-tennant office building there will also be "fights" between the stations in the 2.4 GHz band or, worst of all, someone will set up an access point on an adjacent channel. So if someone sets up a network on channel 9, for example :P, then those on 6 and 11 will get interference especially the latter. The hardware really ought to be locked down to channels 1, 6, and 11 at the OEM because sharing a channel is not as slow, usually, as getting interference.

The 5GHz band has a lot less interference and has more unique channels, but tends to travel rather poorly through walls and other obstacles, such as vegetation. If you can reach to where you printer sits physically using 5GHz but the printer itself has only 2.4GHz access, you can throw CUPS or something onto a Raspberry Pi 3A+ (or similar) to work on 5GHz and then plug the printer into that using the USB port. That way 2.4 GHz can be avoided.
 
Old 05-06-2021, 07:10 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,701

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Electronic stuff breaks. Not enough information to tell if the router or your laptop 5 GHz adapter is failing. What about other 5GHz devices? Does your phone have problems?

If the adapter is failing it might require lots of retries which would cause high bandwidth streams to fail.

5 GHz has shorter range then 2.4 GHz. Does it make a difference if the laptop is closer to the router? Sometimes changing bandwidth wireless settings on the router helps but eventually you will either need to replace the router or purchase a replacement adapter for your laptop.
 
1 members found this post helpful.
Old 05-06-2021, 07:25 AM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by business_kid View Post
Check if your printer is 5Ghz capable. It might not be. Put your laptop beside your printer and see if the printer gets a decent signal on 2.4Ghz
I don't think that's how wireless printing works. The connection does not usually go directly to the printer.

Even if it the printer is not capable of connecting to the router at 5GHz, you should still be able to print to it from a laptop which is. The printer might be connected to the router by a cat5 cable or by a 2.4GHz wireless connection. It shouldn't matter.
 
1 members found this post helpful.
Old 05-06-2021, 07:38 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by rkelsen View Post
I don't think that's how wireless printing works. The connection does not usually go directly to the printer.

Even if it the printer is not capable of connecting to the router at 5GHz, you should still be able to print to it from a laptop which is. The printer might be connected to the router by a cat5 cable or by a 2.4GHz wireless connection. It shouldn't matter.
You're right - all wifi goes through the router. But he can measure the signal strength with his laptop. If he has no signal strength on 5Ghz, why should his printer print? It's me knowing what I was talking about, but nobody else having a clue - a regular problem.

You are also correct that cat5 would work. But isps put the modem where they want in a house/business, people set up where they want, and problems arise. Running about the house with cat 5 just gives a real industrial effect to your pad, and is accident prone.
 
Old 05-06-2021, 04:36 PM   #7
JohnFluter
LQ Newbie
 
Registered: May 2009
Posts: 19

Original Poster
Rep: Reputation: 3
Thank you all for your comments. Michaelk was spot-on.

My 'fix' did not last very long. The choice of band was a 'red herring'. I only knew the 5GHz band was in use from the info in my router settings. A USB dongle worked perfectly so I investigated the laptop's WiFi device.

Distance was not an issue but I have a large house to cover and 2.4GHz would be a better bet. Now that I have managed to fix the problem the laptop chooses 2.4Ghz. The HP printer is capable of standalone wireless operation but it is easier for me to manage it if it is part of my local network. I have an additional hard wired access point in addition to the one in the router.

The strange point about the issue was that although the network connection was good (or good enough!) for most purposes, including video streaming, the printer on my own network was usually inaccessible. And audio streaming was prone to stop and restart randomly. Signal strength was never an issue.

I was afraid that the wireless card was failing. In a way I think it was. Something had changed so that it needed to have its driver updated. I guess the trouble started after a security update.

The laptop is a 3 month old N1684 Novatech, with Intel WiFi. I bought it (new) without OS. It is faster than my smart phone and boots in 15 seconds!

Here is an account as far as I can remember, of how I got back communication with the printer.

I connected to my network by wire and following advice on the Ubuntu Wireless Network Troubleshooter, I checked 'Software and Updates' for additional drivers. The Intel WiFi device was reported as not working. I searched Synaptic for iwlwifi and installed backport-iwlwifi-dkms as this was mentioned in the report.

I can't remember precisely what my next steps were but the additional drivers were installed (it took several minutes) and my WiFi device is now reported as working with the alternative driver.

My connection is now trouble free and the printer responds to a ping within about 4ms.

I believe that my problems really are solved.
 
Old 05-07-2021, 01:19 AM   #8
JohnFluter
LQ Newbie
 
Registered: May 2009
Posts: 19

Original Poster
Rep: Reputation: 3
My system is still working but this morning in the BBC Tech News

https://www.bbc.co.uk/news/technology-56949262

there is a report of on going issues of this problem with routers provided by BT. My service provider is BT!

Perhaps this is where my problems originated. I do not use any 'smart' devices. I could connect with my networked computers, but not my printer. The issue is similar to that raised in the report which is focused on lack of communication between devices using both bands to access the same network.
 
Old 05-07-2021, 03:54 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by JohnFluter View Post
My system is still working but this morning in the BBC Tech News

https://www.bbc.co.uk/news/technology-56949262

there is a report of on going issues of this problem with routers provided by BT. My service provider is BT!

Perhaps this is where my problems originated. I do not use any 'smart' devices. I could connect with my networked computers, but not my printer. The issue is similar to that raised in the report which is focused on lack of communication between devices using both bands to access the same network.
So, as a temporary move, why not transfer everything to 2.4Ghz, and switch off 5Ghz, or vice-versa? From what I read, it's just mucking up 2.4 & 5Ghz setups.
 
Old 05-08-2021, 03:59 AM   #10
JohnFluter
LQ Newbie
 
Registered: May 2009
Posts: 19

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by business_kid View Post
So, as a temporary move, why not transfer everything to 2.4Ghz, and switch off 5Ghz, or vice-versa? From what I read, it's just mucking up 2.4 & 5Ghz setups.
Thanks for your comment. I did think about it as a solution early on, but forcing 2.4GHz in the laptop didn't solve the connectivity problem, which was primarily associated with my printer.

I cannot see a way force 2.4GHz only in my BT router. The only device that I have seen using 5GHz is the new laptop which gave me the trouble.

I'm not actually convinced that the 5GHz router report was true. It may have been a false diagnosis as a result of the problem with the laptop WiFi device. I could not make it go away. (Perhaps this was due to latency.)

Now that I have got the laptop WiFi driver up to date all is working well with the default settings. The router reports a 2.4GHz connection for it (and all other WiFi connected devices).

I've already spent a too much of time on this issue. Its working now. I'm hoping the resolution is permanent. Forcing my self to break a lifetime's habit... I am not going to 'fix' a working system.
 
Old 05-08-2021, 10:16 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by JohnFluter
I am not going to 'fix' a working system.
Amen to that - I've given that advice to many, many folks.

You've posted the solution, so mark this solved
 
Old 05-08-2021, 11:12 AM   #12
JohnFluter
LQ Newbie
 
Registered: May 2009
Posts: 19

Original Poster
Rep: Reputation: 3
Cheers! I already have, a few posts ago. I'm happy to put it to bed with a nice tidy ending.
 
Old 05-08-2021, 06:34 PM   #13
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by business_kid View Post
You're right - all wifi goes through the router. But he can measure the signal strength with his laptop.
It might be easier to schlepp around the house/apartment with your smartphone. I have a WiFi analyzer from vremsoftwaredevelopment.github.io that seems to do a good job of showing signal strength as I move about the place. The price was certainly right (US$0.00).

Cheers...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ath9k compatible 2,4GHz and 5GHz network card qorg11 Linux - Networking 4 08-15-2019 04:17 AM
LXer: Smaller Raspberry Pi 3 Model A+ Announced with 5GHz Wi-Fi and 1.4GHz CPU for $25 LXer Syndicated Linux News 0 11-19-2018 10:04 PM
WPC54G (Linksys 2.4Ghz) PCMCIA card works. rveenema Linux - Networking 3 11-14-2003 12:16 AM
Error due to Xfree86 for my Intel 2.4Ghz Jawagar Linux - Distributions 1 08-03-2003 03:22 AM
Netgear 2.4GHz Wireless Desktop Card Netgear MA311 Freaksta Linux - Hardware 8 05-27-2003 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration