It is currently Mon Aug 10, 2020 12:49 pm
All times are UTC + 8 hours

PXE-Boot server with AS-602T

Share your awesome tips and tricks here.

PXE-Boot server with AS-602T

Postby balubu » Sat Feb 22, 2014 2:05 am

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.
balubu
 
Posts: 10
Joined: Sun Feb 16, 2014 4:55 am

Re: PXE-Boot server with AS-602T

Postby WOODY@AST » Sat Feb 22, 2014 7:03 pm

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
User avatar
WOODY@AST
 
Posts: 101
Joined: Tue Jun 19, 2012 11:51 pm

Return to Tips & Tricks

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest

cron