From Fedora Project Wiki
(create networkmanager connection assumption test case) |
(Suggested from stickster s/restart/stop/) |
||
Line 5: | Line 5: | ||
# Check if there is a configuration file for your network connection in {{filename|/etc/sysconfig/network-scripts}}, e.g. {{filename|/etc/sysconfig/network-scripts/ifcfg-eth0}}. If there is, make sure it contains the line HWADDR=xx:xx:xx:xx:xx:xx , where the actual value is the MAC address of your network card. If there is not, use ''system-config-network'' to create one | # Check if there is a configuration file for your network connection in {{filename|/etc/sysconfig/network-scripts}}, e.g. {{filename|/etc/sysconfig/network-scripts/ifcfg-eth0}}. If there is, make sure it contains the line HWADDR=xx:xx:xx:xx:xx:xx , where the actual value is the MAC address of your network card. If there is not, use ''system-config-network'' to create one | ||
# Ensure that NetworkManager is running and managing the ethernet connection | # Ensure that NetworkManager is running and managing the ethernet connection | ||
# Stop the NetworkManager service: {{command|service NetworkManager | # Stop the NetworkManager service: {{command|service NetworkManager stop}} | ||
# Test if network connectivity is still present (with ''ifconfig'', a web browser...) | # Test if network connectivity is still present (with ''ifconfig'', a web browser...) | ||
# Start the NetworkManager service again | # Start the NetworkManager service again |
Latest revision as of 15:55, 12 August 2009
Description
This test case tests whether NetworkManager can correctly assume and pass off a pre-configured network connection. You will need a functional wired ethernet connection.
How to test
- Start up the system
- Check if there is a configuration file for your network connection in
/etc/sysconfig/network-scripts
, e.g./etc/sysconfig/network-scripts/ifcfg-eth0
. If there is, make sure it contains the line HWADDR=xx:xx:xx:xx:xx:xx , where the actual value is the MAC address of your network card. If there is not, use system-config-network to create one - Ensure that NetworkManager is running and managing the ethernet connection
- Stop the NetworkManager service:
service NetworkManager stop
- Test if network connectivity is still present (with ifconfig, a web browser...)
- Start the NetworkManager service again
Expected Results
- When you stop the NetworkManager service, network connectivity should be retained without manual intervention
- When you start the NetworkManager service again after having stopped it, the existing connection should be 'assumed' by NetworkManager, it should not take the connection down and then recreate it