How to configure wlan0
-
Hello,
I have just installed Base OS x64.
The ssh access via eth0 works but I can't configure wlan0.
I see that the configuration file /etc/wpa_supplicant/wpa_supplicant.conf usually found on Raspbian does not exist on Base OS.
I've tried editing /etc/wpa_supplicant/wpa_supplicant-wlan0.conf but it still doesn't work.Do you have a solution for me?
-
@paolo
Hello, the problem is that the wlan0 interface is disabled on our units in U-Boot by default. Those are steps to enable and configure the Wi-Fi interface:Set up the Wi-Fi parameters:
sudo nano /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
Enable wlan0 in U-Boot
cd /etc/bootcmd.d/ sudo make enable-wifi
Set up management (DHCP) on wlan0:
sudo cp /etc/systemd/network/examples/10-wlan0.network.example /etc/systemd/network/10-wlan0.network
A reboot is required to reflect the changes in U-Boot:
sudo reboot
-
@cleve How can I configure IPv4 on eth0? In the previous version, there was a dhcpcd.conf file inside /etc/dhcp/. Should I create this file, or is there another method to set a static or dynamic IP on the Ethernet port?
Greetings
Thanks
Riccardo -
@riccardooo
Hello,
it would be better if you create a separate thread for an unrelated issue next time. Our systems use systemd-networkd, it's a standard GNU/Linux daemon, you can refer to Debian/Arch Linux manuals.