Date: Thu, 12 Apr 2001 15:35:24 -0400 From: Mikel <mikel@ocsinternet.com> To: Kondie <kondwani@malawi.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: TFTP configuration Message-ID: <3AD6037C.46775C4@ocsinternet.com> References: <000101c0c3de$bfdb4bf0$0aa994d0@one.malawi.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Kondie,
I recommend the following;
mkdir /home/tftp
chown -R nobody:wheel /home/tftp
set up /etc/inetd.conf like so.
tftp dgram udp wait nobody /usr/libexec/tftpd tftpd
/home/tftp
kill -HUP `awk '/inetd/{print $1;exit}'`
Ok now I've found that with cisco routers and a couple of other tftp devices
like Computone termservers, if the file don't already exhist you'll get an
error. So in order to avoid the problem do the following;
touch /home/tftp/gw1
now you should be able to write net on a cisco router and follow the prompts.
Just remember to use the name you touched instead of the one they think you
should use...
Ok and one final note if you've got a firewall running then remember to open
tcp/udp in/out for port 69...
cheers,
Mikel
Kondie wrote:
> Hello,
>
> I am trying to configure tftpd on FreeBSD 4.0. I call tftp in inetd.conf
> with:
>
> tftp dgram udp wait nobody /usr/libexec/tftpd tftpd -l -s
> /kondie /tftpboot
>
> I have placed a file smtp.sh in the directory /kondie. When I try to tftp
> localhost, it is timing out as:
> $ tftp localhost
> tftp> put smtp.sh
> Transfer timed out.
>
> tftp>
>
> The log shows:
>
> chroot: /kondie: Operation not permitted.
>
> I have set both directories (/kondie and /tftproot) to mode 777. I also
> tried running tftpd as root but the same thing happens.
>
> How can you assist?
>
> Regards,
>
> Kondie.
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AD6037C.46775C4>
