Solution to the problem of wired access failure after updates under ubuntu

Source: Internet
Author: User
Solution to the problem of wired connection failure after the upgrade in ubuntu due to laboratory requirements have to install a relatively low version of the system, so it takes time to install a ubuntu10.04 system, however, after the installation is complete, there are many problems, such as the system does not have sound, install fcitx... solution to the problem of wired connection failure after the upgrade in ubuntu due to laboratory requirements have to install a relatively low version of the system, so it takes time to install a ubuntu10.04 system, however, after the installation is complete, there are many problems, such as the system has no sound, and the fcitx input method has been installed. The most annoying thing is that I can't access the internet when I restart my system after updating many items. Through my own practices and some materials on the Internet, I finally solved the danteng problem. The following is my solution: (mainly manual IP address setting) 1. first, delete the command used by the Network Manager (network tool). open the terminal and run the following command: sudo aptitude purge network-manager sudo aptitude purge Network-manager-gnome 2. to configure the network interface, you need to use the command at this time. the command is trustworthy at a critical moment.-open the terminal and execute the following command: sudo gedit/etc/network/interfaces # set the Nic interface in the pop-up text and fill in the code for allocating static IP addresses to eth0, as shown in the following example: auto eth0 # enable the Nic automatically when the instance is started. # Iface eth1 inet dhcp (if this line of code exists, add "#" in front and comment it out. of course, ignore it. But you can leave this IP address. you do not need to delete the IP address iface eth0 inet static address 192.168.1.123 #. set this IP address based on your own situation. I will write this IP address for your reference. do not conflict with others' addresses on the Internet. (Set the ip address based on your own situation) netmask mask 255.255.255.0 subnet mask. I did not write this. ask the network administrator to fill in or enter a router mask. Gateway 192.168.1.1 # gateway. This may not be the case. ask the network administrator or enter a vro. 3. configure DNS (the settings for LAN and ADSL are a little different ). Open the terminal and run the following command: sudo gedit/etc/resolv. conf # enter the DNS name server address in the pop-up text. Nameserver 222.30.45.1 # enter the address of the DNS server where you are located, and enter 202.96.64.68 you see in the vro. Nameserver 222.30.45.1 # enter the address of the backup DNS server where you are located, and enter 211.98.4.1 you see in the vro. 4. restart and you will be able to access the internet. There may be no network link icons. no matter how many icons are there, you just need to be able to access the Internet.

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.