[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[net boot doc] please recommend atftpd instead of tftpd-hpa



[please cc me when replying as I am not subscribed to the debian-boot
mailing list]

Hi.


I managed to net boot [d-i lenny rc2].

I configured both bootp and dhcp servers on the same machine with
Debian GNU/Linux testing "Lenny" x86 32bit and address 192.168.1.2.

I used dhcp3-server and atftpd (with openbsd-inetd).


I used this /etc/dhcp3/dhcpd.conf.

# START /etc/dhcp3/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;

allow booting;
allow bootp;

# The next paragraph needs to be modified to fit your case
subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.200 192.168.1.253;
  option broadcast-address 192.168.1.255;
# the gateway address which can be different
# (access to the internet for instance)
  option routers 192.168.1.1;
# indicate the dns you want to use
  option domain-name-servers 192.168.1.1;
}

group {
  filename "pxelinux.0";
  next-server 192.168.1.2;
  host tftpclient {
# tftp client hardware address
  hardware ethernet  00:11:22:33:44:55;
  }
}
# END /etc/dhcp3/dhcpd.conf


Initially I tried to use tftpd-hpa, as recommended in [d-i manual]
("we recommend tftpd-hpa").
>From the same guide, I read
"Debian packages will in general set this up correctly by default when
they are installed"
, but it is not true for tftpd-hpa; instead it is true for atftpd.
I lost at least 2 hours trying to set it up.
Then I switched to atftpd and all worked flawlessly with my settings.



Can you please consider modifying [d-i manual] writing "we recommend atftpd"?



Thanks for your work,
Luca Favatella



P.S.
I got the "Disk devices may change on reboot" bug, but I read in the
[d-i errata] that this is a known bug.
I solved it as suggested in the [d-i errata]:
"In most cases this can be corrected by changing the bootloader
configuration and /etc/fstab, possibly using the rescue mode of the
installer."


[d-i lenny rc2]
http://ftp.nl.debian.org/debian/dists/testing/main/installer-i386/current/images/netboot/netboot.tar.gz
[d-i manual] http://d-i.alioth.debian.org/manual/en.i386/ch04s05.html
[d-i errata] http://www.debian.org/devel/debian-installer/errata


Reply to: