[syslinux] tftp error

H. Peter Anvin hpa at zytor.com
Mon Feb 24 15:25:13 PST 2003


richard turner wrote:
> i did not have a /etc/nsswitch.conf file on my root fs. i copied one
> over from another machine and tried my tftp client again. it still fails
> with the same error:
> tftp: tftp/udp: unknown service, faking it...
> 
> is there something special within the nsswitch.conf file that i need to
> set? my nsswitch.conf file looks like the following (excluding comments)
> 
> passwd:		files nisplus
> shadow:		files nisplus
> group:		files nisplus
> hosts:		files nisplus dns
> bootparams:	nisplus [NOTFOUND=return] files
> ethers:		files
> netmasks:	files
> networks:	files
> protocols:	files nisplus
> rpc:		files
> services:	files nisplus
> netgroup:	files nisplus
> publickey: 	nisplus
> automount:	files nisplus
> aliases:	files nisplus
> 
"services: files" was what I was looking for.  If that doesn't work, it
would seem you have some kind of error in your glibc... basically
getservbyname() fails, so it uses the hard-coded default port number.

	-hpa





More information about the Syslinux mailing list