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.