Win7 32-bit system archlinux static network configuration error can not solve the problem of the Internet

  

If the user installed ifconfig and route, then you can easily use two commands to get it, the specific method is as follows:
The installation steps of the ifconfig and route commands have been installed:
1. Set the static ip using the ifconfig device name 192.168.200.187. There is a space before and after the device name. You can use ifconfig to find out your device name first.
2, use route add default gw 192.168.200.1 to set the default gateway,
3, and then restart the network can be solved.
Second, if there is no ifconfig and route two commands solution
1, ip addr change 192.168.200.187 dev device name, the same set name in front of a space bar, do not know the user name can be through ip addr Show to view
2, use ip route add default via 192.168.200.1 to set the gateway;
3, then restart the network on the line
There is a situation, that is, you can ping the gateway and 8.8.8.8, Then can not log on the page, it is a problem with dns, add a line of nameserver 8.8.8.8 in /etc/resolv.conf can be solved.

Copyright © Windows knowledge All Rights Reserved