我有一台 HP Pavilion G7 笔记本电脑,当我使用 ubuntu 时,它启动正常,然后当我进入时,我无法连接到 wifi。我知道问题所在,因为它显示类似“硬件开关断开连接”的内容。我试图打开我的硬件开关,但它不想打开(它是一个按钮,应该发出蓝光来显示它已打开,但它发出橙色光,表示它已关闭)。
答案1
您可以尝试在终端中使用以下命令:rfkill unblock wifi。然后关闭您的 wifi 开关,然后再打开。如果这不起作用,请使用通知图标转到屏幕右上角的网络设置。禁用网络并执行命令“rfkill unblock wifi”,然后重新启用网络。
答案2
先生,请尝试点击此链接。您的 Wifi 可能已被 Ubuntu 列入黑名单。我不确定他们为什么允许这种情况,但他们已经为我们提供了解决方案。请参阅这里更多细节。
我在树林中的足迹如下……
james@james-HP-Pavilion-g7-Notebook-PC:~$ sudo lspci -nn
[sudo] password for james:
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)
00:1c.2 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 [8086:1c14] (rev b5)
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
01:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)
james@james-HP-Pavilion-g7-Notebook-PC:~$ sudo apt-get install linux-headers-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
linux-headers-3.5.0-23 linux-headers-3.5.0-23-generic
The following NEW packages will be installed:
linux-headers-3.5.0-23 linux-headers-3.5.0-23-generic linux-headers-generic
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.1 MB of archives.
After this operation, 70.0 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Abort.
james@james-HP-Pavilion-g7-Notebook-PC:~$
安装 Broadcom 无线驱动程序 如何安装 Broadcom / STA 无线网卡(BCM43XX)
赞成 7 反对 收藏 21 我在为 Ubuntu 安装 Broadcom 驱动程序时遇到了严重问题。它在我的上一个版本上运行良好,但现在却无法运行。我是一个对 Linux 没有任何深入了解的用户,因此我需要有关 make、编译等方面的清晰解释。我按照以下博客中的说明操作,但没有成功。我怎样才能让 Broadcom BCM4311 Wireless 正常工作?有人能帮我吗?编辑:对于命令:lspci | grep Network
,我收到以下消息:
06:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)
For the command: iwconfig, i get the following:
lo no wireless extensions. eth0 no wireless extensions.
当我按照以下步骤操作时(来自上面的链接),根本没有错误消息:1.打开“Ubuntu 软件中心”并搜索 bcm 2.卸载bcm-kernel-source package
3.确保firmware-b43-installer
和b43-fwcutter
软件包已安装
然后,在终端中输入:
cat /etc/modprobe.d/* | egrep '8180|acx|at76|ath|b43|bcm|CX|eth|ipw|irmware|isl|lbtf|orinoco|ndiswrapper|NPE|p54|prism|rtl|rt2|rt3|rt6|rt7|witch|wl'
(你可能想要复制这个)并查看术语 blacklist bcm43xx 是否存在,如果存在,请输入
cd /etc/modprobe.d/ and then sudo gedit blacklist.conf
在该行前面加上一个 #:blacklist bcm43xx 然后保存文件(我在终端中收到有关无法保存的错误消息,但实际上它确实正确保存了)。重新启动“程序结束”以前(不是 Ubuntu 11.04),如果我想连接无线,我只需转到屏幕上方的图标,单击,显示所有可用的无线网络,然后完成。
james@james-HP-Pavilion-g7-Notebook-PC:~$ cat /etc/modprobe.d/* | egrep '8180|acx|at76|ath|b43|bcm|CX|eth|ipw|irmware|isl|lbtf|orinoco|ndiswrapper|NPE|p54|prism|rtl|rt2|rt3|rt6|rt7|witch|wl'
# which ath5k cannot recover. To prevent this condition, stop
blacklist ath_pci
blacklist eth1394
# replaced by p54pci
blacklist prism54
# replaced by b43 and ssb.
blacklist bcm43xx
blacklist uart6850
blacklist twl4030_wdt
# /etc/modprobe.d/iwlwifi.conf
# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
# microcode file installed on the system. When removing iwlwifi, first
# remove the iwl?vm module and then iwlwifi.
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
james@james-HP-Pavilion-g7-Notebook-PC:~$
编辑
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.
# evbug is a debug tool that should be loaded explicitly
blacklist evbug
# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd
# replaced by e100
blacklist eepro100
# replaced by tulip
blacklist de4x5
# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394
# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m
# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2
# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801
# replaced by p54pci
blacklist prism54
# replaced by b43 and ssb.
#blacklist bcm43xx
# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps
# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi
# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp
# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr
# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac