Windows7 archlinux static network configuration error even if not online how to do?

  
Some users in the process of using, found that their Win7 computer due to archlinux static network configuration error can not access the Internet, how to solve this problem? Today Xiaobian teaches you how to solve this problem.



Recommended: The latest Win7 download
If the user installed ifconfig and route, then you can easily use two commands to get it, the specific method is as follows:
First, ifconfig has been installed And route two steps to solve the problem:
1, use ifconfig device name 192.168.200.187 to set static ip. 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
Third, you can ping the gateway and 8.8.8.8, and then can not get on the page If that, it is a problem with dns. Adding a line of nameserver 8.8.8.8 in /etc/resolv.conf can be solved.
The above is to solve the Win7 computer due to archlinux static network configuration error can not access the Internet solution, there are users who encounter this problem, go try it.

Copyright © Windows knowledge All Rights Reserved