You are not logged in.
Pages: 1
Hi everyone,
I recently installed Arch Linux on my notebook, and I'm having some DHCPCD issue.
On boot, appears that it failed to start dhcpcd on wlp5s0 and on enp4s0, however, I'm conected to my wifi and it works fine.
I've searched on the forum and all related problems occure when the computer can't conect to the wifi, and that's what bothering me, because as I said, I can.
After tried the comand "systemctl status dhcpcd@wlp5s0.service" it appears that "PID file /run/dhcpcd-wlp5s0.pid not readable".
I'll really aprecciate all the help you can give me.
Thanks in advance!
Last edited by Spynay (2016-12-13 00:08:38)
Offline
Can you describe how you connect to your wifi? What is the full output of `ip a`?
If dhcpcd.service is enabled (for all interfaces) but you have not enabled the wpa_supplicant hook, then it is expected that dhcpcd will fail - so nothing out of the ordinary here. However, if this is the case, you should disable that service as you are not using it.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I have the GNOME intalled, so I conected to the wifi through the graphics interface.
The asken output is:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 20:47:47:77:fb:f6 brd ff:ff:ff:ff:ff:ff
3: wlp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 68:14:01:f7:8b:6d brd ff:ff:ff:ff:ff:ff
inet 192.168.2.106/24 brd 192.168.2.255 scope global dynamic wlp5s0
valid_lft 86005sec preferred_lft 86005sec
inet6 fe80::e7f:f833:b56c:2be7/64 scope link
valid_lft forever preferred_lft forever
As the dhcpcd.service is already enable for all interfaces, I tried to enable the wpa_supplicant, and now the status for the wlp5s0 have no issues, and it says that it is inactive, but the start and enable commands appears to cause no effect.
The status fot the enp4s0 continues to show that it failed to start. If I disable the DHCPCD, will I have any other truble? And I'll be able to connect to another wifi's?
Offline
You should not use multiple networking services. Enabling wpa_supplicant may seem to work, but you'll likely end up with trouble as that and your gnome tool (NetworkManager I think) will fight with each other. If you are using the gnome tool, I'd disable dhcpcd.service: you were not using it, so just disable it so it stops complaining. Now also disable the wpa_supplicant service that you enabled too.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Okay, I understood. So I disable both DHCPCD and wpa_supplicant and now it doesn't complain anymore.
Thank you very much for your help.
Offline
Pages: 1