Hi, I've recently bought a Raspberry Pi Zero W and can't get the wifi to work, which I need to login to the system through SSH. I have a headless setup, the RPi0 is connected to my laptop through USB only. The system boots ok (since the green light is on constantly), but I don't see the device IP address neither in nmap scan nor in my phone wifi router settings (I'm using my phone as a router).
On the SD card I have a system prepared by the latest version of buildroot, which I built with the default config:Apart from that, I've also added the necessary packages i.e. brcmfmac-sdio-firmware-rpi, wpa_supplicant with nl80211 support, dhcp and dhcpd.
Here's what I have added to the system:
* wpa_supplicant.conf, which I added to the boot partition and the /etc/wpa_supplicant.conf in the root partition* /etc/network/interfaces:* /etc/inittab:Any help and suggestion what could be wrong in this setup would be very appreciated1! ![Very Happy :D]()
Edit: When I'm using the RPi-Imager, use Raspbian OS with the wpa_supplicant file modified as above, the WiFi works perfectly fine.
On the SD card I have a system prepared by the latest version of buildroot, which I built with the default config:
Code:
make raspberrypi0w_defconfig
Here's what I have added to the system:
* wpa_supplicant.conf, which I added to the boot partition and the /etc/wpa_supplicant.conf in the root partition
Code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdevupdate_config=1country=ITnetwork={ ssid="My phone WiFi SSID" psk="mypassword" key_mgmt=WPA-PSK}
Code:
auto wlan0iface wlan0 inet dhcp pre-up wpa_supplicant -D nl80211 -i wlan0 -c /etc/wpa_supplicant.conf -B post-down killall -q wpa_supplicant
Code:
...# now run any rc scripts::sysinit:/sbin/modprobe brcmfmac # <--- this line was added by me::sysinit:/etc/init.d/rcS...

Edit: When I'm using the RPi-Imager, use Raspbian OS with the wpa_supplicant file modified as above, the WiFi works perfectly fine.
Statistics: Posted by panantoni01 — Wed May 15, 2024 10:20 pm