LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-19-2016, 10:40 PM   #1
talosthoren
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Rep: Reputation: Disabled
Cannot detect certain wifi networks.


Howdy all,

Having some trouble in slackware64-14.2 running a 'Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)' wireless adapter.

The adapter seems to work fine at home, it also can detect and connect to my work's guest wifi, though it stopped being able to connect to a partner network it previously could connect to (may be something admin side to that, though, I don't think I'm supposed to be able to connect to it.)

I've tried different drivers, all of which seem to work the same, except broadcom-sta makes the interface eth1 instead of wlan0. Everytime I'm unable to detect the target network in scans (using iwslist as well as nm-applet.)

When I inspected the network on my mac, I can see that the many iterations of the target network are on high channels (52, 36, 161, etc.) Note that the only guest networks (there are many) I can detect are ones broadcasting on channels below 11.

In my reading I've seen some indication that channels above 11 are supposedly restricted in many places. I've also seen threads that seem to implicate that people with newer kernels are experiencing the problem of not being able to detect networks that are on channels above 11. One arch user mentioned being able to change a setting with systemctl that allowed them to scan for a network on channel 12 that they previously could not find, but they didn't indicate what that setting was.

Is there any way I can force my system to allow me to see these high-channel wireless networks?

Thanks in advance,
Talos

Last edited by talosthoren; 07-19-2016 at 10:47 PM.
 
Old 07-20-2016, 12:09 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
What WLAN standarts does the Broadcom WIFI network chip support?
 
Old 07-20-2016, 01:11 AM   #3
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
It looks like the BCM4313 is 2.4GHz only, so you'll only ever be able to access channels 1 to 14.

Within the 2.4GHz band, channels 12, 13 and 14 cannot be used legally in the USA. Channel 14 cannot be used legally in Europe. And so on [1]. To setup the device and driver for the legal framework in your territory, you can put this in your /etc/rc.d/rc.local

Code:
iw reg set XX
where XX is your territory's two letter code. But this doesn't always work. Some devices and some drivers ignore it, because it would allow you to circumvent the legal restrictions if you lied about your territory, or because they are cheap and lazy.

[1] https://en.wikipedia.org/wiki/List_of_WLAN_channels
 
1 members found this post helpful.
Old 07-20-2016, 05:58 PM   #4
talosthoren
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for the input. I thought it might be something like that, but I wasn't quite sure how to check. Looks like my solution is going to be purchasing a more robust wifi adapter, which I suspected from the outset. I appreciate the confirmation! Marking this solved as it is a hardware limitation issue with an easy fix.

Quote:
Originally Posted by 55020 View Post
It looks like the BCM4313 is 2.4GHz only, so you'll only ever be able to access channels 1 to 14.

Within the 2.4GHz band, channels 12, 13 and 14 cannot be used legally in the USA. Channel 14 cannot be used legally in Europe. And so on [1]. To setup the device and driver for the legal framework in your territory, you can put this in your /etc/rc.d/rc.local

Code:
iw reg set XX
where XX is your territory's two letter code. But this doesn't always work. Some devices and some drivers ignore it, because it would allow you to circumvent the legal restrictions if you lied about your territory, or because they are cheap and lazy.

[1] https://en.wikipedia.org/wiki/List_of_WLAN_channels

Last edited by talosthoren; 07-20-2016 at 06:00 PM.
 
Old 07-22-2016, 04:21 PM   #5
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
I am certain there is a more elegant way to do this, but I like to use this script to set regulatory domains for my wireless NIC:

Code:
#!/bin/sh

status=`cat /sys/class/net/wlan0/operstate`

if [[ $status == 'up' ]]
then
  iw reg set US
fi
You can add this to /etc/rc.d/rc.local, wicd, and network manager.

To use it with network manager see this post:
https://www.linuxquestions.org/quest...5/#post5452473
 
Old 07-22-2016, 05:40 PM   #6
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,178

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by talosthoren View Post
Thank you for the input. I thought it might be something like that, but I wasn't quite sure how to check. Looks like my solution is going to be purchasing a more robust wifi adapter, which I suspected from the outset. I appreciate the confirmation! Marking this solved as it is a hardware limitation issue with an easy fix.
Bear in mind that the old 2.4 GHz adapters generally have a better range than the 5 GHz adapters. Alfa adapters come with high dBi antennas to compensate for this. Prices are a touch on the high side but the adapters get favourable reviews.
 
Old 07-23-2016, 04:28 PM   #7
OldHolborn
Member
 
Registered: Jul 2012
Posts: 229

Rep: Reputation: 190Reputation: 190
If you are using wpa_supplicant, add this to wpa_supplicant.conf

country=XX

The same 2 letter country code as 55020 refers to above.

No, it's not mentioned in the man page, but is mentioned at http://linuxwireless.org/en/users/Do...pa_supplicant/ in the well commented configuration file link
 
  


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
RHEL 5 : Can not connect/detect wireless networks ngwaytoe Linux - Wireless Networking 5 06-01-2013 10:59 PM
[SOLVED] wicd does not detect wireless networks djmb Linux - Wireless Networking 2 02-18-2011 10:42 PM
Network Manager Can't Detect Wi Fi Networks shadowsjack Incognito 2 12-26-2009 01:24 PM
ndiswrapper installed and can detect networks but cannot connect to any of them scheidel21 Linux - Wireless Networking 4 08-19-2007 06:55 AM
Unable to detect wireless networks. Abomb Linux - Wireless Networking 3 04-18-2006 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:00 AM.

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