CompTIA Linux+ (XK0-004) — Question 256
A network administrator requested a change in workstation routing to a new access point.
Which of the following will display the current settings for wlan0 and set the new access point name to lab?
Answer options
- A. iwconfig, iwconfig essid ג€labג€
- B. iwconfig wlan0, iwconfig essid lab
- C. iwconfig, iwconfig wlan0 ap=ג€labג€
- D. iwconfig wlan0 display, iwconfig wlan0 essid=ג€labג€
Correct answer: B
Explanation
The correct answer is B because 'iwconfig wlan0' shows the current settings for the wlan0 interface, and 'iwconfig essid lab' sets the access point name to lab. Option A does not specify the interface, C uses the wrong syntax for setting the ESSID, and D incorrectly combines display and setting commands.