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

Does not seem to work with RPi Zero W #35

Open
makhamehchi opened this issue Aug 12, 2019 · 7 comments
Open

Does not seem to work with RPi Zero W #35

makhamehchi opened this issue Aug 12, 2019 · 7 comments

Comments

@makhamehchi
Copy link

Has anybody tried this with RPi zero? Can it work with Pi Zero W?

Thanks

@hasiflo
Copy link

hasiflo commented Aug 18, 2019

I can confirm your assumption. Doesn't work on my Pi Zero W.

@lbussy
Copy link

lbussy commented Aug 18, 2019

If all you are doing is using this to support headless on a new install (as opposed to moving it around) you can use something like this to set up the card initially (on Windows anyway.)

I drag a Zero around with me as well, so I'd like to see this addressed. If I get un-lazy I may have a look and make a PR if I can.

@hasiflo
Copy link

hasiflo commented Aug 19, 2019

thank you very much @lbussy, but I'm searching for some project like this. Which creates a small webserver to enter the wifi-creds.

@makhamehchi
Copy link
Author

Thank you @lbussy

@pherting
Copy link

Is there something new how to get it running on rpi zero w? :/
I love this solution and want to use it..
Can some help? Thanks!

@marcteyssier
Copy link

marcteyssier commented Sep 28, 2020

Hi,
I use a rpi zero w and (I think) I found a solution.
I remove the driver from the template https://github.com/sabhiram/raspberry-wifi-conf/blob/master/assets/etc/hostapd/hostapd.conf.template#L3 and force to reconfigure.

Bonus :
I add on the /etc/sysctl.conf the line below to force ipv4

net.ipv6.conf.all.disable_ipv6=1

I restart the rpi and play npm start.

I found the wifi on my phone and I can use it.

@scottkuo
Copy link

scottkuo commented Jan 3, 2021

I was able to resolve this by running

sudo systemctl unmask hostapd

The longer answer:
Out of the box the Pi Zero has it masked, and you can check it by running

sudo service hostapd status

if that shows it is masked, run the following to enable it. The last 2 should be run by raspberry-wifi-conf already, but you can run it manually to see if its good.

sudo systemctl unmask hostapd
sudo systemctl enable hostapd
sudo systemctl start hostapd

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