After discovering that by default Raspberry installs 32-bit Raspbian OS, I wanted to reinstall it with a 64 bit - this would allow to run Kubernetes on Raspberry
Decided to go with Ubuntu Server 64.
Installed it on SD Card with Raspberry Pi Imager.
After boot found out that need to connect it to WI-FI.
Configuring wpa_supplicant didn’t help, still had issues with not getting IP Address from DHCP.
Finally, did the following:
/etc/netplan/01-netcfg.yaml and put the following content there:network:
version: 2
renderer: networkd
wifis:
wlan0:
dhcp4: true
dhcp6: true
optional: true
access-points:
"<replace with your wifi network name/SSID>":
password: "<replace with your password>"
root user:chmod 600 /etc/netplan/01-netcfg.yaml
/etc/default/crdaREGDOMAIN=US
sudo netplan --debug generate
sudo netplan --debug apply