Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dnsmasq [2009/06/09 16:31]
nats
dnsmasq [2010/04/28 15:45] (current)
davehansen
Line 37: Line 37:
     dhcp-option=175,​8:​1:​1 ​         # turn on the keep-san option to allow installation     dhcp-option=175,​8:​1:​1 ​         # turn on the keep-san option to allow installation
     dhcp-boot=net:#​gpxe,​gpxe.pxe ​  # Here #gpxe means 'not gpxe': that is the tag is not set     dhcp-boot=net:#​gpxe,​gpxe.pxe ​  # Here #gpxe means 'not gpxe': that is the tag is not set
-    dhcp-option=net:​gpxe,​17,"​iscsi:​ta.rg.et.ip::::​iqn.yyyy-mm.reversed-domain-name>:​identifier"​+    dhcp-option=net:​gpxe,​17,"​iscsi:​ta.rg.et.ip::::​iqn.yyyy-mm.reversed-domain-name:​identifier"​
  
  
Line 63: Line 63:
 forces "​simple and safe" behaviour to avoid problems in such a case. forces "​simple and safe" behaviour to avoid problems in such a case.
 </​code>​ </​code>​
 +
 +===== Under OpenWRT =====
 +
 +[[http://​www.openwrt.org|OpenWRT]] is a replacement for factory firmware commonly found in wireless routers. ​ dnsmasq is configured a bit differently when you use OpenWRT. ​ Use these commands to set the dhcp-supplied filename. ​ This eventually gets passed as the --dhcp-boot command-line option to dnsmasq. ​ But, this way, it is saved in the router'​s flash and will get saved/​restored with the rest of the system'​s configuration.
 +
 +<​code>​
 +  uci set dhcp.@dnsmasq[0].dhcp_boot=http://​4.3.2.1/​gpxe-dir/​script-name,​
 +  uci commit dhcp
 +</​code>​
 +
  

QR Code
QR Code dnsmasq (generated for current page)