1826785 Members
1571 Online
109702 Solutions
New Discussion

tftp

 

tftp

I am trying to do a tftp and the command return the mesage bellow:
tftp> get /tmp/euls
getting from localhost:/tmp/euls to euls [netascii]
sent RRQ
received ERROR
Error code 2: Access violation

tftp is included at /etc/inetd.conf ...
anybody can help me ?
4 REPLIES 4
harry d brown jr
Honored Contributor

Re: tftp

This is like what you got:

[root@vpart1 /]# tftp localhost
tftp> trace
Packet tracing on.
tftp> verbose
Verbose mode on.
tftp> get /etc/passwd
getting from localhost.MYDOMAIN.com:/etc/passwd to passwd [netascii]
sent RRQ
received ERROR
Error code 2: Access violation
tftp>

grep tftp /etc/passwd

Is the DEFAULT HOME DIRECTORY /usr/tftpdir ????

That's your chroot home!


TRY this:

ls -l /usr/tftpdir/
mkdir /usr/tftpdir/tmp (if it doesn't exist)
cp /tmp/euls /usr/tftpdir/tmp/euls

tftp localhost
tftp> verbose
Verbose mode on.
tftp> trace
Packet tracing on.
tftp> get /tmp/euls
getting from localhost.MYDOMAIN.com: /tmp/euls to euls [netascii]
sent RRQ
received DATA
sent ACK
received DATA
Received 802 bytes in 0.0 seconds [inf bits/sec]
tftp>


live free or die
harry d brown jr
Live Free or Die

Re: tftp

I don't have the user tftp in /etc/passwd , I have this entry at /etc/inetd.conf
tftp dgram udp wait root /usr/lbin/tftpd tftpd \
/opt/ignite \
/var/opt/ignite

and the file is at /var/opt/ignite ...

Re: tftp

harry, I was trying to add a new client at ignite server...and a message error displayed refered a tftp, but I did a test now and if the tfpt daemon is being active at the system the add process works fine. Then I don't need transfer file by tftp, I was trying this to test the tftp.
Thanks, for your help.

Re: tftp

.