From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=This test case cover Network Manager configuration via nmcli. |setup=Have LAN connection available, preferably with IPv4/IPv6 dualstack support. |a...") |
No edit summary |
||
Line 4: | Line 4: | ||
|actions= | |actions= | ||
# Run {{command|nmcli nm status}} to get actual Network Manager state. Disable and re-enable wireless using GUI and hardware switch. | # Run {{command|nmcli nm status}} to get actual Network Manager state. Disable and re-enable wireless using GUI and hardware switch. | ||
# Disable and re-enable wireless using {{command|nmcli nm | # Disable and re-enable wireless using {{command|nmcli nm wifi off}} and {{command|nmcli nm wifi on}}. | ||
# Run {{command|nmcli con list}} to get informations about connections. | # Run {{command|nmcli con list}} to get informations about connections. | ||
# Activate connection using: {{command|nmcli con up id "NAME}} and deactivate using: {{command|nmcli con down id "NAME}} | # Activate connection using: {{command|nmcli con up id "NAME}} and deactivate using: {{command|nmcli con down id "NAME}} |
Latest revision as of 16:17, 10 December 2012
Description
This test case cover Network Manager configuration via nmcli.
Setup
Have LAN connection available, preferably with IPv4/IPv6 dualstack support.
How to test
- Run
nmcli nm status
to get actual Network Manager state. Disable and re-enable wireless using GUI and hardware switch. - Disable and re-enable wireless using
nmcli nm wifi off
andnmcli nm wifi on
. - Run
nmcli con list
to get informations about connections. - Activate connection using:
nmcli con up id "NAME
and deactivate using:nmcli con down id "NAME
- Run
nmcli dev status
to show current interfaces status and compare it withip link
. Try disconnect and reconnect interfaces in random. - Get list of available wireless networks
nmcli dev wifi list
- Connect to open, WEP or WPA-PSK wireless network using:
nmcli dev wifi connect 'SSID' password 'password' wep-key-type key
and disconnect using:nmcli dev disconnect iface wlan0
Expected Results
nmcli nm status
should inform about actual Network Manager state. "WIFI" should reflect GUI status and "WIFI-HARDWARE" hardware status.- Check if wireless is disabled and re-enabled using
ip link
andiwconfig
commands. nmcli con list
should show correct "NAME and "TYPE", compare it with your desktop GUI.- Connection can be activated and deactivated properly.
- "nmcli" and "ip" interfaces state should match. "nmcli" should inform correctly about interfaces state.
- Compare results with
iwlist scan
command. "nmcli" should provide same informations. - You can successfully connect and disconnect from wireless network.