Switch: the reason for the failure to access the network after Ubuntu 10.10 Is Installed

Source: Internet
Author: User

I recently installed a new ubuntu10.10 and found it could not be connected to the Internet. It took a long time to get involved. I found a lot of methods on the Internet and finally tried it. I would like to summarize the Causes and Countermeasures of ubuntu.

Environment:
Ubuntu 10.10
Network: access the Internet through a modem connected to a router (connected to a router by multiple people ).

Using the default auto eth0 configuration of ubuntu system, the webpage cannot be opened, so you can find the cause of the error step by step.

Step 1:
Open the terminal command line interface ("application" -- "" Appendix "--" terminal "),Note that it is best to use the command line terminal, because the network test tool that comes with the system can be used because you are offline installed and cannot display the results normally, leading to misjudgment .]
In the command line, enter Ping 127.0.0.1-C 6.
The Ping Command will send 6 packets to test whether your Nic is normal and whether the NIC Driver is correctly installed. Check the number of packets sent Ed. If all packets are received, the nic and driver are installed, otherwise, go to your NIC driver or change the NIC.
Correct Interface

 
Step 2:
Based on the first step of the test, test whether you and the router are in the same LAN. Generally, the LAN configured by the router is 192.168.1.1 ~ 192.168.1.255. If you have different settings, modify them as needed.
Enter ifconfig in the terminal command line
The following message is displayed:


You can see that there is an Inet address: 192.168.1.118, which is the internal address of the LAN 192.168.1.1 allocated to you by the router. If the above LAN address appears, it means that you have successfully connected to your vro, only one step away from the successful internet access. If you do not have the above LAN address, it indicates that you encountered an error while connecting to the router. Check whether the network cable is plugged in and whether the router is normal (you can restart the router ).

Step 3:
The probability of a problem occurs in the first two steps is small. Generally, the last step is the problem. After the first two steps are passed, you can connect to your vro. Enter http: // 192.168.1.1 in Firefox and press Enter. This is the logon interface of the vro. (contact your vro administrator. The default user name and password are admin.) After logon, check the vro.
LAN port status: IP address (LAN gateway address), subnet mask, the two addresses with notes.
Wan port status: the DNS server address used. Take note of this address.
Click system> preference> network connection, and select the edit button on the Right of auto eth0. As shown in:

In the "method" area, click the drop-down list and select "Manual". Click "add (a)" on the right of the address bar below to enter the local lan ip address and subnet mask, the gateway address. Enter the inet address in step 2 for the local lan ip address. Use the subnet mask to log on to the vro to see the subnet mask of the LAN port. The Gateway is the IP address of the router in the LAN port status.
The most important thing is to fill in the DNS server bar and log on to the DNS server address of the WAN port that the router sees.

After entering the information, save it. On the top panel, there is an icon with the "" symbol on the other side of the mail tag. Click it with the left button, select "disconnected", and then click "auto eth0" to connect to the network. OK. You can open the webpage in a browser.
If you still cannot access the Internet, first check whether your DNS server is correctly entered, second, whether your router is connected to the network through pppoe or asdl, and third, call to check whether your bandwidth is in arrears.

The above is a debugging process for individuals who cannot access the Internet after installing ubuntu. The main error is that Automatic ConfigurationThe DNS server cannot access the Internet due to an error. You can enter the correct DNS server address (the DNS server address in the WAN port status) to access the Internet.

This article mainly describes the troubleshooting process of using a router to access the Internet. For other methods, please search for other articles on the Internet.
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.