Redhat 9 tftp Server Installation Analysis

Source: Internet
Author: User
Tags server installation and configuration

We have talked a lot about the installation and configuration of the tftp server. Today, we will mainly explain how to install and configure the redhat 9 tftp server and how to run the mini-com program. I hope this article will help you. Let's take a look at the specific content.

(My development environment is windows xp OS with virtual machine redhat 9 with ARMboot and uClinux)

Redhat 9 tftp Server installation and configuration 1. Check whether redhat 9 already has the tftp service.

Method: Open/etc/xinetd. d/to check whether a tftp file exists.

Redhat 9 tftp Server installation and configuration 2. Install tftp

Method: Put the drive into redhat 9 and the third Disk with an RPM package.) Find the two packages:

Are: tftp-server-0.32 ...... and tftp-0.32 .............

Run the following statement to install:

Rpm-ivh tftp-server-0.32 ********

Rpm-ivh tftp-0.32 *** (this package is required by the client to log on to the tftp server)

Start/etc/xinetd/with tftp. The installation is successful.

Redhat 9 tftp Server installation and configuration 3. Configure tftp

The following configuration methods are mostly found online. The solution to your problems is as follows:

3.1 tftp startup Method

Run the ntsysv command under root, select the tftp service, and then run the service xinetd restart command. The tftp service is started.

In ntsysv, I don't know how to click the OK key. Why. You can use the tab key on the network. The Space key is used to select an item ..)

3.2 how to download files through tftp?

Open the/etc/xinetd. d/tftp file, as shown below:

Service tftp

{

Disable = no

Socket_type = dgram

Protocol = udp

Wait = yes

User = root

Server =/usr/sbin/in. tftpd

Server_args =-s/tftpboot

Per_source = 11

CPIs = 100 2

}

This is the configuration file of tftp. Among them, server_args =-s/tftpboot is the parameter during the running of the tftp server. -S/tftpboot indicates that the default directory of the server is/tftpboot. When you run put a.txt, the file will be put to/tftpboot/a.txt on the server, this saves you the trouble of typing put a/tftpboot. You can also add other server running parameters here. For more information, run the man tftpd command.

To download an object, run the following command: the default path to download the object is/tftpboot)

> Tftp <tftp server address or name>

> Get <filename>

For example, there is a file hello. c Under/tftpboot.

Linux local test solution: root] # ifconfig eth0 127.0.0.1

Root] # tftp 127.0.0.1

Tftp> get hello. c

Received... bytes in... second. indicates that the request is successful)

Redhat 9 tftp Server installation and configuration 4. minicom cannot input characters

Solution: 4.1 may be because no hardware serial port is added to the virtual machine.

4.2 select NO for hardware flow control.

Redhat 9 tftp Server installation and configuration 5. This problem was encountered during the writing process.

Loading: T

Retry count exceeded; starting again

Solution:

5.1 TTT indicates that there is no connection.

Enter the Virtual Machine driver to view the two services

Iptables service. The firewall must be disabled. Turn off each time you start the system)

Network Service to check whether it is enabled. According to what you said, ping is enabled. This is the first service xinetd restart. tftp server. The redhat I used is automatically started at the startup, and does not use this command every time I open the system)

After linux is started, use ifconfig eth0 to modify the linux IP address. It must be configured once every boot)

5.2 The VM should be changed to the bridge Development Board. windows and linux should be configured with a LAN.

Redhat 9 tftp Server installation and configuration 6. Now let's summarize how to burn files to the development board on the tftp-based host machine:

1. windows Super Terminal + tftp32.exe Software

2. linux minicom + linux tftp server

3. windows Super Terminal + linux tftp server

The three methods have been tested to be feasible. If you are a laptop, if your USB-to-serial port is not transferred through minicom, you can use methods 1 and 3.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.