WiFi Hotspot on RPi Model B 512MB and Edimax EW-7811Un adapter

First post, new user :smiley:

Thank you for the amazing work you do with DietPi!

I have a fresh install of DietPi with the WiFi Hotspot optimised software.

Device is RPi Model B 512MB and Edimax EW-7811Un adapter.

hostapd.service exits with a failure. The log shows that /etc/hostapd/hostapd.conf has the invalid/unknown driver ‘rtl1871xdrv’.

I can see that this issue was discussed and marked as closed here. If I understood the thread correctly, it would appear that DietPi would switch to RPi Foundation repo drivers which work with RTL8188C* adapters ??

May I have confirmation that Edimax EW-7811Un adapter can be made to work as hotspot with DietPi? If so, I would appreciate help to make my setup work.

Many thanks for your report. Indeed there was a bug our side. While the driver needs to be changed on all devices BUT RPi, it is changed on RPi only.

Fixed with: https://github.com/MichaIng/DietPi/commit/c9c39e607b4cf36205b032d26e98f174355d1464
Changelog: https://github.com/MichaIng/DietPi/commit/eccaf2d34315633248d8944254c873575323b43a

Quick fix:

G_CONFIG_INJECT 'driver=' 'driver=nl80211' /etc/hostapd/hostapd.conf
systemctl restart hostapd

Awesome it worked !

With DietPI, I found new uses for my old RPi

  • first to turn my printer into a network printer [with the CloudPrint optimised software, but cloudprint disabled because it is going away anyway, and using samba + CUPS instead], and


  • as a hotspot to onboard Wi-Fi devices which work only on 2.4 GHz.

Thanks heaps .

Great, many thanks for the feedback.