最近我更新了我的 12.10 ubuntu,因为我遇到了这个奇怪的 wifi 互联网问题。Net 在初始启动时运行良好,在来自浏览器或命令行或任何工具的几个 Web 请求后,互联网停止工作。我必须断开并连接 wifi 才能让它再次工作。
它每隔几分钟发生一次。它令人沮丧。升级前运行正常。我确定这不是机器问题,因为我的双启动 win 8 工作正常。
我试过了iwconfig,这是输出
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"jumbotron"
Mode:Managed Frequency:2.437 GHz Access Point: 08:86:3B:8C:C0:74
Bit Rate=150 Mb/s Tx-Power=16 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=50/70 Signal level=-60 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:2 Missed beacon:0
Run Code Online (Sandbox Code Playgroud)
有人知道这是怎么回事吗?
更新:
我在 wlan 中连接了我的 android 手机并启用了与 ubuntu 机器的 USB 网络共享。它工作得很好。
所以问题肯定出在无线配置或驱动程序上
这些是我得到的一些配置
lshw -C network
*-network
description: Wireless interface
product: AR9485 Wireless Network Adapter
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: 00:08:ca:e6:6b:59
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list rom ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=3.2.0-23-generic-pae firmware=N/A ip=192.168.2.11 latency=0 multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 memory:dea00000-dea7ffff memory:dea80000-dea8ffff
Run Code Online (Sandbox Code Playgroud)
ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1727 errors:0 dropped:0 overruns:0 frame:0
TX packets:1727 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:137632 (137.6 KB) TX bytes:137632 (137.6 KB)
wlan0 Link encap:Ethernet HWaddr 00:08:ca:e6:6b:59
inet addr:192.168.2.11 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::208:caff:fee6:6b59/64 Scope:Link
UP BROADCAST MULTICAST MTU:1400 Metric:1
RX packets:12133 errors:0 dropped:0 overruns:0 frame:0
TX packets:11872 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9352562 (9.3 MB) TX bytes:1851594 (1.8 MB)
Run Code Online (Sandbox Code Playgroud)
nm-tool
NetworkManager Tool
State: connected (global)
- Device: wlan0 [jumbotron] -------------------------------------------------
Type: 802.11 WiFi
Driver: ath9k
State: connected
Default: yes
HW Address: 00:08:CA:E6:6B:59
Capabilities:
Speed: 150 Mb/s
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Access Points (* = current AP)
*jumbotron: Infra, 08:86:3B:8C:C0:74, Freq 2437 MHz, Rate 54 Mb/s, Strength 57 WPA WPA2
IPv4 Settings:
Address: 192.168.2.11
Prefix: 24 (255.255.255.0)
Gateway: 192.168.2.1
DNS: 192.168.2.1
Run Code Online (Sandbox Code Playgroud)
小智 3
大约一年前,我在 Ubuntu“Natty Narwhal”上使用同一个 Atheros AR9485 时遇到了问题。当时,Ubuntu 甚至没有意识到该硬件已集成到计算机中。我购买了一个便宜的 USB 无线网络适配器,它在 Ubuntu 上运行得非常好;它具有 USB 闪存盘的形式,我通过延长线连接它(我读到出于健康目的最好将其放置在距离身体 15 厘米远的地方)。
该适配器的名称是“Realtek RTL8187B WLAN 适配器”。--只需将其连接到 USB 端口,它在 Ubuntu 中就可以很好地工作。如果您购买适配器,我建议您将笔记本电脑带到商店,并要求在购买之前在那里试用适配器。
今天我已经升级到 Ubuntu Precise Pangolin LTS,现在 atheros 可以工作了...,但是也有你提到的同样的问题。所以我更愿意回到我的 Realtek 适配器。我通过断开 Atheros 网络并允许 Realtek 来做到这一点:
1----将适配器连接到USB端口
2----左键单击网络图标(位于屏幕右上角)
3----点击“断开”atheros
4----单击“连接”Realtek 适配器(或您拥有的任何无线适配器)
还有一个方法,不过我没试过:
1----获取 Atheros 网卡的 Windows 驱动程序。
(您可以在您电脑的官网下载)
2----找到以“.inf”结尾的特定文件
3----安装“ndisgtk”——使用你的linux存储库——。
4----打开ndisgtk
5----选择“安装新驱动程序”
6----选择Windows“.inf”文件的位置并单击“安装”
7----点击确定
有关此方法的更多信息,请谷歌:“ndisgtk”
小智 0
您应该尝试更新网络管理器:
sudo apt-add-repository ppa:network-manager
sudo apt-get update && sudo apt-get upgrade
Run Code Online (Sandbox Code Playgroud)