You are not logged in.

#1 2024-08-04 15:02:24

redshoe
Member
Registered: 2015-12-16
Posts: 239

[Solved] Proper way to use systemd-networkd and wpa_supplicant?

I have been using wpa_supplicant and dhcpcd for years by enabling/starting systemd service. But this method always causes to hang at least 30 seconds during boot. So, I tried using systemd-networkd and wpa_supplicant. I do get my wireless adapter connected to my router, but my internet is not working. Here are the steps that I took.

1. Created /etc/wpa_supplicant/wpa_supplicant-wlp3s0.conf, and enabled/started its service by

# systemctl start wpa_supplicant@wlp3s0.service

2. Created /etc/systemd/network/25-wireless.network

[Match]
Name=wlp3s0

[Network]
DHCP=yes

and enabled/started the service

# systemctl start systemd-networkd.service

3. And reboot

I get a connection, and I get DHCP assigned IP, but no internet. Does anyone get this issue?

Last edited by redshoe (2024-08-04 15:18:19)

Offline

#2 2024-08-04 15:17:57

redshoe
Member
Registered: 2015-12-16
Posts: 239

Re: [Solved] Proper way to use systemd-networkd and wpa_supplicant?

What the hell. Updating system seems to be the solution...

Offline

Board footer

Powered by FluxBB