[Linux Mint 20] Various WiFi confirmation commands

In line with the replacement of my home wireless router, I tried to improve the communication status in my house by changing the location of the router, but at that time, I summarized the CUI commands used for confirmation.

List of access points (nmcli dev wifi)

A list of wireless communication access points that can be recognized by a PC. The value of "SIGNAL" is displayed as a larger value (maximum 100) as the communication status is better, and it does not mean the signal strength, so be careful not to confuse it.

Also, if you specify the "-f ALL" option, all the information is displayed, but it is long and difficult to see, so it is better to specify only the necessary items (-f SSID CHAN RATE SIGNAL ...).

$ nmcli dev wifi
IN-USE  BSSID              SSID                              MODE      CHAN  RATE        SIGNAL  BARS  SECURITY  
*       xx:xx:xx:xx:xx:xx XXXXXXXXXXXXXX Infrastructure 48 540 Mbit/s  67      ▂▄▆_  WPA2 
:
:  

Check communication status (nmcli c show)

A list of devices through which wireless (also wired) communication is connected. In addition to the information currently connected, information that has been connected so far is also displayed. This connection information can be edited with GUI by executing "nm-connection-editor".

$ nmcli c show
NAME                   UUID                                  TYPE      DEVICE  
XXXXXXXXXXXXXXX        12345678-abcd-efgh-ijkl-901234567890  wifi      wlp12s0
Wired connection 1 21235678-abcd-efgh-ijkl-901234567890  ethernet  --      

Checking the signal strength of wireless communication (iwlist scanning)

A command that scans the status / status of current communication and displays it in rapid succession. The signal strength can be confirmed by the value of "Signal level", but be careful because the larger the value, the better the communication status (it is confusing because it is a negative value, but -40 is better than -80).

$ iwlist scanning
wlp12s0   Scan completed :
          Cell 01 - Address: xx:xx:xx:xx:xx:xx
                    Channel:48
                    Frequency:5.24 GHz (Channel 48)
                    Quality=52/70  Signal level=-58 dBm  
                    Encryption key:on
                    ESSID:"XXXXXXXXXXXXXX"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
            :

Checking the connected wireless communication device (iw dev)

A list of wireless communication devices connected / recognized to the PC. You can also check the channel, frequency, SSID, etc. during wireless communication.

$ iw dev
phy#0
	Interface wlp12s0
		ifindex 3
		wdev 0x1
		addr xx:xx:xx:xx:xx:xx
		ssid XXXXXXXXXXXXXXX
		type managed
		channel 48 (5240 MHz), width: 20 MHz (no HT), center1: 5240 MHz
		txpower 15.00 dBm

Detailed information on wireless devices (iw phy phy # info)

You can check detailed information such as frequencies, channels, and support interfaces supported by wireless devices. I wanted to make the built-in wireless device a virtual AP, but this command confirmed that it does not support AP.

$ iw phy phy0 info
Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2285 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
     :
	Supported interface modes:
		 * IBSS
		 * managed
		 * monitor
     :
     :

Checking the status of various devices (lsxxx)

There are various lsxxx commands for checking various devices other than wireless.

#Check all hardware details
$ lshw

# CPU
$ lscpu

#memory
$ lsmem

#Storage device
$ lsblk

#PCI device list
$ lspci

#USB device list
$ lsusb

#PCMCIA device list
$ lspcmcia

By the way, the FMV-BIBLO MG70W with Mint has a rare S terminal output jack, but when I ran lspci, it recognized the existence of this device properly. However, since there is no dedicated cable, I do not know if it will really be output.

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 03)← ★ this
:

Recommended Posts

[Linux Mint 20] Various WiFi confirmation commands
Various Linux commands
Linux commands
Linux commands
linux commands
Linux commands
Linux commands
[Linux] Summary of middleware version confirmation commands
Verbalize Linux commands
Linux user commands
New Linux commands! !!
Basic LINUX commands
Typical Linux commands (7)
Linux mint installation procedure
Frequently used Linux commands
Frequently used Linux commands
Frequently used linux commands
[Linux] Group related commands
Linux commands to remember
New Linux commands! !! Part 2
Implemented various yes commands
Studying Linux commands and frustration
[Linux Mint 20] Remote desktop connection / connection
Elixir = Comfortable on Linux Mint
Introducing Elixir on Linux Mint
Ubuntu / Linux laptop WiFi issues