raspberry-wifi-conf icon indicating copy to clipboard operation
raspberry-wifi-conf copied to clipboard

Does not seem to work with RPi Zero W

Open makhamehchi opened this issue 5 years ago • 7 comments

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

Thanks

makhamehchi avatar Aug 12 '19 01:08 makhamehchi

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

hasiflo avatar Aug 18 '19 20:08 hasiflo

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.

lbussy avatar Aug 18 '19 23:08 lbussy

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

hasiflo avatar Aug 19 '19 06:08 hasiflo

Thank you @lbussy

makhamehchi avatar Aug 28 '19 02:08 makhamehchi

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!

pherting avatar Jun 18 '20 14:06 pherting

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.

marcteyssier avatar Sep 28 '20 22:09 marcteyssier

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

scottkuo avatar Jan 03 '21 09:01 scottkuo