foobar1234
Posts: 5
Joined: Fri May 09, 2014 10:41 am

Jessie and RTL8188CUS as access point (hostapd)

Thu Mar 12, 2015 8:11 pm

With Debian Wheezy it was not "natively" possible to get Realtek rtl8188cus based WLAN adapters (most popular example: Edimax EW-7811Un) to work with hostapd (version 1.0 on Wheezy). You needed a patched hostapd version (to my knowledge based on hostapd 2.0) directly from Realtek that works. The hardware itself is perfectly able to work as an AP, Windows 7 and 8 can perfectly set it into AP mode with the "netsh" utility, so it's only a matter of driver/software support on Linux.

But what is the state with Debian Jessie in this matter? It comes with hostapd 2.3 and also updated realtek-firmware package. On Jessie the rtl8188cus runs with the rtl8192cu driver, which uses the mac80211 framework. Now the official hostapd wiki on kernel.org (https://wireless.wiki.kernel.org/en/use ... on/hostapd) says:
All new cfg80211 (and mac80211) based drivers that implement AP functionality are supported using nl80211 interface.
So, can I expect to be able to set rtl8188cus based WLAN adapters into AP mode with plain Debian Jessie (so, without installing modified drivers from some external sources, like Wheezy required)?

User avatar
blachanc
Posts: 466
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)

Re: Jessie and RTL8188CUS as access point (hostapd)

Thu Aug 06, 2015 1:20 pm

I am also very interested by this topic:
My background is that I updated Raspbmc to OSMC, which I believe is based on Jessie.

Unfortunately, I could not even locate hostapd in jessie :oops:

I know that Sam (OSMC) has not much fate for the "Realtek and ConnMan" combination.

OSMC post:Static IP for WiFi in Access Point mode

As I am almost clueless about networks on Linux, feel free to correct me ;)


Regards,
Ben
For now, I have fallen back to a RASPIAN WEEZY AP which is working fine (using adafruit modified hostapd) .

for me the equation is simple:
(IPAD+NPLAYER) && (AP/OSMC RASPIAN/SAMBA/USBHARDRIVE)= (More sleep in the morning when at the rented cottage... with no internet)
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191

User avatar
blachanc
Posts: 466
Joined: Sat Jan 26, 2013 5:03 am
Location: Quebec,canada(french)

Re: Jessie and RTL8188CUS as access point (hostapd)

Thu Aug 06, 2015 4:01 pm

I did a bit of research and I believe I found the "hostapd" mysterious required swap explanation on many AP guides.

https://github.com/pritambaral/hostapd-rtl871xdrv
extracted form the README.md

"AP mode (via hostapd) support for wifi chips that identify themselves as RTL8188CUS (or variants thereof). If you've seen or heard someone claim that a certain wifi chip works with a special version of hostapd driver called rtl871xdrv, this is it."


adafruit AP with PI

Code: Select all

 wget http://adafruit-download.s3.amazonaws.com/adafruit_hostapd_14128.zip
As from my assumption that OSMC is close to Jessie, this seems to not be so true since OSCM is using ConnMan.

I guess my next step is to try to install hostapd on OSMC.


Ben
Autism/Asperger syndrome: what is your score on this quiz?
http://www.raspberrypi.org/forums/viewtopic.php?f=62&t=70191

Return to “Advanced users”