![笔记本电脑上新安装的 Ubuntu,无线无法使用](https://linux22.com/image/964792/%E7%AC%94%E8%AE%B0%E6%9C%AC%E7%94%B5%E8%84%91%E4%B8%8A%E6%96%B0%E5%AE%89%E8%A3%85%E7%9A%84%20Ubuntu%EF%BC%8C%E6%97%A0%E7%BA%BF%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8.png)
我正在使用一台新的 Toshiba Satellite c855d,今天早上它上面安装了 Windows 7。无线功能正常。当我启动 Ubuntu 时,无线功能再次正常。
我安装了 12.04,现在无线连接不再起作用了。我不太清楚该怎么办,而且我对这个问题也不是很了解。
谢谢大家的回复!
编辑 1:第一个评论者请求的输出
*-network UNCLAIMED
description: Network controller
product: RTL8188CE 802.11b/g/n WiFi Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: ioport:3000(size=256) memory:f0200000-f0203fff
*-network
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:06:00.0
logical name: eth0
version: 05
serial: 00:26:6c:15:c8:4e
size: 100Mbit/s
capacity: 100Mbit/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 autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8105e-1.fw ip=192.168.0.130 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:41 ioport:2000(size=256) memory:f0104000-f0104fff memory:f0100000-f0103fff
和
00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Device 9809
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310]
00:11.0 SATA controller: Advanced Micro Devices [AMD] Hudson SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices [AMD] Hudson USB OHCI Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices [AMD] Hudson USB EHCI Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices [AMD] Hudson USB OHCI Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices [AMD] Hudson USB EHCI Controller (rev 11)
00:14.0 SMBus: Advanced Micro Devices [AMD] Hudson SMBus Controller (rev 14)
00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia Controller (rev 01)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] Hudson LPC Bridge (rev 11)
00:14.4 PCI bridge: Advanced Micro Devices [AMD] Hudson PCI Bridge (rev 40)
00:14.7 SD Host controller: Advanced Micro Devices [AMD] Hudson SD Flash Controller
00:15.0 PCI bridge: Advanced Micro Devices [AMD] Device 43a0
00:15.1 PCI bridge: Advanced Micro Devices [AMD] Device 43a1
00:16.0 USB controller: Advanced Micro Devices [AMD] Hudson USB OHCI Controller (rev 11)
00:16.2 USB controller: Advanced Micro Devices [AMD] Hudson USB EHCI Controller (rev 11)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
这有帮助吗?
编辑2,安装驱动程序:
当我编译和安装驱动程序时,我收到很多错误消息。我将输出粘贴在这里:
norma@norma-Satellite-C855D:~$ cd rtl8192ce_*/
norma@norma-Satellite-C855D:~/rtl8192ce_linux_2.6.0006.0321.2011$ make clean
gcc: error: /lib/modules/3.2.0-34-generic-pae/build/include/linux/autoconf.h: No such file or directory
gcc: fatal error: no input files
compilation terminated.
make[1]: Entering directory `/home/norma/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192'
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
rm -fr Modules.symvers
rm -fr Module.symvers
rm -fr Module.markers
rm -fr modules.order
rm -fr tags
make[2]: Entering directory `/'
make[2]: *** No rule to make target `clean'. Stop.
make[2]: Leaving directory `/'
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/home/norma/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192'
make: *** [clean] Error 2
norma@norma-Satellite-C855D:~/rtl8192ce_linux_2.6.0006.0321.2011$ make
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-34-generic-pae'
gcc: error: /lib/modules/3.2.0-34-generic-pae/build/include/linux/autoconf.h: No such file or directory
gcc: fatal error: no input files
compilation terminated.
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/norma/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/Makefile". Fix it to use ccflags-y. Stop.
make[1]: *** [_module_/home/norma/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-34-generic-pae'
make: *** [all] Error 2
norma@norma-Satellite-C855D:~/rtl8192ce_linux_2.6.0006.0321.2011$ sudo make install
[sudo] password for norma:
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-34-generic-pae'
gcc: error: /lib/modules/3.2.0-34-generic-pae/build/include/linux/autoconf.h: No such
file or directory
gcc: fatal error: no input files
compilation terminated.
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/norma/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192/Makefile". Fix it to use ccflags-y. Stop.
make[1]: *** [_module_/home/norma/rtl8192ce_linux_2.6.0006.0321.2011/HAL/rtl8192] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-34-generic-pae'
make: *** [all] Error 2
norma@norma-Satellite-C855D:~/rtl8192ce_linux_2.6.0006.0321.2011$
答案1
注意:这在 ubuntu 12.10 上不起作用
请访问 Realtek 的网站并查找您的芯片组。
下载适合您的 WiFi 卡的驱动程序并将其解压到您的主目录中。现在您的主目录中应该有一个“rtl8192ce_*”文件夹。获取编译驱动程序所需的工具。
sudo apt-get update
sudo apt-get install --reinstall linux-headers-generic build-essential
现在我们需要从内核中卸载并阻止原始内核模块/驱动程序。否则它们会破坏我们要安装的 Realtek 驱动程序的稳定性:
sudo rmmod rtl8192ce
要将原始内核驱动程序/模块列入黑名单,请打开 gedit:
gksu gedit /etc/modprobe.d/blacklist.conf
现在在文件末尾插入以下两行:
blacklist rtl8192ce
blacklist rtlwifi
最后,是时候编译并安装官方 Realtek 驱动程序了。
cd rtl8192ce_*/
make clean
make
sudo make install
exit
Reboot
要确保您使用的是正确的驱动程序,请运行lspci -v
并向下滚动到您的 Realtek WiFi 卡。“正在使用内核驱动程序”行应显示为“rtl8192CE”(注意末尾的两个大写字母),您应该安装了一个新的内核模块“r8192ce_pci”。