Open cdaugherty82 opened 5 years ago
Same here
having the same issue
There seems to be a bug in the web interface that causes the ssid and password to not be saved to hostapd-rap.conf
.
In the directory where you cloned RoadApplePi from Github, there's a hostapd-rap.conf
file. Edit that (e.g. vi hostapd-rap.conf
). Update the ssid
and wpa_passphrase
lines to whatever you'd like your access point config to be, then save the file.
Copyhostapd-rap.conf
to the hostapd
config directory: sudo cp hostapd-rap.conf /etc/hostapd
Test the config to make sure there aren't any errors: sudo /usr/sbin/hostapd /etc/hostapd/hostapd-rap.conf
. Check on another device to make sure your access point network shows up, then hit ctrl+c
to stop the command.
Restart hostapd
. NOTE: the hostapd
service is masked, so we have to unmask it before we can enable/start it.
sudo systemctl stop hostapd
sudo systemctl unmask hostapd
sudo systemctl enable hostapd
sudo systemctl start hostapd
Just tried it on a fresh install and it worked perfectly! Thanks so much for your help!
Thank you, had the same issue.
@ardell I followed all your steps got to where I see the AP, but it dose not show up all the time. the times it did show up I followed the rest of the steps
sudo systemctl stop hostapd sudo systemctl unmask hostapd sudo systemctl enable hostapd sudo systemctl start hostapd
The problem is once I get to "sudo systemctl start hostapd" I am greeted with an error. Every single time I do it I get the same error. I did the process of reinstalling the operating system (tried older and newer versions of Raspbian Buster), installing the github file, and following your steps.I did that over 5 times, still ended up with the same result. I attached a picture of the error bellow hope anyone can assist me.
I've tried this on a Pi 3, Pi Zero W, and a Pi 2 with USB Wifi adapter and none of them work in Access Point mode. I cannot discover the device from my phone or laptop once I've enabled it. I also tried reimaging the SD card with Raspbian Stretch Lite a few different times and running the script all from scratch (once on each of my Pi's)