kenfallon / fix-ssh-on-pi

Safely enabling ssh in the default Raspberry Pi OS (previously called Raspbian) Image
MIT License
80 stars 36 forks source link

wpa suplicant is not working #2

Closed danielo515 closed 3 years ago

danielo515 commented 4 years ago

Hello, thanks for this nice script and thanks for sharing it, it not only fulfils a purpose, but it is also full of interesting and nice tricks.

For some reason, the WPA supplicant is not working. I have it setup with my wifi settings, it gets copied but when I put the SD on the rpizero it does not joins the network. I checked and the wpa supplicant seems to be copied to the root of the boot partition. Is that correct? isn't it supposed to be at /etc/wpa_supplicant/wpa_supplicant.conf ?

Thanks and regards

danielo515 commented 4 years ago

Just checked that the correct thing to do is to put it on the boot partition and then it will be copied. Then, what else can I check?

kenfallon commented 3 years ago

I checked the placement of the file, and it starts on the boot and then is automatically moved to /rootfs/etc/wpa_supplicant/wpa_supplicant.conf

I just tried this with a fresh install on 6 pi's and they all registered themselves on my wifi network.

Can I suggest doing a manual install, then copying the wpa_supplicant.conf off the sdcard, then burn it again.

Check that the network router isn't blocking it as well.

kenfallon commented 3 years ago

Feel free to open this again if it is the script.

danielo515 commented 3 years ago

I think the problem is related to my other issue about the eth0, because you are using it to rename the hostname and some other stuff, so that may be interfering with the wifi config.