我安装了 Ubuntu 12.04 和 Windows 8,并且具有双启动选项。
无线已被硬件开关禁用。
如何开启WiFi?
我尝试了以下命令:
gaurav@gaurav-HP-Pavilion-g6-Notebook-PC:~$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 002: ID 13ba:0017 Unknown PS/2 Keyboard+Mouse Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 1bcf:2c1e Sunplus Innovation Technology Inc.
gaurav@gaurav-HP-Pavilion-g6-Notebook-PC:~$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Thames XT/GL [Radeon HD 7600M Series]
07:00.0 Network controller: Ralink corp. Device 3290
07:00.1 Bluetooth: Ralink corp. Device 3298
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
09:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5229 (rev 01)
gaurav@gaurav-HP-Pavilion-g6-Notebook-PC:~$ sudo rfkill unblock all
gaurav@gaurav-HP-Pavilion-g6-Notebook-PC:~$ rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
无线网卡
07:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
答案1
首先安装所有必要的编译工具,并从其 git 存储库下载最新的驱动程序:(以 TL-WN725N 为例)
$$ sudo apt-get install build-essential linux-headers-generic git
$$ mkdir ~/RTL8188EU
$$ cd ~/RTL8188EU
$$ git clone git://github.com/lwfinger/rtl8188eu.git
之后,可以编译并安装驱动程序:
进入文件夹并执行以下命令。
$$ make
$$ sudo make install
新的内核模块可以通过modprobe加载,并可以全系统安装以实现自动加载:
$$ sudo depmod -a
$$ sudo update-initramfs -u
$$ sudo modprobe 8188eu
(自动启动:)要在每次启动时启用模块,请将模块添加到 /etc/modules
$$ echo 8188eu >> /etc/modules
运行命令
$$ lspci -v
并搜索您的内置 wifi 卡...
03:00.0 网络控制器:英特尔公司 WiFi Link 5100 子系统:英特尔公司 WiFi Link 5100 AGN 标志:总线主控、快速设备、延迟 0、IRQ 47 内存位于 d6500000(64 位,不可预取)[size=8K] 功能:[c8] 电源管理版本 3 功能:[d0] MSI:启用+计数=1/1 可屏蔽-64 位+ 功能:[e0] 快速端点,MSI 00 功能:[100] 高级错误报告功能:[140] 设备序列号 00-24-d6-ff-ff-3e-5e-a4 正在使用的内核驱动程序:iwlwifi
现在阻止那张卡....
$$ sudo echo "blacklist iwlwifi" >> /etc/modprobe.d/blacklist.conf
现在运行
$$ lsmod | grep sony
用您的笔记本电脑的公司名称替换 sony....
阻止您的笔记本电脑(例如,对于索尼 vaio,它是“sony_laptop”...
$$ sudo echo "blacklist sony_laptop" >> /etc/modprobe.d/blacklist.conf
完毕..!!!
现在重新启动...即使您的无线开关已关闭,您也将能够运行您的 wifi 适配器....!!
答案2
我有 pavilion g6。linux 中的无线开关是 f12 键没有fn 开关