ubuntu13.04 有線網卡驅動安裝 無法上網 網絡配置

在使用ubuntu13.04時,剛開始有線連接能上網,無線也能連接上,但是無線在使用過程中發現有時候明明是鏈接上的,

但是打開網頁的速度特別慢,所以就把網卡驅動卸載了,卸載之後重新安裝驅動後,無線上網是沒問題了,但有線問題

又來了,插上網線連接不上網絡,經過一番折騰,發現有線網卡驅動未安裝。

1. 確認是否安裝網卡驅動。
    方法一:
    打開系統->系統管理->網絡工具
    可以看到網絡設備,一般包含三個:迴環節口(lo),以太網卡(eth0),無線網卡(wlan0)。
    有對應網絡設備即已安裝對應的驅動。

2.終端輸入 ifconfig

顯示以下信息說明網卡驅動安裝正常

eth0      Link encap:以太網  硬件地址 3c:97:0e:69:09:02  
          inet 地址:192.168.0.146  廣播:192.168.0.255  掩碼:255.255.255.0
          inet6 地址: fe80::3e97:eff:fe69:902/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  躍點數:1
          接收數據包:2339 錯誤:0 丟棄:0 過載:0 幀數:0
          發送數據包:2415 錯誤:0 丟棄:0 過載:0 載波:0
          碰撞:0 發送隊列長度:1000
          接收字節:1757599 (1.7 MB)  發送字節:440380 (440.3 KB)
          中斷:44 基本地址:0x6000

eth1      Link encap:以太網  硬件地址 68:94:23:f3:13:f1  
          inet6 地址: fe80::6a94:23ff:fef3:13f1/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  躍點數:1
          接收數據包:4401 錯誤:4 丟棄:0 過載:0 幀數:10993
          發送數據包:4786 錯誤:34 丟棄:0 過載:0 載波:0
          碰撞:0 發送隊列長度:1000
          接收字節:3736896 (3.7 MB)  發送字節:704457 (704.4 KB)
          中斷:17

lo        Link encap:本地環回  
          inet 地址:127.0.0.1  掩碼:255.0.0.0
          inet6 地址: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  躍點數:1
          接收數據包:1841 錯誤:0 丟棄:0 過載:0 幀數:0
          發送數據包:1841 錯誤:0 丟棄:0 過載:0 載波:0
          碰撞:0 發送隊列長度:0
          接收字節:160708 (160.7 KB)  發送字節:160708 (160.7 KB)


在這裏我缺少的是有線網卡驅動,接下來主要說明有線驅動的安裝

一:首先確認網卡型號

終端輸入:lspci

顯示信息如下:

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 IDE interface: Intel Corporation 7 Series Chipset Family 4-port SATA Controller [IDE mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
00:1f.5 IDE interface: Intel Corporation 7 Series Chipset Family 2-port SATA Controller [IDE mode] (rev 04)
02:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 07)

我的網卡型號爲瑞昱 RTL8111/8168,所以就到瑞昱的官網去下載驅動

下載地址:瑞昱網卡驅動下載,無法上網時可以在能上網的電腦上下載好後複製進行安裝

如下圖:

選擇Unix(Linux)中的驅動進行下載,我下載的是第一個(最新的)

下載完成後進行解壓,可以手動提取,也可以在終端中進行用命令解壓

1.命令解壓:

進入root:sudo -i

解壓:tar vjxf r8168-8.036.00.tar.bz2

進入解壓目錄:cd r8168-8.036.00

安裝:sudo ./autorun.sh

其他類型的網卡安裝同理。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章