Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wirelessboot [2009/08/13 11:18]
rwcr
wirelessboot [2009/11/29 12:30] (current)
rwcr wireless_settings.gpxe => wireless.gpxe
Line 76: Line 76:
 Unlike DHCP on a wired network, connecting to wireless requires that some settings be provided before any network services can be accessed at all. Specifically,​ you need to specify the SSID and encryption key (as above) before you can run DHCP. These are set per network device, and have the gPXE setting names ''​net//​X///​ssid''​ and ''​net//​X///​key''​ respectively,​ where ''//​X//''​ is the number of your network device. Unlike DHCP on a wired network, connecting to wireless requires that some settings be provided before any network services can be accessed at all. Specifically,​ you need to specify the SSID and encryption key (as above) before you can run DHCP. These are set per network device, and have the gPXE setting names ''​net//​X///​ssid''​ and ''​net//​X///​key''​ respectively,​ where ''//​X//''​ is the number of your network device.
  
-Currently no wireless NIC has support for gPXE's NVRAM settings support, but if you have a wired NIC with such support you may be able to use the ''​config''​ command at the gPXE prompt to set the settings permanently. Otherwise, you'll need to create a small gPXE script and embed it. For example, put this in a file named ''​wireless_settings.gpxe'':​+Currently no wireless NIC has support for gPXE's NVRAM settings support, but if you have a wired NIC with such support you may be able to use the ''​config''​ command at the gPXE prompt to set the settings permanently. Otherwise, you'll need to create a small gPXE script and embed it. For example, put this in a file named ''​wireless.gpxe'':​
   #!gpxe   #!gpxe
   set net0/ssid mynetwork   set net0/ssid mynetwork
   set net0/key seeecret   set net0/key seeecret
   autoboot   autoboot
-Compile gPXE with ''​EMBEDDED_IMAGE=wireless_settings.gpxe''​ on your ''​make''​ command line, and boot it; it should boot off the wireless network automatically.+Compile gPXE with ''​EMBEDDED_IMAGE=wireless.gpxe''​ on your ''​make''​ command line, and boot it; it should boot off the wireless network automatically.
  
 Congratulations on successfully booting gPXE over wireless! Congratulations on successfully booting gPXE over wireless!

QR Code
QR Code wirelessboot (generated for current page)