Driver test: close and reopen
Rationale
Closing and reopening an interface is an uncommon action, and problems are unlikely to be discovered during normal operation. The ifclose
commands can be used to verify that a card continues to work after being closed and reopened.
Test sequence
Before starting, ensure that system power is off and the network cable is connected to a network which provides a DHCP server.
Power on and boot to the iPXE command line.
Use ifstat to identify the name of your network interface (hereafter assumed to be net0
).
Open the interface and initiate a DHCP request using
dhcp net0
.
Verify that the DHCP command completes without an error.
-
Reopen the interface and initiate a DHCP request using
dhcp net0
.
Verify that this second DHCP command also completes without an error.