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

Re: Indy tftp install problem



Steven Thomas wrote:

> This morning I
> 
> 1) booted up 'chupacabras' (192.168.1.3), my dhcp and tftp server
> 2) echo'd the appropriate strings to /proc/sys/net/ipv4/<files> to obtain 
> the cat's of my previous post
> 3) booted the Indy into maintenance
> 4) issued the command bootp():
> 
> and obtained a different /var/log/daemon.log. This time, connections were 
> repeatedly refused by tftpd:
> 
> Jun 11 10:15:40 localhost in.tftpd[7744]: connect from ::ffff:192.168.1.197 
> (::ffff:192.168.1.197)
> Jun 11 10:15:40 localhost tftpd[7745]: tftpd: trying to get file: 
> /tftpboot/netboot-boot.img
> Jun 11 10:15:40 localhost tftpd[7745]: tftpd: read: Connection refused
> 
> I thought I had this covered : /etc/hosts.allow contained ALL: ALL
> Getting bloody-minded, I deleted /etc/hosts.allow and /etc/hosts.deny to 
> disable access control.
> Still 'bootp():' produced logs of 'read: Connection refused'.
> 
> So I installed ethereal and sniffed the tftp request packet:
> Source 192.168.1.197
> Destination 192.168.1.3
> Protocol TFTP
> 
> and saw [Malformed Packet: TFTP]
> 
> Fed up with the terse logging of tftpd, I installed atftpd. After the 
> successful DHCP exchange as before, this daemon logs:
> Jun 11 10:30:52 localhost atftpd[7832]: connect: Address family not 
> supported by protocol
> Jun 11 10:31:21 localhost atftpd[7832]: connect: Address family not 
> supported by protocol
> Jun 11 10:32:21 localhost last message repeated 2 times
> Jun 11 10:37:21 localhost atftpd[7832]: atftpd terminating after 300 seconds
> Jun 11 10:37:21 localhost atftpd[7832]: Main thread exiting
> 
> Does this give anyone any insight ?


Yet another tftp server is tftpd-hpa, which is the only one I've ever
had luck with. The inetd line is

tftp  dgram   udp wait root  /usr/sbin/tcpd  /usr/sbin/in.tftpd -u <user> /tftpboot

HTH,

Laurence 



Reply to: