18.3 Xfce Wireless connects but is dead/dies in seconds

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Quexos
Level 2
Level 2
Posts: 74
Joined: Wed Jul 29, 2015 9:49 pm

18.3 Xfce Wireless connects but is dead/dies in seconds

Post by Quexos »

My wireless is refusing to work in Mint 18.x(3 currently) Xfce. I've been searching but only finding problems unlike mine. Any ideas or pointers would be greatly appreciated. For the record, it works flawlessly on Windows, and old versions (forgot specifics now) of Linux. The router security is WPA2-PSK AES.

Here's what happens. I plug in the "ENCORE ENUWI-1XN42 Wireless N150 Adapter USB" and it appears fine. I see the usual networks, connect to mine as usual and it seems fine, connects at full 150mbs speed...then promptly dies! Drops to showing 15mbs (but full bars, the router is only ~12 feet away) and will not do anything. I was able to ping my second PC that is wired to the router but it's not pretty:

Code: Select all

--- 192.168.1.20 ping statistics ---
38 packets transmitted, 23 received, 39% packet loss, time 37364ms
rtt min/avg/max/mdev = 1.164/51.044/725.459/165.013 ms
Nothing on the internet or LAN works at all for more than a few seconds. Can't even do "apt-get update".

Here's all the info I could think to dig up:

Code: Select all

rfkill list

0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

==========================

iwconfig

enp3s0    no wireless extensions.

lo        no wireless extensions.

wlx00e04c9f6ee8  IEEE 802.11  ESSID:"SSID-NAME"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 30:B5:C2:30:FD:99   
          Bit Rate=15 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=56/70  Signal level=-54 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:1   Missed beacon:0

==========================

sudo lshw -C network

  *-network               
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 0c
       serial: fc:aa:14:e0:f3:95
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 ip=192.168.1.10 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:29 ioport:d000(size=256) memory:fe100000-fe100fff memory:d2100000-d2103fff
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@8:1.4
       logical name: wlx00e04c9f6ee8
       serial: 00:e0:4c:9f:6e:e8
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192cu driverversion=4.10.0-38-generic firmware=N/A link=no multicast=yes wireless=IEEE 802.11

==========================

sudo modinfo rtl8192cu

filename:       /lib/modules/4.10.0-38-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko
firmware:       rtlwifi/rtl8192cufw_TMSC.bin
firmware:       rtlwifi/rtl8192cufw_B.bin
firmware:       rtlwifi/rtl8192cufw_A.bin
firmware:       rtlwifi/rtl8192cufw.bin
description:    Realtek 8192C/8188C 802.11n USB wireless
license:        GPL
author:         Larry Finger	<Larry.Finger@lwfinger.net>
author:         Ziv Huang	<ziv_huang@realtek.com>
author:         Georgia		<georgia@realtek.com>
srcversion:     72438BA624FED2B5E5FCBF6
alias:          usb:v7392p7822d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0100d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v20F4p624Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019pAB2Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p330Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p330Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3309d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3307d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E66p0019d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0061d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8186d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p17ABd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0846pF001d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0846p9021d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p8178d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07AAp0056d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0586p341Fd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v050Dp2103d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v050Dp2102d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v050Dp1004d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019p1201d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04F2pAFFCd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04F2pAFFBd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04F2pAFF8d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04F2pAFFAd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04F2pAFF9d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04F2pAFF7d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp317Fd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v9846p9041d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v4855p0091d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v4855p0090d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v13D3p3359d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v13D3p3358d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392p7811d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v20F4p648Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019pED17d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019pAB2Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019pAB2Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019p4902d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3308d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v13D3p3357d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v103Cp1629d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v4856p0091d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0EB0p9071d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0077d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0070d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p005Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0052d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp5088d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p17BAd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0846p9043d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0846p9041d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p8189d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p8188d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v06F8pE033d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v050Dp11F2d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v050Dp1102d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp817Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8178d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8754d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp819Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp818Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp817Fd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp817Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp817Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp817Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp817Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8177d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8176d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8170d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp018Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8191d*dc*dsc*dp*ic*isc*ip*in*
depends:        mac80211,rtlwifi,rtl8192c-common,rtl_usb
intree:         Y
vermagic:       4.10.0-38-generic SMP mod_unload 
parm:           swenc:Set to 1 for software crypto (default 0)
 (bool)
parm:           debug:Set debug level (0-5) (default 0) (int)

==========================

inxi -Fxz

System:    Host: LAN01 Kernel: 4.10.0-38-generic x86_64 (64 bit gcc: 5.4.0) Desktop: Xfce 4.12.3 (Gtk 2.24.28)
           Distro: Linux Mint 18.3 Sylvia
Machine:   System: Gigabyte product: N/A
           Mobo: Gigabyte model: 970A-UD3P v: x.x Bios: American Megatrends v: FC date: 02/26/2016
CPU:       Hexa core AMD FX-6300 Six-Core (-MCP-) cache: 12288 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 42196
           clock speeds: max: 3516 MHz 1: 3516 MHz 2: 3516 MHz 3: 3516 MHz 4: 3516 MHz 5: 3516 MHz 6: 3516 MHz
Graphics:  Card: NVIDIA Device 1c02 bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 1060 3GB/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.90 Direct Rendering: Yes
Audio:     Card-1 NVIDIA Device 10f1 driver: snd_hda_intel bus-ID: 01:00.1 Sound: ALSA v: k4.10.0-38-generic
           Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA) driver: snd_hda_intel bus-ID: 00:14.2
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Realtek RTL8188CUS 802.11n WLAN Adapter usb-ID: 008-003
           IF: N/A state: N/A mac: N/A
Drives:    HDD Total Size: 1256.3GB (2.5% used) ID-1: /dev/sda model: ADATA_SU800 size: 256.1GB temp: 26C
           ID-2: /dev/sdb model: WDC_WD10EZEX size: 1000.2GB temp: 27C
Partition: ID-1: / size: 81G used: 5.7G (8%) fs: ext3 dev: /dev/sdb1
           ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sdb2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 17.2C mobo: N/A gpu: 0.0:29C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 203 Uptime: 31 min Memory: 956.2/11996.5MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35
Last edited by Quexos on Sun Dec 31, 2017 1:21 am, edited 4 times in total.

GkaveH
Level 1
Level 1
Posts: 3
Joined: Sat Dec 23, 2017 10:29 am

Re: 18.3 Xfce Wireless connects but is dead/dies in seconds

Post by GkaveH »

i have same issue with my wireless adapter after install mint cinnamon 18.3 but i thought i happend after update my mint via update manager

User avatar
Quexos
Level 2
Level 2
Posts: 74
Joined: Wed Jul 29, 2015 9:49 pm

Re: 18.3 Xfce Wireless connects but is dead/dies in seconds

Post by Quexos »

GkaveH wrote:i have same issue with my wireless adapter after install mint cinnamon 18.3 but i thought it happend after update my mint via update manager
I had the same problem in Mint 18.2. I have two of these USB N150 wireless adapters (realtek based) and a PCIe N300 one (also realtek based, same issues) and they've been flawless for years until now. I get the same problem on three different AMD based PCs of ages 2-10 years back, so it is not specific to this PC...or the USB adapter. All my adapters are Realtek chipped, and all PCs AMD CPUs though.

I am wired on my PCs, but I am trying to switch my mother's PC that is wireless only to Linux, and this is my roadblock. It effectively has no connection at all with Linux.

User avatar
Flemur
Level 17
Level 17
Posts: 7532
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: 18.3 Xfce Wireless connects but is dead/dies in seconds

Post by Flemur »

ENCORE ENUWI-1XN42 Wireless N150 Adapter USB
You might want to turn this off if you can (from newegg product listing)
"GreenWLAN featured in theENUWI-1XN42 delivers optimum energy efficiency with smart power management."
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
I also have a realtek USB dongle (Edimax/RTL8188CUS), unfortunately, and it seems kernel-dependent (works w/o fiddling with some kernels, but not older or newer kernels ...) and it tended to disconnect frequently until I patch the kernel.

Here's my procedure to fix THAT RTL8188CUS:

Code: Select all

sudo apt-get install linux-headers-generic build-essential dkms
git clone https://github.com/pvaret/rtl8192cu-fixes.git
sudo dkms add ./rtl8192cu-fixes
sudo dkms install 8192cu/1.10
sudo depmod -a
sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/
This google search

Code: Select all

https://www.google.com/search?q="linux"%20"realtek"%20"RTL8111"
gives some similar answer for your gizmo.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

User avatar
Quexos
Level 2
Level 2
Posts: 74
Joined: Wed Jul 29, 2015 9:49 pm

Re: 18.3 Xfce Wireless connects but is dead/dies in seconds

Post by Quexos »

Flemur wrote: You might want to turn this off if you can (from newegg product listing)
"GreenWLAN featured in theENUWI-1XN42 delivers optimum energy efficiency with smart power management."

Here's my procedure to fix THAT RTL8188CUS:
1. iwconfig section shows: Power Management:off

2. I'll give the patch thing a whirl, thanks.

========================

EDIT: No joy. I did the following:

Code: Select all

sudo apt install git
sudo apt-get install linux-headers-generic build-essential dkms
git clone https://github.com/pvaret/rtl8192cu-fixes.git
sudo dkms add ./rtl8192cu-fixes
sudo dkms install 8192cu/1.10
sudo depmod -a
sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/
...and the difference is my "bars" are now going up and down from full to none every few seconds(as opposed to just showing full bars all the time), but I'm showing 150 mbs all the time (not dropping to 15 mbs). The actual connection is behaving the same. I was able to connect and quickly load this forum and get one click in to the "Networking" forum, then it died and I had to switch to wired to finish getting here and do this edit.

The "Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet" is working perfectly.
The "Realtek RTL8188CUS 802.11n WLAN Adapter"...not so much. I'll restore my backup image (to clear out the git changes), tinker with a newer kernel and if that fails, I think I am done messing with it.
Much thanks for trying to help though.

User avatar
Quexos
Level 2
Level 2
Posts: 74
Joined: Wed Jul 29, 2015 9:49 pm

Re: 18.3 Xfce Wireless connects but is dead/dies in seconds

Post by Quexos »

Updated to kernel 4.13.0-21-generic, and so far so good.
Got here and have run a few youtube videos all the way through at 720p in another tab as I am browsing/editing here. It's a short test, but it seems fixed!
Hopefully the new kernel does not break something else.

Edit: Well, the new kernel improved it, but my speeds are horribly slow and unstable/erratic still. I get about 800-900 kbps download speeds. Switch to my wired connection and instantly back to 25 mbps. The same wireless adapter on Windows gets the full 25 mbps all the time. I guess it's just another one to chock up to a "Linux thing". So no Linux with these wireless adapters.

Post Reply

Return to “Wireless”