Author Topic: [Solved] Wifi drops randomly but shows still connected to router  (Read 2765 times)

Offline Will Dojinn

  • Member
  • ***
  • Posts: 55
  • Karma: 1
  • Rocket Hamster!
    • View Profile
  • Peppermint version(s): Six and Seven
Did the same thing under peppermint 6, Ubuntu 14, 15, 16, linux mint 17.3, antix, even vector linux.

It'll connect fine, act like it never loses connection but after a few minutes to as long as an hour the connection drops.

This using a edimax ew-7811un wifi nub. Same nub works cherry on my laptop in the same room the desktop is. Signal strength shows as good and it shows as connected to router but will randomly drop.

Code: [Select]
@HomeDesktop ~ $ lsusb
Bus 001 Device 005: ID 0bda:0111 Realtek Semiconductor Corp. RTS5111 Card Reader Controller
Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 002 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I know of a tutorial online for driver updating, but even those drivers do the same thing.

What other information should I provide and how can I help you help me here because it even does this under windows 10 on desktop no matter which usb port it's plugged into, but works cherry on the laptop (which is using peppermint 6.)
« Last Edit: June 28, 2016, 05:59:44 pm by Will Dojinn »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Wifi drops randomly but shows still connected to router
« Reply #1 on: June 27, 2016, 04:43:20 am »
I'm a bit confused here, first you say it also does this on Peppermint 6, then at the bottom you say it also does it on Win10 but works "cherry" on Peppermint 6  :-\

Have you already tried the other driver you mentioned ?, and can you provide a link to the instructions you followed ?

and can you post the output from
Code: [Select]
dmesg | grep -i rtl
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2202
  • Karma: 459
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Wifi drops randomly but shows still connected to router
« Reply #2 on: June 27, 2016, 05:10:58 am »
I think his wifi adapter works on the laptop but not properly on the desktop PC.

Offline Will Dojinn

  • Member
  • ***
  • Posts: 55
  • Karma: 1
  • Rocket Hamster!
    • View Profile
  • Peppermint version(s): Six and Seven
Re: Wifi drops randomly but shows still connected to router
« Reply #3 on: June 27, 2016, 07:29:37 am »
Murraymint has the right of it. Wifi dongle works fine on laptop, but desktop it clips out then after a time reconnects (i'm talking like five, ten minutes it autoreconnects all while never showing disconnected from wifi.)

Laptop? Just hums away pretty as you please.

Code: [Select]
@HomeDesktop ~ $ dmesg | grep -i rtl
[   21.238557] rtl8192cu: Chip version 0x10
[   21.324187] rtl8192cu: MAC address: 74:da:38:7d:57:6c
[   21.324195] rtl8192cu: Board Type 0
[   21.324427] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[   21.324477] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[   21.404624] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[   21.404977] usbcore: registered new interface driver rtl8192cu
[   21.459558] usbcore: registered new interface driver rtl8xxxu
[   21.656315] rtl8192cu 1-6:1.0 wlx74da387d576c: renamed from wlan0
[   31.540147] rtl8192cu: MAC auto ON okay!
[   31.572779] rtl8192cu: Tx queue select: 0x05

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Wifi drops randomly but shows still connected to router
« Reply #4 on: June 27, 2016, 09:56:16 am »
Can we have the output from:
Code: [Select]
iwconfigand
Code: [Select]
ifconfigfrom both the laptop (where it works fine), and the desktop.

and from the desktop also the output from:
Code: [Select]
sudo iwlist scan
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Will Dojinn

  • Member
  • ***
  • Posts: 55
  • Karma: 1
  • Rocket Hamster!
    • View Profile
  • Peppermint version(s): Six and Seven
Re: Wifi drops randomly but shows still connected to router
« Reply #5 on: June 27, 2016, 03:46:26 pm »
From Laptop: Currently Running Peppermint 6 (desktop was running the same until last night.)

iwconfig
Code: [Select]
@Cr48 ~ $ iwconfig
wlan0     IEEE 802.11abgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
         
lo        no wireless extensions.

wlan1     IEEE 802.11bgn  ESSID:"BenLomand82a6"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.437 GHz  Access Point: F4:5F:F7:40:82:A7   
          Bit Rate:72.2 Mb/s   Sensitivity:0/0 
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=99/100  Signal level=67/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ifconfig
Code: [Select]
@Cr48 ~ $ ifconfig
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:5014 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5014 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:697364 (697.3 KB)  TX bytes:697364 (697.3 KB)

wlan0     Link encap:Ethernet  HWaddr 48:5d:60:76:a9:78 
          inet6 addr: fe80::4a5d:60ff:fe76:a978/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:195883 errors:0 dropped:0 overruns:0 frame:0
          TX packets:123013 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:170832428 (170.8 MB)  TX bytes:20781400 (20.7 MB)

wlan1     Link encap:Ethernet  HWaddr 74:da:38:7d:57:6c 
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::76da:38ff:fe7d:576c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:806 errors:0 dropped:1443 overruns:0 frame:0
          TX packets:808 errors:0 dropped:2 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:274855 (274.8 KB)  TX bytes:191887 (191.8 KB)

From Desktop: Running Peppermint 7, had the same peppermint 6 configuration as the laptop til last night. Had the same connection issues then too.

iwconfig
Code: [Select]
@HomeDesktop ~ $ iwconfig
lo        no wireless extensions.

wlx74da387d576c  IEEE 802.11bgn  ESSID:"BenLomand82a6" 
          Mode:Managed  Frequency:2.437 GHz  Access Point: F4:5F:F7:40:82:A7   
          Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=46/70  Signal level=-64 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:13   Missed beacon:0

ifconfig
Code: [Select]
@HomeDesktop ~ $ ifconfig
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:170 errors:0 dropped:0 overruns:0 frame:0
          TX packets:170 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:20396 (20.3 KB)  TX bytes:20396 (20.3 KB)

wlx74da387d576c Link encap:Ethernet  HWaddr 74:da:38:7d:57:6c 
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::e6a8:f09c:d1ab:3473/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:840 errors:0 dropped:0 overruns:0 frame:0
          TX packets:828 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:572508 (572.5 KB)  TX bytes:170911 (170.9 KB)

sudo iwlist scan
Code: [Select]
@HomeDesktop ~ $ sudo iwlist scan
lo        Interface doesn't support scanning.

wlx74da387d576c  Scan completed :
          Cell 01 - Address: F4:5F:F7:40:82:A7
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=46/70  Signal level=-64 dBm 
                    Encryption key:on
                    ESSID:"BenLomand82a6"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000029b91ae18a
                    Extra: Last beacon: 60ms ago
                    IE: Unknown: 000D42656E4C6F6D616E6438326136
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1ABC181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606000400000000000000000000000000000000000000
                    IE: Unknown: 7F080000000000000040
                    IE: Unknown: DD090010180204000C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
« Last Edit: June 27, 2016, 03:57:53 pm by Will Dojinn »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Wifi drops randomly but shows still connected to router
« Reply #6 on: June 27, 2016, 05:53:07 pm »
Try setting IPv6 to "Ignore" for your wireless profile in networkmanager.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Will Dojinn

  • Member
  • ***
  • Posts: 55
  • Karma: 1
  • Rocket Hamster!
    • View Profile
  • Peppermint version(s): Six and Seven
Re: Wifi drops randomly but shows still connected to router
« Reply #7 on: June 27, 2016, 06:16:13 pm »
Lemme check that and make sure I have a static IP.

Nope... still cuts out (but still shows as conneted. Still reconnects to net straight away when clicking on the connection.)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Wifi drops randomly but shows still connected to router
« Reply #8 on: June 27, 2016, 06:43:03 pm »
on the "WiFi" tab in networkmanager try setting the BSSID drop menu to

BSSID: F4:5F:F7:40:82:A7

and see if that helps
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Will Dojinn

  • Member
  • ***
  • Posts: 55
  • Karma: 1
  • Rocket Hamster!
    • View Profile
  • Peppermint version(s): Six and Seven
Re: Wifi drops randomly but shows still connected to router
« Reply #9 on: June 27, 2016, 06:51:15 pm »
Done and... Nothing.

Any idea what else i should try?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Wifi drops randomly but shows still connected to router
« Reply #10 on: June 27, 2016, 07:26:56 pm »
Open a terminal and run
Code: [Select]
nmcli monitornow leave the terminal open and go about your business, when the wireless drops take a look in that terminal and post any messages contained in it.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Will Dojinn

  • Member
  • ***
  • Posts: 55
  • Karma: 1
  • Rocket Hamster!
    • View Profile
  • Peppermint version(s): Six and Seven
Re: Wifi drops randomly but shows still connected to router
« Reply #11 on: June 27, 2016, 07:40:25 pm »
Curious when all the connected tabs coned out andgave 'no internet' error and youtube greyed out I got nothing. Didn't get anythin gon monitor until I did a connection reset.


nmcli monitor
Code: [Select]
@HomeDesktop ~ $ nmcli monitor
wlx74da387d576c: deactivating
Connectivity is now 'none'
Networkmanager is now in the 'connecting' state
There's no primary connection
wlx74da387d576c: using connection 'Home'
wlx74da387d576c: connecting (need authentication)
Home: connection profile changed
wlx74da387d576c: connecting (configuring)
wlx74da387d576c: connecting (getting IP configuration)
Connectivity is now 'full'
'Home' is now the primary connection
Networkmanager is now in the 'connected' state
wlx74da387d576c: connected
Home: connection profile changed



Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Wifi drops randomly but shows still connected to router
« Reply #12 on: June 27, 2016, 10:44:40 pm »
Hi Will Dojinn, I was having issues with my WIFi dropping out and finally not establishing a connection.  Try setting IPv6 to Ignore

Right click on the Network Manager icon in the panel.  Select: Edit Connections....   In the new window, highlight your WifI connection and click on: Edit.  In the new window, select the  IPv6 tab.  From: the Method drop down/pop up menu, select: Ignore click on Save.  It's worth a try.  If it doesn't work, you can reset it back to Automatic - good luck  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Will Dojinn

  • Member
  • ***
  • Posts: 55
  • Karma: 1
  • Rocket Hamster!
    • View Profile
  • Peppermint version(s): Six and Seven
Re: Wifi drops randomly but shows still connected to router
« Reply #13 on: June 28, 2016, 04:04:18 am »
That's what PCNetSpec suggested earlier and as I told them, Nada.

Offline Will Dojinn

  • Member
  • ***
  • Posts: 55
  • Karma: 1
  • Rocket Hamster!
    • View Profile
  • Peppermint version(s): Six and Seven
Re: Wifi drops randomly but shows still connected to router
« Reply #14 on: June 28, 2016, 04:07:09 pm »
https://github.com/pvaret/rtl8192cu-fixes/blob/master/README.md

That appears to be working, which is weird since it did precisely squat when I ran it under peppermint 6 or ubuntu 16. Funny that. Not going ot mark as solved just yet in case we've just got a long point between blink outs.

dmesg | grep -i rtl
Code: [Select]
[   15.018403] usbcore: registered new interface driver rtl8192cu
[   15.108775] rtl8192cu 1-6:1.0 wlx74da387d576c: renamed from wlan0
[ 1865.967234] rtl8192cu 1-5:1.0 wlx74da387d576c: renamed from wlan0


iwconfig
Code: [Select]
lo        no wireless extensions.

wlx74da387d576c  IEEE 802.11bgn  ESSID:"BenLomand82a6"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.437 GHz  Access Point: F4:5F:F7:40:82:A7   
          Bit Rate:72.2 Mb/s   Sensitivity:0/0 
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=100/100  Signal level=71/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
ifconfig
Code: [Select]
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:3610 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3610 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:530688 (530.6 KB)  TX bytes:530688 (530.6 KB)

wlx74da387d576c Link encap:Ethernet  HWaddr 74:da:38:7d:57:6c 
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::76da:38ff:fe7d:576c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:147075 errors:0 dropped:24250 overruns:0 frame:0
          TX packets:77565 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:244761837 (244.7 MB)  TX bytes:8377065 (8.3 MB)
sudo iwlist scan
Code: [Select]
lo        Interface doesn't support scanning.

wlx74da387d576c  Scan completed :
          Cell 01 - Address: F4:5F:F7:40:82:A7
                    ESSID:"BenLomand82a6"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:on
                    Bit Rates:144 Mb/s
                    Extra:rsn_ie=30140100000fac040100000fac040100000fac020c00
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    Quality=100/100  Signal level=71/100 
« Last Edit: June 28, 2016, 04:47:59 pm by Will Dojinn »