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
Next revisionBoth sides next revision
docs:guide-user:services:tftp.pxe-server [2019/09/08 13:20] – Section heading levels corrected tmomasdocs:guide-user:services:tftp.pxe-server [2023/12/24 12:46] – [PXE-Boot network boot server] add a reference to USB drives quickstart akostadinov
Line 1: Line 1:
 +The word NetBoot can be applied to multiple concepts, see [[inbox:howto:netboot_pointers]].  This manual outlines how to use an external USB storage media on the OpenWRT router to serve boot images and a NFS root partition for a (presumably) diskless client.  There is a simplified instruction on how to fix the OpenWRT router to serve a boot image on [[inbox:howto:Setting up OpenWRT to serve Archlinux NetBoot]]
 +
 ====== PXE-Boot network boot server ====== ====== PXE-Boot network boot server ======
 +Note: you can also check [[:docs:guide-user:storage:usb-drives-quickstart]]
 +
 You can use your OpenWrt device as a PXE-Server to store network boot images for booting other devices over then network.  You can use your OpenWrt device as a PXE-Server to store network boot images for booting other devices over then network. 
 Possibilities: Possibilities:
Line 16: Line 20:
 Booting other Linux based distributions is not very different, only the boot parameters differ and can be found everywhere on the internet. Booting other Linux based distributions is not very different, only the boot parameters differ and can be found everywhere on the internet.
  
-The following instructions have been done step-by-step on an OpenWrt Attitude Adjustment 12.09 on a [[toh/tp-link/tl-wdr3600]]on 6th of December 2013+The following instructions have been done step-by-step on an OpenWrt Attitude Adjustment 12.09 on a [[toh:tp-link:tl-wdr3600_v1]]on 6th of December 2013
  
 ===== 1. Install Mass Storage ===== ===== 1. Install Mass Storage =====
Line 271: Line 275:
 </code>   </code>  
  
 +===== 5. Trouble shooting =====
 +
 +<code>
 +>>Checking Media Presence......
 +>>Media Present......
 +>>Start PXE over IPv4.
 +  Station IP address is 192.168.1.239
 +  
 +  Server IP address is 192.168.1.1
 +  NBP filename is pxelinux.0
 +  NBP filesize is 0 Bytes
 +  PXE-E23: Client received TFTP error from...
 +</code>
 +
 +Check that your tftp-server is up and running and serves the file 'pxelinux.0':
 +
 +<code>
 +user@server:~# opkg update
 +user@server:~# opkg install atftp
 +user@server:~# atftp 192.168.1.1
 +tftp> get pxelinux.0
 +tftp> error received from server <file /mnt/extstorage/tftp/pxelinux.0> not found
 +tftp> aborting
 +tftp>
 +</code>
 +
 +If the file pxelinux.0 is at the expected location, try restarting the tftp server:
 +
 +<code>
 +user@server:~# /etc/init.d/dnsmasq restart
 +udhcpc: started, v1.35.0
 +udhcpc: broadcasting discover
 +udhcpc: no lease, failing
 +user@server:~#
 +</code>
  • Last modified: 2024/03/12 10:11
  • by mdvthu