Summary: | two regressions in dhcpd-3.1* | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Meier <maekke> |
Component: | Current packages | Assignee: | Roy Marples (RETIRED) <uberlord> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 188284 | ||
Attachments: |
dhcpcd-3.1.4-dump.tar.bz2
Fix -L |
Description
Markus Meier
2007-08-11 11:09:59 UTC
The 2nd one is IPV4LL, or APIPA. See RFC 3927 for details. You can turn this off using the -L option. http://www.rfc-archive.org/getrfc.php?rfc=3927 The 1st one is probably a bug. Could you attach wireshark traces of the dhcp transaction please? (In reply to comment #1) > The 2nd one is IPV4LL, or APIPA. See RFC 3927 for details. You can turn this > off using the -L option. > http://www.rfc-archive.org/getrfc.php?rfc=3927 I tried with -L: # dhcpcd -d -L -t 5 eth0 Info, eth0: dhcpcd 3.1.4 starting Info, eth0: hardware address = 00:02:3f:64:ba:e2 Info, eth0: DUID = 00:01:00:01:0e:3e:d8:2a:00:02:3f:64:ba:e2 Info, eth0: broadcasting for a lease Debug, eth0: sending DHCP_DISCOVER with xid 0x1b26b63e Debug, eth0: waiting on select for 5 seconds Debug, eth0: sending DHCP_DISCOVER with xid 0x1b26b63e Error, eth0: timed out Info, eth0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth0.info' Error, eth0: lease information file `/var/lib/dhcpcd/dhcpcd-eth0.info' does not exist Info, eth0: probing for an IPV4LL address Info, eth0: checking 169.254.60.206 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: adding IP address 169.254.60.206/16 Debug, eth0: no dns information to write Debug, eth0: writing /var/lib/dhcpcd/dhcpcd-eth0.info Debug, eth0: forking to background Created attachment 127743 [details] dhcpcd-3.1.4-dump.tar.bz2 > The 1st one is probably a bug. Could you attach wireshark traces of the dhcp > transaction please? attached Created attachment 127756 [details, diff]
Fix -L
(In reply to comment #4) > Created an attachment (id=127756) [edit] > Fix -L looks good, thanks. # ./dhcpcd -d -L -t 5 eth0 Info, eth0: dhcpcd 3.1.4 starting Info, eth0: hardware address = 00:02:3f:64:ba:e2 Info, eth0: DUID = 00:01:00:01:0e:3e:d8:2a:00:02:3f:64:ba:e2 Info, eth0: deleting IP address 192.168.2.10/24 Info, eth0: broadcasting for a lease Debug, eth0: sending DHCP_DISCOVER with xid 0x75c0f2e9 Debug, eth0: waiting on select for 5 seconds Debug, eth0: sending DHCP_DISCOVER with xid 0x75c0f2e9 Error, eth0: timed out Info, eth0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth0.info' Info, eth0: exiting Well, the trace looks fine to me. Does this work? dhcpcd -d -I '' eth0 (In reply to comment #6) > Well, the trace looks fine to me. > Does this work? > dhcpcd -d -I '' eth0 It works on eth0 and the wireless eth1 (which didn't work yet)! # dhcpcd -d -I '' eth1 Info, eth1: dhcpcd 3.1.4 starting Info, eth1: hardware address = 00:04:23:68:ca:87 Info, eth1: broadcasting for a lease Debug, eth1: sending DHCP_DISCOVER with xid 0x265d1f0d Debug, eth1: waiting on select for 20 seconds Debug, eth1: got a packet with xid 0x265d1f0d Info, eth1: offered 192.168.0.34 from 192.168.0.1 Debug, eth1: sending DHCP_REQUEST with xid 0x265d1f0d Debug, eth1: waiting on select for 20 seconds Debug, eth1: got a packet with xid 0x265d1f0d Info, eth1: checking 192.168.0.34 is available on attached networks Debug, eth1: sending ARP probe #1 Debug, eth1: sending ARP probe #2 Debug, eth1: sending ARP probe #3 Debug, eth1: sending ARP claim #1 Debug, eth1: sending ARP claim #2 Info, eth1: leased 192.168.0.34 for 259200 seconds Debug, eth1: renew in 129600 seconds Debug, eth1: rebind in 226800 seconds Info, eth1: adding IP address 192.168.0.34/24 Info, eth1: adding default route via 192.168.0.1 metric 0 Debug, eth1: writing /etc/resolv.conf Debug, eth1: writing /var/lib/dhcpcd/dhcpcd-eth1.info Debug, eth1: forking to background OK, your DHCP server doesn't accept valid client ID's then http://www.rfc-archive.org/getrfc.php?rfc=4361 Try upgrading your router firmware. (In reply to comment #8) > OK, your DHCP server doesn't accept valid client ID's then > http://www.rfc-archive.org/getrfc.php?rfc=4361 > > Try upgrading your router firmware. There's only a minor upgrade for the router, according to the docs, it won't change the DHCP server. Nevertheless I will upgrade it sometime... But I am happy that it works with -I ''. Thanks for the quick help! (IMHO this bug can be closed) -L fixed in 3.1.5 |