Wifi Hotspot Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
cocoflan
Posts: 55
Joined: Sat Dec 01, 2018 7:33 pm

Wifi Hotspot

Post by cocoflan »

Wifi hotspot doesn't work any more get error on install

Failed to start hostapd.service: Unit hostapd.service is masked.
:cry:

User avatar
MichaIng
Site Admin
Posts: 2214
Joined: Sat Nov 18, 2017 6:21 pm

Re: Wifi Hotspot

Post by MichaIng »

@cocoflan
No idea what masked it, but simply unmask via: systemctl unmask hostapd.service
Then retry.

cocoflan
Posts: 55
Joined: Sat Dec 01, 2018 7:33 pm

Re: Wifi Hotspot

Post by cocoflan »

Did what you say and my hotspot is back online but no internet connection is posible, even after reinstall on my raspberry pi i did have to do that commandline procedure to activate my hotspot but still no connection for internet. tested raspap on other system on raspberry pi and that worked so u guess that it have to do with some kind of update.

cocoflan
Posts: 55
Joined: Sat Dec 01, 2018 7:33 pm

Re: Wifi Hotspot

Post by cocoflan »

I did install an old image 6.17 on my raspberry pi and get the same error, when i use your command it fixed it, so now i have a connection and internet again, so it must be something in the updates i guess. Hope it stays good for now.

cocoflan
Posts: 55
Joined: Sat Dec 01, 2018 7:33 pm

Re: Wifi Hotspot

Post by cocoflan »

identical trouble afther upgrading from v6.22.3 to v6.24.0 with hostapd, i restored to 6.22.3 again.

User avatar
MichaIng
Site Admin
Posts: 2214
Joined: Sat Nov 18, 2017 6:21 pm

Re: Wifi Hotspot

Post by MichaIng »

@cocoflan
Could you try it with the hostapt package from the repo:

Code: Select all

apt install --reinstall hostapd

cocoflan
Posts: 55
Joined: Sat Dec 01, 2018 7:33 pm

Re: Wifi Hotspot

Post by cocoflan »

i did apt purge hostapd and then reinstall with apt install, and it stayed the same. so for now am again on v6.22.3 with a backup restore.

Or makes it a difference to use apt install --reinstall hostapd?

cocoflan
Posts: 55
Joined: Sat Dec 01, 2018 7:33 pm

Re: Wifi Hotspot

Post by cocoflan »

I first upgraded to v6.24.1 (maby nothing to do with it i guess).

And then "apt install --reinstall hostapd" did the trick, thx !!!

cocoflan
Posts: 55
Joined: Sat Dec 01, 2018 7:33 pm

Re: Wifi Hotspot

Post by cocoflan »

Again same problem with hostapd, even when i reinstall with the beta version a get the same errors !

User avatar
MichaIng
Site Admin
Posts: 2214
Joined: Sat Nov 18, 2017 6:21 pm

Re: Wifi Hotspot

Post by MichaIng »

@cocoflan
Did this actually work any time before with the same WiFi adapter?

Post Reply