You are not logged in.
Pages: 1
Hi!
I installed Arch 3-4 months ago and have been using Wi-Fi so far. I've been trying to connect to the Internet via LAN connection for a few weeks, but so far haven't been able to.
sudo systemctl start dhcpcd@enp4s0.service
gives
Job for dhcpcd@enp4s0.service failed because the service did not take the steps required by its unit configuration.
See "systemctl status dhcpcd@enp4s0.service" and "journalctl -xe" for details.
Journalctl gives
Sep 04 17:06:23 gear4 dhcpcd[26233]: control command: /usr/bin/dhcpcd -q -w enp4s0
Sep 04 17:06:23 gear4 systemd[1]: dhcpcd@enp4s0.service: PID file /run/dhcpcd-enp4s0.pid not readable (yet?) after start: No such file or directory
Sep 04 17:06:23 gear4 systemd[1]: Failed to start dhcpcd on enp4s0.
-- Subject: Unit dhcpcd@enp4s0.service has failed
-- Unit dhcpcd@enp4s0.service has failed.
Sep 04 17:06:23 gear4 systemd[1]: dhcpcd@enp4s0.service: Unit entered failed state.
Sep 04 17:06:23 gear4 systemd[1]: dhcpcd@enp4s0.service: Failed with result 'protocol'.
Please help me fix this! Thanks ![]()
Offline
Check whether you've got an ethernet interface at all and with what name. If not, check for the ethernet pci or usb device and which module it's supposed to use, then whether that module is loaded.
Check whether you can get that interface up and whether you can get a lease using dhclient rather than dhcpcd.
Also you're apparently using WiFi. How?
systemctl list-units | grep -iE '(dhcp|net|wicd|conn)'And share your findings.
Offline
Check whether you've got an ethernet interface at all and with what name. If not, check for the ethernet pci or usb device and which module it's supposed to use, then whether that module is loaded.
Check whether you can get that interface up and whether you can get a lease using dhclient rather than dhcpcd.
Also you're apparently using WiFi. How?systemctl list-units | grep -iE '(dhcp|net|wicd|conn)'And share your findings.
----
Ethernet name:
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000 link/ether f4:8e:38:ed:21:11 brd ff:ff:ff:ff:ff:ff
Running
dhclient enp4s0connects to the wired network but still can't access the internet.
systemctl list-units | grep -iE '(dhcp|net|wicd|conn)'gives
sys-devices-pci0000:00-0000:00:1c.4-0000:04:00.0-net-enp4s0.device loaded active plugged RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller sys-devices-pci0000:00-0000:00:1c.5-0000:05:00.0-net-wlp5s0.device loaded active plugged Wireless 3165 sys-subsystem-net-devices-enp4s0.device loaded active plugged RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller sys-subsystem-net-devices-wlp5s0.device loaded active plugged Wireless 3165 sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System dhcpcd.service loaded active running dhcpcd on all interfaces ● dhcpcd@enp4s0.service loaded failed failed dhcpcd on enp4s0 netctl.service loaded active exited (Re)store the netctl profile state ● netctl@ethernet\x2ddhcp.service loaded failed failed Networking for netctl profile ethernet-dhcp NetworkManager.service loaded active running Network Manager system-dhcpcd.slice loaded active active system-dhcpcd.slice system-netctl.slice loaded active active system-netctl.slice system-netctl\x2difplugd.slice loaded active active system-netctl\x2difplugd.slice network.target loaded active active Network
Last edited by gear4 (2017-09-04 12:49:38)
Offline
First, kick networkmanager, netctl and the global dhcpcd service - then try again.
Can you ping 8.8.8.8 (googles dns server)?
Offline
Post any information about your hardware:
lspci -k | grep -A2 Ethdmesg | grep enpdmesg | grep -iE 'error|warning|failed'Last edited by Fixxer (2017-09-04 15:40:27)
Offline
Pages: 1