You are not logged in.

#1 2023-11-20 03:54:21

mreff555
Member
Registered: 2015-02-13
Posts: 24

systemd-resolved not assigning ipv4 addresses to my wlan0 interface

Brand new arch linux install.  I'm not really familiar with resolved but went with it because....   I forget, something in the install tutorial made it seem like a good option.  Probably b/c it just seemed simple

I soon noticed that I could only navigate to a couple websites.  Google for example.  When I started pinging sites, I noticed everything I could see was ipv6.  I also noticed I was not able to access ipv4 addresses on sites which I was able to access.

I confirmed by checking my ipv4 addresses with "ip -4 show" which only gives me my loopback.  Conversely my wlan0 has a ipv6 address.

I found this issue with resolved from a few years ago but as the ticket was written it only affected YouTube.com (rather odd)
https://github.com/systemd/systemd/issues/17745

Is there some type of odd default config value that needs to be changed or is this just a problematic service?

Last edited by mreff555 (2023-11-20 06:09:03)

Offline

#2 2023-11-24 20:25:19

ua4000
Member
Registered: 2015-10-14
Posts: 558

Re: systemd-resolved not assigning ipv4 addresses to my wlan0 interface

mreff555 wrote:

"ip -4 show" which only gives me my loopback.  Conversely my wlan0 has a ipv6 address.

Please use copy and paste and show here the complete command and output, because :

$ ip -4 show
Object "show" is unknown, try "ip help".

And maybe there is a misunderstanding:
systemd-resolved is for the network name resolution. If you suspect your wlan adapter has no ipv4 adress, start with systemd-networkd which could manage network configurations, and can be configured to use DHCP - which assigns ipv4/ipv6 to your wlan adapter...
https://wiki.archlinux.org/title/Systemd-networkd
Or which network manager do you use ?

Edit: There are many out there : https://wiki.archlinux.org/title/Networ … k_managers

Last edited by ua4000 (2023-11-24 20:26:54)

Offline

Board footer

Powered by FluxBB