You are not logged in.
Pages: 1
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
So basically DHCP isn't working. Can you exclude the DHCP server (router?) as a cause?
Offline
Thanks for the reply, I use a 5G cell phone in tethering mode, with the same I connect on Windows 11 perfectly.
Offline
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
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
You can create a log file (since the last boot) with
journalctl -b > log.txtand upload it to https://paste.c-net.org/.
Offline
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
Offline
Well this is the issue:
ago 23 11:29:45 ChZh dhcpcd[1812]: [privileged proxy] wlp1s0 [ip4][1812]: timed outThe DHCP request simply times out after 30 seconds. Is the dhcpcd service active/started? If yes, disable and stop it (netctl controls dhcpcd).
Offline
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
[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
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-discoverIf no: firewall?
If yes: Did you already try to use eg dhclient as dhcp client?
Offline
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
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
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
Pages: 1