#StackBounty: #18.04 #wireless #dell #inspiron WiFi stops working intermittently on 18.04 (Dell Inspiron 15 5000)

Bounty: 50

I recently got a new laptop (a Dell Inspiron 15 5000) and have been experiencing stability issues with the wireless connection ever since I installed Ubuntu 18.04. The WiFi will disappear seemingly at random for somewhere between 30 seconds and one minute, then reappear. I have been unable to make it function any quicker by restarting the adapter using ifconfig

The issues are very similar to those described in this askubuntu question. I checked /var/log/syslog as suggested in this bug on Launchpad and did indeed find entries with avahi-daemon[xxx]: Withdrawing address record for xx.xx.xx.xx on interface_name. The suggested solution to disable ipv6 and reboot did not solve the issues.

I am unsure how to properly diagnose the issue and progress from here.

I have tried pinging various addresses while the WiFi is not working, all of which have resulted in the following message: ping: [xxx]: Name or service not known.

Likewise, rfkill list yields the following when the WiFi is not working:

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

Some system information:

lspci -v:

    Subsystem: Dell QCA9377 802.11ac Wireless Network Adapter
    Flags: bus master, fast devsel, latency 0, IRQ 141
    Memory at c2000000 (64-bit, non-prefetchable) [size=2M]
    Capabilities: <access denied>
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci

uname -a: Linux mia 5.0.0-27-generic #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux


Get this bounty!!!

#StackBounty: #wireless #laptop #hp #wifi-hardware-switch #airplane-mode Wifi Hardware Switch Not Working on HP Pavilion 15-n201nr Note…

Bounty: 50

I have an HP Pavilion 15-n201nr Notebook PC which appears to be stuck in airplane mode under any version of Linux I install. (I have tried Ubuntu 19.04, 18.04, and Fedora Workstation 30.) This is definitely not a hardware issue as Windows 10 is also (necessarily) on the machine in a dual boot configuration. Under Windows 10, the Wifi is fully functional and can be switched on and off, at will, via the F12 key on the keyboard. This is highly perplexing to me because, a couple of years ago, I had a version of Linux Mint installed that was able to utilize the Wifi without any problem.

I have tried several techniques to fix this problem but nothing seems to be working. I am running out of ideas and really need some help.

Based on advice from other posts, here are the approaches I have tried thus far:

Approach 1: Use rfkill to unblock wifi

I tried the following steps.

sudo rfkill list all

I see something like

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

sudo rfkill unblock wifi
or, optionally…
sudo rfkill unblock all

Press wireless button. (On the HP Pavilion, this is F12.)

Whenever I press a function key on the HP Pavilion, it always displays a little black panel with some text annotation referencing the key being pressed. When I press F12, whcih controls Wifi, it does pop up the little panel with the message “Harwdware Airplane…”, which indicates it is receiving the keypress, but nothing changes.

Then check the status again with…

sudo rfkill list all

… and, I still have

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

The result is always the same. It still shows as being hardware blocked.

Approach 2: Blacklist hp_wmi

I attempt to see if the hp_wmi module is loaded and then remove (blacklist) the same.

sudo lsmod | grep wmi

On Fedora I got …

hp_wmi                 16384  0
sparse_keymap          16384  1 hp_wmi
rfkill                 28672  5 hp_wmi,cfg80211
wmi_bmof               16384  0
wmi                    36864  2 hp_wmi,wmi_bmof

On Ubuntu 19.04, I get

snd_rawmidi            36864  1 snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd                    81920  19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
hp_wmi                 16384  0
sparse_keymap          16384  1 hp_wmi
wmi_bmof               16384  0
wmi                    28672  2 hp_wmi,wmi_bmof

So, I try to kill the hp_wmi

sudo modprobe -r hp_wmi

Afterwards, I have …

snd_rawmidi            36864  1 snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd                    81920  19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
wmi_bmof               16384  0
wmi                    28672  1 wmi_bmof

I also added hp_wmi to the /etc/modprobe.d/blacklist.conf file. (I am recalling the filename from memory, but I did add it to whatever blacklist.conf file existed.) Blacklisting did not work either.

After rebooting to restart the services, I find the issue is still there, and there is no Wifi.

More Specifics on the Machine

  • HP Pavilion 15-n201nr Notebook PC
  • Product Number: F5Y75UAR#ABA
  • System Board: 216F
  • BIOS: F.20 A
  • Wifi: Internal Realtek RT3270

https://support.hp.com/us-en/document/c04030181

What can I possibly do to get Wifi working on this laptop? Any help is greatly appreciated.


Get this bounty!!!

#StackBounty: #networking #wireless #thinkpad One WiFi network not working, others are fine

Bounty: 50

There is one particular network that when I connect to it, everything is usually fine for a few minutes but then the WiFi symbol in the top right will turn into a question mark and the connection gets very bad.
It says I’m still connected to the network and a YouTube video will continue to play but if I try to open a new web page it wont load.
The strength of the connection is good and this same network works fine on my phone all the time.

  • Thinkpad T460p
  • Ubuntu 19.04
  • Network controller: Intel Corporation Wireless 8260 (rev 3a)

I’ve tried disabling IPv6 on the network as suggested somewhere but that didn’t work.

No idea how to debug this problem, any suggestions?


Get this bounty!!!

#StackBounty: #drivers #wireless #kernel #compiling #dkms Can't install rtl8192eu-linux-driver on UBUNTU 18.10

Bounty: 50

I am using UBUNTU 18.10 and I had problem with TL-WN822n v5 driver in UBUNTU and Kali (4.19.0-kali5-amd64)

The problem is driver=rtl8xxxu so I found a driver in this page :
https://github.com/Mange/rtl8192eu-linux-driver

and installed the driver on Kali and it worked perfectly fine but when I wanted to install it on my ubuntu, after I ran the sudo dkms install rtl8192eu/1.0; I got this error :

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=4.18.0-25-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8192eu: 1.0 not found
Error! Bad return status for module build on kernel: 4.18.0-25-generic (x86_64)
Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.

and This is my Log file (/var/lib/dkms/rtl8192eu/1.0/build/make.log) :

DKMS make.log for rtl8192eu-1.0 for kernel 4.18.0-25-generic (x86_64)
Sun Jul  7 13:35:02 +0430 2019
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.18.0-25-generic/build 
M=/var/lib/dkms/rtl8192eu/1.0/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.0-25-generic'
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o
gcc: error: unrecognized command line option ‘-mlittle-endian’; did you mean ‘-fconvert=little-endian’?
make[2]: *** [scripts/Makefile.build:325:/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1534:_module_/var/lib/dkms/rtl8192eu/1.0/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-25-generic'
make: *** [Makefile:1710: modules] Error 2

What’s the problem ??


Get this bounty!!!

#StackBounty: #drivers #wireless #kernel #compiling #dkms Can't install rtl8192eu-linux-driver on UBUNTU 18.10

Bounty: 50

I am using UBUNTU 18.10 and I had problem with TL-WN822n v5 driver in UBUNTU and Kali (4.19.0-kali5-amd64)

The problem is driver=rtl8xxxu so I found a driver in this page :
https://github.com/Mange/rtl8192eu-linux-driver

and installed the driver on Kali and it worked perfectly fine but when I wanted to install it on my ubuntu, after I ran the sudo dkms install rtl8192eu/1.0; I got this error :

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=4.18.0-25-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8192eu: 1.0 not found
Error! Bad return status for module build on kernel: 4.18.0-25-generic (x86_64)
Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.

and This is my Log file (/var/lib/dkms/rtl8192eu/1.0/build/make.log) :

DKMS make.log for rtl8192eu-1.0 for kernel 4.18.0-25-generic (x86_64)
Sun Jul  7 13:35:02 +0430 2019
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.18.0-25-generic/build 
M=/var/lib/dkms/rtl8192eu/1.0/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.0-25-generic'
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o
gcc: error: unrecognized command line option ‘-mlittle-endian’; did you mean ‘-fconvert=little-endian’?
make[2]: *** [scripts/Makefile.build:325:/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1534:_module_/var/lib/dkms/rtl8192eu/1.0/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-25-generic'
make: *** [Makefile:1710: modules] Error 2

What’s the problem ??


Get this bounty!!!

#StackBounty: #drivers #wireless #kernel #compiling #dkms Can't install rtl8192eu-linux-driver on UBUNTU 18.10

Bounty: 50

I am using UBUNTU 18.10 and I had problem with TL-WN822n v5 driver in UBUNTU and Kali (4.19.0-kali5-amd64)

The problem is driver=rtl8xxxu so I found a driver in this page :
https://github.com/Mange/rtl8192eu-linux-driver

and installed the driver on Kali and it worked perfectly fine but when I wanted to install it on my ubuntu, after I ran the sudo dkms install rtl8192eu/1.0; I got this error :

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=4.18.0-25-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8192eu: 1.0 not found
Error! Bad return status for module build on kernel: 4.18.0-25-generic (x86_64)
Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.

and This is my Log file (/var/lib/dkms/rtl8192eu/1.0/build/make.log) :

DKMS make.log for rtl8192eu-1.0 for kernel 4.18.0-25-generic (x86_64)
Sun Jul  7 13:35:02 +0430 2019
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.18.0-25-generic/build 
M=/var/lib/dkms/rtl8192eu/1.0/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.0-25-generic'
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o
gcc: error: unrecognized command line option ‘-mlittle-endian’; did you mean ‘-fconvert=little-endian’?
make[2]: *** [scripts/Makefile.build:325:/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1534:_module_/var/lib/dkms/rtl8192eu/1.0/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-25-generic'
make: *** [Makefile:1710: modules] Error 2

What’s the problem ??


Get this bounty!!!

#StackBounty: #drivers #wireless #kernel #compiling #dkms Can't install rtl8192eu-linux-driver on UBUNTU 18.10

Bounty: 50

I am using UBUNTU 18.10 and I had problem with TL-WN822n v5 driver in UBUNTU and Kali (4.19.0-kali5-amd64)

The problem is driver=rtl8xxxu so I found a driver in this page :
https://github.com/Mange/rtl8192eu-linux-driver

and installed the driver on Kali and it worked perfectly fine but when I wanted to install it on my ubuntu, after I ran the sudo dkms install rtl8192eu/1.0; I got this error :

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=4.18.0-25-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8192eu: 1.0 not found
Error! Bad return status for module build on kernel: 4.18.0-25-generic (x86_64)
Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.

and This is my Log file (/var/lib/dkms/rtl8192eu/1.0/build/make.log) :

DKMS make.log for rtl8192eu-1.0 for kernel 4.18.0-25-generic (x86_64)
Sun Jul  7 13:35:02 +0430 2019
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.18.0-25-generic/build 
M=/var/lib/dkms/rtl8192eu/1.0/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.0-25-generic'
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o
gcc: error: unrecognized command line option ‘-mlittle-endian’; did you mean ‘-fconvert=little-endian’?
make[2]: *** [scripts/Makefile.build:325:/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1534:_module_/var/lib/dkms/rtl8192eu/1.0/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-25-generic'
make: *** [Makefile:1710: modules] Error 2

What’s the problem ??


Get this bounty!!!

#StackBounty: #drivers #wireless #kernel #compiling #dkms Can't install rtl8192eu-linux-driver on UBUNTU 18.10

Bounty: 50

I am using UBUNTU 18.10 and I had problem with TL-WN822n v5 driver in UBUNTU and Kali (4.19.0-kali5-amd64)

The problem is driver=rtl8xxxu so I found a driver in this page :
https://github.com/Mange/rtl8192eu-linux-driver

and installed the driver on Kali and it worked perfectly fine but when I wanted to install it on my ubuntu, after I ran the sudo dkms install rtl8192eu/1.0; I got this error :

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=4.18.0-25-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8192eu: 1.0 not found
Error! Bad return status for module build on kernel: 4.18.0-25-generic (x86_64)
Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.

and This is my Log file (/var/lib/dkms/rtl8192eu/1.0/build/make.log) :

DKMS make.log for rtl8192eu-1.0 for kernel 4.18.0-25-generic (x86_64)
Sun Jul  7 13:35:02 +0430 2019
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.18.0-25-generic/build 
M=/var/lib/dkms/rtl8192eu/1.0/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.0-25-generic'
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o
gcc: error: unrecognized command line option ‘-mlittle-endian’; did you mean ‘-fconvert=little-endian’?
make[2]: *** [scripts/Makefile.build:325:/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1534:_module_/var/lib/dkms/rtl8192eu/1.0/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-25-generic'
make: *** [Makefile:1710: modules] Error 2

What’s the problem ??


Get this bounty!!!

#StackBounty: #drivers #wireless #kernel #compiling #dkms Can't install rtl8192eu-linux-driver on UBUNTU 18.10

Bounty: 50

I am using UBUNTU 18.10 and I had problem with TL-WN822n v5 driver in UBUNTU and Kali (4.19.0-kali5-amd64)

The problem is driver=rtl8xxxu so I found a driver in this page :
https://github.com/Mange/rtl8192eu-linux-driver

and installed the driver on Kali and it worked perfectly fine but when I wanted to install it on my ubuntu, after I ran the udo dkms install rtl8192eu/1.0; I got this error :

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=4.18.0-25-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8192eu: 1.0 not found
Error! Bad return status for module build on kernel: 4.18.0-25-generic (x86_64)
Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.

and This is my Log file (/var/lib/dkms/rtl8192eu/1.0/build/make.log) :

DKMS make.log for rtl8192eu-1.0 for kernel 4.18.0-25-generic (x86_64)
Sun Jul  7 13:35:02 +0430 2019
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.18.0-25-generic/build 
M=/var/lib/dkms/rtl8192eu/1.0/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.0-25-generic'
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o
gcc: error: unrecognized command line option ‘-mlittle-endian’; did you mean ‘-fconvert=little-endian’?
make[2]: *** [scripts/Makefile.build:325:/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1534:_module_/var/lib/dkms/rtl8192eu/1.0/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-25-generic'
make: *** [Makefile:1710: modules] Error 2

What’s the problem ??


Get this bounty!!!

#StackBounty: #drivers #wireless #kernel #compiling #dkms Can't install rtl8192eu-linux-driver on UBUNTU 18.10

Bounty: 50

I am using UBUNTU 18.10 and I had problem with TL-WN822n v5 driver in UBUNTU and Kali (4.19.0-kali5-amd64)

The problem is driver=rtl8xxxu so I found a driver in this page :
https://github.com/Mange/rtl8192eu-linux-driver

and installed the driver on Kali and it worked perfectly fine but when I wanted to install it on my ubuntu, after I ran the udo dkms install rtl8192eu/1.0; I got this error :

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all KVER=4.18.0-25-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8192eu: 1.0 not found
Error! Bad return status for module build on kernel: 4.18.0-25-generic (x86_64)
Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.

and This is my Log file (/var/lib/dkms/rtl8192eu/1.0/build/make.log) :

DKMS make.log for rtl8192eu-1.0 for kernel 4.18.0-25-generic (x86_64)
Sun Jul  7 13:35:02 +0430 2019
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.18.0-25-generic/build 
M=/var/lib/dkms/rtl8192eu/1.0/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.0-25-generic'
  CC [M]  /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o
gcc: error: unrecognized command line option ‘-mlittle-endian’; did you mean ‘-fconvert=little-endian’?
make[2]: *** [scripts/Makefile.build:325:/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1534:_module_/var/lib/dkms/rtl8192eu/1.0/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-25-generic'
make: *** [Makefile:1710: modules] Error 2

What’s the problem ??


Get this bounty!!!