Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
commandline [2009/08/05 19:41] andytim |
commandline [2010/02/16 08:24] (current) pscheie |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====Etherboot command-line===== | =====Etherboot command-line===== | ||
| ====Network Interfaces==== | ====Network Interfaces==== | ||
| - | Etherboot names interfaces following the pattern "net#". | + | Etherboot names interfaces following the pattern "net#". The special network interface alias "netX" refers to the last opened network interface. |
| **ifstat [interfaces...]** Displays information and statistics about the specified interface. If no interface is specified, displays information about all detected interfaces. Information includes MAC address, PCI bus/slot/function identiers, and packet counts. | **ifstat [interfaces...]** Displays information and statistics about the specified interface. If no interface is specified, displays information about all detected interfaces. Information includes MAC address, PCI bus/slot/function identiers, and packet counts. | ||
| Line 37: | Line 37: | ||
| **chain [image name/URI]** This will fetch, load, then execute either an embedded image or one specified by the URI. Equivalent to **imgfetch**, then **imgload**, and then **imgexec**. | **chain [image name/URI]** This will fetch, load, then execute either an embedded image or one specified by the URI. Equivalent to **imgfetch**, then **imgload**, and then **imgexec**. | ||
| - | **imgfree** Remove all fetched/loaded images. | + | **imgfree [image name]** Free one or all executable/loadable images. |
| + | |||
| + | **imgstat** List images currently held in memory. | ||
| **kernel [-n|--name <image name>] <filename> [arguments]** Fetch and load a bzImage format Linux kernel. Equivalent to an **imgfetch** followed by **imgload**. | **kernel [-n|--name <image name>] <filename> [arguments]** Fetch and load a bzImage format Linux kernel. Equivalent to an **imgfetch** followed by **imgload**. | ||
| Line 98: | Line 100: | ||
| **<dhcp_opt_num>:<format>** Set a DHCP option by its number (ie. //209:string// for PXELINUX config file override) | **<dhcp_opt_num>:<format>** Set a DHCP option by its number (ie. //209:string// for PXELINUX config file override) | ||
| + | |||
| + | **busid** This yields a five-byte hexadecimal code representing the adapter's bus type, followed by the two-byte vendor ID, followed by the two-byte device ID. This could be handy for fetching an initrd or other RAM disk image containing the OS driver for the particular network adapter. For example: | ||
| + | gPXE> initrd http://webserver/initrd-${net0/busid} | ||
| ==SMBIOS== | ==SMBIOS== | ||
| Read-only access to the system's Systems Management BIOS. Identifiers follow the format <type>.<offset>.<length>:<format>. Example: To read the Manufacturer name, //get smbios/1.4.0:string// will read SMBIOS offset 4 as a string. Valid formats: string, uristring (for URI-friendly string format), ipv4, int8, int16, int32, uint8, uint16, uint32, hex, uuid | Read-only access to the system's Systems Management BIOS. Identifiers follow the format <type>.<offset>.<length>:<format>. Example: To read the Manufacturer name, //get smbios/1.4.0:string// will read SMBIOS offset 4 as a string. Valid formats: string, uristring (for URI-friendly string format), ipv4, int8, int16, int32, uint8, uint16, uint32, hex, uuid | ||