Acer4560G wired network connection failure in Ubuntu10.04 system

Source: Internet
Author: User
The problem that acer4560G cannot be connected to the wired network in the Ubuntu10.04 system has been used for a long time. it has been plagued by the problem that the wired network cannot be connected, since the wired network cannot be connected, no wired connection is needed. However, computers without wired Internet access are always... it has been a long time since acer 4560G was unable to connect to Ubuntu10.04 in the ubuntu10.04 system. it has been a problem that has plagued me, that is, the problem that the wired network cannot be connected, since wired networks cannot be connected, there is no need for wired networks. However, computers without wired Internet always feel like computers with less arm, I have been looking for a way to connect my computer to a wired network. I have found many methods on the Internet, but my computer is rarely used. the ifconfig command is only lo and wlan, and eth0 is not used. it indicates that the wired network card of the computer is not started at all, that is to say, the driver of the wired Nic has not been switched. The following describes my solution in detail. (1) Check whether the NIC driver is installed. input: If the ifconfig loose (lo ), the information of the Ethernet card (eth0) and wireless card (wlan0) is displayed, indicating that it is not a driver problem. do not continue watching it. My computer does not have the eth0 point information, indicating that my wired network card has no driver. Next, let's take a look at step 2. (2) confirm the Nic model terminal input: lspci output information: 00: 00.0 Host bridge: Advanced Micro Devices [AMD] Device 170500: 01.0 VGA compatible controller: ATI Technologies Inc Device 964700: 01.1 Audio device: ATI Technologies Inc Device 171400: 03.0 PCI bridge: Advanced Micro Devices [AMD] Device 170800: 04.0 PCI bridge: advanced Micro Devices [AMD] Device 170900: 06.0 PCI bridge: Advanced Micro Devices [AMD] Device 170b00: 11.0 SATA controller: Advanced Micro Devices [AMD] Device 7800 (rev 40. 0 USB Controller: Advanced Micro Devices [AMD] Device 7807 (rev 11. 2 USB Controller: Advanced Micro Devices [AMD] Device 7808 (rev 11. 0 USB Controller: Advanced Micro Devices [AMD] Device 7807 (rev 11. 2 USB Controller: Advanced Micro Devices [AMD] Device 7808 (rev 11. 0 SMBus: Advanced Micro Devices [AMD] Device 780b (rev 13. 2 Audio device: Advanced Micro Devices [AMD] Device 780d (rev 01. 3 ISA bridge: Advanced Micro Devices [AMD] Device 780e (rev 11. 4 PCI bridge: Advanced Micro Devices [AMD] Device 780f (rev 40. 0 USB Controller: Advanced Micro Devices [AMD] Device 7807 (rev 11. 2 USB Controller: Advanced Micro Devices [AMD] Device 7808 (rev 11. 0 Host bridge: Advanced Micro Devices [AMD] Device 1700 (rev 43. 1 Host bridge: Advanced Micro Devices [AMD] Device 170100: 18.2 Host bridge: Advanced Micro Devices [AMD] Device 170200: 18.3 Host bridge: Advanced Micro Devices [AMD] Device 170300: 18.4 Host bridge: Advanced Micro Devices [AMD] Device 170400: 18.5 Host bridge: Advanced Micro Devices [AMD] Device 171800: 18.6 Host bridge: Advanced Micro Devices [AMD] Device 171600: 18.7 Host bridge: Advanced Micro Devices [AMD] Device 171901: 00.0 VGA compatible controller: ATI Technologies Inc Device 676002: 00.0 Ethernet controller: Broadcom Corporation NetLink BCM57785 Gigabit Ethernet PCIe (rev 10). 1 SD Host controller: Broadcom Corporation Device 16bc (rev 10. 2 System peripheral: Broadcom Corporation Device 16be (rev 10. 3 System peripheral: Broadcom Corporation Device 16bf (rev 10. 0 Network controller: Atheros Communications Inc. the hardware of AR9287 Wireless Network Adapter (rev 01) is different. the above output is somewhat different, but it is basically the same. we can see the following line: 02: 00.0 Ethernet controller: broadcom Corporation NetLink BCM57785 Gigabit Ethernet PCIe (rev 10) This line is the information of the wired Nic: my Nic model is Broadcom's BCM57785, (3) download the corresponding NIC driver from the broadcom official website. download the NIC driver of the corresponding model: http://zh-cn.broadcom.com/support/ethernet_nic/downloaddrivers.php My installation package is: linux-3.129d.zip (4) install Driver unzip installation package, in the Server/Linux/Driver Directory there are * .tar.gz format and *. src. file in rpm format, README. the installation process is in TXT. I chose the installation package in * .tar.gz format. (1) decompress the tar-format installation package tar xvzf tg3- .Tar.gz (2) compile and generate the. o or. ko file cd tg3- The. o or. ko file generated by make matches the running kernel. (3) Test and install the driver module sudo insmod tg3.o. if the kernel 2.6.X is used, the sudo insmod tg3.ko (on 2.6.x kernels) (4) test terminal input: ifconfigeth0. The next step is to configure the network. There are two ways to configure the network: (1) directly configure the network in the graphic interface (2) modify/etc/network/interfaces and/etc/resolv. conf. There are a lot of online materials. here I will repost a specific method as follows:. configure the static IP address $ sudo vim/etc/network/interfaces. there are only two original lines: auto lo iface lo inet loopback append the following content to the end: auto eth0 iface eth0 inet static address 192.168.0.33 gateway 192.168.0.1 netmask 255.255.255.0 and then save and exit; B. manually configure dns $ sudo vi/etc/resolv. add the following content to the end of the conf file: nameserver 192.168.0.10 and save and quit. C. restart the network to make the change take effect $ sudo/etc/init. d/networking restart there is a problem here, that is, after ubuntu is restarted, it is found that the internet is no longer available. the problem lies in/etc/resolv. conf. after the file is restarted, the dns configured in this file is automatically changed to the default value. Therefore, you need to modify DNS permanently. The method is as follows: cd/etc/resolvconf/resolv. conf. d/# cat base nameserver 8.8.8.8
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.