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.

A network card

Test sequence

  1. Before starting, ensure that system power is off and the network cable is connected to a network which provides a DHCP server.
  2. Power on and boot to the iPXE command line.
  3. Use ifstat to identify the name of your network interface (hereafter assumed to be net0).
  4. Open the interface and initiate a DHCP request using dhcp net0.
  5. Verify that the DHCP command completes without an error.
  6. Close the interface using ifclose.
  7. Reopen the interface and initiate a DHCP request using dhcp net0.
  8. Verify that this second DHCP command also completes without an error.
dev/drvtest/reopen.txt ยท Last modified: 2013/07/15 20:59 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL http://ipxe.org
References to "iPXE" may not be altered or removed.