You are not logged in.

#1 2026-08-21 16:32:59

mamauriz
Member
Registered: 2026-08-21
Posts: 10

network connection

Hi everyone, for a few days now, perhaps after the update, I've been unable to obtain an IP address using Wi-Fi on both laptops. I use netctl, wpa_supplicant, and dhcpcd manually (sudo netctl start "profile"). I have to manually enter the IP address and IP route to get an Internet connection. On my Windows PC, everything works. Thanks in advance.

Offline

#2 2026-08-21 18:38:50

-thc
Member
Registered: 2017-03-15
Posts: 1,177

Re: network connection

So basically DHCP isn't working. Can you exclude the DHCP server (router?) as a cause?

Offline

#3 2026-08-22 08:36:32

mamauriz
Member
Registered: 2026-08-21
Posts: 10

Re: network connection

Thanks for the reply, I use a 5G cell phone in tethering mode, with the same I connect on Windows 11 perfectly.

Offline

#4 2026-08-22 10:08:04

-thc
Member
Registered: 2017-03-15
Posts: 1,177

Re: network connection

Please reboot the phone (unless you already did) to exclude transient errors in the DHCP sever of your phone.

If that yields no changes, please provide us with an uploaded full journal of one of your Arch laptops.

Offline

#5 2026-08-22 16:14:56

mamauriz
Member
Registered: 2026-08-21
Posts: 10

Re: network connection

Hi, I've already reset my phone without solving the problem. Sorry, can you tell me the command I need to issue to display OUTPUT?
Thanks.

Offline

#6 2026-08-22 19:59:55

-thc
Member
Registered: 2017-03-15
Posts: 1,177

Re: network connection

You can create a log file (since the last boot) with

journalctl -b > log.txt

and upload it to https://paste.c-net.org/.

Offline

#7 2026-08-23 10:12:47

mamauriz
Member
Registered: 2026-08-21
Posts: 10

Re: network connection

Sorry, I forgot. Even if I connect my phone via USB (enabling USB tethering), I still have the same problem, effectively excluding everything Wi-Fi-related.
Thanks

Offline

#8 2026-08-23 10:25:57

mamauriz
Member
Registered: 2026-08-21
Posts: 10

Re: network connection

Offline

#9 2026-08-23 14:52:10

-thc
Member
Registered: 2017-03-15
Posts: 1,177

Re: network connection

Well this is the issue:

ago 23 11:29:45 ChZh dhcpcd[1812]: [privileged proxy] wlp1s0 [ip4][1812]: timed out

The DHCP request simply times out after 30 seconds. Is the dhcpcd service active/started? If yes, disable and stop it (netctl controls dhcpcd).

Offline

#10 2026-08-24 08:52:42

mamauriz
Member
Registered: 2026-08-21
Posts: 10

Re: network connection

DHCPCD doesn't appear to be enabled to me.

[mauri@ChZh ~]$ systemctl status dhcpcd.service
○ dhcpcd.service - DHCP/ IPv4LL/ IPv6RA/ DHCPv6 client on all interfaces
     Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; disabled; preset: >
     Active: inactive (dead)

[mauri@ChZh ~]$ systemctl list-unit-files |grep dhcpcd
dhcpcd.service                                                            disabled        disabled
dhcpcd@.service     

OUTPUT [mauri@ChZh ~]$ systemctl --type=service
https://paste.c-net.org/EmptyPaste

Offline

#11 2026-08-24 09:02:22

mamauriz
Member
Registered: 2026-08-21
Posts: 10

Re: network connection

[mauri@ChZh ~]$ cat /etc/netctl/wifi
Interface=wlp1s0
Connection=wireless
Security=wpa
IP=dhcp
ESSID=GalaxyA535G
Key=wmhg3331

[mauri@ChZh ~]$ cat /etc/netctl/usb
Interface=enp2s0f3u3u2
Connection=ethernet
IP=dhcp
#DHCPClient=dhcpcd
#DHCPReleaseOnStop=no

Offline

#12 2026-08-24 09:56:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,595

Re: network connection

Stressing that netctl runs dhcpcd itself, don't enable the service!

Is there a dhcp server listening/reachable at all?

sudo nmap --script broadcast-dhcp-discover

If no: firewall?
If yes: Did you already try to use eg dhclient as dhcp client?

Offline

#13 2026-08-24 19:16:05

mamauriz
Member
Registered: 2026-08-21
Posts: 10

Re: network connection

Hi, I solved it by adding this script to /etc/netctl/hooks/dhcp
#!/bin/sh
DHCPClient='dhclient'
and now it finally works. I don't understand why I've been using "netctl" for years without problems and now I had to add this hook.
Archwiki reports "DHCLIENT No longer maintained as of early 2022. ISC advises no longer using it in production."
Thanks to everyone who responded/helped me.

Offline

#14 2026-08-24 19:40:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,595

Re: network connection

See /etc/dhcpcd.conf and try to switch to clientid (then try dhcpcd again) but it also just might be a dhcpcd regression
There's an update pending in testing, https://archlinux.org/packages/?sort=&q=dhcpcd but before considering to use that see https://wiki.archlinux.org/title/Offici … positories - in doubt wait and try once it's in extra.

Offline

#15 2026-08-25 08:42:41

mamauriz
Member
Registered: 2026-08-21
Posts: 10

Re: network connection

Hi, I tried enabling clientid in /etc/dhcpcd.conf but it didn't work. I'm waiting for the dhcpcd package update.
Thank you very much.

Offline

Board footer

Powered by FluxBB