Meanwhile, I've observed that the intermittent connection still persists, even if I deactivate the rtl 8192ce adapter and use an external usb wifi adapter. Turns out, I am surrounded by more wifi routers than there are 2.4Ghz channels. It became obvious that my signal had no way of getting a stable connection through that noise.
The solution is either upgrade to 5Ghz (which my wifi card wouldn't support, so I went wioth the other option and bought myself an ethernet over powerline adapter kit)
]]>$ cat /etc/modprobe.d/rtl8192ce.conf
# Disable powersaving
options rtl8192ce ips=0
# WARNING! Do not enable this shit.
# It causes bugs.
options rtl8192ce fwlps=0
# Use software control instead
options rtl8192ce swlps=1
wlan0: deauthenticating from MAC by local choice (reason=3)
The ips and fwlps options don't do a thing and I cannot disable power management as per the wiki instructions because I get the following:
Error for wireless request "Set Power Management" (8B2C) :
SET failed on device wlan0 ; Operation not supported.
My BIOS (Clevo W170ER laptop) has no options to turn off power management. Is there anything else I can do or am I forever destined to not have working wifi on my laptop?
]]>My output of systool -v -m rtl8192ce:
Module = "rtl8192ce"
Attributes:
coresize = "50166"
initsize = "0"
initstate = "live"
refcnt = "0"
taint = ""
uevent = <store method only>
Parameters:
debug = "5"
fwlps = "N"
ips = "N"
swenc = "N"
swlps = "N"
uname -rv
Linux 3.6.2-1-ARCH #1 SMP PREEMPT Fri Oct 12 23:58:58 CEST 2012
The connection still drops every 1-10 minutes, sometimes (rarely) stays stable for hours. Other devices (Android mobile phone) maintain a constant connection to the router (playing an mp3 live stream, for example) while the laptop repeatedly drops the connection.
This s reproducible with several routers on several locations (home, university)
I've set the debugging level to 5, but where does the module write its debugging output to?
I've set up a connection using wpa_supplicant with -dd parameter, but the debugging output there doesn't print anything indicating a problem or disconnection - the connection just drops silently.
ASPM is also disabled:
lspci -vvv | grep -i aspm
LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
LnkCap: Port #1, Speed 5GT/s, Width x1, ASPM L0s L1, Latency L0 <1us, L1 <16us
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
LnkCap: Port #2, Speed 5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <16us
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
LnkCap: Port #3, Speed 5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <16us
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
LnkCap: Port #5, Speed 5GT/s, Width x1, ASPM L0s L1, Latency L0 <1us, L1 <16us
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
LnkCap: Port #0, Speed 5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
Any ideas on how I can debug this further?
Thanks in advance!
]]>Lord_Lizard, thank you for your input! Your suggestion worked perfectly!
No problem!
]]>Eg output of ping :
[~] ping router
PING router (192.168.0.20) 56(84) bytes of data.
64 bytes from router (192.168.0.20): icmp_seq=1 ttl=64 time=433 ms
64 bytes from router (192.168.0.20): icmp_seq=2 ttl=64 time=174 ms
64 bytes from router (192.168.0.20): icmp_seq=3 ttl=64 time=271 ms
64 bytes from router (192.168.0.20): icmp_seq=4 ttl=64 time=93.0 ms
64 bytes from router (192.168.0.20): icmp_seq=5 ttl=64 time=1.47 ms
64 bytes from router (192.168.0.20): icmp_seq=6 ttl=64 time=0.980 ms
64 bytes from router (192.168.0.20): icmp_seq=7 ttl=64 time=0.902 ms
64 bytes from router (192.168.0.20): icmp_seq=8 ttl=64 time=1.09 ms
64 bytes from router (192.168.0.20): icmp_seq=9 ttl=64 time=1.03 ms
64 bytes from router (192.168.0.20): icmp_seq=10 ttl=64 time=3.55 ms
64 bytes from router (192.168.0.20): icmp_seq=11 ttl=64 time=1.01 ms
64 bytes from router (192.168.0.20): icmp_seq=12 ttl=64 time=1.39 ms
64 bytes from router (192.168.0.20): icmp_seq=13 ttl=64 time=1.13 ms
64 bytes from router (192.168.0.20): icmp_seq=14 ttl=64 time=0.954 ms
64 bytes from router (192.168.0.20): icmp_seq=15 ttl=64 time=1.01 ms
64 bytes from router (192.168.0.20): icmp_seq=16 ttl=64 time=1.31 ms
64 bytes from router (192.168.0.20): icmp_seq=17 ttl=64 time=1.07 ms
64 bytes from router (192.168.0.20): icmp_seq=18 ttl=64 time=1.69 ms
64 bytes from router (192.168.0.20): icmp_seq=19 ttl=64 time=2.06 ms
64 bytes from router (192.168.0.20): icmp_seq=34 ttl=64 time=86.4 ms
64 bytes from router (192.168.0.20): icmp_seq=35 ttl=64 time=0.994 ms
^C
--- router ping statistics ---
35 packets transmitted, 21 received, 40% packet loss, time 34023ms
rtt min/avg/max/mdev = 0.902/51.499/433.728/109.765 ms
the parameters of the module,
Parameters:
fwlps = "N"
ips = "N"
swenc = "Y"
swlps = "N"
I do not know what to do. Now I always use the network cable, fast and no-stress.
]]>Well, I have kernel 3.4.3 and am now encountering this problem for the first time. I've disabled PCI-express power saving in the BIOS (as suggested in Arch wiki for wicd) but the problem persists.
I will try adding these module options, though I would be confused if these module options would have an effect considering power saving is shut off in the BIOS.
]]>