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

  

Some users found that their Win7 computer could not access the Internet due to archlinux static network configuration error. How to solve this problem? Today Xiaobian teaches you how to solve this problem.

Recommended: Download the latest Win7

If you installed ifconfig and route, then you can simply use the two commands to get, as follows:

First, the steps to resolve the two commands ifconfig and route are 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, 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 viewed by ip addr show

2, use ip route add default via 192.168.200.1 to set the gateway;

3, then restart the network on the line

Can ping the gateway and 8.8.8.8, and then can not log on the page, then it is a problem with dns, add 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