PXE-Boot server with AS-602T

Share your awesome tips and tricks here.
Post Reply
balubu
Posts: 10
youtube meble na wymiar Warszawa
Joined: Sun Feb 16, 2014 4:55 am

PXE-Boot server with AS-602T

Post by balubu »

PXE-Boot Server build with AS-602T

To do:
Install Optware ipkg
Install from ipkg, dnsmasq
Make a Directory on your Volume ( i use pxe )
start nfs Service
nfs settings for pxe Directory
192.168.XXX.XXX/24 ( xxx.xxx) use your adress space
You need PXE files ,download from the Internet .

I use lan1 + Lan2 Adaptive load Balancing
dnsmasq is proxy , because i use for DHCP my Router
I use the dnsmasq tftp-server
192.168.xxx.xxx = for this set your AS-602T ip Adress
/volume1/pxe/ path to my PXE Directory

Example config for dnsmasq :

dnsmasq.config
---------------------------------------------cut---------------
port=0
#log-dhcp
enable-tftp
tftp-root=/volume1/pxe
dhcp-range=192.168.xxx.xxx,proxy
pxe-prompt="Taste F8 zeigt Auswahl",20
pxe-service=X86PC,"Starten von Festplatte",0
pxe-service=X86PC,"Mit Menue starten",pxelinux
bridge-interface=bond0, eth0, eth1
dhcp-leasefile=/volume1/pxe/dnsmasq.leases
# a TFTP server; either dnsmasq's built in TFTP server or an
# external one. (See below for how to enable the TFTP server.)
#dhcp-boot=pxelinux.0
tftp-port-range=1028,1030
# Boot for Etherboot gPXE. The idea is to send two different
# filenames, the first loads gPXE, and the second tells gPXE what to
# load. The dhcp-match sets the gpxe tag for requests from gPXE.
#dhcp-match=gpxe,175 # gPXE sends a 175 option.
#dhcp-boot=net:#gpxe,undionly.kpxe
#dhcp-boot=mybootimage
---------------------------------------------cut-----------------------

Copy the S99dnsmasq.sh startscript to /volume1/.@plugins/etc/init.d for autostart.

dnsmasq startscript from install dnsmasq :

S99dnsmasq.sh
------------------------------------cut--------------------------------
#!/bin/sh

if [ -f /var/run/dnsmasq.pid ] ; then
kill `cat /var/run/dnsmasq.pid`
fi

rm -f /var/run/dnsmasq.pid

sleep 2
/opt/sbin/dnsmasq
------------------------------------cut--------------------------------


example PXE config to start Winpe :

default
------------------------------------cut--------------------------------
DEFAULT /vesamenu.c32
# nach Ablauf des Timeouts wird
ONTIMEOUT win
PROMPT 0
# STARTE acronis nach 30 Sek. Untätigkeit, wird durch Tastendruck des Anwenders unterbrochen.
TIMEOUT 300

# starte auf jeden Fall das Defaultsystem nach 30 Sek.,
# auch wenn der Anwender den Autostart unterbrochen hat.
TOTALTIMEOUT 600
#KBDMAP /german.kbd
#DISPLAY /boot.msg
# verbietet die Änderung der APPEND-Zeile
ALLOWOPTIONS 0

# Layout-Definitionen fuer das Menue
MENU AUTOBOOT Automatischer Start von "Trueimage" in # Sekunde{n}...
MENU BACKGROUND /volume1/pxe/menulogo.png
MENU TITLE Boot-Menue
MENU color title 1;36;44 #ffffffff #00000000 std
MENU color sel 7;37;40 #ffffffff #ffdaa520 all
MENU color hotsel 1;7;37;40 #ffffffff #ffdaa520 all
MENU WIDTH 80
MENU MARGIN 10
MENU ROWS 12
MENU ENDROW 24
MENU TIMEOUTROW 18
MENU VSHIFT 2

LABEL win
MENU LABEL ^8. WinPe
LINUX /boot/grub.exe
append iso
INITRD /win/win.iso
APPEND --config-file="map (rd)+1 (hd32); map --hook; root (hd32); chainloader (hd32)"

-------------------------------------------------------------------cut---------------

Sorry for my bad spelling i am German.
Have fun
balubu
Last edited by balubu on Sat Apr 11, 2015 3:00 pm, edited 1 time in total.
User avatar
WOODY@AST
Posts: 101
Joined: Tue Jun 19, 2012 11:51 pm
Contact:

Re: PXE-Boot server with AS-602T

Post by WOODY@AST »

Hi balubu,
Thank you for your pxe how to install information...


Sent from my C6902 using Tapatalk
Storage: AS5104T
USB Speaker: Logitech Z105
Network: BUFFALO WZR-HP-G450H & Netgear R7500
Laptop: Apple MACBOOk AIR: OS X Mountain Lion & Windows 7 64-bit Ultimate
Media Player: ASUSTOR NAS with KODI
Portable: The NEW HTC ONE & Sony Xperia Z3, iPhone 3GS & iPad
Post Reply

Return to “Tips & Tricks”