RTL 8188 EE not working properly [SOLVED]
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
RTL 8188 EE not working properly [SOLVED]
I am trying to install this driver like it says on the internet:-
wget https://www.kernel.org/pub/linux/kernel ... -u.tar.bz2
cd compat-drivers-2013-03-28-5-u
./scripts/driver-select alx
make
sudo make install
but it doesnt work for me, could you please explain to me what I am doing wrong?
mehow@mehow ~ $ cd compat-drivers-2013-03-28-5-u
mehow@mehow ~/compat-drivers-2013-03-28-5-u $ ./scripts/driver-select alx
Processing new driver-select request...
Backing up makefile: Makefile.bk
Backup exists: Makefile.bk
Backing up makefile: drivers/net/ethernet/broadcom/Makefile.bk
Backing up makefile: drivers/net/ethernet/atheros/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
mehow@mehow ~/compat-drivers-2013-03-28-5-u $ make
./scripts/gen-compat-autoconf.sh /home/mehow/compat-drivers-2013-03-28-5-u/.config /home/mehow/compat-drivers-2013-03-28-5-u/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/3.13.0-24-generic/build M=/home/mehow/compat-drivers-2013-03-28-5-u modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
CC [M] /home/mehow/compat-drivers-2013-03-28-5-u/compat/main.o
In file included from /home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-2.6.h:75:0,
from <command-line>:0:
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h:91:52: warning: ‘struct fb_info’ declared inside parameter list [enabled by default]
static inline void fb_enable_skip_vt_switch(struct fb_info *info)
^
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h:91:52: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h: In function ‘backport_fb_enable_skip_vt_switch’:
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h:93:6: error: dereferencing pointer to incomplete type
info->skip_vt_switch = true;
^
make[3]: *** [/home/mehow/compat-drivers-2013-03-28-5-u/compat/main.o] Error 1
make[2]: *** [/home/mehow/compat-drivers-2013-03-28-5-u/compat] Error 2
make[1]: *** [_module_/home/mehow/compat-drivers-2013-03-28-5-u] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
make: *** [modules] Error 2
mehow@mehow ~/compat-drivers-2013-03-28-5-u $ sudo make install
Warning:
You may or may not need to update your initramfs, you should if
any of the modules installed are part of your initramfs. To add
support for your distribution to do this automatically send a
patch against ./scripts/update-initramfs. If your distribution does not require this
send a patch against the '/usr/bin/lsb_release -i -s': "Ubuntu"
tag for your distribution to avoid this warning.
make -C /lib/modules/3.13.0-24-generic/build M=/home/mehow/compat-drivers-2013-03-28-5-u modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
CC [M] /home/mehow/compat-drivers-2013-03-28-5-u/compat/main.o
In file included from /home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-2.6.h:75:0,
from <command-line>:0:
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h:91:52: warning: ‘struct fb_info’ declared inside parameter list [enabled by default]
static inline void fb_enable_skip_vt_switch(struct fb_info *info)
^
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h:91:52: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h: In function ‘backport_fb_enable_skip_vt_switch’:
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h:93:6: error: dereferencing pointer to incomplete type
info->skip_vt_switch = true;
^
make[3]: *** [/home/mehow/compat-drivers-2013-03-28-5-u/compat/main.o] Error 1
make[2]: *** [/home/mehow/compat-drivers-2013-03-28-5-u/compat] Error 2
make[1]: *** [_module_/home/mehow/compat-drivers-2013-03-28-5-u] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
make: *** [modules] Error 2
wget https://www.kernel.org/pub/linux/kernel ... -u.tar.bz2
cd compat-drivers-2013-03-28-5-u
./scripts/driver-select alx
make
sudo make install
but it doesnt work for me, could you please explain to me what I am doing wrong?
mehow@mehow ~ $ cd compat-drivers-2013-03-28-5-u
mehow@mehow ~/compat-drivers-2013-03-28-5-u $ ./scripts/driver-select alx
Processing new driver-select request...
Backing up makefile: Makefile.bk
Backup exists: Makefile.bk
Backing up makefile: drivers/net/ethernet/broadcom/Makefile.bk
Backing up makefile: drivers/net/ethernet/atheros/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
mehow@mehow ~/compat-drivers-2013-03-28-5-u $ make
./scripts/gen-compat-autoconf.sh /home/mehow/compat-drivers-2013-03-28-5-u/.config /home/mehow/compat-drivers-2013-03-28-5-u/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/3.13.0-24-generic/build M=/home/mehow/compat-drivers-2013-03-28-5-u modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
CC [M] /home/mehow/compat-drivers-2013-03-28-5-u/compat/main.o
In file included from /home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-2.6.h:75:0,
from <command-line>:0:
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h:91:52: warning: ‘struct fb_info’ declared inside parameter list [enabled by default]
static inline void fb_enable_skip_vt_switch(struct fb_info *info)
^
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h:91:52: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h: In function ‘backport_fb_enable_skip_vt_switch’:
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h:93:6: error: dereferencing pointer to incomplete type
info->skip_vt_switch = true;
^
make[3]: *** [/home/mehow/compat-drivers-2013-03-28-5-u/compat/main.o] Error 1
make[2]: *** [/home/mehow/compat-drivers-2013-03-28-5-u/compat] Error 2
make[1]: *** [_module_/home/mehow/compat-drivers-2013-03-28-5-u] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
make: *** [modules] Error 2
mehow@mehow ~/compat-drivers-2013-03-28-5-u $ sudo make install
Warning:
You may or may not need to update your initramfs, you should if
any of the modules installed are part of your initramfs. To add
support for your distribution to do this automatically send a
patch against ./scripts/update-initramfs. If your distribution does not require this
send a patch against the '/usr/bin/lsb_release -i -s': "Ubuntu"
tag for your distribution to avoid this warning.
make -C /lib/modules/3.13.0-24-generic/build M=/home/mehow/compat-drivers-2013-03-28-5-u modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
CC [M] /home/mehow/compat-drivers-2013-03-28-5-u/compat/main.o
In file included from /home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-2.6.h:75:0,
from <command-line>:0:
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h:91:52: warning: ‘struct fb_info’ declared inside parameter list [enabled by default]
static inline void fb_enable_skip_vt_switch(struct fb_info *info)
^
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h:91:52: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h: In function ‘backport_fb_enable_skip_vt_switch’:
/home/mehow/compat-drivers-2013-03-28-5-u/include/linux/compat-3.10.h:93:6: error: dereferencing pointer to incomplete type
info->skip_vt_switch = true;
^
make[3]: *** [/home/mehow/compat-drivers-2013-03-28-5-u/compat/main.o] Error 1
make[2]: *** [/home/mehow/compat-drivers-2013-03-28-5-u/compat] Error 2
make[1]: *** [_module_/home/mehow/compat-drivers-2013-03-28-5-u] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
make: *** [modules] Error 2
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Qualcomm Atheros (AR8162) Driver
Could you send the link to where you found this tuto?
You are trying to install an older driver on a newer kernel. Linux kernel do come with most of the drivers you need.
what is the initial problem?
You are trying to install an older driver on a newer kernel. Linux kernel do come with most of the drivers you need.
what is the initial problem?
Re: Qualcomm Atheros (AR8162) Driver
I have just realize that there are newer versions of "compat drivers"; they have changed their name to "backports".
Anyway, What I have done right now was I have installed the newest kernel 3.15 (before it was 3.13) and I managed to install the alx drivers.
However, this hasn't fixed my initial problem.
My initial problem is that the OS cannot find any bluetooth adapters, and the second thing is that the WIFI continuesly turns on and turns off (there are HUGE speed jumps or I have just very slow internet speed), when I use the cable internet then everything is workering properly.
So I came to a conclusion that it has to do something with the Qualcomm Atheros (AR8162) Driver because Qualcomm Atheros (AR8162) delievers the bluetooth and WIFI to the laptop.
Do you know how to fix this because right now I have no idea.
Anyway, What I have done right now was I have installed the newest kernel 3.15 (before it was 3.13) and I managed to install the alx drivers.
However, this hasn't fixed my initial problem.
My initial problem is that the OS cannot find any bluetooth adapters, and the second thing is that the WIFI continuesly turns on and turns off (there are HUGE speed jumps or I have just very slow internet speed), when I use the cable internet then everything is workering properly.
So I came to a conclusion that it has to do something with the Qualcomm Atheros (AR8162) Driver because Qualcomm Atheros (AR8162) delievers the bluetooth and WIFI to the laptop.
Do you know how to fix this because right now I have no idea.
Re: Qualcomm Atheros (AR8162) Driver
let's first have a look on the wifi issue (also these cards are tricky to get both bluetooth and wifi to work correctly)
It will download a script and create a file named wireless-info.txt or wireless-info.tar.gz in your home folder with wireless information so we can see the condition of your wireless and errors at the time. The MAC address, WPA key and WEP key are removed for your security. Paste contents of the wireless-info.txt or wireless-info.tar.gz file at http://pastebin.ubuntu.com or alternatively http://pastebin.com/ then post the link here in your question.
Code: Select all
wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && \chmod +x wireless_script && \./wireless_script
Re: Qualcomm Atheros (AR8162) Driver
http://pastebin.ubuntu.com/8329913/
Correct me if I am wrong, but according to this everything is OK.
Do you have any ideas?
Correct me if I am wrong, but according to this everything is OK.
Do you have any ideas?
Re: Qualcomm Atheros (AR8162) Driver
well apart your firewall blocking some stuff it seems alright.
I would setup my router to use channel 3, you are on 6 with 2 other AP.
and use wpa2 only not mixed mode as you have now (wpa/wpa2)
also set your country correctly on your Mint unit.
http://forums.linuxmint.com/viewtopic.php?f=42&t=175809
I would setup my router to use channel 3, you are on 6 with 2 other AP.
and use wpa2 only not mixed mode as you have now (wpa/wpa2)
also set your country correctly on your Mint unit.
http://forums.linuxmint.com/viewtopic.php?f=42&t=175809
Re: Qualcomm Atheros (AR8162) Driver
The wifi still isnt working properly. For 100% its not the router's fault.
This week, I'll get an external hard disk with windows on it, and Ill see if it is a hardware problem or just the linux.
However, I dont think its the hardware fault because it is a new laptop.
Do you have an idea what other cause there could be to make wifi workining imrpoperly???
This week, I'll get an external hard disk with windows on it, and Ill see if it is a hardware problem or just the linux.
However, I dont think its the hardware fault because it is a new laptop.
Do you have an idea what other cause there could be to make wifi workining imrpoperly???
Re: Qualcomm Atheros (AR8162) Driver
did you check the settings on the router? the open source drivers stick a bit more to the rules then the proprietary drivers in windows
the link I have provided is based on experience with different cards and routers (I'm also a network consultant)
I've seen manytimes windows "working" ok but linux having some "problems", that's why I always check the router settings first, make sure it has the latest firmware and set a channel that is not to much in use in the environment to avoid too many collisions.
I was testing a netgear router this week for one of my neighbors as he complained about slow wifi (windows xp laptop), I discovered that 4 other APs were on the same channel (frequent as manufacturers set it to auto and most of them use 1,6,11) so I changed it to 3 and forced wpa2 instead of mixed mode. Since then he seems happy.
Off course they may be other settings we can look at but first let's set the router "correctly" so we can exclude this.
the link I have provided is based on experience with different cards and routers (I'm also a network consultant)
I've seen manytimes windows "working" ok but linux having some "problems", that's why I always check the router settings first, make sure it has the latest firmware and set a channel that is not to much in use in the environment to avoid too many collisions.
I was testing a netgear router this week for one of my neighbors as he complained about slow wifi (windows xp laptop), I discovered that 4 other APs were on the same channel (frequent as manufacturers set it to auto and most of them use 1,6,11) so I changed it to 3 and forced wpa2 instead of mixed mode. Since then he seems happy.
Off course they may be other settings we can look at but first let's set the router "correctly" so we can exclude this.
Re: Qualcomm Atheros (AR8162) Driver
Your last post got me thinking alot, and is it possible that open source drivers are less efective when there are alot of other signals (from other computers and WIFI routers) in the area?
Re: Qualcomm Atheros (AR8162) Driver
You could try this reboot
It isn't going to find your bluetooth but it seems to help the Realtek Wifi cards
Code: Select all
echo "options rtl8188ee fwlps=N ips=N" | sudo tee /etc/modprobe.d/rtl8188ee.conf
It isn't going to find your bluetooth but it seems to help the Realtek Wifi cards
Re: Qualcomm Atheros (AR8162) Driver
did you make the changes on the router?
hen use the script again and send the info.
hen use the script again and send the info.
Re: Qualcomm Atheros (AR8162) Driver
no, it doesn't work.
I think there is nothing to do in my case
I think there is nothing to do in my case
Re: Qualcomm Atheros (AR8162) Driver
let's give it a last try
first clear dmesg
should be empty.
Restart , try to connect using wifi and run the script again (in this order).
first clear dmesg
Code: Select all
sudo dmesg -c
Code: Select all
dmesg
Restart , try to connect using wifi and run the script again (in this order).
Re: Qualcomm Atheros (AR8162) Driver
http://pastebin.ubuntu.com/8373175/
It didn't work. Now I am pretty sure that its the hardware which is causing this problem.
It didn't work. Now I am pretty sure that its the hardware which is causing this problem.
Re: Qualcomm Atheros (AR8162) Driver
not so sure, your firewall kicks in a lot.
and try it again.
Code: Select all
sudo ufw disable
Re: Qualcomm Atheros (AR8162) Driver
http://pastebin.ubuntu.com/8374616/
Still it doesn't work, but thank you very much for trying to solve this problem. I'll get new RTL8188EE card for my laptop, and hopefully this will solve the problem.
Still it doesn't work, but thank you very much for trying to solve this problem. I'll get new RTL8188EE card for my laptop, and hopefully this will solve the problem.