How to find a wireless network adapter’s speed in Linux?

How to find a wireless adapter‘s speed in Linux? ethtool does not show the speed of the wireless adapters.

For finding the configured speed of wireless adpaters in Linux, you can use the iwconfig tool.

iwconfig: configure a wireless network interface

For example, to find the speed of the wireless adapter wlp8s0:

# iwconfig wlp8s0
wlp8s0    IEEE 802.11bgn  ESSID:"Your AP"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 08:5B:0E:66:DF:27   
          Bit Rate=58.5 Mb/s   Tx-Power=16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=65/70  Signal level=-45 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:4  Invalid misc:1084   Missed beacon:0

Here, the “Bit Rate=58.5 Mb/s” shows the speed.

Of course, you need to benchmark to find how the actually speed is. The rate here is the link’s current rate.

Similar Posts

  • PDF annotation tools on Linux

    What are good PDF annotation tools on Linux? Preferring saving the annotation in the PDF instead of separate files or images. I find the best solution may be wine + Foxit Reader. Foxit Reader can annotate PDF files and save them. It works very well on wine. Steps to install them: Install wine # yum…

  • How to get file extension in JavaScript?

    How to get file extension from a file name in JavaScript? For examples, For “file.txt”, I want to get “txt”. For “file2.multi.ext.fileext”, I want to get “fileext”. This JavaScript function works well for me. function getExt(filename) { var idx = filename.lastIndexOf(‘.’); // handle cases like, .htaccess, filename return (idx < 1) ? “” : filename.substr(idx…

  • How to test whether a file exists and is a block special file in Python on Linux?

    How to Check for Block Special Files in Python In Linux, hardware like hard drives and SSDs are represented as “block special files” (usually in /dev). Python provides a simple way to identify them using the os module. The Pythonic Way import os import stat path = “/dev/sda” try: mode = os.stat(path).st_mode if stat.S_ISBLK(mode): print(f”{path}…

  • Fedora 中文字体设置

    Fedora 一直有中文字体难看的问题, 尤其是在英文环境中. 使用本文中的配置方法可以得到令人满意的中文效果. 此方案中使用字体都为开源且在Fedora源中自带. 此方案对 Fedora 41 – 20 有效. 对于后续版本支持我会确认并更新此文章. 此方案对Gnome, KDE都有效. Firefox 中也有中文难看的问题, 后面会提到. 快速配置方法 如果你想马上配置好,请使用如下命令。此方法测试使用效果良好。 # yum install cjkuni-ukai-fonts cjkuni-uming-fonts # wget https://raw.githubusercontent.com/zma/config_files/master/others/local.conf \ -O /etc/fonts/local.conf 相关英文字体配置可以参考:Improving Fedora Font Rendering with Open Software and Fonts Only. Fedora 系统中文字体的配置方案 使用uming和ukai字体,即AR PL UMing CN等. 中文字体和等宽字体效果如图所示(点击看大图, Firefox 中文字体设置在后面会提到). 方法如下: 安装字体 首先安装这两个字体: cjkuni-ukai-fonts cjkuni-uming-fonts (在Fedora…

4 Comments

  1. I believe something is mixed here. You say:

    «Here, the “Bit Rate=58.5 Mb/s” shows the speed.

    Of course, you need to benchmark to find how the actually speed is. The rate here is the hardware limit.»

    But I believe that’s actually the current link speed. You can test this by issuing the same command a few times while the wifi link is at rest and under load. I get different results, which is why I’m saying this.

      1. Hi Eric,

        Cool, thanks for confirming it.

        And by the way, in the meanwhile I think I figured out a way to show the hardware limit, if you have NetworkManager CLI installed:

        nmcli dev wifi

        This will show you several columns with properties of your wifi adapter, including one titled “RATE”, which I believe is the hardware’s maximum speed. I say “I believe” because I can’t find anything in the documentation that explains what each field is but it is definitely a fixed field with a much higher value on my hardware than what I get with iwconfig or iwlist.

  2. Hi,
    “iwconfig wlan0” gives me “Bit Rate:434 Mb/s” which is the hardware limit IMHO.
    “nmcli dev wifi” shows 540 Mb/s…

    The ookla speedtest-cli tool shows 21.58 Mbps, that’s the real download speed.

Leave a Reply

Your email address will not be published. Required fields are marked *