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