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 [2021/04/18 21:11] – ↷ Links adapted because of a move operation 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 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