Cridi
Posts: 2
Joined: Wed Jan 01, 2014 7:56 pm

invalid/unknown driver 'rtl8192cu' - in hostapd

Wed Jan 01, 2014 8:05 pm

Hi Guys

im tryin to set up my Pi as an AP however it does not work. I downloaded hostapd and udhcpd. I Set up everything and it does not work.
after typin hostapd /etc/hostapd/hostapd.conf this occures:

Code: Select all

root@raspberrypi:~# hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Line 2: invalid/unknown driver 'rtl8192cu'
1 errors found in configuration file '/etc/hostapd/hostapd.conf'

Code: Select all

root@raspberrypi:~# lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

Code: Select all

[    3.461566] usb 1-1.2: Product: 802.11n WLAN Adapter
[    3.468721] usb 1-1.2: Manufacturer: Realtek
[    3.486602] usb 1-1.2: SerialNumber: 00e04c000001
[    3.847775] udevd[154]: starting version 175
[    5.006956] Registered led device: led0
[    6.741106] usbcore: registered new interface driver rtl8192cu
[   13.450243] EXT4-fs (mmcblk0p8): re-mounted. Opts: (null)
[   13.891319] EXT4-fs (mmcblk0p8): re-mounted. Opts: (null)
[   23.284580] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
So obviously the right driver is set in hostapd.conf but it does not work. Has someone a Solution idea?:)

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: invalid/unknown driver 'rtl8192cu' - in hostapd

Thu Jan 02, 2014 12:58 am

Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Cridi
Posts: 2
Joined: Wed Jan 01, 2014 7:56 pm

Re: invalid/unknown driver 'rtl8192cu' - in hostapd

Thu Jan 02, 2014 11:40 am

Jeah Thanks!
I already found this one half an our after my post here too. But this is not working either way. If I do it like on the page my Pi is emiting the Wifi signal so i can see it on my laptop but i cant connect, there are authification problems -.-

MrEngman
Posts: 4022
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: invalid/unknown driver 'rtl8192cu' - in hostapd

Sat Mar 29, 2014 2:13 am

Cridi wrote:Jeah Thanks!
I already found this one half an our after my post here too. But this is not working either way. If I do it like on the page my Pi is emiting the Wifi signal so i can see it on my laptop but i cant connect, there are authification problems -.-
I can set up my Pi as an AP with the same wifi adaptor on Raspbian

My /etc/hostapd/hostapd.conf is

Code: Select all

interface=wlan0
driver=rtl871xdrv
bridge=br0
ssid=NETWORK-NAME
channel=1
wmm_enabled=0
wpa=1
wpa_passphrase=NETWORK-PASSWORD
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0
No need to change the line "driver=...". I have even found it works if that line is removed or commented out. Or you can try changing the driver to 8192cu which is the driver module although I think it is totally unnecessary. I've not tried it as it's not necessary to get it working.

I set up my AP using the data Dougie pointed you to. I did, however, compile my own hostapd from the driver source I have. Tried mine with raspbian 3.10.25+ #622 and 3.10.34+ #660 using the same hostapd file for both.

You can download the version of hostapd I compiled from here. This file contains a 8188eu wifi driver for 3.10.25+ and the hostapd I used for 3.10.25+ and 3.10.34+ so I would expect it to work for any revisions between those two, and possibly other versions of 3.10.y as well.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

femindharamshi10
Posts: 102
Joined: Thu Jan 07, 2016 1:28 pm

Re: invalid/unknown driver 'rtl8192cu' - in hostapd

Thu Mar 24, 2016 5:31 am

ok so i dont want a bridged connection. i just want a access point so devices can connect to it and access the apache2 server on my pi. so what all do i need to do ?
follow this link fully or partly ? and what about dhcp ? can you please explain ?

Return to “Troubleshooting”