I managed to get Netboot to work with MBL
MBL PXE
- Precondition:
Generate a Public share with the name „Netboot“
dd-wrt Router>> Enable DNSMasq Option :“ dhcp-boot=pxelinux.0,zorro,192.168.1.2“
(You have to change 192.168.1.2 to IP address or your MBL)
2 . Install Feature Manager (needed to get access to ipkg)
Visit http://www.highlevelbits.fr/ and select My book Life >>Feature pack Manager and follow the necessary steps
- Install Optware:
Visit http://mybookworld.wikidot.com/optware and select My Book Live
Follow Instruction
- Install optware
Midnight Commander (For better navigation using putty)
/opt/bin/ipkg install mc
Nano (Better then VI)
/opt/bin/ipkg install nano
Update packages for apt Get
apt-get update
Install TFTP Demon
apt-get install tftpd-hpa
(install without verification)
Check TFTP-HPA was installed
dpkg -l tftpd-hpa
5. Config and start TFTPD
Edit config file tftpd-hpa to your own needs and move it to /etc/default/ using MC
Important: RUN_DAEMON=“no” >>> important to start with INIT.D
Edit /etc/inetd.conf to your own needs and ensure that the “#” was removed in the front of the line
Example:
tftp dgram udp4 wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /shares/NetBoot -m /shares/NetBoot/tftpa-hpa.remap -vvv
Init 6 to reboot mbl… If everything is fine TFTP should allow booting via network
6. Enable HTTP access for Netboot (Netboot2)
6.1 Softlink
Firmware Version 2.02 was the last one which allowed to download data by http from MBL without Access Restriction. We will use a Softlink to get this done
ln -s /shares/NetBoot/ /shares/NetBoot2
6.2 Setup Apache2
Use MC to navigate to edit /etc/apache2/sites-available/wdnas
Insert the following lines BEFORE
Alias /NetBoot2/ “/shares/NetBoot2/”
<Directory /NetBoot2/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
Save the file.
6.3 Restart Apache2
To get the changes active we need to restart Apache
/etc/init.d/apache2 restart
Now it should be possible to access the contains from share Netboot by using:
http://192.168.1.2/Netboot2/…
Attached you will find a archive with the needed bootfiles (my config) and config files for TFTPD and Apache
This procedure has worked for me… but i’m not responsible if your MBL somhow gets hurt