16
5
On Linux (specificially Ubuntu) what's the easiest way to determine what types of Wifi protocols your hardware and driver support?
I have a router running DD-WRT that supports broadcasting in both a 2.4Ghz and 5Ghz wifi with network modes of either Mixed, BG-mixed, B-only, G-only, NG-only, N-only.
I have numerous wireless devices running Linux, from Android phones to networks to Macbooks, and I'm finding it difficult to set a configuration that supports everything. Setting it to broadcast both 2.4 and 5 in mixed mode seems to cover all devices, but also puts the most load on my router. So I tried only enabling 2.4 in mixed both, and everything could connect, but overall network performance was slow because there are tons of 2.4 networks in my area, causing lots of congestion.
When I tried enabling only 5Ghz in mixed mode, I found most of my older devices could not longer see the network, even though some of them have connected to 5Ghz networks at other locations. e.g. I have a Macbook that can connect to some 5Ghz networks, and its lspci shows:
03:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
but it's completely unable to detect my router's 5GHz network.
On a netbook, running iwconfig wlan0
shows:
IEEE 802.11abg
implying it should be able to access my router's 5 GHz mixed a/n network, but running nmcli dev wifi list
only shows 2.4 GHz networks. Why is this?
Is there some command I can run from the command line that will list all the frequencies and network modes supported by the current wifi driver, so I can find the optimal setting for my wireless router?
1"iw dev on GNU/Linux will show you how your client and your access point are connected" - it's actually
iw dev wlan0 link
. – pfalcon – 2017-01-02T22:29:48.633For 802.11ac the keyword you are looking for is
VHT
, for Very High Throughput. My 802.11n cards don't have this term. My 802.11ac card listsVHT Capabilities (0x038071b0):
andshort GI (80 MHz)
– Huckle – 2017-07-26T05:37:06.753blech that command output is so verbose.
iw phy | grep -i Band -A 20
no chill – g33kz0r – 2017-07-30T07:33:11.197How do you configure you Linux AP to "broadcast on both 2.4Ghz and 5Ghz"? How you can see from
iw phy
if this is possible for a given card? So I have two bands listed, but I do not know if you can use both at the same time or not. – Mitar – 2019-08-04T12:48:39.340