Win7 32-bit system archlinux static network configuration error creates an inability to access the Internet

Source: Internet
Author: User

If the user installed ifconfig and route words, then can be very simple to use two commands to do, the specific method is as follows:

One, you have installed the Ifconfig and route the two commands to resolve the steps:

1, use ifconfig device name 192.168.200.187 set static IP. There is a space before and after the device name, the user can use Ifconfig to find out your device name first.

2, the use of route add default GW 192.168 200.1来 set Defaults gateway,

3, and then restart the network can be resolved.

Ii. If there is no solution to the two orders of Ifconfig and route

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 the IP addr show to view

2, the use of IP route add default via 192.168 200.1来 settings gateway;

3, then restart the network on the line

In another case, it is possible to ping the gateway and 8.8.8.8, and then do not log on the page, that is the problem of DNS, in/etc/resolv.conf inside add a line nameserver 8.8.8.8 can be solved.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.