LinuxQuestions.org
Visit Jeremy's Blog.
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 05-01-2015, 11:35 AM   #16
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,140

Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307

Great. The command 'lsusb -v |grep Realtek |less' really needs to be
Code:
sudo lsusb -v |grep Realtek |less
Now, when the network drops, repeat them all including EDY1's suggestion. Post the results.

Last edited by business_kid; 05-01-2015 at 11:36 AM.
 
Old 05-02-2015, 11:41 PM   #17
ServeChilled
LQ Newbie
 
Registered: Apr 2015
Location: Seattle
Distribution: Mint
Posts: 12

Original Poster
Rep: Reputation: Disabled
So I figured out that the logical name for my wireless adapter is indeed wlan0.
Here are those commands again:

michael@C-3PO ~ $ sudo lsusb -v |grep Realtek |less
~
~
~
(END)


michael@C-3PO ~ $ 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


michael@C-3PO ~ $ iwlist wlan0 scan
wlan0 Failed to read scan data : Network is down


michael@C-3PO ~ $ 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

michael@C-3PO ~ $ sudo ifup wlan0
[sudo] password for michael:
Ignoring unknown interface wlan0=wlan0.


I added these in case they are helpful:

michael@C-3PO ~ $ lspci|grep Network
08:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev 01)

michael@C-3PO ~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04f2:b40e Chicony Electronics Co., Ltd
Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



So is that at all helpful?

Last edited by ServeChilled; 05-03-2015 at 12:01 AM.
 
Old 05-03-2015, 02:31 AM   #18
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 rfkill?
 
Old 05-03-2015, 12:11 PM   #19
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,140

Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
Yes, very helpful. That, I take it, is the "Down" condition: It's like your wifi was unplugged.

What is odd is that the kernel modules are gone. So the device vanishes. Now in some cases distros have a command in cron to remove all (unused) modules.

I would double check you have the correct module/driver for the Realtek 8188EE. Presuming that is correct, it looks very like a hardware problem. Modules should load when you talk to it, and they don't. The real test might be something like
Code:
service network restart
lsmod
If you don't have the service command, running the init script with a parameter of restsrt should do it. If the modules don't load, it's jhardware going out to lunch. Are you sure nothing is overheating?
 
Old 05-04-2015, 03:03 PM   #20
ServeChilled
LQ Newbie
 
Registered: Apr 2015
Location: Seattle
Distribution: Mint
Posts: 12

Original Poster
Rep: Reputation: Disabled
When I go to driver manager, it says there are no proprietary drivers in use. There is not an obvious way to install one from here.
I think I have downloaded the correct driver. I have also gone to software manager, but do not see a way to install the driver from there.

The folder I downloaded from Realtek seems to have separate folders for multiple drivers (ie. rtl 8188ee, rtl 8192c, ect). There are also folders called firmware, tools and btcoexist. It also has files like base.c, base.h, ham.c and more.

So how can I install it? (or check to see if it is installed)

Also, service network restart gave...
network: unrecognized service

Thanks!

Last edited by ServeChilled; 05-04-2015 at 03:12 PM.
 
Old 05-05-2015, 03:49 AM   #21
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,140

Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
I did say:
Quote:
If you don't have the service command, running the init script with a parameter of restsrt should do it.
init scripts are usually in /etc/rc.d/init.d - or thereabouts (e.g. /etc/rc.d in slackware, /etc/init.d in some other distros).

As for installing the driver, instructions are usually supplied. Read them. Also, you need the kernel source usually. I built for the Realtek 8188 on Rasbian and had no issues with it.
 
Old 05-05-2015, 02:28 PM   #22
ServeChilled
LQ Newbie
 
Registered: Apr 2015
Location: Seattle
Distribution: Mint
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thank you business kid.
I did see that you suggested I run an init script. I guess I got shy about asking so many questions, so I delayed in asking how to do that. I am reading about init scripts right now, so will hopefully understand your suggestion soon.

I will also go back again and see if I can find instructions for installing the driver. When you say I will need the kernel source, what does that mean? I have updated to the latest kernel for Mint, but I suspect there is something else you are pointing out that I will need to do when I install the driver.

Again, thank you very much for helping me.
 
Old 05-05-2015, 07:39 PM   #23
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I thought systemd was in control now although it uses some init scripts.
 
Old 05-05-2015, 10:20 PM   #24
ServeChilled
LQ Newbie
 
Registered: Apr 2015
Location: Seattle
Distribution: Mint
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Modules should load when you talk to it, and they don't. The real test might be something like
Code:
service network restart
lsmod
So what am I looking for in lsmod? I can see the rtl8188ee module, and a few other modules that it uses.
Sample while wifi was up:
Code:
rtl8188ee             138845  0 
rtl_pci                39740  1 rtl8188ee
rtlwifi               121320  2 rtl_pci,rtl8188ee
mac80211              652718  3 rtl_pci,rtlwifi,rtl8188ee
And is it somehow only helpful to run lsmod when my wifi is down to learn what you are looking for?
 
Old 05-05-2015, 11:08 PM   #25
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by ServeChilled View Post
When you say I will need the kernel source, what does that mean? I have updated to the latest kernel for Mint, but I suspect there is something else you are pointing out that I will need to do when I install the driver.
I think you need the kernel headers (instead of the source). I'm not sure what is the name of the kernel headers package on Mint, but being Mint based on Debian, this might work:

Code:
apt-get install linux-headers-`uname -r`
After you install the headers, try reinstalling the driver and see if it works.

Regarding the service command, the right command to (re)start the network (on Debian at least) is this one:

Code:
service networking restart
You can try it when the network goes down to see if it has some positive effect.
 
Old 05-06-2015, 01:31 AM   #26
ServeChilled
LQ Newbie
 
Registered: Apr 2015
Location: Seattle
Distribution: Mint
Posts: 12

Original Poster
Rep: Reputation: Disabled
Running service networking restart when my network was down produced this:
Code:
michael@C-3PO ~ $ service networking restart
stop: Rejected send message, 1 matched rules; type="method_call", sender=":1.50" (uid=1000 pid=4418 comm="stop networking ") interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.51" (uid=1000 pid=4412 comm="start networking ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
During a time when my wifi was running I did this:
Code:
michael@C-3PO ~ $ sudo apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-3.16.0-34-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
I am having a difficult time figuring out how to reinstall the rtl8188ee driver. Realtek website doesn't have clear directions, and I'm not even sure where I downloaded the driver from as I can't find it on their website. There is no readme file. The folder I have has a number of drivers (rtl 8192c, rtl8188ee, etc.) each in their own folder. There are also folders called firmware, tools and btcoexist. It also has files like base.c, base.h, ham.c and more. There was also a zip file called "backup_drivers.tar" containing a folder called "lib" I uncompressed that and found a series of nested folders: lib/modules/3.16.0-34-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rlt8188ee.ko
I could not open that final file, but was given the option to make it executable, which I declined for now.
Any help?

And again, it looks like I do have the rtl8188ee loaded by the results of this:
Code:
michael@C-3PO ~ $ lsmod | grep rtl8188ee
rtl8188ee             138845  0 
rtl_pci                39740  1 rtl8188ee
rtlwifi               121320  2 rtl_pci,rtl8188ee
mac80211              652718  3 rtl_pci,rtlwifi,rtl8188ee
So I guess one question I have is whether I should uninstall and reinstall the rtl8188ee drive (and how).
Another question seems to be why does the wifi work initially, and then cut out. I can always get it back by rebooting my computer.

Okay. I tried this:
Code:
michael@C-3PO ~ $ find /lib/modules -name rtl8188ee -print
/lib/modules/3.13.0-37-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee
/lib/modules/3.16.0-34-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee
michael@C-3PO ~ $ sudo modprobe /lib/modules/3.16.0-34-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee
[sudo] password for michael: 
modprobe: FATAL: Module /lib/modules/3.16.0-34-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee not found.
And...
/home/michael/rtlwifi_new/lib/modules/3.16.0-34-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188.ko (the module I have downloaded on my home folder) has these properties:
113.7 kB
Last Modified: Fri 10 Apr 2015 11:49:43 AM PDT

/lib/modules/3.16.0-34-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee (the module currently being used I assume) has these properties:
189.3 kB
Last Modified: Mon 27 Apr 2015 02:00:12 PM PDT

They are not the same. The one in use has been modified more recently (not sure by what).

I hope some of this information is helpful for you wonderful souls willing to help me.
Thanks!!!

Last edited by ServeChilled; 05-06-2015 at 03:08 AM.
 
Old 05-06-2015, 06:56 AM   #27
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,140

Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
Code:
michael@C-3PO ~ $ service networking restart
The 'service' script requires root, or sudo.
Code:
/lib/modules/3.16.0-34-generic/kernel/drivers/net/wireless/rtlwifi/rtl8188ee
That is a kernel module. If you have that, you don't need a driver. just modprobe it. Last time I dealt with a Realtek 8188, it was the rtl8188CUS and I got a link to a driver from the ebay supplier.

As for the two modules you have, I imagine the one currently in the kernel tree some bit later and is ok. How's the performance now? If you swap the 2 rtl8188ee modules, does the smaller one run any better?
 
Old 05-14-2015, 06:08 AM   #28
rollinhand
LQ Newbie
 
Registered: May 2015
Posts: 6

Rep: Reputation: Disabled
Sorry to post late but just found this thread as a newb myself having same WIFI issue, and finding this as the last thread in my voluminous online search for advice prior to finding what worked for me.

On a particular Acer Aspire laptop, a new install of Mint was working fine for days, then started constantly dropping/connecting to WIFI; tried so many suggestions to no avail, from having Windows release IP lease to involved LM terminal entries. What immediately cured my connnection was this: in Network Connections, set "Mode" from 'infrastructure' to 'ad hoc', save, reboot...fixed! Of course, it requires WPA password every boot, to me a small price to keep enjoying Mint. Hope this helps some people, cheers!
 
1 members found this post helpful.
Old 05-15-2015, 02:56 PM   #29
ServeChilled
LQ Newbie
 
Registered: Apr 2015
Location: Seattle
Distribution: Mint
Posts: 12

Original Poster
Rep: Reputation: Disabled
So, while my network was down I got this:
Code:
michael@C-3PO ~ $ sudo service networking restart
[sudo] password for michael: 
stop: Job failed while stopping
start: Job is already running: networking
I plugged in a USB wifi adapter, and that too will lose connection, but while it is in, I can get the connection back through network manager. The funny thing is that when I lose connection without the USB adapter, my internal adapter doesn't even show up in the network manager. But when I have the USB adapter in, both wifi adapters show up. I've added screenshots to explain what I mean. Does this give another clue?

Thank you, rollinhand, for your suggestion. My network settings does not seem to have a "mode" that I can find to change.

I have not yet swapped the two rtl8188ee modules mentioned earlier.

I'm so new at all this (and have been busy lately with other things) that I feel like I am getting a little lost. If anyone would like to help me "reboot" my understanding of all this, that would be great. I may just start from the beginning of this thread and try all the suggestions again and look up and read more about them to understand more.
Thank you!!
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2015-05-11 22:08:28.png
Views:	18
Size:	14.0 KB
ID:	18459   Click image for larger version

Name:	Screenshot from 2015-05-11 22:09:27.png
Views:	17
Size:	28.5 KB
ID:	18460  
 
Old 05-15-2015, 06:41 PM   #30
rollinhand
LQ Newbie
 
Registered: May 2015
Posts: 6

Rep: Reputation: Disabled
How I Get To Network Connections On My Mint.

At "Menu" search box, typing as little as letters "net" brings up some options; among them are the type of network data as shown in the poster's thumbnails; but there is also a search result called "Network Connections" which on mine appears under search result "Network". If you can reach such a search result "Network Connections", select it; it opens showing a selection available connections but in a way different from usual..."Network Connections" opens with all networks listed in a window, and to the right of the list are buttons to "Add" or "Edit". Select your network, then click "edit"; the option to switch from "infrastructure" to "ad hoc" (or vice versa) will be on a tab called "WIFI". Hope this helps.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2015-05-15 16:36:47.png
Views:	36
Size:	24.4 KB
ID:	18461   Click image for larger version

Name:	Screenshot from 2015-05-15 16:36:12.png
Views:	32
Size:	32.2 KB
ID:	18462  
 
  


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 07:20 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