
我有一台 HP Pavilion G7 筆記型電腦,當我使用 ubuntu 時它啟動正常,然後當我進入時我無法連接到 wifi。我知道這個問題,因為它說的是「透過硬體開關斷開連接」。我嘗試打開我的硬體開關,但它不想打開(它是一個按鈕,應該發出藍光以表明它已打開,但它發出橙色光錶明它已關閉)。
答案1
您可以嘗試在終端機中使用以下命令; rfkill 解鎖 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、compile 等的清晰解釋。如何讓 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