LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   tftpd (https://www.linuxquestions.org/questions/linux-server-73/tftpd-899465/)

deeneyc09 08-25-2011 05:26 PM

tftpd
 
Hey guys I need some assistance.

I'm running rhel 5 and I am trying to make it so tftpd will log in /var/log/messages.

I would assume I would make this adjustment in:

/etc/xinetd.d/tftp

Further I was assuming I would put the -v swith in the flags row.

Please tell me what I am doing wrong.


This is what my tftp file looks like:


service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}

Reuti 08-29-2011 08:27 AM

Where did you add -v in the above setup (and please use [CODE] tags)?

deeneyc09 08-29-2011 10:53 AM

I added it to flags = IPv4... so what I tried was:


flags = IPv4, -v

flags = IPv4 -v

Reuti 08-29-2011 11:02 AM

It should go in the line server_args (no comma, just behind). The flags will go to the xinetd (man xinetd.conf).

deeneyc09 08-29-2011 06:10 PM

That did the trick. Thank you.


All times are GMT -5. The time now is 07:24 AM.