You are not logged in.

#1 2012-07-23 08:43:39

vcottineau
Member
Registered: 2011-05-05
Posts: 15

[SOLVED] Random Wifi Disconnecting

Hi,

I bought a new computer and I am having troubles with my wifi card.
The interface connects, then disconnects, then connects, then disconnects, over and over.

In dmesg i am getting the following logs:

wlan: deauthenticating from MAC by local choice (reason=3)

I found a lot of topic about this problem:
    wicd   : Random Disconnecting
    netcfg : Intermittent Connection Failure

It's a realtek driver (rtl8723) rather new. It seems that it linked with the powersavings of the wifi card.
However i didn't find where to turn off the powersaving feature in my bios and the command given in the wicd wiki doesn't work for me.

For the netcfg script i don't know how to use it. It is saying that I have to use the pre and post commands. I would appreciate if someone can give me more details.

Thanks in advance

Last edited by vcottineau (2012-07-23 20:49:36)

Offline

#2 2012-07-23 11:40:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Random Wifi Disconnecting

I know virtually nothing about these options, but you may want to check the iwconfig man page for the power option, particularly the power timeout setting or power off option.  The power, in this case is not for powering on and off the card, but for controlling powersaving systems (eg `iwconfig wlan0 power off` turns off power management ... so the card stays on).

Again, all I know of these otpions is from the man page - I've never used them, and I don't know if they'd normally be advised to be used for this issue.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-07-23 12:03:02

vcottineau
Member
Registered: 2011-05-05
Posts: 15

Re: [SOLVED] Random Wifi Disconnecting

Thanks for you interest.

I am not home right now but I already tried 'iwconfig wlan0 power off' and this feature is not supported by my card.
It is also possible that I am missing some packages to run this command.

I will try the power timeout setting after work and see if it's improving my internet connection.

Offline

#4 2012-07-23 12:09:28

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] Random Wifi Disconnecting

Try with iw:

iw wlan0 get power_save
iw wlan0 set power_save off

Note: iw is a package, so install it first.

Offline

#5 2012-07-23 20:49:13

vcottineau
Member
Registered: 2011-05-05
Posts: 15

Re: [SOLVED] Random Wifi Disconnecting

Here is the output of the two linux commands:

vincent@archlinux_vincent ~]$ sudo iwconfig wlan0 power off
Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device wlan0 ; Operation not supported.
[vincent@archlinux_vincent ~]$ sudo iw wlan0 get power_save
Power save: off

It seems that my internet connection is more stable now using 'iw'.

Thanks a lot to both of you!

Offline

Board footer

Powered by FluxBB