Power & Source of Big Ideas

network boot

Moderators: chensy, FATechsupport


To improve my cluster: Image
for CatchChallenger MMORPG, I wish buy 500 NanoPI NEO2, but the price of microSD card will be too expensive. Then this hardware can boot via uboot on network? And how flash to fix the boot parameter (tftp server)?

Install following packages.
sudo apt-get install xinetd tftpd tftp
Create /etc/xinetd.d/tftp and put this entry
service tftp
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no
Create a folder /tftpboot this should match whatever you gave in server_args. mostly it will be tftpboot
sudo mkdir /tftpboot
sudo chmod -R 777 /tftpboot
sudo chown -R nobody /tftpboot
Restart the xinetd service.
]newer systems:

sudo service xinetd restart
older systems:
sudo /etc/init.d/xinetd restart

Now our tftp server is up and running.

Testing our tftp server

Create a file named test with some content in /tftpboot path of the tftp server

Obtain the ip address of the tftp server using ifconfig command
Now in some other system follow the following steps.
tftp> get test
Sent 159 bytes in 0.0 seconds

tftp> quit

cat test

For more details.
kindly visit

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 42 on 15 Jul 2016, 01:04

Users browsing this forum: No registered users and 1 guest