我最近在我的 Asus F5RL AP033C 笔记本电脑上安装了 Ubuntu 12.04.4 LTS 和 Xfce 4.10。当我从通知区域打开 nm-connection-editor 时(其上的启用无线灰色),无线选项卡中没有网络,Wicd 网络管理器也是如此。笔记本电脑上的 WiFi LED 一直亮着,我无法从 Wicd 或按Fn+来控制它F2。
首先,我在华硕网站上搜索驱动程序,但没有 Linux 驱动程序。
我尝试添加以下/etc/rc.local
行:
echo 1 | tee /sys/devices/platform/asus_laptop/wlan
因为我在 Ubuntu 论坛上发现了这些主题:
其中一个奇怪的事情是,由于已经存在文件夹,我将要添加的行从 更改为asus-laptop
。该文件包含在其中,因此我将其编辑为,LED 熄灭。我将其重新打开,但仍然看不到可用网络列表。asus_laptop
wlan
1
0
我也尝试过:
sudo apt-get purge --remove bcmwl-kernel-source
sudo apt-get install linux-firmware-nonfree
sudo modprobe b43
如(Asus F5RL - wifi 无法连接),但没有任何效果。当我在网上搜索我的笔记本电脑特性时,我发现我的无线是Integrated 802.11b/g
。
sudo iwlist scanning
返回:
wlan0 Interface doesn't support scanning : Network is down
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
但有一个例外——当我关机后第一次启动笔记本电脑时,它返回:
wlan0 No scan results
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
sudo lshw -C network
返回:
*-network DISABLED
description: Wireless interface
product: AR242x / AR542x Wireless Network Adapter (PCI-Express)
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: 00:15:af:6f:2f:ad
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath5k driverversion=3.8.0-35-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bg
resources: irq:16 memory:fa9f0000-fa9fffff
*-network
description: Ethernet interface
product: Attansic L2 Fast Ethernet
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:06:00.0
logical name: eth0
version: a0
serial: 00:1e:8c:73:14:d3
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vpd bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=atl2 driverversion=2.2.3 duplex=full firmware=L2 ip=192.168.55.98 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:40 memory:feac0000-feafffff memory:feaa0000-feabffff
除了我刚启动笔记本电脑时,它返回:
*-network
description: Wireless interface
product: AR242x / AR542x Wireless Network Adapter (PCI-Express)
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: 00:15:af:6f:2f:ad
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath5k driverversion=3.8.0-35-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bg
resources: irq:16 memory:fa9f0000-fa9fffff
*-network
description: Ethernet interface
product: Attansic L2 Fast Ethernet
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:06:00.0
logical name: eth0
version: a0
serial: 00:1e:8c:73:14:d3
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vpd bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=atl2 driverversion=2.2.3 duplex=full firmware=L2 ip=192.168.55.98 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:40 memory:feac0000-feafffff memory:feaa0000-feabffff
lsusb
返回:
Bus 001 Device 003: ID 0bda:0116 Realtek Semiconductor Corp. Mass Storage Device
Bus 001 Device 004: ID 174f:6a31 Syntek Web Cam - Asus A8J, F3S, F5R, VX2S, V1S
Bus 002 Device 002: ID 046d:c05b Logitech, Inc. M-U0004 810-001317 [B110 Optical USB Mouse]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
uname -a
返回:
Linux qxp-F5RL 3.8.0-35-generic #50~precise1-Ubuntu SMP Wed Dec 4 17:28:45 UTC 2013 i686 i686 i386 GNU/Linux
dmesg | grep found
返回:
[ 0.000000] found SMP MP-table at [mem 0x000ff780-0x000ff78f] mapped at [c00ff780]
[ 0.120335] ACPI: No dock devices found.
[ 0.148019] pnp: PnP ACPI: found 10 devices
[ 1.180113] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.180297] hub 1-0:1.0: USB hub found
[ 1.240054] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.240210] hub 2-0:1.0: USB hub found
[ 1.300053] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.300198] hub 3-0:1.0: USB hub found
[ 1.360050] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.360195] hub 4-0:1.0: USB hub found
[ 1.420053] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.420204] hub 5-0:1.0: USB hub found
[ 1.480054] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.480202] hub 6-0:1.0: USB hub found
[ 1.515808] isapnp: No Plug & Play device found
[ 1.518825] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 1.700752] usb 1-4: New USB device found, idVendor=0bda, idProduct=0116
[ 2.205672] usb 1-7: New USB device found, idVendor=174f, idProduct=6a31
[ 2.639094] usb 2-1: New USB device found, idVendor=046d, idProduct=c05b
[ 10.278986] lp: driver loaded but no devices found
[ 13.667622] ath5k: phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
dmesg | grep -i firmware
不返回任何内容。
iwconfig
返回:
wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
lo no wireless extensions.
eth0 no wireless extensions.
sudo lspci -nn
有:
02:00.0 Ethernet controller [0200]: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) [168c:001c] (rev 01)
/var/log/udev
有:
UDEV [13.860291] add /devices/pci0000:00/0000:00:04.0/0000:02:00.0/net/wlan0 (net)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:04.0/0000:02:00.0/net/wlan0
DEVTYPE=wlan
ID_BUS=pci
ID_MM_CANDIDATE=1
ID_MODEL_FROM_DATABASE=AR242x / AR542x Wireless Network Adapter (PCI-Express)
ID_MODEL_ID=/sys/devices/pci0000:00/0000:00:04.0/0000:02:00.0
ID_VENDOR_FROM_DATABASE=Qualcomm Atheros
ID_VENDOR_ID=0x168c
IFINDEX=3
INTERFACE=wlan0
SEQNUM=1871
SUBSYSTEM=net
UDEV_LOG=3
USEC_INITIALIZED=13860052
这可能与 的结果有关sudo rfkill list all
,结果会根据我拔掉以太网电缆还是按Fn+而变化F2。我在对 Olli 的回答的评论中详细解释了如何做到这一点。
答案1
我的计算机也遇到了相同/类似的问题,在启用 wlan 后/sys
(将wlan
文件内容设置为1
),解决方案似乎非常简单:
ifconfig wlan0 up
iwlist wlan0 scanning
如果设备被标记为关闭,则显然iwlist
返回Interface doesn't support scanning : Network is down
,即使设备支持扫描。
答案2
如果你的无线连接被硬阻止,请尝试在 BIOS 中启用它
在第一个启动屏幕上进入 BIOS点击(F2或F10或F12- 取决于您的 BIOS 配置)
在 BIOS 中搜索无线并启用它如果已禁用(最有可能在配置 -> 无线 -> 启用下)
启用时确认并正常启动(大概F10)
希望能帮助到你。
由于您运行的是 atheros 而不是 broadcom 驱动程序,因此下面的命令在您的情况下不会起到太大的作用,因此在您的情况下实际上并不能解决任何问题。
sudo apt-get purge --remove bcmwl-kernel-source
sudo apt-get install linux-firmware-nonfree
sudo modprobe b43
更新 某些 Atheros 驱动程序存在硬件加密或解密问题。请以 root 用户身份尝试以下命令
echo "options ath5k nohwcrypt=1" > /etc/modprobe.d/ath5k.conf
重新启动,看看是否最终有效。