====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
openwrt [2008/10/13 05:31] zoobab |
openwrt [2008/10/13 05:56] (current) zoobab |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Create an appliance running OpenWRT serving gpxelinux.0. | + | ====== Create an appliance running OpenWRT serving gpxelinux.0 ====== |
- | + | ||
- | Make an HOWTO here with the example of a fonera. | + | |
Edit the file /etc/init.d/dnsmasq to add the right location and arguments: | Edit the file /etc/init.d/dnsmasq to add the right location and arguments: | ||
Line 12: | Line 10: | ||
# args="" | # args="" | ||
args=" --enable-tftp --tftp-root=/mnt/usbdrive --dhcp-boot=/mnt/usbdrive/pxelinux.0" | args=" --enable-tftp --tftp-root=/mnt/usbdrive --dhcp-boot=/mnt/usbdrive/pxelinux.0" | ||
+ | |||
+ | Then type the following commands on the command line: | ||
+ | |||
+ | root@OpenWrt:~# uci set dhcp.dnsmasq.enable_tftp=1 | ||
+ | root@OpenWrt:~# uci set dhcp.dnsmasq.tftp_root=/mnt/usbdrive | ||
+ | root@OpenWrt:~# uci set dhcp.dnsmasq.dhcp_boot=/mnt/usbdrive/pxelinux.0 | ||
+ | root@OpenWrt:~# uci commit dhcp | ||
+ | root@OpenWrt:~# /etc/init.d/dnsmasq restart | ||
+ | |||
+ | ====== Todo ====== | ||
+ | |||
+ | * Rewrite this howto with more precision (step by step) | ||
+ | * Provide a binary version of pxelinux.0 | ||
+ | * Mention which version of Kamikaze was used | ||
+ | * Make an ipk package with gpxelinux.0 inside | ||
+ | |||
+ | ====== Links ====== | ||
+ | * [[https://dev.openwrt.org/changeset/12960|Dev.openwrt.org: Ucified PXE-Boot options for dnsmasq]] | ||
+ | * [[http://forum.openwrt.org/viewtopic.php?pid=74620|OpenWRT forum: Preparing for PXE boot using dnsmasq]] |