You are not logged in.
I have to manually bring up the interface using:
sudo ip link set enp3s0 up
Before the link is set up I get this for dhcpcd, nestctl and dhcp-profile-1 statuses:
[nfour@archlinux ~]$ systemctl status dhcpcd
● dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2022-02-11 15:45:13 PST; 3min 9s ago
Process: 520 ExecStart=/usr/bin/dhcpcd -q -b (code=exited, status=0/SUCCESS)
Main PID: 524 (dhcpcd)
Tasks: 4 (limit: 23841)
Memory: 2.1M
CPU: 33ms
CGroup: /system.slice/dhcpcd.service
├─524 "dhcpcd: [manager] [ip4] [ip6]"
├─525 "dhcpcd: [privileged proxy]"
├─526 "dhcpcd: [network proxy]"
└─527 "dhcpcd: [control proxy]"
Feb 11 15:45:12 archlinux dhcpcd[520]: dhcpcd-9.4.1 starting
Feb 11 15:45:12 archlinux dhcpcd[525]: dev: loaded udev
Feb 11 15:45:12 archlinux dhcpcd[525]: DUID 00:01:00:01:22:1f:6b:59:74:d4:35:1f:ef:a3
Feb 11 15:45:13 archlinux systemd[1]: Started dhcpcd on all interfaces.
Feb 11 15:45:13 archlinux dhcpcd[525]: enp3s0: waiting for carrier
Feb 11 15:45:13 archlinux dhcpcd[525]: enp3s0: carrier acquired
Feb 11 15:45:13 archlinux dhcpcd[525]: enp3s0: IAID 35:15:54:79
Feb 11 15:45:13 archlinux dhcpcd[525]: enp3s0: adding address fe80::617c:ba96:96d8:6e43
Feb 11 15:45:13 archlinux dhcpcd[525]: enp3s0: carrier lost
Feb 11 15:45:13 archlinux dhcpcd[525]: enp3s0: deleting address fe80::617c:ba96:96d8:6e43
[nfour@archlinux ~]$
[nfour@archlinux ~]$ systemctl status netctl
● netctl.service - (Re)store the netctl profile state
Loaded: loaded (/usr/lib/systemd/system/netctl.service; enabled; vendor preset: disabled)
Active: active (exited) since Fri 2022-02-11 15:45:18 PST; 3min 12s ago
Docs: man:netctl.special(7)
Process: 629 ExecStart=/usr/bin/netctl restore (code=exited, status=1/FAILURE)
Main PID: 629 (code=exited, status=1/FAILURE)
CPU: 6ms
Feb 11 15:45:18 archlinux systemd[1]: Starting (Re)store the netctl profile state...
Feb 11 15:45:18 archlinux systemd[1]: Finished (Re)store the netctl profile state.
[nfour@archlinux ~]$
[nfour@archlinux ~]$ netctl status dhcp-profile-1
× netctl@dhcp\x2dprofile\x2d1.service - A basic dhcp ethernet connection
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/netctl@dhcp\x2dprofile\x2d1.service.d
└─profile.conf
Active: failed (Result: exit-code) since Fri 2022-02-11 15:45:18 PST; 3min 22s ago
Docs: man:netctl.profile(5)
Process: 521 ExecStart=/usr/lib/netctl/network start dhcp-profile-1 (code=exited, status=1/FAILUR>
Main PID: 521 (code=exited, status=1/FAILURE)
CPU: 99ms
Feb 11 15:45:12 archlinux systemd[1]: Starting A basic dhcp ethernet connection...
Feb 11 15:45:12 archlinux network[521]: Starting network profile 'dhcp-profile-1'...
Feb 11 15:45:18 archlinux network[521]: No connection found on interface 'enp3s0' (timeout)
Feb 11 15:45:18 archlinux network[521]: Failed to bring the network up for profile 'dhcp-profile-1'
Feb 11 15:45:18 archlinux systemd[1]: netctl@dhcp\x2dprofile\x2d1.service: Main process exited, code=>
Feb 11 15:45:18 archlinux systemd[1]: netctl@dhcp\x2dprofile\x2d1.service: Failed with result 'exit-c>
Feb 11 15:45:18 archlinux systemd[1]: Failed to start A basic dhcp ethernet connection.
And no ip address:
ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
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: enp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 74:d4:35:15:54:79 brd ff:ff:ff:ff:ff:ff
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:95:84:11 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
After it's brought up with "sudo ip link set enp3s0 up" it start working and I get this for dhcpcd, nestctl and dhcp-profile-1 statuses:
[nfour@archlinux ~]$ systemctl status dhcpcd
● dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2022-02-11 15:45:13 PST; 7min ago
Process: 520 ExecStart=/usr/bin/dhcpcd -q -b (code=exited, status=0/SUCCESS)
Main PID: 524 (dhcpcd)
Tasks: 5 (limit: 23841)
Memory: 2.7M
CPU: 208ms
CGroup: /system.slice/dhcpcd.service
├─ 524 "dhcpcd: [manager] [ip4] [ip6]"
├─ 525 "dhcpcd: [privileged proxy]"
├─ 526 "dhcpcd: [network proxy]"
├─ 527 "dhcpcd: [control proxy]"
└─1362 "dhcpcd: [BPF ARP] enp3s0 192.168.1.103"
Feb 11 15:52:01 archlinux dhcpcd[525]: enp3s0: confirming prior DHCPv6 lease
Feb 11 15:52:03 archlinux dhcpcd[525]: enp3s0: offered 192.168.1.103 from 192.168.1.1
Feb 11 15:52:03 archlinux dhcpcd[525]: enp3s0: probing address 192.168.1.103/24
Feb 11 15:52:09 archlinux dhcpcd[525]: enp3s0: leased 192.168.1.103 for 43200 seconds
Feb 11 15:52:09 archlinux dhcpcd[525]: enp3s0: adding route to 192.168.1.0/24
Feb 11 15:52:09 archlinux dhcpcd[525]: enp3s0: adding default route via 192.168.1.1
Feb 11 15:52:11 archlinux dhcpcd[525]: enp3s0: failed to confirm prior DHCPv6 address
Feb 11 15:52:12 archlinux dhcpcd[525]: enp3s0: REPLY6 received from fe80::9610:3eff:fe06:663b
Feb 11 15:52:12 archlinux dhcpcd[525]: enp3s0: adding address fd05:7bc3:e52f::b00/128
Feb 11 15:52:12 archlinux dhcpcd[525]: enp3s0: renew in 21600, rebind in 34560, expire in 4294967295 >
[nfour@archlinux ~]$
[nfour@archlinux ~]$ systemctl status netctl
● netctl.service - (Re)store the netctl profile state
Loaded: loaded (/usr/lib/systemd/system/netctl.service; enabled; vendor preset: disabled)
Active: active (exited) since Fri 2022-02-11 15:45:18 PST; 7min ago
Docs: man:netctl.special(7)
Process: 629 ExecStart=/usr/bin/netctl restore (code=exited, status=1/FAILURE)
Main PID: 629 (code=exited, status=1/FAILURE)
CPU: 6ms
Feb 11 15:45:18 archlinux systemd[1]: Starting (Re)store the netctl profile state...
Feb 11 15:45:18 archlinux systemd[1]: Finished (Re)store the netctl profile state.
[nfour@archlinux ~]$
[nfour@archlinux ~]$ netctl status dhcp-profile-1
× netctl@dhcp\x2dprofile\x2d1.service - A basic dhcp ethernet connection
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/netctl@dhcp\x2dprofile\x2d1.service.d
└─profile.conf
Active: failed (Result: exit-code) since Fri 2022-02-11 15:45:18 PST; 7min ago
Docs: man:netctl.profile(5)
Process: 521 ExecStart=/usr/lib/netctl/network start dhcp-profile-1 (code=exited, status=1/FAILUR>
Main PID: 521 (code=exited, status=1/FAILURE)
CPU: 99ms
Feb 11 15:45:12 archlinux systemd[1]: Starting A basic dhcp ethernet connection...
Feb 11 15:45:12 archlinux network[521]: Starting network profile 'dhcp-profile-1'...
Feb 11 15:45:18 archlinux network[521]: No connection found on interface 'enp3s0' (timeout)
Feb 11 15:45:18 archlinux network[521]: Failed to bring the network up for profile 'dhcp-profile-1'
Feb 11 15:45:18 archlinux systemd[1]: netctl@dhcp\x2dprofile\x2d1.service: Main process exited, code=>
Feb 11 15:45:18 archlinux systemd[1]: netctl@dhcp\x2dprofile\x2d1.service: Failed with result 'exit-c>
Feb 11 15:45:18 archlinux systemd[1]: Failed to start A basic dhcp ethernet connection.
So It has many failures for dhcpcd and netctl but it still works?
Last edited by mephostophilis (2022-02-12 05:45:08)
Offline
If you have netctl and dhcpcd services enabled, you will have conflicts, as explained in the wiki.
Offline