Realtek RTL8188EE Wireless Card Not Working

Started by mitchd, September 18, 2013, 12:02:58 PM

Previous topic - Next topic

mitchd

Hey guys,

I have just installed BackBox and i can't get my wireless card to work. It is a Realtek rtl8188ee. Anyone know any solution for this?

EDIT:

iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

ifconfig


eth0      Link encap:Ethernet  HWaddr 00:8c:fa:69:7a:50 
          inet addr:192.168.1.14  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::28c:faff:fe69:7a50/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11422 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9129 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12351324 (12.3 MB)  TX bytes:1164329 (1.1 MB)
          Interrupt:46 Base address:0xc000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:742 errors:0 dropped:0 overruns:0 frame:0
          TX packets:742 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:126402 (126.4 KB)  TX bytes:126402 (126.4 KB)

lspci -v

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8179 (rev 01)
   Subsystem: Realtek Semiconductor Co., Ltd. Device 0191
   Flags: bus master, fast devsel, latency 0, IRQ 4
   I/O ports at 3000 [size=256]
   Memory at f0300000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: <access denied>
   Kernel modules: rtl8188ee

06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)
   Subsystem: Toshiba America Info Systems Device ff1e
   Flags: bus master, fast devsel, latency 0, IRQ 46
   I/O ports at 2000 [size=256]
   Memory at f0200000 (64-bit, non-prefetchable) [size=4K]
   Memory at f0100000 (64-bit, prefetchable) [size=16K]
   Capabilities: <access denied>
   Kernel driver in use: r8169
   Kernel modules: r8169
)




weVeg

una voce libera è sempre liberatrice
under_r00t

ReallyHosed

Wow weVeg, you ARE a hero!  Sadly, my similar problem may not have a solution. I'd like to get a RTL8188SU wifi adapter working properly with Backbox, but the only drivers I've found are for the wrong kernel.  Any advice?

ZEROF

Hi check,

http://ubuntuforums.org/showthread.php?t=1705004

What you need to know is, that you don't need any worry about kernel version, just try to get good drivers and install them. Older drivers can work good with new kernel.

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

weVeg

Quote from: ReallyHosed on October 30, 2013, 11:19:04 AM
Wow weVeg, you ARE a hero! 
mmm I don't think so.... google is a hero....
Quote
Sadly, my similar problem may not have a solution. I'd like to get a RTL8188SU wifi adapter working properly with Backbox, but the only drivers I've found are for the wrong kernel.  Any advice?
Yes, try to ask to hero above :P
una voce libera è sempre liberatrice
under_r00t

ReallyHosed

Thanks so much for helping...   I downloaded rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405.tar.gz, unpacked it and opened terminal from inside the driver folder and did:
make
and this is what it said:

make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.8.0-32-generic/build M=/root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405  modules
make: *** /lib/modules/3.8.0-32-generic/build: No such file or directory.  Stop.
make: *** [modules] Error 2
root@Z820s:~/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405#

I'm not sure what to do about the "/lib/modules/3.8.0-32-generic/build: No such file or directory" error.

Now, presently the wifi adapter works somewhat but it won't monitor or inject. Requesting what driver is in use brought this info:
r8712u
That don't seem right. I hope once I get the new driver to make, that will be amended.

ZEROF

I don't know why people don't read errors ...it's crazy.

/lib/modules/3.8.0-32-generic/build missing ? YES ...

mkdir /lib/modules/3.8.0-32-generic/build

Good luck !

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

ReallyHosed

#7
lol, I read the error, I just didn't know what to DO about it! heh heh
So I only need to create a directory?  I wondered if I had to install more linux headers (and I don't even know what they are or do!).  I've spent maybe 200 hours using Linux so far and basically I KNOW NOTHING, but hope to learn quickly.
Thanks again, I'll create the directory and try again. Will let you know how I make out!

[modify]:

Well, that problem is solved but I'm stopped again (and stumped! sheesh!)
root@Z820s:~/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405# make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.8.0-32-generic/build M=/root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405  modules
make[1]: Entering directory `/lib/modules/3.8.0-32-generic/build'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/lib/modules/3.8.0-32-generic/build'
make: *** [modules] Error 2

Wondering if it wanted me to create a "modules" directory inside /lib/modules/3.8.0-32-generic/build I did so and now:

/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405# make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.8.0-32-generic/build M=/root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405  modules
make[1]: Entering directory `/lib/modules/3.8.0-32-generic/build'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/lib/modules/3.8.0-32-generic/build'

2nd [modify]:
er...  I just remembered the blogger saying you need GCC compiler, and I thought it came with Backbox, and now I looked in Synaptic Package Manager and  the top choice for GCC is indeed already installed.  So I'm still stumped...

weVeg

When you start to compile your asset must include: build-essential, header and kernel source
Ensure that you have those stuff.
una voce libera è sempre liberatrice
under_r00t

ReallyHosed

#9
You're speaking to a noob, weVeg...  aside from getting build-essentials (done long ago) I don't know what to do next.   :'(
The fellow on this post:
http://ubuntuforums.org/showthread.php?t=1705004
seems happy but I don't see ANYTHING helpful on that page what so ever. Possibly because the forum won't let me
open the .png images posted, I have no idea if there's anything helpful shown.
Today I tried everything I could think of, including using the install.sh included with one of the drivers. The script ran, but at
the end it said:

Authentication requested [root] for insert driver:
Usage: insmod filename [args]
Authentication requested [root] for install driver:
install -p -m 644 8712u.ko  /lib/modules/3.8.0-32-generic/kernel/drivers/net/wireless/
install: cannot stat `8712u.ko': No such file or directory
make: *** [install] Error 1
##################################################
The Setup Script is completed !
##################################################

Since the RTL8188SU works (some) and is already using driver 8172u, I don't see how the driver downloaded from Realtek
is making anyone else happy.

b4d_bl0ck

At least linux headers must be there:
sudo apt-get install linux-headers-$(uname -r)
an then rebuild...

Man that's basic admin routine... please don't ask on every single error, search the web for good documentation.

Bye!
Have fun.
bool secure = check_paranoia() ? true : false;

ReallyHosed

#11
Hello b4d_bl0ck and thanks for the suggestion. I previously installed linux-headers-generic but with the commands you suggested I just now installed:
linux-headers-3.8.0-32 linux-headers-3.8.0-32-generic
I rebooted and tried make again and got exactly the same failed result:

make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.8.0-32-generic/build M=/root/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405  modules
make[1]: Entering directory `/lib/modules/3.8.0-32-generic/build'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/lib/modules/3.8.0-32-generic/build'

The driver documentation says it's for kernel 2.6.18 ~ 2.6.35 so why did I install 3.8.0-32?
(BTW, I have spent maybe 50 hours with google but each and every blogger's advice has been a 100% failure! lol)

>> [modify]:
FYI, I just checked and here's what's installed:
root@Z820s:~# uname -a
Linux Z820s 3.8.0-32-generic #47~precise1-Ubuntu SMP Wed Oct 2 16:22:28 UTC 2013 i686 i686 i386 GNU/Linux
root@Z820s:~# dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d'
linux-headers-3.2.0-55
linux-headers-3.2.0-55-generic
linux-image-3.8.0-30-generic

>> modify #2!

I've googled all day and it seems that I'll never be able to get into monitor mode. From here:
http://comments.gmane.org/gmane.linux.kernel.wireless.general/98944
Quote:
"To my knowledge, none of the Realtek, non-mac80211 drivers work in monitor mode;
however, if you think they do, then you can get such drivers from realtek.com.
Please be aware that there is a definite possibility that such drivers will not
build on recent kernels. In addition, they are unlikely to work on 64-bit
kernels. I keep sending patches to them, but such changes seem to not be
implemented.
Larry"