I have aarch64 5.15.1-1 kernel running on a RPI3. I was wanting a minimal wireless headless system administered via ssh.
It seems systemd-networkd is enabled already, and I followed some wiki's and forums to look at doing the wireless within systemd-networkd.
wpa_supplicant was already installed. So I created /etc/systemd/network/25-wireless.network as below:
$this->bbcode_second_pass_code('', '[Match]
Name=wlan0
[Network]
DHCP=yes
')
I also created wpa_supplicant-wlan0.conf as below:
$this->bbcode_second_pass_code('', 'network={
ssid="NGJFA-5G"
#psk="mypassword"
psk=a bunch of hex number
}
')
I then did systemctl enable wpa_supplicant@wlan0
So when I reboot I'm monitoring via the serial console and I see about 15 seconds of kernel messages and then it sits for 1.5 minutes until I see the console login on the serial port and at that point, I can also ssh into the RPI3. wlan0 seems to be up at about 13 seconds. I just don't understand the delay. Everything works fine once I can login.
BTW, I have tried just using NetworkManager and it works great, but I always thought NM was overkill for this application.
Any ideas?