RealTek rtl8192se disconnects after a minute or so on LM17

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
asimsalam

RealTek rtl8192se disconnects after a minute or so on LM17

Post by asimsalam »

I have a thinkpad T410i with a RTL8191SEvB.
It connects fine to the wireless network but stops working in anywhere between less than a minute to a few minutes.
The router IP can not be pinged any more.

Whats the issue and how can it be fixed?
I would really appreciate the help.

Here is some data from my machine. Please let me know if any more data is needed, I will be happy to provide it.

asim@nangaparbat ~ $ lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
0d:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller (rev 01)
0d:00.1 System peripheral: Ricoh Co Ltd R5U2xx (R5U230 / R5U231 / R5U241) [Memory Stick Host Controller] (rev 01)
0d:00.3 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller (rev 01)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
asim@nangaparbat ~ $ modinfo rtl8192se
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se.ko
firmware: rtlwifi/rtl8192sefw.bin
description: Realtek 8192S/8191S 802.11n PCI wireless
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
srcversion: B9B9518158623D8BAB67493
alias: pci:v000010ECd00008174sv*sd*bc*sc*i*
alias: pci:v000010ECd00008173sv*sd*bc*sc*i*
alias: pci:v000010ECd00008172sv*sd*bc*sc*i*
alias: pci:v000010ECd00008171sv*sd*bc*sc*i*
alias: pci:v000010ECd00008192sv*sd*bc*sc*i*
depends: rtlwifi,rtl_pci,mac80211
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 00:A5:A6:57:59:DE:47:4B:C5:C4:31:20:88:0C:1B:94:A5:39:F4:31
sig_hashalgo: sha512
parm: swenc:Set to 1 for software crypto (default 0)
(bool)
parm: ips:Set to 0 to not use link power save (default 1)
(bool)
parm: swlps:Set to 1 to use SW control power save (default 0)
(bool)
parm: fwlps:Set to 1 to use FW control power save (default 1)
(bool)
parm: debug:Set debug level (0-5) (default 0) (int)
asim@nangaparbat ~ $ lsmod | grep -e 819 -e ndis
rtl8192se 63196 0
rtl_pci 26690 1 rtl8192se
rtlwifi 63475 2 rtl_pci,rtl8192se
mac80211 626489 3 rtl_pci,rtlwifi,rtl8192se
ahci 25819 3
asim@nangaparbat ~ $

asim@nangaparbat ~ $ ifconfig -a
eth0 Link encap:Ethernet HWaddr 5c:ff:35:04:2b:47
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:28400 errors:0 dropped:0 overruns:0 frame:0
TX packets:19649 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27290015 (27.2 MB) TX bytes:2550589 (2.5 MB)
Interrupt:20 Memory:f2600000-f2620000

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

wlan0 Link encap:Ethernet HWaddr 70:f1:a1:87:f0:05
inet addr:192.168.1.193 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::72f1:a1ff:fe87:f005/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16794 errors:0 dropped:0 overruns:0 frame:0
TX packets:5338 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5976082 (5.9 MB) TX bytes:861079 (861.0 KB)

asim@nangaparbat ~ $
asim@nangaparbat ~ $ iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:"karakoram-2"
Mode:Managed Frequency:2.417 GHz Access Point: 30:85:A9:6A:59:0C
Bit Rate=72.2 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=32/70 Signal level=-78 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:298 Missed beacon:0

asim@nangaparbat ~ $
asim@nangaparbat ~ $ mintWifi
-------------------------
* I. scanning WIFI PCI devices...
-- Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
==> PCI ID = 10ec:8172 (rev 10)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"karakoram-2"
Mode:Managed Frequency:2.417 GHz Access Point: 30:85:A9:6A:59:0C
Bit Rate=72.2 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=34/70 Signal level=-76 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:298 Missed beacon:0

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 5c:ff:35:04:2b:47
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:28400 errors:0 dropped:0 overruns:0 frame:0
TX packets:19649 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27290015 (27.2 MB) TX bytes:2550589 (2.5 MB)
Interrupt:20 Memory:f2600000-f2620000

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

wlan0 Link encap:Ethernet HWaddr 70:f1:a1:87:f0:05
inet addr:192.168.1.193 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::72f1:a1ff:fe87:f005/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16839 errors:0 dropped:0 overruns:0 frame:0
TX packets:5356 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5981319 (5.9 MB) TX bytes:862823 (862.8 KB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
;; connection timed out; no servers could be reached

asim@nangaparbat ~ $
asim@nangaparbat ~ $ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
^C
--- 192.168.1.1 ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9072ms

asim@nangaparbat ~ $
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
PatH57

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by PatH57 »

Hi,

Code: Select all

dmesg | grep -i wlan
asimsalam

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by asimsalam »

asim@nangaparbat ~ $ dmesg | grep -i wlan
[ 16.934724] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 16.935077] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 17.914238] wlan0: authenticate with 30:85:a9:6a:59:0c
[ 17.924260] wlan0: send auth to 30:85:a9:6a:59:0c (try 1/3)
[ 17.925918] wlan0: authenticated
[ 17.928917] wlan0: associate with 30:85:a9:6a:59:0c (try 1/3)
[ 18.032868] wlan0: associate with 30:85:a9:6a:59:0c (try 2/3)
[ 18.136807] wlan0: associate with 30:85:a9:6a:59:0c (try 3/3)
[ 18.240737] wlan0: association with 30:85:a9:6a:59:0c timed out
[ 19.205051] wlan0: authenticate with 30:85:a9:6a:59:0c
[ 19.225007] wlan0: direct probe to 30:85:a9:6a:59:0c (try 1/3)
[ 19.428360] wlan0: direct probe to 30:85:a9:6a:59:0c (try 2/3)
[ 19.632193] wlan0: send auth to 30:85:a9:6a:59:0c (try 3/3)
[ 19.633772] wlan0: authenticated
[ 19.636225] wlan0: associate with 30:85:a9:6a:59:0c (try 1/3)
[ 19.740140] wlan0: associate with 30:85:a9:6a:59:0c (try 2/3)
[ 19.844163] wlan0: associate with 30:85:a9:6a:59:0c (try 3/3)
[ 19.948070] wlan0: association with 30:85:a9:6a:59:0c timed out
[ 21.300232] wlan0: authenticate with 30:85:a9:6a:59:0c
[ 21.319676] wlan0: direct probe to 30:85:a9:6a:59:0c (try 1/3)
[ 21.523457] wlan0: direct probe to 30:85:a9:6a:59:0c (try 2/3)
[ 21.727376] wlan0: direct probe to 30:85:a9:6a:59:0c (try 3/3)
[ 21.931323] wlan0: authentication with 30:85:a9:6a:59:0c timed out
[ 23.787365] wlan0: authenticate with 30:85:a9:6a:59:0c
[ 23.806707] wlan0: direct probe to 30:85:a9:6a:59:0c (try 1/3)
[ 24.010338] wlan0: direct probe to 30:85:a9:6a:59:0c (try 2/3)
[ 24.214282] wlan0: direct probe to 30:85:a9:6a:59:0c (try 3/3)
[ 24.418162] wlan0: authentication with 30:85:a9:6a:59:0c timed out
[ 36.106073] wlan0: authenticate with 30:85:a9:6a:59:0c
[ 36.125428] wlan0: send auth to 30:85:a9:6a:59:0c (try 1/3)
[ 36.126923] wlan0: authenticated
[ 36.129272] wlan0: associate with 30:85:a9:6a:59:0c (try 1/3)
[ 36.133053] wlan0: RX AssocResp from 30:85:a9:6a:59:0c (capab=0xc11 status=0 aid=4)
[ 36.134761] wlan0: associated
[ 36.134773] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
asim@nangaparbat ~ $
PatH57

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by PatH57 »

bug in the driver.
What's your router?
asimsalam

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by asimsalam »

Is there a bug number?

The router I am currently trying to connect to is a ASUS RT-N56U

Thanks!
PatH57

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by PatH57 »

check this
https://github.com/FreedomBen/rtl8188ce-linux-driver

also it seems that kernel 3.15 has already the updated drivers (I'm using 3.15.9) and it also corrected some other minor problems with my fan control.
uname -a
Linux mint17-Studio-1535 3.15.9-031509-generic #201408072114 SMP Fri Aug 8 01:15:48 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
asimsalam

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by asimsalam »

Thanks! for the link to the alternate driver.

Did you build and install kernel 3.15.9 yourself?

LM17 update manager doesn't show its available.

asim@nangaparbat ~ $ cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17
DISTRIB_CODENAME=qiana
DISTRIB_DESCRIPTION="Linux Mint 17 Qiana"
asim@nangaparbat ~ $
asim@nangaparbat ~ $ uname -r
3.13.0-24-generic
asim@nangaparbat ~ $

I wonder if its fixed in 3.15.X, will it be backported to 3.13.X?
PatH57

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by PatH57 »

it says in the git that he is working on it, who knows how long it will take.

to upgrade to 3.15.9 just do this (you will have the option to boot the old kernel anyway)

64 bit

Code: Select all

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15.9-utopic/linux-headers-3.15.9-031509_3.15.9-031509.201408072114_all.deb

Code: Select all

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15.9-utopic/linux-headers-3.15.9-031509-generic_3.15.9-031509.201408072114_amd64.deb

Code: Select all

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15.9-utopic/linux-image-3.15.9-031509-generic_3.15.9-031509.201408072114_amd64.deb
then

Code: Select all

sudo dpkg -i linux-headers-3.15.9-*.deb linux-image-3.15.9-*.deb
reboot
asimsalam

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by asimsalam »

Thanks for the instructions!

Done, but still see the issue :-)

asim@nangaparbat ~ $ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
^C
--- 192.168.1.1 ping statistics ---
14 packets transmitted, 0 received, 100% packet loss, time 13104ms

asim@nangaparbat ~ $
asim@nangaparbat ~ $ uname -r
3.15.9-031509-generic
asim@nangaparbat ~ $
PatH57

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by PatH57 »

ok let's go deeper.
Could you please use this? open terminal and copy paste this:

Code: Select all

wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && \chmod +x wireless_script && \./wireless_script
It will download a script and create a file named wireless-info.txt or wireless-info.tar.gz in your home folder with wireless information so we can see the condition of your wireless at the time. The MAC address, WPA key and WEP key are removed for your security. Paste contents of the wireless-info.txt or wireless-info.tar.gz file at http://pastebin.ubuntu.com or alternatively http://pastebin.com/ then post the link here in your question.
PatH57

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by PatH57 »

still taking ages to get ipv6

Here's how to check to see if ipv6 is enabled on your computer

Code: Select all

test -f /proc/net/if_inet6 && echo "Running kernel is IPv6 ready"

If you see

Running kernel is IPv6 ready

it is enabled.

If you see no output, it is not.

To disable ipv6 , blacklist ipv6 all-together. To do this, use the following command:

Code: Select all

echo 'blacklist ipv6' | sudo tee -a '/etc/modprobe.d/blacklist.local' >/dev/null

Also, this might help as well:

Code: Select all

echo 'install ipv6 /bin/true' | sudo tee -a '/etc/modprobe.d/blacklist.local' >/dev/null


Reboot for the changes to take effect. To check if it's enabled after startup run this command again:

Code: Select all

test -f /proc/net/if_inet6 && echo "Running kernel is IPv6 ready"
There should be no output.
asimsalam

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by asimsalam »

I ran the two commands but it is still enabled:

asim@nangaparbat ~ $ uname -r
3.15.9-031509-generic
asim@nangaparbat ~ $ test -f /proc/net/if_inet6 && echo "Running kernel is IPv6 ready"
Running kernel is IPv6 ready
asim@nangaparbat ~ $
asim@nangaparbat ~ $ file !$
file /proc/net/if_inet6
/proc/net/if_inet6: empty
asim@nangaparbat ~ $
PatH57

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by PatH57 »

sorry forgot on newer kernel it's included.


If your PC doesn't load /etc/sysctl.conf at boot time (which is the case for me), disabling IPv6 from grub is needed. Linux kernel has a boot option named "ipv6.disable=1" which disables IPv6 from startup.

To edit the boot options, edit "/etc/default/grub" with any text editor as root user:

sudo nano /etc/default/grub

Find the line that contain "GRUB_CMDLINE_LINUX_DEFAULT":

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Add "ipv6.disable=1" to the boot option, then save your grub file:

GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash"

Finally, update grub:

sudo update-grub

reboot
asimsalam

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by asimsalam »

Its disabled now but the issue still exists:

asim@nangaparbat ~ $ test -f /proc/net/if_inet6 && echo "Running kernel is IPv6 ready"
asim@nangaparbat ~ $
asim@nangaparbat ~ $ grep GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash"
asim@nangaparbat ~ $
asim@nangaparbat ~ $ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
^C
--- 192.168.1.1 ping statistics ---
12 packets transmitted, 0 received, 100% packet loss, time 11088ms

asim@nangaparbat ~ $
PatH57

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by PatH57 »

let's have another look at

Code: Select all

dmesg | grep -i wlan
asimsalam

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by asimsalam »

asim@nangaparbat ~ $ dmesg | grep -i wlan
[ 22.968430] wlan0: authenticate with 30:85:a9:6a:59:0c
[ 22.978457] wlan0: send auth to 30:85:a9:6a:59:0c (try 1/3)
[ 22.979972] wlan0: authenticated
[ 22.981708] wlan0: associate with 30:85:a9:6a:59:0c (try 1/3)
[ 22.985559] wlan0: RX AssocResp from 30:85:a9:6a:59:0c (capab=0xc11 status=0 aid=4)
[ 22.987269] wlan0: associated
[21613.215376] wlan0: deauthenticating from 30:85:a9:6a:59:0c by local choice (Reason: 3=DEAUTH_LEAVING)
[21617.990866] wlan0: authenticate with 30:85:a9:6a:59:0c
[21618.008770] wlan0: send auth to 30:85:a9:6a:59:0c (try 1/3)
[21618.010473] wlan0: authenticated
[21618.012389] wlan0: associate with 30:85:a9:6a:59:0c (try 1/3)
[21618.016262] wlan0: RX AssocResp from 30:85:a9:6a:59:0c (capab=0xc11 status=0 aid=4)
[21618.017960] wlan0: associated
asim@nangaparbat ~ $
PatH57

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by PatH57 »

seems already a lot better then before.

Code: Select all

lsmod | grep rtl
asimsalam

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by asimsalam »

asim@nangaparbat ~ $ lsmod | grep rtl
rtl8192se 64772 0
rtl_pci 27257 1 rtl8192se
rtlwifi 69157 2 rtl_pci,rtl8192se
mac80211 663742 3 rtl_pci,rtlwifi,rtl8192se
cfg80211 514187 2 mac80211,rtlwifi
asim@nangaparbat ~ $
PatH57

Re: RealTek rtl8192se disconnects after a minute or so on LM

Post by PatH57 »

really don't see what else to try
maybe force the rate

Code: Select all

sudo iwconfig wlan0 rate auto
Locked

Return to “Networking”