Which of the following commands shows capabilities and usable frequencies for the wireless interface wlan0?
Which of the following commands shows capabilities and usable frequencies for the wireless interface wlan0?
The correct command to show capabilities and usable frequencies for a wireless interface is 'iw phy phy0 info'. This command queries the physical device capabilities, including all supported frequencies and capabilities relevant to wlan0. Commands that use 'dev wlan0' typically offer details specific to the current configuration or state rather than the full set of capabilities and frequencies.
iw dev wlp2s0 info Interface wlp2s0 ifindex 3 wdev 0x1 addr d8:12:65:3e:fa:c3 ssid IC-VNPT-2.4Ghz type managed wiphy 0 channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz txpower 15.00 dBm
A - 100%
actual iw phy phy0 info or sudo iw phy phy0 info So with correct spelling of phy0
the question ask about wlan0 interface, why is the A correct? i think the correct answer to the question si B
B - 100%
My mistake. B only gives the current frequency if the network interface is attached to any. A - 100%
From COPILOT: The command that shows capabilities and usable frequencies for the wireless interface wlan0 is “iw dev wlan0 info“. This command provides detailed information about the wireless interface, including its capabilities and the frequencies it can use.