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

2009-02-02 Thread Daniel Baumann
Luca Favatella wrote:
> tftpd-hpa don't modify /etc/inetd.conf by default when it is installed.

not true. it does if you tell it to do so by answering to a debconf
question with medium priority.

apart from that, here is a strongly AOL for recommending tftpd-hpa and
*not* aftpd; i've a lot of debian live system in very different
environments that boot perfectly and work nicely when beeing served with
tftpd-hpa, where aftp has always been a major pita. also, in my
subjective opinion, tftpd-hpa is better maintained upstream.


-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2009-02-02 Thread Luca Favatella
On 02/02/2009, Frans Pop  wrote:
[...]
> I don't see the problem here. tftpd-hpa is recommended for good reasons
> and AFAIK does work correctly in a lot of situations. That does not mean
> it works correctly in all situations, or in your particular situation.
>
> In general it is almost impossible to describe how to set up server
> daemons in a way that will work for everybody. Some reading of manual
> pages and tuning of configuration is to be expected.

I tried, but I didn't manage to get tftpd-hpa working.


> Based on the information you have provided so far I see no reason to
> change the installation guide.

Ok.


> Cheers,
> FJP


Thanks,
Luca Favatella


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2009-02-02 Thread Luca Favatella
On 02/02/2009, Frank Lin PIAT  wrote:
[...]
> Could you clarify what was the problem with tftpd-hpa? (behaviour/error
> message...)

Usability problem.
tftpd-hpa don't modify /etc/inetd.conf by default when it is installed.
Using the line suggested in d-i manual ("tftp dgram udp wait nobody
/usr/sbin/tcpd in.tftpd /tftpboot", at 4.5.3) to /etc/inetd.conf and
modifying it documenting myself, I was not able to make tftp working.
After that time spent trying to configure tftpd-hpa, I decided to
switch to atftpd.
The atftpd package set /etc/inetd.conf up correctly by default while
installing, and tftp worked for me.

I'm not saying that tftpd-hpa is bad, but only that atftpd is simpler
to use (because it sets /etc/inetd.conf up correctly by default).


> Do you think that some part of the documentation could be improved? which
> part/which step/what topic?

Yes.
At 4.5 (http://d-i.alioth.debian.org/manual/en.i386/ch04s05.html),
please substitute
"we recommend tftpd-hpa"
with
"we recommend atftpd"


> Regards,
>
> Franklin

Thanks,
Luca Favatella


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2009-02-02 Thread Frans Pop
On Monday 02 February 2009, Luca Favatella wrote:
> 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.

I don't see the problem here. tftpd-hpa is recommended for good reasons 
and AFAIK does work correctly in a lot of situations. That does not mean 
it works correctly in all situations, or in your particular situation.

In general it is almost impossible to describe how to set up server 
daemons in a way that will work for everybody. Some reading of manual 
pages and tuning of configuration is to be expected.

Based on the information you have provided so far I see no reason to 
change the installation guide.

Cheers,
FJP


signature.asc
Description: This is a digitally signed message part.


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

2009-02-02 Thread Frank Lin PIAT
Hello,

Luca Favatella wrote:
> [please cc me when replying as I am not subscribed to the debian-boot
> mailing list]
[..]
> 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.

Could you clarify what was the problem with tftpd-hpa? (behaviour/error
message...)

Do you think that some part of the documentation could be improved? which
part/which step/what topic?

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2009-02-02 Thread Luca Favatella
[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


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org