Hi,
I am trying to set up a tftp server
I am using ptxdist tftp not busy box tftp
I am accessing a tftp server from client.
- I am able to get a file from server.
- But I am not able to put a file on the server. Whenever I try to
do so, it is giving an error:
Error code 2: Access violation
-----------------------------------------------------------------
TFTP configuration in inetd.conf is as follows :
tftp dgram udp wait nobody /sbin/tftpd tftpd -s /var/tftp
------------------------------------------------------------------------------------
tftp file in init.d contains :
#!/bin/sh
#
# tftpd
#
case $1 in
start)
echo "tftpd starting"
/sbin/tftpd -s /var/tftp
;;
esac
--------------------------------------------------------------------------------------
TFTP. service file contains :
[Unit]
Description=Tftp Server
After=network.target
[Service]
Type=forking
ExecStart=/usr/sbin/inetd
[Install]
WantedBy=multi-user.target
----------------------------------------------------------------------------------------------
TFTP folder details :
owner: nobody
group: root
Permisiions: 777
--------------------------------------------------------------------------------------
What could be the reason for this error and how can I solve it?
Any help is highly appreciated.
Thank You
I am trying to set up a tftp server
I am using ptxdist tftp not busy box tftp
I am accessing a tftp server from client.
- I am able to get a file from server.
- But I am not able to put a file on the server. Whenever I try to
do so, it is giving an error:
Error code 2: Access violation
-----------------------------------------------------------------
TFTP configuration in inetd.conf is as follows :
tftp dgram udp wait nobody /sbin/tftpd tftpd -s /var/tftp
------------------------------------------------------------------------------------
tftp file in init.d contains :
#!/bin/sh
#
# tftpd
#
case $1 in
start)
echo "tftpd starting"
/sbin/tftpd -s /var/tftp
;;
esac
--------------------------------------------------------------------------------------
TFTP. service file contains :
[Unit]
Description=Tftp Server
After=network.target
[Service]
Type=forking
ExecStart=/usr/sbin/inetd
[Install]
WantedBy=multi-user.target
----------------------------------------------------------------------------------------------
TFTP folder details :
owner: nobody
group: root
Permisiions: 777
--------------------------------------------------------------------------------------
What could be the reason for this error and how can I solve it?
Any help is highly appreciated.
Thank You