You are not logged in.

#1 2021-04-17 18:10:24

mezlogo
Member
Registered: 2017-12-10
Posts: 7

[SOLVED] dhcpcd is time outed and no ipv6 routers available

Hi, I've just buy new notebook with ax200 wifi chip and can not find a way to obtain an IP address within archiso installation process.
I booted an ubuntu liveusb and NetworkManager successfully connected to my wifi network, that's why I think wifi chip works just fine.
So, when I boot in archiso:
1) I checked, that iwlwifi and iwlmvm mods have been properly loaded
2) rfkill softblocks wlan, therefore I unblock it
3) After than I successfully turned on wlan0 interface (NO_CARRIER, UP)
4) Then I started iwd.service and connected to my 2.4GHz WPA2 network (LOWER_UP)
5) Finally, I tried to obtain IP address with:

systemctl start dhcpcd@wlan0
#after a while I get
#no ipv6 routers available
#time out

I've tried to use wpa_supplicant, manually start dhcpcd, turn off systemd-networkd, but I get the same result.

BTW, I don't know anything about IPv6, but I found it's strange, that my

ip addr

output contains IPv6 for wlan0 even without wifi connection (before I run wpa_supplicant or iwd.

Thank you.

Last edited by mezlogo (2021-04-19 12:02:54)

Offline

#2 2021-04-17 21:35:28

seth
Member
Registered: 2012-09-03
Posts: 20,475

Re: [SOLVED] dhcpcd is time outed and no ipv6 routers available

The interface should say "<broadcast,multicast,up,lower_up>"?

If so, make sure to stop systemd-networkd (and systemd-resolved) before bringing the interface up.
Then bring it up, connect w/ iwd and then run

dhcpcd -d --waitip=4

That should get you some debug information that might provide more details.

If not, try

dhcpcd -D -d --waitip=4

which will use DUID instead if the clientid.

There've been multiple reports for issues w/ ax200 on recent kernels, but they would prevent you from connecting the AP, not from obtaining a lease.

Last but not least: 3rd link in my signature. A hibernating windows will drive your NIC into random behavior.

Online

#3 2021-04-18 16:42:49

mezlogo
Member
Registered: 2017-12-10
Posts: 7

Re: [SOLVED] dhcpcd is time outed and no ipv6 routers available

1) First variant works great!

dhcpcd -d --waitip=4

2) I don't use both double boot (no win at all) and hibernating.
3) After I booted at my native fresh installed arch with only

pacman -S linux linux-firmware linux-headers base base-devel dhcpcd iwd

Previous stepws didn't work, however I disabled IPv6 for dhcpcd and finally obtain an IPv4 address.

noipv6rs
noipv6

Thank you.
Can you mark this thread as SOLVED?

Offline

#4 2021-04-18 17:01:06

seth
Member
Registered: 2012-09-03
Posts: 20,475

Re: [SOLVED] dhcpcd is time outed and no ipv6 routers available

No, but you can by editing your initial post and alter the subject.

Online

Board footer

Powered by FluxBB