LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-24-2015, 02:00 PM   #1
ServeChilled
LQ Newbie
 
Registered: Apr 2015
Location: Seattle
Distribution: Mint
Posts: 12

Rep: Reputation: Disabled
Wifi drops periodically on HP Pavilion laptop with Linux Mint 17.1


Hello all, I am new to Linux. I have a new HP laptop and installed Linux Mint. My wifi keeps randomly dropping. Sometimes it will reconnect on it's own, and sometimes I need to reboot in order to reconnect. When it has disconnected, I can't find any wireless networks and the button in network manger for wifi is "off" and can't be moved to "on." I've upgraded the kernel, and I've tried turning ivp6 off. Neither seemed to effect it. Those were ideas others had. My knowledge base is small and growing. Any ideas?

HP Pavilion
4X Intel Core i7-5500U
Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev 01)
Linux Mint 17.1 Rebecca
3.16.0-34 kernel
 
Old 04-24-2015, 02:56 PM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,032
Blog Entries: 34

Rep: Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488Reputation: 1488
ServeChilled,

It appears that there is a bug with this wifi adapter from kernel 3.15 onwards.

https://bugzilla.redhat.com/show_bug.cgi?id=1108801

Pending resolution of this bug, one alternative is to to buy a cheap USB wifi adapter that is known to work in Linux.

The D-Link Wireless-N 150 Easy USB Adapter does work after a slight modification.

See post #6 on:

http://www.linuxquestions.org/questi...or-4175538763/
 
Old 04-24-2015, 03:53 PM   #3
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by beachboy2 View Post
Pending resolution of this bug, one alternative is to to buy a cheap USB wifi adapter that is known to work in Linux.
Hi ServeChilled...

Welcome to the forum

Another good USB adapter that works "out of the box" is the the one here from ThinkPenguin.com. I personally own one of these adapters and have never had a problem with it.

Regards...
 
Old 04-24-2015, 07:54 PM   #4
ServeChilled
LQ Newbie
 
Registered: Apr 2015
Location: Seattle
Distribution: Mint
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thank you both! I think I will get a USB wifi adapter.
Is it appropriate to call this thread solved, or should I leave it open for other ideas to come in, or in case the bug is addressed and then it can be noted here?
 
Old 04-24-2015, 08:25 PM   #5
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by ServeChilled View Post
Thank you both! I think I will get a USB wifi adapter.
Is it appropriate to call this thread solved, or should I leave it open for other ideas to come in, or in case the bug is addressed and then it can be noted here?
Hi...

You can go ahead mark it as "SOLVED," that way folks know that you've decided on a solution.

EDIT: On second thought, you might want to wait, there are some more ideas coming in...

Regards...

Last edited by ardvark71; 04-25-2015 at 06:28 PM. Reason: Added comment.
 
Old 04-24-2015, 10:00 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
On some machines the wifi is 1 ,is turned using Fn+ 1 of F-keys that has a wireless sign on it. Are you sure that you haven't hit that combination by mistake?
 
Old 04-25-2015, 03:16 PM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,631

Rep: Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391
You may be going to usb adapter, and hope that works better.

Looking at your problem is post #1, 2 options stand out to me

1. The Realtek 8188 has SEVERAL drivers. After 8188 there many letter combinations and each one has it's own driver. Make sure you had the right one.

2. From the symptoms, it sounds like it could be a heat related thing. Are we running cool?
 
Old 04-27-2015, 11:53 PM   #8
ServeChilled
LQ Newbie
 
Registered: Apr 2015
Location: Seattle
Distribution: Mint
Posts: 12

Original Poster
Rep: Reputation: Disabled
I've decided to try a few more things. I followed the bug report beachboy2 mentioned above: https://bugzilla.redhat.com/show_bug.cgi?id=1108801
This is all quite above my head, but I tried the suggestion on comments 11 & 12. I've copied it below
"
The latest version of the Realtek driver is at http://github.com/lwfinger/rtlwifi_new.git. I will be merging that code into the kernel, but it may take a while. The code will build on any kernel version 3.0 or newer.

The usage is:
git clone http://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
sudo modprobe -rv rtl8188ee
sudo make install
sudo modprobe -v rtl8188ee
"

I think it installed properly, but unfortunately, it did not solve my problem.

In response to business kid, I don't think I am running hot, but I also don't know how to check (yet). The fan isn't running and the case isn't hot.
 
Old 04-29-2015, 03:26 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,631

Rep: Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391
On any class of a modern PC, the fan should be running at least half the time. Not necessarily fast, but running. Having said that, my fan isn't running atm. But it does, I assure you.
 
Old 04-29-2015, 01:47 PM   #10
ServeChilled
LQ Newbie
 
Registered: Apr 2015
Location: Seattle
Distribution: Mint
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thank you all for your help so far.

To reiterate, I do have a wifi connection when I first boot up my computer. It usually continues working for awhile, up to a few hours. When it stops working, I cannot see any available networks in the network manager, and I cannot switch the wireless button to on "1" (I can move the button with my mouse, but as soon as I let go of the mouse button, the switch moves back to off "0"). When I reboot my computer I have wireless once again, for a time.

Let me know if that gives any of you more ideas.

Thanks!
 
Old 04-30-2015, 03:20 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,631

Rep: Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391
Okay. I presume you have wireless tools installed. When the wifi goes, try these commands

Code:
iwconfig wlan0
iwlist wlan0 scan
lsmod |rtl
lsusb -v |grep Realtek |less

These commands assume root (or sudo used), and that your wifi device is called wlan0. If not adjust accordingly.
 
Old 05-01-2015, 12:42 AM   #12
ServeChilled
LQ Newbie
 
Registered: Apr 2015
Location: Seattle
Distribution: Mint
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks again business kid,

As you will see this is still all very new to me, but I am eager to learn. The commands did not seem to require sudo, but I ran them a second time with sudo and got basically the same responses.
So here is what I got:

iwconfig wlan0
wlan0 IEEE 802.11bgn ESSIDff/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short limit:7 RTS thr=2347 B Fragment thrff
Power Managementff

iwlist wlan0 scan
wlan0 Failed to read scan data : Network is down

lsmod |rtl
No command 'rtl' found, did you mean:
Command 'rtd' from package 'skycat' (universe)
Command 'rt2' from package 'rttool' (universe)
Command 'rpl' from package 'rpl' (universe)
Command 'rl' from package 'randomize-lines' (universe)
Command 'rtc' from package 'nvram-wakeup' (universe)
Command 'rt' from package 'rt4-clients' (universe)
rtl: command not found

lsusb -v |grep Realtek |less
This gave me something about missing information but then the screen filled with ~'s, one per line, and finally "(END)" and then I didn't know how to do anything. The ~ $ prompt did not return. I had to close the window, "killing" a running process.

Thanks for your efforts with me!
 
Old 05-01-2015, 06:50 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,631

Rep: Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391
The 'lsmod' thing should have been

Code:
lsmod |grep -i rtl
That looks for a module beginning 'rtl' to see what kernel modules you were loading. My bad. This one
Code:
lsusb -v |grep Realtek |less
lists the usb devices having the word 'Realtek' and sends it to less, a pager. Sorry about that. Space = next page; q = quit. I gather there was something there, because you got pages of output. If you are not getting sense out of that, try

Code:
lsusb |grep Realtek
which will give less output.
 
Old 05-01-2015, 10:23 AM   #14
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Have you tried
Quote:
ifup wlan0
 
Old 05-01-2015, 11:01 AM   #15
ServeChilled
LQ Newbie
 
Registered: Apr 2015
Location: Seattle
Distribution: Mint
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thank you again business kid and EDDY1!!

I am so grateful for your efforts. As long as you want to keep trying to help, I'll keep trying your suggestions.
So here's what I got...while I had a wireless connection working.

iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:"SHAC Network"
Mode:Managed Frequency:2.437 GHz Access Point: 58:6D:8F:7A:4A:6D
Bit Rate=72.2 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thrff
Power Managementff
Link Quality=58/70 Signal level=-52 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:50 Missed beacon:0

lsmod |grep -i rtl
rtl8188ee 138845 0
rtl_pci 39740 1 rtl8188ee
rtlwifi 121320 2 rtl_pci,rtl8188ee
mac80211 652718 3 rtl_pci,rtlwifi,rtl8188ee
cfg80211 494362 2 mac80211,rtlwifi

lsusb -v |grep Realtek |less
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
(END)

And finally, EDDY1's suggestion:

michael@C-3PO ~ $ ifup wlan0
ifup: failed to open lockfile /run/network/.ifstate.lock: Permission denied
michael@C-3PO ~ $ sudo ifup wlan0
[sudo] password for michael:
Ignoring unknown interface wlan0=wlan0.

Last edited by ServeChilled; 05-01-2015 at 11:59 AM. Reason: missplelled EDDY1's name :)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to direct connect Linux Mint laptop to wifi router to access setup? jackiebaron Linux - Networking 11 09-02-2014 12:00 PM
[SOLVED] Mint 16 Mate; Mint menu periodically disappears from the panel 1sweetwater! Linux - Desktop 4 08-12-2014 10:04 AM
Linux mint 12 will not connect to wifi internet or android wifi tethers wilspeak Linux - General 4 06-06-2012 12:40 AM
about wifi problem with hp laptop in pavilion dv6 mmukund22 Linux - Newbie 6 02-29-2012 11:33 PM
HP Pavilion dv2000 wireless card disables periodically SkariMari Linux - Wireless Networking 0 02-07-2011 04:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration