Mini2440 network settings

Source: Internet
Author: User

0. Hardware connection

Network cable:

My home computer accesses the Internet through a wired modem. A wired cat connects the network cable to the entrance of a four-port switch. Then, both my PC and mini2440 are connected to the sub-interface of the switch through the network cable.

Serial Port:

Since the PC does not have a serial port, my PC connects to the serial port of the Development Board through USB to serial port.

 

1. Start linxu

Set the jumper of the Development Board to NAND boot. After startup, the following information is displayed on the Super Terminal:

 

 

2. view the network settings of the mini2440 Development Board through ifconfig

 

3. Set the network settings of the Development Board based on the PC Network

Because my pc ip address is 60.63.13.111, netmask is 255.255.252.0, Gateway is 60.63.12.1,

Therefore, set the development board to be in the same network segment as my PC. The IP address is 60.63.13.99, The netmask is 255.255.252.0, And the gateway is 60.63.12.1.

 

4. Now that the network is set up, we can remotely log on to the Development Board through Telnet on the PC.

The simplest way to set the network of the mini2440 Development Board is to set ifconfig. However, after this setting, the IP address and Gateway after restarting the ifconfig of the development board are still the IP address and gateway. So how can I set the desired IP address for ifconfig After resetting or restarting the development board? Follow these steps:

1. the IP address, subnet mask, default gateway and other information displayed after ifconfig are in the/etc/eth0-setting file of the Development Board. So

# Vi/etc/eth0-setting

2. Modify the corresponding IP address, mask, DNS, and other information in the open file. Then, save and exit WQ.

3. Restart eth0

#/Etc/init. d/ifconfig-eth0 restart

Now the modification is complete, and you will see what you want to see in the ifconfig.

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.