Include(GruppoTest/Header) BR Indice(depth=2)
Cabled Network
Test Automatic Connectivity
Case ID: hcn-001
Ensure that NetworkManager is running (computer icon in the notification area) and that no networks are currently connected.
Open gnome-terminal (Applications -> Accessories -> Terminal).
In the terminal, run ifconfig. Verify that only the loopback device ("lo") is listed.
- Connect the network adapter to a network with a DHCP server.
After approximately 30 seconds, run ifconfig in the terminal. Verify that a new network device is present and has received an IP address. Note the interface name (e.g. eth0).
In the terminal, run route -n. Note the IP address that is not "0.0.0.0" in the Gateway column.
In the terminal, run ping -c 5 [gateway] where [gateway] is the IP address of the Gateway, above. Verify that the command reports "5 packets transmitted, 5 packets received".
Verify Release of Device
Case ID: hcn-002
In the terminal, run ifdown [interface] where [interface] is the interface name, above.
In the terminal, run ifconfig and verify that only the loopback device ("lo") is listed.
Verify Manual Connectivity
Case ID: hcn-003
In the terminal, run ifconfig [interface] [staticIP] where [interface] is the interface name and [staticIP] is a valid unused IP address on the current network. (Consult your network administrator if you do not know such an address.)
In the terminal, run ifconfig. Verify that the network device is again listed and has the IP address ([staticIP]) as given above.
In the terminal, run ping -c 5 [gateway] where [gateway] is the IP address of the Gateway, above. Verify that the command reports "5 packets transmitted, 5 packets received".
In the terminal, run ifdown [interface] where [interface] is the interface name, above.
Ulteriori risorse
[http://testcases.qa.ubuntu.com/Hardware/Network/Cabled Documento originale]