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.
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
:
:
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 --
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
:
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
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
:
:
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