[gentoo-user] dhcpcd brokenness

2007-11-21 Thread Grant Edwards
Ever since an upgrade a few weeks, dhcpcd has been broken.

If I start up my laptop withput a hard-wired ethernet
connection on eth0, dhcpcd starts up for eth0 and notices that
it's got a record of an unexpired lease stored away for eth0.

So it decides to just go ahead and use that lease to bring up
eth0 even though eth0 _isn't_connected_to_anything_.  Since
eth0 comes up first, it gets priorty in the routing table over
eth1 (a wireless interface that _is_ up and working). All
traffic gets routed out eth0 (which isn't connected).

I've got to manually shut down eth0 to get a working network.

WTF does dhcpcd think it can go ahead an use an old lease like
that?  That particular bit of brain-deadedness isn't supposed
to be enabled unless you use the -E option.  I double-checked
my network configuration files and checked the running dhcpcd
command line with ps.  I don't use the -E option.

Does anybody know how to prevent dhcpcd from enabling the -E
option when you don't specify -E?

-- 
Grant Edwards   grante Yow! Should I get locked
  at   in the PRINCICAL'S
   visi.comOFFICE today -- or have
   a VASECTOMY??

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dhcpcd brokenness

2007-11-21 Thread Neil Bothwick
On Wed, 21 Nov 2007 17:04:18 + (UTC), Grant Edwards wrote:

 So it decides to just go ahead and use that lease to bring up
 eth0 even though eth0 _isn't_connected_to_anything_.  Since
 eth0 comes up first, it gets priorty in the routing table over
 eth1 (a wireless interface that _is_ up and working). All
 traffic gets routed out eth0 (which isn't connected).

Install ifplugd and read the comments in /etc/conf.d/net.example


-- 
Neil Bothwick

Quantum Physics: The dreams that stuff is made of


signature.asc
Description: PGP signature


Re: [gentoo-user] dhcpcd brokenness

2007-11-21 Thread Peter Alfredsen
On Wednesday 21 November 2007, Grant Edwards wrote:
 Ever since an upgrade a few weeks, dhcpcd has been broken.

 If I start up my laptop withput a hard-wired ethernet
 connection on eth0, dhcpcd starts up for eth0 and notices that
 it's got a record of an unexpired lease stored away for eth0.

I just forwarded your mail to uberlord and he recommended that you try 
dhcpcd-3.1.7. This version is masked by ~arch, so you will have to do:
echo =net-misc/dhcpcd-3.1.7  /etc/portage/package.keywords
to upgrade to that version.
He also noticed that a bug had been filed at berlios. Since he isn't 
subscribed to this list, it'd probably be better to take this over there. For 
anyone else following this matter, the URL is:
http://developer.berlios.de/bugs/?func=detailbugbug_id=12519group_id=4229

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list