hi, thx for this STILL RELEVANT thread. The basic steps at the beginning of the thread got me connected.
minor hitch, my xfce connection list on the newly installed adapter is doing something strange:
connections i’ve never connected to before show zero bars, but connections i’ve connected to before show bars. In other words, connections that have good strength, to which i AM able to connect no problem, show no bars before the 1st time i connect to them.
You can tell the Realtek adapter is failing to register connection strength correctly, by comparing to the Ralink adapter (which is correctly registering strength).
this is a minor issue, as i am able to connect on the Realtek adapter, even tho showing no bars.
any ideas?
I tried to follow the tutorial at the Reply 53 but when I digit
sudo dkms build 8188eu/1.0
I found an error:
“Your kernel headers for kernel 3.18.0-25-rpi2 cannot be found. Please install the linux-headers3.18.0-25-rpi2 package, or…(and so on)”.
What can I do?
I use a Raspberry Pi 2 with Ubuntu Mate.
Thank you.
Hi Leonarduino87, and welcome to the forum 
Try:
sudo apt-get install linux-headers-$(uname -r) build-essential dkms git
or maybe download the linux-headers-3.18.0-25-rpi2 .deb from here:
https://launchpad.net/~fo0bar/+archive/ubuntu/rpi2/+sourcepub/5193147/+listing-archive-extra
and install it.
I tried but the terminal says:
E: Unable to locate package linux-headers-4.1.10-v7
E: Couldn’t find any package by regex ‘linux-headers-4.1.10-v7’
Some hint?
Somewhere along the line it looks like you’ve changed from the 3.8 kernel to the 4.1 kernel (?)
What’s the output from:
uname -a
Linux leo-desktop 4.1.10-v7+ #821 SMP PREEMPT Sat Oct 10 00:16:28 BST 2015 armv7l armv7l GNU/Linux
It’s a Raspberry Pi 2 with Ubuntu Mate.
My problem is that when I use at the same time the wifi (TL-WN725N) and the bluetooth (CLS bluetooth v4) the internet connection is too slow and unstable.
When I remove the bluetooth internet is fast like a normal pc.
Maybe is a current problem (not enough Ampere in the USB devices) but maybe is a driver’s problem.
Have you not got a powered USB hub you could try ?
No, I haven’t.
But how can I understand if the drivers are correctly installed?
I tried
sudo iwconfig
and the terminal says:
no wireless extensions.
Is it normal? And if I write:
lsusb
I’ll have a Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter.
I’m a little bit confused.
What’s the output from:
sudo lshw -C network
and
lspci -vnn | grep -iA2 net
*-network:0
description: Ethernet interface
physical id: 2
logical name: enxb827eb89de31
serial: b8:27:eb:89:de:31
size: 10Mbit/s
capacity: 100Mbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=smsc95xx driverversion=22-Aug-2005 duplex=half firmware=smsc95xx USB 2.0 Ethernet link=no multicast=yes port=MII speed=10Mbit/s
*-network:1
description: Wireless interface
physical id: 3
bus info: usb@1:1.3
logical name: wlxc4e9840f0b3a
serial: c4:e9:84:0f:0b:3a
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=r8188eu ip=192.168.1.111 multicast=yes wireless=IEEE 802.11bgn
and
pcilib: Cannot open /proc/bus/pci
Okay, can we have the output from:
lsusb
instead then please.
Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
is there any output from:
rfkill list
?
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
With your PC connected to your router via an ethernet cable, open a terminal and run these commands in sequence:
mkdir ~/kernel-headers
then
cd ~/kernel-headers
then
wget http://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/linux-headers-4.1.10-v7%2B_4.1.10-v7%2B-2_armhf.deb
then
sudo dpkg -i *.deb
then
sudo apt-get install build-essential dkms git
then
mkdir ~/rtl8188eu
then
cd ~/rtl8188eu
then
git clone git://github.com/lwfinger/rtl8188eu
then
sudo cp -v rtl8188eu/rtl8188eufw.bin /lib/firmware/rtlwifi/
then
sudo dkms add ./rtl8188eu
then
sudo dkms build 8188eu/1.0
then
sudo dkms install 8188eu/1.0
if any of that throws an error STOP and say which command caused the error, and what the error was.
if it all went well, reboot
then if necessary (if wireless didn’t automatically start) modprobe the driver
sudo modprobe 8188eu
if still nothing, post the output from:
sudo lshw -C network
and
modinfo 8188eu | grep filename
leo@leo-desktop:~/kernel-headers$ sudo dpkg -i *.deb
[sudo] password for leo:
Selecting previously unselected package linux-headers-4.1.10-v7+.
(Reading database … 197729 files and directories currently installed.)
Preparing to unpack linux-headers-4.1.10-v7+_4.1.10-v7±2_armhf.deb …
Unpacking linux-headers-4.1.10-v7+ (4.1.10-v7±2) …
dpkg: dependency problems prevent configuration of linux-headers-4.1.10-v7+:
linux-headers-4.1.10-v7+ depends on gcc-4.7; however:
Package gcc-4.7 is not installed.
dpkg: error processing package linux-headers-4.1.10-v7+ (–install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-4.1.10-v7+
Run these in sequence:
sudo apt-get install build-essential dkms git
then
cd ~/kernel-headers
then
wget http://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/linux-headers-4.1.10-v7%2B_4.1.10-v7%2B-2_armhf.deb
then
sudo dpkg -i *.deb
then
mkdir ~/rtl8188eu
then
cd ~/rtl8188eu
then
git clone git://github.com/lwfinger/rtl8188eu
then
sudo cp -v rtl8188eu/rtl8188eufw.bin /lib/firmware/rtlwifi/
then
sudo dkms add ./rtl8188eu
then
sudo dkms build 8188eu/1.0
then
sudo dkms install 8188eu/1.0
if any of that throws an error STOP and say which command caused the error, and what the error was.
if it all went well, reboot
then if necessary (if wireless didn’t automatically start) modprobe the driver
sudo modprobe 8188eu
if still nothing, post the output from:
sudo lshw -C network
and
modinfo 8188eu | grep filename
leo@leo-desktop:~$ sudo apt-get install build-essential dkms git
[sudo] password for leo:
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version.
git is already the newest version.
dkms is already the newest version.
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies:
linux-headers-4.1.10-v7+ : Depends: gcc-4.7 but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).