LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-25-2015, 08:14 PM   #1
6169C3
LQ Newbie
 
Registered: Jul 2015
Posts: 1

Rep: Reputation: Disabled
Help troubleshooting wireless driver problem


I've been banging my head against the wall trying to get my wireless card to work properly only to go from having it work badly to not having it work at all. I'm hoping someone can help me at least get my wireless up and running again or (even better) help solve the underlying problem I'm having.

Basically, this is where I am:

I had wireless issues, tried to troubleshoot them. It appeared I was having driver issues. I tried installing handful of alternate drivers others with similar problems recommended and none of them fixed the problem. I decided to stick with the driver that worked slightly better than the original one I was using. Now, for some reason, this driver is completely non-functional. I can connect to my router, but not to the internet. The problem is not with my router. I'm not sure how to re-install my default drivers.

I am using Linux Mint 17
Kernel: 3.19.1 (I needed hardware support not offered by the default kernel)
Wireless: Realtek RTL8188EE
Currently attempting to get this driver to work, but I'm willing to revert to the default if it is easier: https://github.com/lwfinger/rtlwifi_new

Steps I've taken to resolve this: Honestly, I know this is an easy fix but my brain is so fried from hours of troubleshooting that I can't seem find the solution easily.

I you are so kind as to help me fix my underlying issue (which I would greatly appreciate), I've listed the steps I've taken below. However, I will be more than happy to just get back my wireless, no matter how terrible the connection may be, so reading everything below the line of asterisks isn't necessary.

****************************************************************************

The issue I am having is that my wireless connection will drop at random times, and sometimes won't stay connected for more than a minute at a time. I'll indulge you if you ask, but I'm absolutely certain this is a driver or some other type of low-level issue. In reading numerous forum threads and a bug report, I've basically found that there are 4 different driver options available to me: the driver that can with my install, and updated version of the driver that came with my install, a proprietary driver, and an alternate driver put out by a hacker who goes by "FreedomBen".

From what I've read, installing Realtek's proprietary driver solves thi issue for almost everyone. My problem but it seems to be incompatible with the newer kernel (as far as I can tell). Running "make" I get this output:

Code:
make -C /lib/modules/3.19.1-031901-generic/build M=/home/alex/Downloads/rtl modules
make[1]: Entering directory `/usr/src/linux-headers-3.19.1-031901-generic'
  CC [M]  /home/alex/Downloads/rtl/base.o
/home/alex/Downloads/rtl/base.c: In function ‘_rtl_init_mac80211’:
/home/alex/Downloads/rtl/base.c:365:4: error: ‘struct ieee80211_hw’ has no member named ‘channel_change_time’
  hw->channel_change_time = 100;
    ^
/home/alex/Downloads/rtl/base.c: In function ‘rtl_action_proc’:
/home/alex/Downloads/rtl/base.c:885:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’
       rx_status.freq = hw->conf.channel->center_freq;
                                ^
/home/alex/Downloads/rtl/base.c:886:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’
       rx_status.band = hw->conf.channel->band;
                                ^
/home/alex/Downloads/rtl/base.c: In function ‘rtl_beacon_statistic’:
/home/alex/Downloads/rtl/base.c:1160:2: error: implicit declaration of function ‘compare_ether_addr’ [-Werror=implicit-function-declaration]
  if (compare_ether_addr(hdr->addr3, rtlpriv->mac80211.bssid))
  ^
/home/alex/Downloads/rtl/base.c: In function ‘rtl_send_smps_action’:
/home/alex/Downloads/rtl/base.c:1451:24: error: ‘struct ieee80211_conf’ has no member named ‘channel’
   info->band = hw->conf.channel->band;
                        ^
/home/alex/Downloads/rtl/base.c: In function ‘rtl_store_debug_level’:
/home/alex/Downloads/rtl/base.c:1684:2: error: implicit declaration of function ‘strict_strtoul’ [-Werror=implicit-function-declaration]
  ret = strict_strtoul(buf, 0, &val);
  ^
cc1: some warnings being treated as errors
make[2]: *** [/home/alex/Downloads/rtl/base.o] Error 1
make[1]: *** [_module_/home/alex/Downloads/rtl] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.19.1-031901-generic'
make: *** [all] Error 2
I don't know enough about the kernel to know whether this is resolvable or not. My main issue with reverting to an older kernel is that I have some peripherals that aren't supported by anything below 3.18. If there is a way to make everything play nice, I will be happy to indulge.

Alternately, many people seemed happy with FreedomBen's driver. Using his driver seemed to improve my connection in that it wouldn't drop completely, but my connection speed would fluctuate wildly making it completely unusable. He has a few tweaks on his github page and I tried them. However they didn't seem to resolve my connection speed problems. His github: https://github.com/FreedomBen/rtl8188ce-linux-driver

Finally, I tried the "updated" drivers. They are slightly more stable than my default drivers (or maybe that just wishful thinking) but suffer from the same connection drop issues.

I have tried a number of recommended "tweaks" recommended in various places but they haven't helped.

References:
http://ubuntuforums.org/showthread.php?t=2264505
http://askubuntu.com/questions/46303...ing-connection
https://bbs.archlinux.org/viewtopic.php?id=183886&p=2
https://bugzilla.redhat.com/show_bug.cgi?id=1108801
 
Old 07-27-2015, 01:23 PM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,499

Rep: Reputation: Disabled
Possibles.
Code:
modprobe rtl8188ee
http://forums.linuxmint.com/viewtopi...188EE#p1031787
http://forums.linuxmint.com/search.p...aa94d2c64726b9
 
Old 07-29-2015, 02:35 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
re your first post:

from a technical linux nerd point of view, you aren't really telling us anything about your problem, and we just have to take your word that your issues are "driver related" and that the github repo you are pointing to contains the proper driver for you...

running make on what?
one of the drivers from the aforementioned github repo?
you will have to explain to us how this is supposed to work, i guess there are instructions coming with the github repo?

what about the linux mint forums solution suggested by fatmac?

in case you solved it, please share the solution.

in case you didn't, we might need to go back to square 1, e.g. by supplying the info requested in this post.
 
Old 08-06-2015, 12:25 PM   #4
elcue
LQ Newbie
 
Registered: Sep 2009
Location: Texas
Distribution: suse 12.3
Posts: 5

Rep: Reputation: 1
Thumbs up Wifi Issues

I am a windows hater but stuck in the rut for the same reasons as everyone else. Linux just is not at all easy for the novice of semi skilled computer builder enthusiast.
It is not a load and go like Windows at all.Everything is a major chore for the average user.My first experience with Linux was Suse that I purchased assuming it would work better than a downloaded version.It came with I believe five or six CDs. Never got it to do anything but try to install.I bought it at Best Buy and it was a total waste of money and it was not cheap but under seventy five dollars. I have been trying to successively been trying to use Linux for at least fifteen years.

I have been fighting the same problem for a at least decade. I have purchased four different wifi USB adapters.The ( Netopia mod.TER/GUSB2-N ) works the best,but is slowest.
The others are a lot newer and faster.
I also have an (ASUS USB-N13) I try to stick with.I also have Netgear,Logitech and a H.Packerd USB adapters. All said they were Linux compatible and had drivers. Yes the software is on the CD but installing it on a Linux Distro has never happened for me. I have tried at least ten or more distros Ubuntu,Suse,Mint,Bodhi,Fedora,Mageia etc.You name it I have tried it.
The best one that gave me less problems that I use although I do not really like it is (Debian Wheezy).I like the looks of Suse the best with GNOME desktop.desktop just seemed easiest to navigate but a wifi nightmare also. The main problems aside from driver installation seem to be with the router not allowing an Internet connection.Even if the network router is recognized.A lot of times no connection can be made. With all of them even after an Internet connection is established.The connection will drop off and the computer must be restarted to auto connect. After a dropped connection a manual reconnect to the router is just about impossible for me to accomplish.
Not to bore anyone but I have posted this same question many places never to get an answer. This is my first here I think.I hope it may give comport if not any help.
 
Old 08-06-2015, 02:05 PM   #5
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by elcue View Post
Not to bore anyone but I have posted this same question many places never to get an answer
Not that I want to sound like a complete ****, but did you ever sit back and consider that perhaps the question could have been phrased a little better?

What I read (your post that is) sounds more like a rant, which can be cathartic at times. I know, because I rant a lot, but in the long run, ranting will not get you further. However, curiosity, and this will:
How to Ask Questions the Smart Way

An excerpt:
Write in clear, grammatical, correctly-spelled language

We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.

So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
Best regards,
HMW

Last edited by HMW; 08-07-2015 at 05:18 AM. Reason: Spelling
 
Old 08-06-2015, 04:11 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by elcue View Post
Linux (...) is not a load and go like Windows at all.
i have installed both windows and linux on bare metal, and neither was a walk in the park.
the biggest difference between linux & windows is that windows usually is already installed.
 
1 members found this post helpful.
Old 08-06-2015, 08:11 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

When you have the chance post the output of modprobe for fatmac so he can tell you about what he sees.

Sometimes with hardware issue recompiling the kernel often fixes the problem.
https://www.linux.com/learn/tutorial...-a-perfect-fit

http://forums.linuxmint.com/viewtopi...f=194&t=125027
http://askubuntu.com/questions/36758...-ubuntu-13-10\

You'll need 'build essentials' and 'headers' for the new kernel that you install for your compilation to work.
http://ubuntuforums.org/showthread.php?t=2196520
http://ubuntuforums.org/showthread.php?t=2196520&page=2

_;;_I have the same problem your having with the wifi and if I find a solution I'll post it for you._::_

Are you finding that the wifi drops randomly, suddenly and seemingly for no reason?
 
Old 08-06-2015, 08:13 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Running this command may give some clues.
Code:
dmesg | grep rtl
 
  


Reply



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
[SOLVED] Proprietary NVIDIA Driver Troubleshooting winter_ken Debian 3 05-03-2012 04:48 AM
Wireless problem Intel PRO/Wireless 3945abg iwl3945 driver svprem Linux - Wireless Networking 2 07-22-2010 11:15 AM
troubleshooting BCM4312 Wireless rioguia Linux - Networking 2 08-31-2009 11:19 AM
Wireless Troubleshooting and Suse 10.0 bwingate Linux - Newbie 2 11-06-2005 10:34 AM
troubleshooting wireless connection basd Linux - Wireless Networking 5 04-22-2003 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:20 PM.

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