Strona główna / Społeczność / Blog / Diskless computer using ReadyNAS and Gargoyle - part 1

Diskless computer using ReadyNAS and Gargoyle - part 1

Setting up PXE booting server.

Set up DHCP server:

On Gargoyle (my dhcp server) router I've add to /etc/dnsmasq.conf:

of course you can try to use uci instead, if you know how - I couldn't.

Set up files

Download newest syslinux from Linux kernel site (in my case: syslinux 6.03).

Copy

  • bios/com32/libutil/libutil.c32
  • bios/com32/elflink/ldlinux/ldlinux.c32
  • bios/com32/menu/menu.c32
  • bios/core/pxelinux.0

to /var/lib/misc/tftpboot directory.

Create pxelinux.cfg directory and default file inside:

The default file should have content like this:

now you should be able to test booting from any computer in local network.

Of course this is dummy example as it can only boot from local disk.

As you can see in logs (using logread command on Gargoule router):

My computer tried to find following configs files:

  • his UUID (44454c4c-3400-1037-8034-b1c04f30354a)
  • his MAC address (01-84-2b-2b-bd-47-59) with 01 prefix
  • full IP address (C0A801A3) - C0.A8.01.A3 is equal to 192.168.1.163.
  • 7 larger subnets (by 4 bits) - C0A801A to C.
  • finally default file

You can use it later to per host configurations.

Komentarze

Log in or create a user account to comment.

Ten kto umie pisze kod, ten kto nie umie pisze książki..., albo blog.

Pon Wt Śr Czw Pt So N
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30