" button in the lower right corner to enter the " Editing Wired connection 1 " interface as shown in Figure 11. Modify the IP address to a static IP addressįound "on the left Launcher System Settings (system settings) " to find the point into the " Network (Network). At this time, because the bridge mode is selected, the network will automatically assign a dynamic IP address to Ubuntu, and the author’s IP address is 10.0.6.25.ĩ. If you choose "NAT Mode", you need to shut down again and set the mode to "Bridge Mode".Įnter " ifconfig -a " in the command line to check the IP address of the machine. If the network configuration of the virtual machine is selected as "Bridge Mode" at the beginning, you can directly configure the IP address. In this way, the tftp server is configured.Īfter exiting, enter " sudo service tftpd-hpa restart " in the command line to restart the tftp server. After the content shown, press the "Esc" key to exit the modification, and then enter " :wq " (at this time: wq should be at the bottom left of the command line) to save and exit. At this time, the word "insert" will appear in the lower left corner of the command line, modify the file content as shown in Figure 7. Move the icon to the beginning of TFTP_DIRECTORY, then press " i " on the keyboard to indicate insert/modify the file content. After entering " vi /etc/default/tftpd-hpa", you will enter the configuration interface shown in Figure 6.Ħ. As shown in Figure 5.Īfter installing vim, start to configure the tftp server.
The command for installing vim is " apt-get install vim ", and the installation process is basically the same as installing tftp. This is very convenient for modifying tftp files. It is recommended that you install vim before configuring the tftp server. If the prompt shown in Figure 4 appears, the installation has been installed, indicating that the installation is successful.Ĥ. If you are not assured that it has not been installed, you can execute the installation command again. Some installation files will be downloaded in the middle, as shown in Figure 3.
If you are prompted to download (Yor N), just select Y. Enter " apt-get install tftp-hpa tftpd-hpa " again, and the tftp client and server will be installed. After entering the password, you can get the highest root authority. Enter " apt-get install tftp-hpa tftpd-hpa " in the opened terminal, which means to install the tftp client (tftp-hpa) and tftp server (tftpd-hpa), if you are prompted with the permissions shown in Figure 1 If it is not enough, you need to enter " sudo -s " and press Enter. After the Ubuntu system is opened, click the first icon of the "launcher" on the left, search for Terminal (the Chinese name is terminal), right-click the icon opened in the left column after opening, and fix the opened terminal in the "launcher".Ģ. It is best to choose the bridge mode, the reason will be known in a moment.ġ. If you cannot access the Internet, please check whether the network adapter in the virtual machine " Settings " is in bridge mode or NAT mode. Note: At this time, the Ubuntu virtual machine should be able to access the Internet.
Install the tftp32 application in Windows 7. Configure the IP addresses of Ubuntu system and Windows7 system as static IP.Ĥ. Configure the tftp server file of the Ubuntu system.ģ. Install the tftp client and server in Ubuntu 14.04.Ģ. The process of transferring files can be roughly divided into these steps:ġ. The personal computer is configured as Windows 7, and Ubuntu 14.04 is installed in the VMware virtual machine. I believe all Rookie players like me will easily use the tftp protocol to transfer files between Windows and Ubuntu after reading this document. On the one hand, it can be used as my own archive, and on the other hand, I can share it with everyone. After synthesizing the tutorials from several websites, I gave a relatively complete tutorial. I found a lot of tutorials on the Internet, but they all feel messy. Since the Linux system only opens port 69 of the tftp protocol, the file can only be transferred through the tftp protocol.
These days the company needs to transfer a file from Windows 7 to the Linux system installed in the virtual machine. Windows and Ubuntu use tftp protocol to transfer files