Re: AW: PXE boot with UEFI

Sylvain MILOT <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
On Tue, 3 Dec 2019, Frank Morawietz wrote:

> Many thanks Steffen and Merlin for your configuration details!
> I learned a lot already and I believe that we are on the right track.
>
> I included your suggestions into my  dhpcd.conf  .
> According to the log output below it seems to select the correct file now.
>
> But I still could not yet get it to work correctly.
>
> In order to debug this I increased the tftpd verbosity level. And this is what I now get in daemon.log when I try again:
>
> Dec  3 11:31:34 sysadm02 dhcpd[12875]: DHCPDISCOVER from 50:9a:4c:43:c1:b7 via ens9
> Dec  3 11:31:34 sysadm02 dhcpd[12875]: DHCPOFFER on 10.250.217.16 to 50:9a:4c:43:c1:b7 via ens9
> Dec  3 11:31:37 sysadm02 dhcpd[12875]: DHCPREQUEST for 10.250.217.16 (10.250.217.102) from 50:9a:4c:43:c1:b7 via ens9
> Dec  3 11:31:37 sysadm02 dhcpd[12875]: DHCPACK on 10.250.217.16 to 50:9a:4c:43:c1:b7 via ens9
> Dec  3 11:31:37 sysadm02 in.tftpd[13050]: RRQ from 10.250.217.16 filename fai/syslinux64.efi
> Dec  3 11:31:37 sysadm02 in.tftpd[13050]: tftpd: read: Connection refused
> Dec  3 11:31:41 sysadm02 in.tftpd[13052]: RRQ from 10.250.217.16 filename fai/syslinux64.efi
> Dec  3 11:31:41 sysadm02 in.tftpd[13052]: tftp: client does not accept options
> Dec  3 11:31:41 sysadm02 in.tftpd[13053]: RRQ from 10.250.217.16 filename fai/syslinux64.efi
>
> 10.250.217.16 is the installation client.
>
> Any idea which read failed for tftpd ?
> The syslinux files all are mode 644, so they are readable. Directories are 755.
> What may refuse the connection for tftpd?

have you considered tcp wrappers ?

ldd $(which in.tftpd) | grep wrap
         libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f9b39f41000)

perhaps this will solve the issue...

echo in.tftpd: ALL >> /etc/hosts.allow

change ALL for something more restrictive perhaps.

HTH,

---
Sylvain Milot ([email protected])
Sr Research Systems Admin
Brain Imaging Centre
Montreal Neurological Institute
3801 University Street, Webster 2B, Room 206
Montreal, Qc., Canada, H3A 2B4
Phone  : (514) 398-4965, Fax: 398-8948
Mobile : (514) 712-1768
Office : Room NW119 (North Wing)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.