How to Set up the Internet access after installing Linux in mini2440

Source: Internet
Author: User

From: http://blog.csdn.net/qq464009637/article/details/5962081

Because my mini2440 nandflash only has 64 m, I cannot burn the latest Linux kernel of the "friendly arm" Company (the root_yafss file has 87 m ), however, the network settings of the qtopia system cannot be configured normally. Therefore, you need to set them through the Linux terminal.

 

Method:

Hardware connection: the mini2440 board is connected to the network cable, and its serial port is connected to the PC.

 

1. After mini2440 is started, there will be many startup completion prompts on the Super Terminal, as shown in:

Press enter to enter the Linux Command Line Mode.

 

2. Configure the Internet IP address.

First, use the ifconfig command to view the original IP settings, as shown in.

The IP address range of my LAN is 192.168.10.0/255. Then, use the command line to change the IP address of the arm board to the same network segment, for example:

"Ifconfig eth0 192.168.10.100 netmask 255.255.255.0" sets the IP address to 192.168.10.100 and the subnet mask to 255.255.255.0;

"Route add default GW 192.168.10.1" sets the gateway to 192.168.10.1;

You can run the ifconfig command to check whether the settings take effect.

 

4. Telnet to the target arm host.

Run Windows + r> cmd on Windows 7 (my computer system) and enter "Telnet 192.168.10.100". If the command succeeds, the following interface is displayed:

Enter "root" and press enter to view the familiar Linux terminal interface. Pai_^

 

5. You can use Telnet to modify the DNS server address on the arm board.

Modify the address after the nameserver. (PS: Free DNS server address 8.8.8.8 provided by Google, which is very useful ~), Finally, ": WQ" is enough to exit and save ~

 

Now you can access the Internet.

However, you need to reset the IP address after the instance is shut down and restarted. If you need to save the IP address permanently, check the information and change it ~

 

The prompt is as follows:

[Root @ friendlyarm/] # vi/etc/init. d/RCS

Related Article

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.