ubuntu14.04 不能wifi!

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
头像
anway
帖子: 403
注册时间: 2007-07-22 12:13

ubuntu14.04 不能wifi!

#1

帖子 anway » 2014-06-18 15:48

前几天安装了ubuntu14.04,刚开始进入系统一切OK。可后来重启后发现一直用的wifi没了,网络配置里无线网络也没了,类似于windows下驱动没安装。
以为是本本的无线开关无意中关了,又以为是不是无线硬件模块坏了。可用live CD启动后却发现wifi正常。
现在怎么办?
看了这版很多主题都是反映14.04无线连不上的问题,看来这版还真的有硬伤啊!之前我用13.10可是妥妥的啊!
我的无线网卡是atheros。
头像
anway
帖子: 403
注册时间: 2007-07-22 12:13

Re: ubuntu14.04 不能wifi!

#2

帖子 anway » 2014-06-18 16:26

刚才用lshw查看了一下,最后一段显示:
network DISABLE
description:Wireless interface
physical id:1
bus info:usb@1:3
logical name:wlan1(后面略)
从上面信息看,似乎是系统把无线给禁用了。、
可我根本没进行任何设置,怎么会禁用了呢?
请问高人:怎么解除这禁用?
谢谢!
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu14.04 不能wifi!

#3

帖子 poloshiao » 2014-06-18 19:53

似乎是系统把无线给禁用了。、
不是禁用 而是 沒有啟用
把下面指令 複製 貼進終端機 執行
1. sudo lshw -numeric -class network
2. sudo ifconfig -a
把結果直接複製 貼上來
头像
anway
帖子: 403
注册时间: 2007-07-22 12:13

Re: ubuntu14.04 不能wifi!

#4

帖子 anway » 2014-06-19 12:39

anway@anway-F8Tr ~ $ sudo lshw -numeric -class network
[sudo] password for anway:
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
vendor: Realtek Semiconductor Co., Ltd. [10EC]
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 02
serial: 00:24:8c:3a:29:f5
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:44 ioport:d800(size=256) memory:faeff000-faefffff memory:f7ff0000-f7ffffff memory:faec0000-faedffff
*-network UNCLAIMED
description: Ethernet controller
product: AR242x / AR542x Wireless Network Adapter (PCI-Express) [168C:1C]
vendor: Qualcomm Atheros [168C]
physical id: 0
bus info: pci@0000:04:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list
configuration: latency=0
resources: memory:faff0000-faffffff
anway@anway-F8Tr ~ $ sudo ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:24:8c:3a:29:f5
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:65536 Metric:1
RX packets:138 errors:0 dropped:0 overruns:0 frame:0
TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9773 (9.7 KB) TX bytes:9773 (9.7 KB)
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu14.04 不能wifi!

#5

帖子 poloshiao » 2014-06-19 14:25

product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10EC:8168]
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
這個有線網卡驅動 r8169 不適合在 RTL8111/8168/8411 網卡
如果你有線暫時不用 建議 先從 Bios 把它關閉
將來要用時 再貼文
product: AR242x / AR542x Wireless Network Adapter (PCI-Express) [168C:1C]
configuration: latency=0
1. 目前 無線網卡 沒有驅動
2. 試試驅動 ath5k
http://wireless.kernel.org/en/users/Drivers/ath5k
Supported Chips
AR5423/4 - 802.11abg (Condor)***
AR2423/4 - 802.11bg (Condor)***
AR2425 - 802.11bg (Swan)***
头像
anway
帖子: 403
注册时间: 2007-07-22 12:13

Re: ubuntu14.04 不能wifi!

#6

帖子 anway » 2014-06-19 14:47

晕,怎么没驱动?刚安装时怎么又能上网呢?
不过先谢过了,待我下载了驱动试试再说。
头像
anway
帖子: 403
注册时间: 2007-07-22 12:13

Re: ubuntu14.04 不能wifi!

#7

帖子 anway » 2014-06-20 8:00

不好意思,下载的文件不会编译安装!
里面连个readme都没找着。
还请高人指点! :em03
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: ubuntu14.04 不能wifi!

#8

帖子 poloshiao » 2014-06-20 9:02

下载的文件不会编译安装!
1. 下載
http://drvbp1.linux-foundation.org/~mcg ... backports/
backports-3.15.1-1
2. 解壓後 路徑
/backports-3.15.1-1/drivers/net/wireless/ath/ath5k/
3. 統一使用方法
https://backports.wiki.kernel.org/index ... sage_guide
4. 由於沒有相同的硬件條件 沒有事先實作過
請你小心過濾一下
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: ubuntu14.04 不能wifi!

#9

帖子 YeLee » 2014-06-20 9:56

请阁下先确认一下自己是否有编译网卡驱动的必要吧,像ath5k这种常见的卡,自然是肯定有驱动的。
先运行一下下面的命令,你就知道其实驱动早就有了,不过是由于某些原因被blocked而已。 :em01

代码: 全选

grep -q ath5k /lib/modules/$(uname -r)/modules.* && echo yes || echo no
然后自己手动modprobe一下,看一下有没有问题吧,不然,就跟你们家Ubuntu报bug去。
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
头像
anway
帖子: 403
注册时间: 2007-07-22 12:13

Re: ubuntu14.04 不能wifi!

#10

帖子 anway » 2014-06-20 20:54

YeLee 写了:请阁下先确认一下自己是否有编译网卡驱动的必要吧,像ath5k这种常见的卡,自然是肯定有驱动的。
先运行一下下面的命令,你就知道其实驱动早就有了,不过是由于某些原因被blocked而已。 :em01

代码: 全选

grep -q ath5k /lib/modules/$(uname -r)/modules.* && echo yes || echo no

运行代码后系统返回:yes
看来系统内确实已经含驱动。
但我运行“sudo modprobe ath_pci”却"ath_pci not fount"!
:em20
头像
anway
帖子: 403
注册时间: 2007-07-22 12:13

Re: ubuntu14.04 不能wifi!

#11

帖子 anway » 2014-06-24 9:42

反馈一下解决方法:重装系统后OK。
对比之前出状况前的操作,可能与删除某些程序有关。不愿折腾,没有进一步验证!
回复