jriguera / raspbian-cloud

raspbian image with cloud-init and docker preinstalled, ready for automatic configuration
4 stars 3 forks source link

Wifi AP with hostapd not working #1

Open jriguera opened 4 years ago

jriguera commented 4 years ago

Hostapd fails to start with error:

Failed to request a scan of neighboring BSSes ret=-100 (Network is down)
jriguera commented 4 years ago

In Raspbian Wifi on 5GHz models is disabled with rfkill

# Remove the rfkill disabling 5GHz
rm "/var/lib/systemd/rfkill/platform-3f300000.mmcnr:wlan"
rm "/var/lib/systemd/rfkill/platform-fe300000.mmcnr:wlan"

There are also reports that 5GZ does not work if country_code is not US: https://github.com/raspberrypi/linux/issues/2619#issuecomment-410703338

finally: reboot