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

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
yerc
Posts: 6
Joined: Fri Nov 27, 2020 10:26 pm

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

Post by yerc »

First post, new user :D

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.
User avatar
MichaIng
Site Admin
Posts: 2490
Joined: Sat Nov 18, 2017 6:21 pm

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

Post by MichaIng »

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/comm ... 74355d1464
Changelog: https://github.com/MichaIng/DietPi/comm ... 575323b43a

Quick fix:

Code: Select all

G_CONFIG_INJECT 'driver=' 'driver=nl80211' /etc/hostapd/hostapd.conf
systemctl restart hostapd
yerc
Posts: 6
Joined: Fri Nov 27, 2020 10:26 pm

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

Post by yerc »

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 .
User avatar
MichaIng
Site Admin
Posts: 2490
Joined: Sat Nov 18, 2017 6:21 pm

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

Post by MichaIng »

Great, many thanks for the feedback.
Post Reply