有时在ubuntu 12.04中无法连接到开放的无线网络

塔伦

我正在使用D-link DSl-2750U无线路由器与朋友共享Internet连接,而我的网络汽车是Atheros AR9285。最近,我有时无法连接到网络。
可能是什么问题呢?
iwconfig提供了以下输出:

   iwconfig
mon0      IEEE 802.11bgn  Mode:Monitor  Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"DLink"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

ifconfig提供了以下输出:

ifconfig
eth0      Link encap:Ethernet  HWaddr 78:84:3c:e7:0f:5a  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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:2458 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2458 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:172791 (172.7 KB)  TX bytes:172791 (172.7 KB)

mon0      Link encap:UNSPEC  HWaddr CC-AF-78-B3-E5-0F-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST NOTRAILERS RUNNING PROMISC ALLMULTI  MTU:1500  Metric:1
          RX packets:38404 errors:0 dropped:442 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2671272 (2.6 MB)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr cc:af:78:b3:e5:0f  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:89 errors:0 dropped:0 overruns:0 frame:0
          TX packets:185 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:22749 (22.7 KB)  TX bytes:32983 (32.9 KB)

nm-tool提供了以下输出: n

m-tool

NetworkManager Tool

State: connecting

- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             unavailable
  Default:           no
  HW Address:        78:84:3C:E7:0F:5A

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off


- Device: wlan0  [DLink] -------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            ath9k
  State:             connecting (configuring)
  Default:           no
  HW Address:        CC:AF:78:B3:E5:0F

  Capabilities:

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points 
    Chandu:          Infra, AC:F1:DF:E8:31:09, Freq 2412 MHz, Rate 54 Mb/s, Strength 32 WPA WPA2
    DLink:           Infra, FC:75:16:D4:60:32, Freq 2412 MHz, Rate 54 Mb/s, Strength 15
野人

如果没有更多信息,我也不会使用监控器模式,这些是我认为可能会有所帮助的事情。请运行:

echo "options ath9k nohwcrypt=1" | sudo tee  /etc/modprobe.d/ath9k.conf

sudo modprobe -rfv ath9k

sudo modprobe -v ath9k

如果您坚持使用监视器模式,请尝试:

echo -e '#!/bin/bash\n/sbin/iwconfig mon0 power off' | sudo tee -a /etc/pm/power.d/wireless

这将关闭mon0的电源管理。

如果可以的话,最好将路由器设置为仅wpa2加密。

在您列出的也可以连接的两个网络上,信号强度都很低,但是我提供给您运行的第一组命令通常可以在某种程度上有所帮助。您可能需要更靠近路由器才能连接,尤其是在有墙壁或其他东西阻挡信号的情况下。

根据我的经验,您的设备是带有Linux驱动程序的ar9285,它具有该系列所有设备中最差的信号强度,因此无论您做什么都将无法与路由器距离太远。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

无法从Ubuntu连接到无线网络,但可以从Windows连接到无线网络

Compaq 6510b无法在Ubuntu 14.04.1上连接到无线网络

无法连接到 Ubuntu 服务器上的无线网络

如何同时连接到有线网络和无线网络。有线网络默认

如何在Ubuntu Touch上使用隐藏的SSID连接到无线网络?

通过NetSH连接到没有现有配置文件的无线网络

连接到公共无线网络时共享什么

无线网络已连接,但无法访问互联网,Ubuntu

Ubuntu 14.04无线网络无法正常工作

无线网络无法运行Ubuntu 16.04

将无线网络桥接到有线和第二无线网络

在Windows 8.1中连接到具有2个网络适配器的无线网络时,如何创建WiFi热点?

在Ubuntu 15.10中未发现无线网络

从有线网络切换到无线网络时保持sshfs连接

在使用过的Ubuntu中未显示单个无线网络,其他设备也没有发现或连接到它的问题

通过以太网连接到Internet时,如何自动从无线网络断开连接?

无法使用ubuntu 12.04 lts 64 bit在我的Sony F15218笔记本电脑上连接到无线网络

无线网络经常掉线,但它说它已连接到右上角。[Ubuntu 12.04.2 LTS]

Ubuntu 14.04:我的计算机可以看到无线网络,但无法连接,不断询问WPA密码

是否可以通过基于客户端的网桥将有线网络连接到两个单独的无线网络?

有线连接处于活动状态时无线网络关闭-正在工作

无线网络连接没有互联网

从Ubuntu 14.04定期更新无线网络后无法正常工作

无法在 Ubuntu 上安装无线网络 USB 适配器

Ubuntu 14甚至无法检测到我的家庭无线网络

修改/ etc / network / interfaces后无法访问无线网络-Ubuntu 15.10

无线网络未显示Ubuntu 14.04

禁用热点时,Windows创建无线网络

无线网络断开时通知