安装无线网络驱动程序的问题

安装无线网络驱动程序的问题

我最近完整安装了 Ubuntu 13.04,但我的 Asus PCE-N15(在 Ubuntu 中似乎存在一个常见问题)似乎运行得很糟糕。在系统监视器中,接收和发送速度在 0-1.2kb/s 之间波动,显示它已连接到路由器,并且在 Windows 8 中 100% 正常工作。我尝试安装无线网卡的驱动程序更新包,但当我尝试制作 makefile 时出现此错误:

更新 #2 make[1]: 进入目录/usr/src/linux-headers-3.8.0-19-generic' CC [M] /home/anthony/Desktop/Realtek/base.o In file included from /home/anthony/Desktop/Realtek/base.c:39:0: /home/anthony/Desktop/Realtek/pci.h:247:1: error: implicit declaration of function ‘rtl_pci_probe’ [-Werror=implicit-function-declaration] /home/anthony/Desktop/Realtek/pci.h:247:31: error: expected expression before ‘struct’ cc1: some warnings being treated as errors make[2]: *** [/home/anthony/Desktop/Realtek/base.o] Error 1 make[1]: *** [_module_/home/anthony/Desktop/Realtek] Error 2 make[1]: Leaving directory/usr/src/linux-headers-3.8.0-19-generic' make:* [全部] 错误 2 root@anthony-desktop:/home/anthony/Desktop/Realtek# *更新* 我修补了前面的链接,但现在出现了这样的信息:“Make[2]: 进入目录/usr/src/linux-headers-3.8.0-19-generic' INSTALL /home/anthony/Desktop/r8169-6.017.00/src/r8169.ko Can't read private key DEPMOD 3.8.0-19-generic make[2]: Leaving directory/usr/src/linux-headers-3.8.0-19-generic' make[1]: 离开目录 `/home/anthony/Desktop/r8169-6.017.00/src'**”

make -C /lib/modules/3.8.0-19-generic/build M=/home/anthony/Desktop/Linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
CC [M] /home/anthony/Desktop/Linux/base.o
/home/anthony/Desktop/Linux/base.c: In function ‘_rtl_init_mac80211’:
/home/anthony/Desktop/Linux/base.c:319:6: error: ‘IEEE80211_HW_BEACON_FILTER’ undeclared (first use in this function)
/home/anthony/Desktop/Linux/base.c:319:6: note: each undeclared identifier is reported only once for each function it appears in
/home/anthony/Desktop/Linux/base.c: In function ‘rtl_action_proc’:
/home/anthony/Desktop/Linux/base.c:861:25: error: ‘RX_FLAG_MACTIME_MPDU’ undeclared (first use in this function)
/home/anthony/Desktop/Linux/base.c: In function ‘rtl_send_smps_action’:
/home/anthony/Desktop/Linux/base.c:1414:16: error: ‘struct <anonymous>’ has no member named ‘sta’
make[2]: *** [/home/anthony/Desktop/Linux/base.o] Error 1
make[1]: *** [_module_/home/anthony/Desktop/Linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
make: *** [all] Error 2

lspci -nn显示:

00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller [8086:0150] (rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4)
00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation Z77 Express Chipset LPC Controller [8086:1e44] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e02] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Pitcairn XT [Radeon HD 7870 GHz Edition] [1002:6818]
01:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] [1002:aab0]
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
04:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8178] (rev 01)

lshw -C network显示:

*-network               
       description: Ethernet interface
       product: RTL8111/8168 PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 06
       serial: d4:3d:7e:96:1a:8a
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:43 ioport:d000(size=256) memory:f7d04000-f7d04fff memory:f7d00000-f7d03fff
  *-network
       description: Wireless interface
       product: RTL8188CE 802.11b/g/n WiFi Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlan0
       version: 01
       serial: 30:85:a9:f3:b6:14
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192ce driverversion=3.8.0-19-generic firmware=N/A ip=192.168.0.3 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:19 ioport:c000(size=256) memory:f7c00000-f7c03fff

答案1

我已经修改了驱动程序源代码,现在可以无缝编译了。我已经在运行 3.8.0.19 内核的 Raring 上对其进行了测试,模块加载顺利,但我没有这样的 realtek 卡来实际测试它。

你可以在这里下载:

https://www.dropbox.com/s/cb3ritve01amaus/rtl_drivers_linux3.8.tar.bz2

运行makemake install然后通过 加载modprobe rtl8192ce。祝你好运 :)

答案2

根据lshw -C network命令,您需要 RTL8188CE 802.11b/g/n WiFi 适配器的驱动程序。您可以在以下位置找到 Asus PCE-N15 所需的正确无线驱动程序:http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=48&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true#RTL8188CE

有关如何安装它的说明请参见:http://blogs.fsfe.org/stefan.a/2011/06/14/how_to_install_realtek_rtl8188ce_wifi_drivers_thinkpad_edge_13_on_ubuntu_natty_1104/

另外,您还可以观看有关如何执行此操作的视频:http://www.youtube.com/watch?v=QFh2EZhUKgs

如果仍然不起作用,请尝试本指南如何使用 Linux 内核 3.8 编译 Realtek 驱动程序

更新:或者这个:解决 Debian、Ubuntu 及其衍生产品上 Realtek WiFi 卡 RTL8188CE(RTL8192CE、RTL8191SE 和 RTL8192DE)的连接问题

答案3

即使在编译和安装 grimpitch 3.8 驱动程序后,我仍然遇到了一些不稳定的问题。我通过加载带有停用硬件加密选项的模块解决了这个问题:

modprobe rtl8723e swenc=1

并添加

options rtl8723e swenc=1

在 /etc/modules 中现在它可以完美运行了!!

相关内容