tftp execution process
TFTP (Trivial File Transfer Protocol) is a protocol in the TCP/IP protocol suite used for simple file transfer between the client and the server. Protocol that provides uncomplicated and inexpensive file transfer services. The port number is 69. (Recommended learning: PHPSTORM )
TFTP is a simple protocol for transmission files. It is implemented based on the UDP protocol, but we cannot determine that some TFTP protocols are based on other transmission protocols. Completed.
This protocol is designed for small file transfer. Therefore it does not have many of the features of the usual FTP, it can only get or write files from the file server, it cannot list directories, it does not authenticate, and it transfers 8-bit data.
There are three modes in transmission: netascii, which is an 8-bit ASCII code form, and the other is octet, which is an 8-bit source data type; the last mail is no longer supported, and it will return Data is returned directly to the user rather than saved to a file.
TFTP is the simplest network protocol used to download remote files. It is implemented on the UDP protocol. The tftp development environment of embedded Linux includes two aspects: one is tftp-server support on the Linux server side, and the other is tftp-client support for the embedded target system.
Because u-boot itself has built-in support for tftp-client, there is no need to configure the embedded target system. The following will introduce the configuration of tftp-server on the Linux server side in detail.
1. Install tftp server
You need to install xinetd, tftp and tftp-server 3 software
If you can access the Internet, use yum Installation:
yum xinetd yum install tftp yum install tftp-server
If you cannot access the Internet, you can directly install the provided rpm package:
rpm -ivh xinetd-2.3.14-18.fc9.i386.rpm rpm -ivh tftp-0.48-3.fc9.i386.rpm rpm -ivh tftp-server-0.48-3.fc9.i386.rpm
2. Configure tftp server
Modify the /etc/xinetd.d/tftp file and change disable=yes to disable=no. The main thing is to set the root directory of the TFTP server and start the service. The modified file is as follows:
tftp { socket_type =dgram protocol =udp =yes user =root server =/usr/sbin/in.tftpd server_args =-s /home/mike/tftpboot -c disable =no per_source =11 cps =100 2 flags =IPv4 }
Description: Modify the item server_args= -s
3. Start the tftp server and turn off the firewall
/etc/ .d/ stop //关闭防火墙 /sbin/service xinetd start
or
service xinetd restart /etc/init.d/xinetd start
Just see Start [OK]
4. Check whether the tftp service is enabled.
-a | tftp
The displayed result is udp 0 0 *:tftp *:*, indicating that the service has been enabled, which indicates that the tftp configuration is successful.
5. tftp uses
to copy a file to the tftp server directory, and then start the tftp software on the host for a simple test.
tftp 192.168.1.2 tftp>get <download > tftp>put <upload file> tftp>q
The above is the detailed content of tftp execution process. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











If you want to view the graphics card driver version on your computer, you can do it by: 1. Use Device Manager to view: Win X to open the Device Manager, expand the display adapter, right-click the graphics card to select properties, and view the version and date in the driver tab; 2. View through DirectX diagnostic tool: Win R enter dxdiag to view the driver version and related graphics information in the display tab; 3. Use the official software of the graphics card manufacturer to query: such as NVIDIA's GeForceExperience, AMD's Radeon Software or Intel's Driver&Support Assistant, the main interface will display the current driver status and support updates; 4.

To change the problem of Windows software being installed on C drive by default, there are three methods to solve it: First, modify the system user folder path, which is suitable for new users. The default folder such as "document" and "download" will point to the new path, but it will not affect the installation path of the third-party software; Second, use symbolic links, first install to the C drive and then move to other disks, and create links to deceive the system identification; Third, manually select the path during installation, which is the most common method, and most software supports custom installation directories. Note that the path does not contain Chinese or special characters, so you need to run the installer as an administrator to avoid permission issues.

Microsoft Edge can be uninstalled, but because it is a Windows system component, it cannot be uninstalled directly through the control panel like ordinary software. 1. Use a command prompt (administrator permissions) to uninstall the Edge installation package; 2. You can disable or replace Edge with the help of third-party tools; 3. Enterprise users can manage through Group Policy. Even if uninstalled, it may still be redeployed when the system is updated. Alternatives include: setting other browsers as default, manually removing the Edge icon, and hiding Edge using scripts. Users suitable for uninstallation include system geeks, enterprise unified management needs, and low-end device users who want to release resources. Ordinary users only need to change the default browser to avoid interference.

If you want to remotely turn off the router Wi-Fi, you must first confirm whether the router supports remote management; if it does not support it, it can be achieved through a smart socket power outage; advanced users can also consider flashing in custom firmware. The specific steps are as follows: 1. Check whether the router has remote management functions, such as the manufacturer's supporting app or cloud management functions; 2. If it is not supported, purchase and set up a smart socket and remotely cut off power through its app; 3. For technical users, you can install firmware such as DD-WRT or OpenWRT to obtain remote control permissions. Different methods have their own advantages and disadvantages. Please weigh them according to your own needs when choosing.

System restore point setting methods include manual creation, dependency automatic creation, and management of storage space. 1. Manual creation requires system protection to enable in "Create Restore Point", allocate 5% disk space and click "Create" to name the restore point; 2. The system will automatically create restore points when installing updates or changing settings, but do not guarantee comprehensiveness; 3. The restore point occupies no more than 5% of the system disk space by default, and the old version will be automatically cleaned, and storage can be managed by adjusting the upper limit.

A firewall is a network security system that monitors and controls network traffic through predefined rules to protect computers or networks from unauthorized access. Its core functions include: 1. Check the source, destination address, port and protocol of the data packet; 2. Determine whether to allow connections based on trust; 3. Block suspicious or malicious behavior; 4. Support different types such as packet filtering firewalls, status detection firewalls, application layer firewalls and next-generation firewalls; 5. Users can enable built-in firewalls through operating system settings, such as Windows Security Center or macOS system preferences; 6. The firewall should be used in combination with other security measures such as strong passwords and update software to enhance protection.

Yes, WiFi providers can see some of your browsing information. Specifically: 1. The WiFi provider can see the domain name, Internet time period, device type and traffic size of the website you are visiting, but cannot view the specific content of the HTTPS website; 2. The home WiFi administrator can also view the connection records and some traffic content through the router background or parent control software; 3. Methods to protect privacy include using HTTPS websites, connecting to VPNs, enabling browser privacy mode, and avoiding sensitive operations on public WiFi; 4. The company or school network is usually more stringent, and may record logs, install a proxy server, or even force decrypt HTTPS traffic, so you should try to comply with regulations and avoid visiting irrelevant websites.

When encountering the blue screen error VIDEO_TDR_FAILURE(nvlddmkm.sys), priority should be given to troubleshooting graphics card driver or hardware problems. 1. Update or rollback the graphics card driver: automatically search and update through the device manager, manually install or roll back to the old stable driver using NVIDIA official website tools; 2. Adjust the TDR mechanism: Modify the TdrDelay value in the registry to extend the system waiting time; 3. Check the graphics card hardware status: monitor the temperature, power supply, interface connection and memory module; 4. Check system interference factors: run sfc/scannow to repair system files, uninstall conflicting software, and try safe mode startup to confirm the root cause of the problem. In most cases, the driver problem is first handled. If it occurs repeatedly, it needs to be further deepened.