Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access Point mode not working #5

Open
cdaugherty82 opened this issue Jun 3, 2019 · 6 comments
Open

Access Point mode not working #5

cdaugherty82 opened this issue Jun 3, 2019 · 6 comments

Comments

@cdaugherty82
Copy link

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)

@benberrydhs
Copy link

Same here

@de-mon
Copy link

de-mon commented Jun 29, 2019

having the same issue

@ardell
Copy link

ardell commented Jul 5, 2019

There seems to be a bug in the web interface that causes the ssid and password to not be saved to hostapd-rap.conf.

  1. 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.

  2. Copyhostapd-rap.conf to the hostapd config directory: sudo cp hostapd-rap.conf /etc/hostapd

  3. 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.

  4. 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

@de-mon
Copy link

de-mon commented Jul 5, 2019

Just tried it on a fresh install and it worked perfectly! Thanks so much for your help!

@f321x
Copy link

f321x commented Mar 29, 2020

Thank you, had the same issue.

@takis741
Copy link

@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.

error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants