QA:Testcase NM Wireless

From FedoraProject

Jump to: navigation, search

Contents

Description

This test case cover Wireless connection configuration via desktop GUIs. Both Gnome and KDE have similar GUI configuration tools with almost same options.

Setup

Have Wi-Fi network(s) available, preferably with IPv4/IPv6 dualstack support and various encryption methods like None, WEP, WPA(2) Personal/Enterprise. If you are a student, try also Eduroam network or your local university network.

How to test

  1. Connect to Wi-Fi access point and if needed enter password or pass any other authentication method. Then run ping fedoraproject.org and if you have IPv6 connection also: ping6 fedoraproject.org
  2. Disable and re-enable wireless interface via Network Manager applet (Gnome or KDE) and run ping(s) again.
  3. Open "Options..." dialog in Gnome's "Network Settings" or "Edit..." dialog in KDE's "Network Management Settings". Configure IPv4/IPv6 address, gateway(s) and DNS(s) manually and run ping(s) again.

Expected Results

  1. You should connect to AP successfully and if network has DHCP server running, you should get an IP Address, Default Route (gateway) and DNS addresses automatically. Check this via "Network Settings" in Gnome or "Network Management" applet in KDE and in terminal by running commands: ip address, ip route and ip -6 route. If network supports IPv6 autoconfiguration via DHCPv6 or SLAAC your interface should have two IPv6 addresses: First local-link starting with "fe80::" and second globally unique address provided by network. Ping(s) should be answered.
  2. When interface is disabled, check by running ip address if interface state is "DOWN" and doesn't have other IP addresses then local-link. Run ip route and ip -6 route and check if all routes from disabled network are removed. After enabling, interface should return to previous state. Ping(s) should be answered.
  3. Interface should be configured properly, check with ip address, ip route and ip -6 route. Ping(s) should be answered.

Optional

  1. Try to disable and re-enable wireless by HW switch, if available.
  2. Setup an Ad-hoc wireless network between two computers. Configure IPv4 and IPv6 on both and test it. Try various encryption methods.
  3. Test various IPv4 and IPv6 configuration options, correct and even incorrect. Check how Network Manager handles this configurations and if it behaves as you expect.