Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158010 - dhcpcd-2.0.5 - configure fix, and add option to control use of ARP check
Summary: dhcpcd-2.0.5 - configure fix, and add option to control use of ARP check
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-13 03:54 UTC by Kevin F. Quinn (RETIRED)
Modified: 2006-12-13 04:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Add '-a' option to tell dhcpcd to skip the ARP check (dhcpcd-2.0.5-selectarp.patch,2.05 KB, patch)
2006-12-13 04:00 UTC, Kevin F. Quinn (RETIRED)
Details | Diff
configure.in: Add CPP to list of required programs, so that header checks are clean (dhcpcd-2.0.5-configurefix.patch,209 bytes, patch)
2006-12-13 04:01 UTC, Kevin F. Quinn (RETIRED)
Details | Diff
Modified ebuild to apply patches and run autoconf (dhcpcd-2.0.5-r2.ebuild,1.63 KB, text/plain)
2006-12-13 04:02 UTC, Kevin F. Quinn (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin F. Quinn (RETIRED) gentoo-dev 2006-12-13 03:54:22 UTC
Had some trouble recently with 2.0.5, where a network I use was failing the arp check (timeout) after an otherwise successful dhcpc configuration.  The ARP check is a trick used to detect if the DHCPC server has issued an IP address that is already in use or not.

Discovered there's a configure option to disable the arp check, but I figured it would be better to add it as an option, so it could be enabled/disabled on a per-interface basis.  Patch for that is simple.

I haven't looked at your new rewrite in 3.0 yet - I guess you'll know instantly whether it'll be at all relevant there or not.

Also found that the configure script is slightly broken; it was missing 'AC_PROG CPP' which is needed for the header file checks.

Patches etc to follow.
Comment 1 Kevin F. Quinn (RETIRED) gentoo-dev 2006-12-13 04:00:10 UTC
Created attachment 103934 [details, diff]
Add '-a' option to tell dhcpcd to skip the ARP check
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-12-13 04:00:59 UTC
dhcpcd-3 has -a to mean "do arp" as it doesn't do it by default.

And it's pretty much stable now, so use that :)
Comment 3 Kevin F. Quinn (RETIRED) gentoo-dev 2006-12-13 04:01:27 UTC
Created attachment 103935 [details, diff]
configure.in: Add CPP to list of required programs, so that header checks are clean
Comment 4 Kevin F. Quinn (RETIRED) gentoo-dev 2006-12-13 04:02:36 UTC
Created attachment 103936 [details]
Modified ebuild to apply patches and run autoconf
Comment 5 Kevin F. Quinn (RETIRED) gentoo-dev 2006-12-13 04:03:45 UTC
ok, np.