Problems with RTL8188EU based WiFi NIC

Aleksandar Kuktin <[email protected]>
Newsgroups gmane.linux.lfs.general
Message-ID <20140127235300.037173b5@ikilid>
You know, LFS would probably benefit if there were something like a
lfs-hardware list, where people would talk about running LFS on all
sorts of exotic, strange, unusual, corners-were-cut-in-making-of-this,
windows-only and just plain broken hardware.

Right now I have a very peculiar problem. I went out and bought a D-Link
GO-USB-N150 which is a USB WiFi interface based on RTL8188EU. Of the
quite a few WiFi cards that were available I specifically chose this
one because I specifically read on Linux Mint forums that you can make
this card run on Linux.

http://forums.linuxmint.com/viewtopic.php?f=53&t=153544

As per the explanation up there, I patched the driver, compiled and
installed the module, put the firmware into the kernel image (normal
practice for me) and plugged in the card (stick). The module got loaded
(yay!) and initialized itself and the card (double yay!). Then I try to
go to the next step and run wpa_supplicant but get the following:

$wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant -d
Initializing interface 'wlan0' conf '/etc/wpa_supplicant' driver
'nl80211' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant' -> '/etc/wpa_supplicant'
Reading configuration file '/etc/wpa_supplicant'
ctrl_interface='/var/run/wpa_supplicant.iface'
ctrl_interface_group='10'
eapol_version=1
ap_scan=1
Priority group 0
   id=0 ssid=''
nl80211: Failed to set interface 13 to mode 2: -19 (No such device)
nl80211: Failed to set interface 13 to mode 2: -19 (No such device)
nl80211: Interface mode change to 2 from 0 failed
nl80211: Could not configure driver to use managed mode
Failed to initialize driver interface
Failed to add interface wlan0
Cancelling scan request
Cancelling authentication timeout

Relevant output from ip:

13: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether [somemac] brd ff:ff:ff:ff:ff:ff

The questions: does anyone have any idea on how to proceed? I looked a
bit in the source for the driver but can't figure it all out. What I
can see is that a lot of stuff has 'hal' in the name, but surely this
is not a reference to HAL, right? I'm supposed to be able to do
everything with udev, right?

In the sources for the driver, there is a package of hostap-0.8
together with some scripts for starting hostap. These scripts seem to
start hostap and set it to use something called rtl871xdrv as its
driver. However, the sources for wpa_supplicant-2.0 do not have any
mention of that string. Am I correct in trying to use nl80211 as the
driver?

Does anyone perhaps have an idea what Mint has and a barebones BLFS
does not? I keep thinking I am missing something that big distros (yes,
Mint is big now :) ) have.

I really don't expect a positive answer on this last one, but here goes
anyway: has anyone successfully run either GO-USB-N150 or something
else that uses RTL8188?

-- 
Svi moji e-mailovi su kriptografski potpisani. Proverite ih.
All of my e-mails are cryptographically signed. Verify them.
--
You don't need an AI for a robot uprising.
Humans will do just fine.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBAgAGBQJS5uNMAAoJEKa4cgqNx31/iQ8P+gNN5OxBIHuCCPWk+jicvz0+
laXpCcz5xMpePR7HlIVDm9obWQjgTbA5mdN5ubTxuBiNNiWVnA8gllPri/XlK5D2
KIbRuhgheG06fi5XrYAAeaRpLpD5eihPaS+B9rfcuq/hXFD2s42OAUgI/6AkMGHL
aqCPvP1K8eey+dAPB8SpvGwL+yP2Xjesy6wynBWoSXV9pSYiJUpaNSDtUTdx/XuK
DUTDoQhfQgTM2oy/NBDlZb4vqkm3+RxQENnawKMmLIhcU/Acc4KGp7Tz56Cecouf
0c9XsYii4tN5QwItgPVEbjL6P1Vq9Ld8I4Y3Ifd2gWLhnC0o8naZ0Ylo9pNUt8Ct
qrjXWxdfEUUEZi19N01USVjIAU0L93AwwBbMMesHA0gmumAPYEzbvAc9vtzYNSAi
OwOchw0MQ+Sz48fDHEEU1aUW7PUxZQI21jijxKCPN66btxiIQ73Y3ls2nXRSflZP
GyJUwhU/KIF6/jG7e/lSuUx1llAqruJ9g1YSMO7hiCcR7XwzPv8KDomaR3VIeuFN
zJdvvl9YYtBL3W3zUAg+qApPZXI+L6uyQtiZuC5rFzNFwHeBjXIAQtrAl9Z01GzW
oxPL+vnIgmHmZ1mwLji9tBxVOv599C8i2BYwGF9KnA5hqYq0v/QrTzX32wxBH6VY
aStHfG3kOcoeAPMCGyGl
=JQXT
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.