ubuntu wifi问题

88 views
Skip to first unread message

杨亚梦

unread,
Nov 10, 2014, 8:47:57 AM11/10/14
to sh...@googlegroups.com
ubuntu14.04 ,wifi连接之后,不几分钟就断了。
断的时候,连接状态还是 连接。就是不能上网了。

这是什么情况啊

benluo

unread,
Nov 10, 2014, 8:58:06 AM11/10/14
to shlug
ping 外面什么情况,ping 自己家的Wifi路由器什么情况,用网页上自己家的wifi路由器什么情况。一点点检查嘛

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout

杨亚梦

unread,
Nov 10, 2014, 9:08:24 AM11/10/14
to shlug
现在是同一台电脑的win8系统里面,wifi一直正常工作。。

杨亚梦

unread,
Nov 10, 2014, 10:05:20 AM11/10/14
to shlug
重启之后好像正常了。。

wifi信号不稳定持续。在windows里的时候wifi信号一直都是满格啊。ubuntu wifi信号咋回事,是不是驱动的问题啊?

On Mon Nov 10 2014 at 下午10:08:19 杨亚梦 <mz....@gmail.com> wrote:
现在是同一台电脑的win8系统里面,wifi一直正常工作。。

On Mon Nov 10 2014 at 下午9:58:05 benluo <ben...@gmail.com> wrote:
ping 外面什么情况,ping 自己家的Wifi路由器什么情况,用网页上自己家的wifi路由器什么情况。一点点检查嘛

On 2014年11月10日, at 下午9:47, 杨亚梦 <mz....@gmail.com> wrote:

ubuntu14.04 ,wifi连接之后,不几分钟就断了。
断的时候,连接状态还是 连接。就是不能上网了。

这是什么情况啊

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN

---
您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+unsubscribe@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN

---
您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+unsubscribe@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout

依云

unread,
Nov 10, 2014, 10:22:40 AM11/10/14
to sh...@googlegroups.com
On Mon, Nov 10, 2014 at 03:05:16PM +0000, 杨亚梦 wrote:
> 重启之后好像正常了。。
>
> wifi信号不稳定持续。在windows里的时候wifi信号一直都是满格啊。ubuntu wifi信号咋回事,是不是驱动的问题啊?

你什么都不说谁知道咋回事啊?信号有问题?贴 iwconfig、wavemon 看看?

上网不稳定?持续 ping 你路由路看看?

--
Best regards,
lilydjwg

Linux Vim Python 我的博客:
http://lilydjwg.is-programmer.com/
--
A: Because it obfuscates the reading.
Q: Why is top posting so bad?

Yinhe Zhang

unread,
Nov 10, 2014, 10:23:18 AM11/10/14
to sh...@googlegroups.com

我感觉是电源管理(驱动?)的问题,是本子吗?我的Debian上网就有时抽风,以前为了降温用laptop工具自动管理电源时会出现这种问题。休眠后恢复也有时无法连wifi,重启网卡也无效只能重启。掉线时可以立即dmesg看看是否是驱动出错了啊

-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN

---
您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout

小K

unread,
Nov 10, 2014, 5:07:52 PM11/10/14
to sh...@googlegroups.com
可以贴出问题时候最后一两百行 dmesg的log发上来 我最近也遇到类似问题 频繁断掉 好像是wpa_supplicant相关

杨亚梦

unread,
Nov 10, 2014, 8:16:59 PM11/10/14
to sh...@googlegroups.com
抱歉阿,我不懂,不说是因为不知道可以说什么,不好意思。。

是本子,Thinkpad T420

晚上回去再试试,如果还有问题,就dmesg看看。
非常感谢大家!


On Tue Nov 11 2014 at 6:07:55 AM 小K <byr...@gmail.com> wrote:
可以贴出问题时候最后一两百行 dmesg的log发上来  我最近也遇到类似问题  频繁断掉  好像是wpa_supplicant相关


--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。

tlze

unread,
Nov 10, 2014, 9:07:07 PM11/10/14
to sh...@googlegroups.com
我一个USB网卡,N300UM也一样的情况,
测试1连接后收发数据,最多两分钟断流,ping之类的都不通,ifconfig查看只有发包,没收到有数据包。
测试2连接后不收发数据,过10分钟再收发,通一两分钟后断流(情况同上)
测试3断流后不作什么工作,等一段时间(大概有20分钟吧),再收发数据,有时能,有时不能(没规律)。
测试4(在1或2断流后)重新挺拔后,回复正常一两分钟,然后重复。
测试5这USB网卡在win系(xp到7)都正常工作。
至此判断应该是内核驱动问题,没有测试其它驱动。

2014-11-11 9:16 GMT+08:00 杨亚梦 <mz....@gmail.com>:
> 抱歉阿,我不懂,不说是因为不知道可以说什么,不好意思。。
>
> 是本子,Thinkpad T420
>
> 晚上回去再试试,如果还有问题,就dmesg看看。
> 非常感谢大家!
>
>
> On Tue Nov 11 2014 at 6:07:55 AM 小K <byr...@gmail.com> wrote:
>>
>> 可以贴出问题时候最后一两百行 dmesg的log发上来 我最近也遇到类似问题 频繁断掉 好像是wpa_supplicant相关
>>
>> --
>> -- You received this message because you are subscribed to the Google
>> Groups Shanghai Linux User Group group. To post to this group, send email to
>> sh...@googlegroups.com. To unsubscribe from this group, send email to
>> shlug+un...@googlegroups.com. For more options, visit this group at
>> https://groups.google.com/d/forum/shlug?hl=zh-CN
>> ---
>> 您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
>> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
>> 要查看更多选项,请访问 https://groups.google.com/d/optout
>
> --
> -- You received this message because you are subscribed to the Google Groups
> Shanghai Linux User Group group. To post to this group, send email to
> sh...@googlegroups.com. To unsubscribe from this group, send email to
> shlug+un...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
>
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
> 要查看更多选项,请访问https://groups.google.com/d/optout

杨亚梦

unread,
Nov 11, 2014, 9:27:04 AM11/11/14
to sh...@googlegroups.com
今晚刚回来开机之后,重现了这个现象,当时网络会一会断一会能用。贴一下信息:
1.iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"2601."  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 20:DC:E6:54:49:88   
          Bit Rate=150 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=24/70  Signal level=-86 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:40   Missed beacon:0

2.ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.100 icmp_seq=1 Destination Host Unreachable
From 192.168.1.100 icmp_seq=2 Destination Host Unreachable
From 192.168.1.100 icmp_seq=3 Destination Host Unreachable
From 192.168.1.100 icmp_seq=4 Destination Host Unreachable
From 192.168.1.100 icmp_seq=5 Destination Host Unreachable
From 192.168.1.100 icmp_seq=6 Destination Host Unreachable
From 192.168.1.100 icmp_seq=7 Destination Host Unreachable
From 192.168.1.100 icmp_seq=8 Destination Host Unreachable
From 192.168.1.100 icmp_seq=9 Destination Host Unreachable
From 192.168.1.100 icmp_seq=10 Destination Host Unreachable

wavemon这个命令当时没有装,没有数据。
-----------------------------------------------------------------------------------------------
后来也没有重启,自己就好了...

wifi信号,还是会一会满格,一会只有1格。持续ping路由,会出现120ms的峰值,最低的1.xms。不过3.x,4.x的蛮多的。
但有时候,1格信号的时候,也会ping出1.x ms

谢谢 - !

On Tue Nov 11 2014 at 上午10:07:06 tlze <why...@gmail.com> wrote:
我一个USB网卡,N300UM也一样的情况,
测试1连接后收发数据,最多两分钟断流,ping之类的都不通,ifconfig查看只有发包,没收到有数据包。
测试2连接后不收发数据,过10分钟再收发,通一两分钟后断流(情况同上)
测试3断流后不作什么工作,等一段时间(大概有20分钟吧),再收发数据,有时能,有时不能(没规律)。
测试4(在1或2断流后)重新挺拔后,回复正常一两分钟,然后重复。
测试5这USB网卡在win系(xp到7)都正常工作。
至此判断应该是内核驱动问题,没有测试其它驱动。

2014-11-11 9:16 GMT+08:00 杨亚梦 <mz....@gmail.com>:
> 抱歉阿,我不懂,不说是因为不知道可以说什么,不好意思。。
>
> 是本子,Thinkpad T420
>
> 晚上回去再试试,如果还有问题,就dmesg看看。
> 非常感谢大家!
>
>
> On Tue Nov 11 2014 at 6:07:55 AM 小K <byr...@gmail.com> wrote:
>>
>> 可以贴出问题时候最后一两百行 dmesg的log发上来  我最近也遇到类似问题  频繁断掉  好像是wpa_supplicant相关
>>
>> --
>> -- You received this message because you are subscribed to the Google
>> Groups Shanghai Linux User Group group. To post to this group, send email to
>> sh...@googlegroups.com. To unsubscribe from this group, send email to
>> shlug+unsubscribe@googlegroups.com. For more options, visit this group at

>> https://groups.google.com/d/forum/shlug?hl=zh-CN
>> ---
>> 您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
>> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+unsubscribe@googlegroups.com

>> 要查看更多选项,请访问 https://groups.google.com/d/optout
>
> --
> -- You received this message because you are subscribed to the Google Groups
> Shanghai Linux User Group group. To post to this group, send email to
> sh...@googlegroups.com. To unsubscribe from this group, send email to
> shlug+unsubscribe@googlegroups.com. For more options, visit this group at

> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
>
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+unsubscribe@googlegroups.com
> 要查看更多选项,请访问https://groups.google.com/d/optout

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN

---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。

依云

unread,
Nov 11, 2014, 10:55:38 AM11/11/14
to sh...@googlegroups.com
信号不稳定?iwconfig 输出里那个时候信号好差。wavemon 可以方便地看出最近
一段时间的信号强度波动而已。(另外就是看看哪些频道有信号)

路由器出现100多ms的峰值已经算好的了,我见过不少经常出现1s的情况。

找不到网关的话,是ARP出了问题。开wireshark抓包,看看网络不可达的时候能不
能看到其它设备的包(如果你有的话)。如果能看到别的地址的包,电脑和路由器
双向MAC地址绑定试试?如果不能看到别的地址的包,有可能是驱动有问题。
dmesg | tail 之类的看看。还有招:重启路由器。

当然如果你能在路由器上抓包就更好了=w=

--
Best regards,
lilydjwg

杨亚梦

unread,
Nov 12, 2014, 8:08:21 AM11/12/14
to sh...@googlegroups.com
lspci -vnn | grep Network
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)


Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)
这是我的无线网卡型号吗?

Wizard

unread,
Nov 17, 2014, 9:03:54 AM11/17/14
to shlug
你 find一下,看看wlan0是不是这个设备呗

$ find /sys/devices/ -name wlan0
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0
>> shlug+un...@googlegroups.com. For more options, visit this group at
>> https://groups.google.com/d/forum/shlug?hl=zh-CN
>> ---
>> 您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
>> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
>> 要查看更多选项,请访问 https://groups.google.com/d/optout
>
> --
> -- You received this message because you are subscribed to the Google Groups
> Shanghai Linux User Group group. To post to this group, send email to
> sh...@googlegroups.com. To unsubscribe from this group, send email to
> shlug+un...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
>
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
> 要查看更多选项,请访问https://groups.google.com/d/optout



--
Wizard

杨亚梦

unread,
Nov 19, 2014, 7:03:45 AM11/19/14
to sh...@googlegroups.com
我的结果:
$ find /sys/devices/ -name wlan0
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0

能说明什么吗?

>> shlug+unsubscribe@googlegroups.com. For more options, visit this group at

>> https://groups.google.com/d/forum/shlug?hl=zh-CN
>> ---
>> 您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
>> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+unsubscribe@googlegroups.com

>> 要查看更多选项,请访问 https://groups.google.com/d/optout
>
> --
> -- You received this message because you are subscribed to the Google Groups
> Shanghai Linux User Group group. To post to this group, send email to
> sh...@googlegroups.com. To unsubscribe from this group, send email to
> shlug+unsubscribe@googlegroups.com. For more options, visit this group at

> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
>
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+unsubscribe@googlegroups.com

> 要查看更多选项,请访问https://groups.google.com/d/optout



--
Wizard

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN

---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。

liyaoshi

unread,
Nov 19, 2014, 7:48:30 AM11/19/14
to sh...@googlegroups.com
貌似所有厂家多一个尿性,linux的驱动就没有完整支持的

# cat /etc/modprobe.d/rtl8192ce.conf
options rtl8192ce ips=0 fwlps=0 swenc=1

看看这个好使不

-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN

---
您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
要查看更多选项,请访问https://groups.google.com/d/optout

杨亚梦

unread,
Nov 20, 2014, 7:46:38 AM11/20/14
to sh...@googlegroups.com
你的意思是,在/etc/modprobe.d/目录下,创建rtl8192ce.conf这个文件,
然后把 options rtl8192ce ips=0 fwlps=0 swenc=1 这句写进去么?

liyaoshi

unread,
Nov 20, 2014, 11:38:18 PM11/20/14
to sh...@googlegroups.com
Yes

Wizard

unread,
Nov 21, 2014, 10:46:09 AM11/21/14
to shlug
0000:03:00.0/net/wlan0

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd.
RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)

这样你能看出点什么来么?

在 2014年11月19日 下午8:03,杨亚梦 <mz....@gmail.com> 写道:
>> >> shlug+un...@googlegroups.com. For more options, visit this group
>> >> at
>> >> https://groups.google.com/d/forum/shlug?hl=zh-CN
>> >> ---
>> >> 您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
>> >> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
>> >> 要查看更多选项,请访问 https://groups.google.com/d/optout
>> >
>> > --
>> > -- You received this message because you are subscribed to the Google
>> > Groups
>> > Shanghai Linux User Group group. To post to this group, send email to
>> > sh...@googlegroups.com. To unsubscribe from this group, send email to
>> > shlug+un...@googlegroups.com. For more options, visit this group
>> > at
>> > https://groups.google.com/d/forum/shlug?hl=zh-CN
>> > ---
>> > 您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
>> >
>> > 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
>> > 要查看更多选项,请访问https://groups.google.com/d/optout
>>
>>
>>
>> --
>> Wizard
>>
>> --
>> -- You received this message because you are subscribed to the Google
>> Groups Shanghai Linux User Group group. To post to this group, send email to
>> sh...@googlegroups.com. To unsubscribe from this group, send email to
>> shlug+un...@googlegroups.com. For more options, visit this group at
>> https://groups.google.com/d/forum/shlug?hl=zh-CN
>> ---
>> 您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
>> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
>> 要查看更多选项,请访问 https://groups.google.com/d/optout
>
> --
> -- You received this message because you are subscribed to the Google Groups
> Shanghai Linux User Group group. To post to this group, send email to
> sh...@googlegroups.com. To unsubscribe from this group, send email to
> shlug+un...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages