On Wed, 2002-09-11 at 10:46, R P Herrold wrote:
> On 11 Sep 2002, Ian C. Blenke wrote:
> 
> > Edit your /etc/inetd.conf:
> > 
> >   # pico /etc/inetd.conf
> 
> nope -- xinetd in RH 7.1 and following -- Manage from 'setup' 
> and then 'System services' -- check 'tftp-server' and as 
> needed, 'xinetd'.  Save, and then run:  service xinetd restart
> Tail /var/log/messages  for debugging information
Ah yes, xinetd. Redhat is so weird sometimes ;)
> When you enable the tftp-server -- the options would (should
> -- I'll check, although I no longer run a tftp server on RH
> 7.2 locally) be manually set in /etc/sysconfig/tftp(something)
> or in /etc/xinetd.d/tfpt(something)
Editing /etc/xinetd.d/tftp directly is the same as editing the
appropriate line in /etc/xinetd.conf or a normal /etc/inetd.conf
The file should look something like this:
        service tftp
        {
                disable = no
                socket_type             = dgram 
                wait                    = no
                user                    = root
                protocol                = udp 
                server                  = /usr/sbin/in.tftpd
                server_args             = -l -a -s /tftpboot
                log_on_success          += DURATION USERID
                log_on_failure          += USERID
                nice                    = 10
        }
Note the "-s /tftpboot" addition on the server_args line.
- Ian C. Blenke <icblenke@nks.net> <ian@blenke.com>
http://ian.blenke.com
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:17:27 EDT