My laptop has capabilities for 802.11n connections.
With my previous router, I could transer data faster than 54Mb/s. Now I have D-Link router and for some reason the maximum connection speed is 54Mb/s, which implies that the connection was established with 802.11g.
How can I check which standard (g or n) has been established? Is there any command to get that information? (nm-applet does not give any information about that in the connection information window).
The utility
iw
shows the used bitrate and indicates the used IEEE 802.11 standard by its listed capabilities.Read your interface name from the
iw dev
output, and use it within<name>
.Example output when associated with a legacy (non-802.11n) AP:
"MCS index", indicating a 802.11n AP:
"VHT", indicating support for 802.11ac:
Compare this with the Linux driver 802.11n table. You'll see how the example "MCS 15 40Mhz short GI" 300 MBit/s corresponds to a row within the "HT40 rates" for the "short 400ns GI" column.
To see what your Wi-Fi adapter is generally capable of, independent of the AP link, run
iw phy0 info
(synonymous toiw list
) and look for keywords like HT (802.11n) / VHT (802.11ac, (Very) High Throughput), MCS (Modulation and Coding Schemes) index number and long/short GI (Guard Interval).For more explanations, continue with this Super User answer.
lshw -C network
iwconfig
and search forBit Rate
lspci | grep -i wireless
wavemon
is the ultimate tool for wirelessWith
sudo lshw -C network
you should be able to see which modes you wifi adapter supports. But since your problem seems to be the router find out your wifi adapters name usingiwconfig
(should be something likewlan0
oreth0
). Then try aiwlist wlan0 scan
(replacewlan0
with your adapters name). It will list the supported bit rates. If the highest is is 54Mbit/s your router doesn't seem to support the n standard.This way you can find out if you should be able to connect with the n standard. Sadly I know no way to find out what standard the present connection uses.
this question was already answered: https://unix.stackexchange.com/questions/62265/linux-find-wifi-networks-protocola-b-g-n-version-of-all-available-access-point
in short issue:
iw dev wlan0 scan
and the output should indicate which access point has what capabilities around you.More details are in the mentioned link.
You can install WiFi Radar which is a utility for managing, scanning, and auto-connecting to WiFi profiles.
https://wifi-radar.tuxfamily.org/
It appears to be in the Ubuntu repository
https://packages.ubuntu.com/search?keywords=wifi-radar