Error code 2: Access violation error.

Error code 2: Access Cheesecake I have been researching for hours and TFTP keeps popping up this cheesecake Factory Error.
I checked all the answers, but they all said no, I chmod almost to 888
Finally, I made it
The first thing you need to do to run into this problem is install it correctly.

1. Install the software package

 
sudo apt-get install tftpd tftp xinetd
 
2. Create a profile
 
Set up a configuration file TFTP under /etc/xinetd.d/
 
sudo vi /etc/xinetd.d/tftp
 
The following
 
Service TFTP
{
Socket_type = dgram
Protocol = udp
Wait = yes
User = root
Server =/usr/sbin/in TFTPD
Server_args = -s /tftpboot // This is the location of ubuntu’s TFPT directory and the current one is in the root directory.
Disable = no
Per_source = 11
The CPS = 100 2
Flags = IPv4
}
3. Establish TFTP service file directory
 
In the above configuration, server_args = -s /tftpboot, where /tftpboot is where the files are uploaded and downloaded.
 
Sudo mkdir /tftpboot — Create /tftpboot in the root directory
 
Sudo Chmod 777/tFTpboot-r — set permissions to 777
 
4. Restart TFTP service
 
Sudo /etc/init.d/xinetd restart — RESTART the TFTP server
 
5, test,
Sudo netstat -a | grep TFTP — to see if the startup was successful, you can see udp 0 0 *: TFTP *:*
 
But mine is special
Udp60 0 *: TFTP [] :*
But it’s still installed correctly.
And then install this thing
apt-get install inetutils-inetd
What service management is said to be TFTP server

The following
I entered TFTP 192.168.1.205-G-R ABC in the development board
// 192.168.1.205 is my Ubuntu address
-g is for download
-r stands for remote file download
ABC is the test file I placed in the virtual machine TFTP

TFTP 192.168.1.205-p-r ABC
tftp: server error: (2) Access violatio

Encountered this problem TFTP: Server Error: (2) Access Violatio

Server_args = -s /tftpboot // (now I share TFTP directory, set in the root directory)
2: In the configuration file to set the path, but also to create the corresponding directory.
3: Then authorize the Shared directory
Chmod 777/tftpboot:
4: In the virtual machine/tFTpboot we create a file and write anything in it
Touch the ABC
gedit abc
And authorization
chmod 766 abc
5: Where do I type on the development board
[root@gec210 /] TFTP 192.168.1.205-G-R ABC
tftp: server error: (2) Access violatio
6: Again, we are in the current directory of the development board
Touch ABC // Create a file with the same name as the file we want to download // re-authorize it
chmod 766 abc
7: [root@gec210 /] TFTP 192.168.1.205-G-R ABC again
8: Successful ~~~~// success is not shown at all. You can only cat a file on the virtual machine to see if it’s your own.

Upload from the development board (to upload, you must first create a file with the same name in the VIRTUAL machine TFTP, permission is still 766, because the upload is covering write, you need to create a corresponding file name first.)
 
The first time failed
/ root @ GEC210/TFTP 192.168.1.205 – p – r ABC
0% ABC | | 0 – stalled –
TFTP: a timeout
Once again successfully uploaded ~ ~ ~ ~
/root @ GEC210/TFTP 192.168.1.205 – p – r ABC
100% ABC | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | 16 0:00:00 ETA

 
 

Read More: