Burn the arm linux kernel to modify the static ip, use puty.exe to connect the serial port RS232 and connect to the shell for debugging. The ip can be pinged, but the domain name cannot be pinged.

1. Burn the arm linux kernel,
insert the SD card
, power on, press the space until the U-boot
run xflash,
etc. are displayed , the installation is complete, restart OK

2. Modify static ip
vi /etc/network/interfaces
same network segment
iface eth0 inet static                                                                             
address 10.0.0.61                                                                                  
gateway 10.0.0.1                                                                                   
netmask 255.255.255.0 

After modification, restart. ifconfig see ip. After ping baidu.com, the external network is normal.

3. Copy the program script and wait until /home/root, run the automatic script auto.txt, restart, and complete.

Attachment: Use puty.exe to connect serial port RS232 to shell debugging.
Set com? 115200, select serial port mode for flow control without session and open it.

Press enter to respond.

 

Attachment: Can ping ip, ping domain name not

The domain name resolution is incorrect.

vi /etc/resolv.conf

Content changed to

nameserver 114.114.114.114
nameserver 123.125.81.6

It's normal.
 

Guess you like

Origin blog.csdn.net/chenhao0568/article/details/105837554
Recommended