Portál AbcLinuxu, 4. května 2025 13:11
anaconda linux-2.6.23-gentoo-r8 # dhcpcd eth0 -d eth0: dhcpcd 4.0.2 starting eth0: hardware address = 00:1a:4b:8e:c3:8e eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT eth0: DUID = 00:01:00:01:da:93:4e:8a:00:1a:4b:8e:c3:8e eth0: broadcasting for a lease eth0: sending DHCP_DISCOVER with xid 0x1e3a0bfe, next in 3.86 seconds eth0: offered 192.168.1.224 from 192.168.1.1 eth0: checking 192.168.1.224 is available on attached networks eth0: sending ARP probe (1 of 3), next in 1.80 seconds eth0: sending ARP probe (2 of 3), next in 1.25 seconds eth0: sending ARP probe (3 of 3), next in 2.00 seconds eth0: sending DHCP_REQUEST with xid 0x1e3a0bfe, next in 4.29 seconds eth0: sending DHCP_REQUEST with xid 0x1e3a0bfe, next in 8.93 seconds eth0: sending DHCP_REQUEST with xid 0x1e3a0bfe, next in 16.08 seconds eth0: timed out eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason FAILTakhle vypadá výpis z tcpdumpu:
10:52:17.587795 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:1a:4b:8e:c3:8e (oui Unknown), length 306 10:52:17.683010 arp who-has 192.168.1.224 tell 192.168.1.1 10:52:18.371224 arp who-has 192.168.1.224 tell 192.168.1.1 10:52:19.370644 arp who-has 192.168.1.224 tell 192.168.1.1 10:52:19.591137 IP 192.168.1.1.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 548 10:52:19.592171 arp who-has 192.168.1.224 tell 0.0.0.0 10:52:20.371556 arp who-has 192.168.1.224 tell 192.168.1.1 10:52:20.940128 arp who-has 192.168.1.224 tell 0.0.0.0 10:52:21.373587 arp who-has 192.168.1.224 tell 192.168.1.1 10:52:22.200094 arp who-has 192.168.1.224 tell 0.0.0.0 10:52:24.210162 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:1a:4b:8e:c3:8e (oui Unknown), length 322 10:52:27.760137 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:1a:4b:8e:c3:8e (oui Unknown), length 322 10:52:30.947053 IP 192.168.1.226.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:18:f3:a6:d6:a6 (oui Unknown), length 300 10:52:34.033300 IP 192.168.1.226.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:18:f3:a6:d6:a6 (oui Unknown), length 300 10:52:36.510172 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:1a:4b:8e:c3:8e (oui Unknown), length 322V manuálu se mi nepovedlo o tomhle najít ani zmínku, tedy ani návod, jak to vypnout. Nakonec jsem provedl downgrade na verzi 3. Bugzilla pro dhcpcd nefunguje. Netušíte někdo, v čem je problém? Pro srovnání verze 3:
anaconda linux-2.6.23-gentoo-r8 # dhcpcd eth0 -d info, eth0: dhcpcd 3.2.3 starting info, eth0: hardware address = 00:1a:4b:8e:c3:8e info, eth0: DUID = 00:01:00:01:da:93:4e:8a:00:1a:4b:8e:c3:8e info, eth0: broadcasting for a lease debug, eth0: sending DHCP_DISCOVER with xid 0x1ffc00ce debug, eth0: waiting for 20 seconds debug, eth0: got a packet with xid 0x1ffc00ce debug, eth0: no facility to parse DHCP code 61 info, eth0: offered 192.168.1.224 from 192.168.1.1 debug, eth0: sending DHCP_REQUEST with xid 0x1ffc00ce debug, eth0: waiting for 18 seconds debug, eth0: got a packet with xid 0x1ffc00ce debug, eth0: no facility to parse DHCP code 61 info, eth0: checking 192.168.1.224 is available on attached networks debug, eth0: sending ARP probe #1 debug, eth0: sending ARP probe #2 debug, eth0: sending ARP probe #3 debug, eth0: sending ARP claim #1 debug, eth0: sending ARP claim #2 info, eth0: leased 192.168.1.224 for 84981 seconds info, eth0: no renewal time supplied, assuming 42490 seconds info, eth0: no rebind time supplied, assuming 74358 seconds info, eth0: adding IP address 192.168.1.224/24 info, eth0: adding default route via 192.168.1.1 metric 0 debug, eth0: writing /etc/resolv.conf debug, eth0: writing /var/lib/dhcpcd/dhcpcd-eth0.info debug, eth0: forking to background info, eth0: exitinga tcpdump verze 3:
11:28:04.082539 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:1a:4b:8e:c3:8e (oui Unknown), length 300 11:28:04.128813 IP 192.168.1.1 > 192.168.1.224: ICMP echo request, id 65535, seq 65535, length 100 11:28:04.129142 IP 192.168.1.1 > 192.168.1.224: ICMP echo request, id 65535, seq 65535, length 100 11:28:04.631212 IP 192.168.1.1 > 192.168.1.224: ICMP echo request, id 65535, seq 65535, length 100 11:28:05.133300 IP 192.168.1.1 > 192.168.1.224: ICMP echo request, id 65535, seq 65535, length 100 11:28:05.635957 IP 192.168.1.1 > 192.168.1.224: ICMP echo request, id 65535, seq 65535, length 100 11:28:06.038539 IP 192.168.1.1.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 548 11:28:06.038905 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:1a:4b:8e:c3:8e (oui Unknown), length 324 11:28:06.139605 IP 192.168.1.1.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 548 11:28:06.141500 arp who-has 192.168.1.224 tell 0.0.0.0 11:28:06.350110 arp who-has 192.168.1.224 tell 0.0.0.0 11:28:06.560239 arp who-has 192.168.1.224 tell 0.0.0.0 11:28:06.770187 arp who-has 192.168.1.224 (00:1a:4b:8e:c3:8e (oui Unknown)) tell 192.168.1.224 11:28:06.980472 arp who-has 192.168.1.224 (00:1a:4b:8e:c3:8e (oui Unknown)) tell 192.168.1.224
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.