====== 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 ''[[:cmd:ifclose]]'' commands can be used to verify that a card continues to work after being closed and reopened. {{ :clipart:nic.jpeg?237x222|A network card}} ===== 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 ''[[:cmd:dhcp]] net0''. - Verify that the DHCP command completes without an error. - Close the interface using ''[[:cmd:ifclose]]''. - Reopen the interface and initiate a DHCP request using ''[[:cmd:dhcp]] net0''. - Verify that this second DHCP command also completes without an error.