RTL8188CUS hostapd no longer works. No Raspberry Pi WiFi AP for you!

Nick Sayer wrote 03/30/2015 at 04:32 2 points

If you google for Raspberry Pi hostapd, the majority of the tutorials all have the exact same advice:

1. Get an RTL8188CUS based wifi dongle
2. Download or build a custom, Realtek proprietary, modified copy of hostapd from the pleistocene.
3. Set it up with "driver=rtl871xdrv" in hostapd.conf
4. profit.

So far as I can tell, with kernel 3.18.7+, that no longer works.

All you get when you try is

ioctl[SIOCSIWMODE]: Operation not permitted
Could not set interface to mode(3)!
Could not set interface to master mode!
rtl871xdrv driver initialization failed.

I seem to be either the first person in the entire known universe to discover this, or I have the only RTL8188CUS in the entire known universe for which this sequence of events has that result.

What. The. Fuck.