View previous topic :: View next topic |
Author |
Message |
weaksauce Apprentice
Joined: 17 Nov 2005 Posts: 204 Location: NYC
|
Posted: Tue Nov 28, 2006 11:08 pm Post subject: dhcpcd 3.0.0 doesn't work [SOLVED] |
|
|
Anyone else having this problem? Is it a config issue? I try to do /etc/init.d/net.eth0 start with it and it just times out without getting an address. I downgraded to 2.0.8-r3 and it works fine. Anyone? I'm on amd64 btw if that matters.
Last edited by weaksauce on Thu Nov 30, 2006 6:07 pm; edited 1 time in total |
|
Back to top |
|
|
martinm1000 Apprentice
Joined: 17 Apr 2003 Posts: 174 Location: Montréal, Canada
|
Posted: Tue Nov 28, 2006 11:48 pm Post subject: |
|
|
Yep' and it su*ks. Thanks for that one !
Its always fun to downgrade... without a *@&#*@ network... |
|
Back to top |
|
|
martinm1000 Apprentice
Joined: 17 Apr 2003 Posts: 174 Location: Montréal, Canada
|
|
Back to top |
|
|
Nick C Guru
Joined: 18 Mar 2005 Posts: 526 Location: Portsmouth, England
|
Posted: Wed Nov 29, 2006 4:03 am Post subject: |
|
|
argh, just spent almost an hour fighting with this bug while installing gentoo again on my laptop! _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net |
|
Back to top |
|
|
mroconnor Guru
Joined: 24 Feb 2006 Posts: 402 Location: USA
|
Posted: Wed Nov 29, 2006 1:56 pm Post subject: |
|
|
I had the issue two nights ago....thought I had too many beers while emerge -vuDN world. |
|
Back to top |
|
|
darkangel92 Apprentice
Joined: 19 Nov 2006 Posts: 202
|
Posted: Wed Nov 29, 2006 5:19 pm Post subject: |
|
|
same problem too.
what did you do to downgrade dhcp ? only dhcp has to be downgraded? |
|
Back to top |
|
|
weaksauce Apprentice
Joined: 17 Nov 2005 Posts: 204 Location: NYC
|
Posted: Wed Nov 29, 2006 11:16 pm Post subject: |
|
|
yeah, just do
Code: |
emerge =net-misc/dhcpcd-2.0.8-r3
|
but you will need to download dhcpcd-2.0.8.tar.gz from somewhere else and put it in /usr/portage/distfiles if you don't already have another one. This one settles it for me, I'm leaving a backup of 2.0.8 in my /root folder from now on, it's a tiny tarball.
Why is this still in portage? Does it actually work for some people I guess?? |
|
Back to top |
|
|
dencar Tux's lil' helper
Joined: 23 Dec 2003 Posts: 108 Location: Noosa, Australia
|
Posted: Wed Nov 29, 2006 11:30 pm Post subject: |
|
|
This has got to be just about the last straw. What has happened to Gentoo quality control lately? This is just the latest in a series of serious system stuff-ups for which there can be no excuse.
Edit: Thanks, weaksauce, that worked. _________________ dencar |
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Thu Nov 30, 2006 3:23 am Post subject: |
|
|
I just stuck >net-misc/dhcpcd-2.0.8-r3 in /etc/portage/package.mask... _________________ I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Thu Nov 30, 2006 11:11 am Post subject: |
|
|
weaksauce wrote: | Why is this still in portage? Does it actually work for some people I guess?? |
It works on my sparc64/fbsd, x86/linux/fbsd and amd64/linux machines quite happily for around 6 months or so. It also works on quite a few other machines. Sadly your running ~ARCH which means while we expect things to work, there is no guarantee. And dhcpcd-3.0.0 worked well enough for me and some others, so in it went.
Hopefully dhcpcd-3.0.1 out soon should address everyones issues. _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
skoff n00b
Joined: 16 Nov 2006 Posts: 21
|
Posted: Thu Nov 30, 2006 12:28 pm Post subject: |
|
|
Took you up on that... the dhcpcd-3.0.1_pre3 release appears to be working fine,
which 3.0.0 definitely wasn't. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Thu Nov 30, 2006 3:52 pm Post subject: |
|
|
UberLord wrote: | weaksauce wrote: | Why is this still in portage? Does it actually work for some people I guess?? |
It works on my sparc64/fbsd, x86/linux/fbsd and amd64/linux machines quite happily for around 6 months or so. It also works on quite a few other machines. Sadly your running ~ARCH which means while we expect things to work, there is no guarantee. And dhcpcd-3.0.0 worked well enough for me and some others, so in it went.
Hopefully dhcpcd-3.0.1 out soon should address everyones issues. |
Wow, thanks for the reminder. I totally forgot that I unmasked DHCPCD after the gcc4.1.1 migration (dhcpcd stopped working under gcc4.1, so I had to unmask it to upgrade from 2.05 to 2.0.
.... and if I remove it, it tries to install 2.0.5 again... looks like I'll try 3.0.1. _________________ I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it. |
|
Back to top |
|
|
ozbird Apprentice
Joined: 21 Oct 2003 Posts: 187
|
Posted: Thu Nov 30, 2006 4:46 pm Post subject: |
|
|
UberLord wrote: | And dhcpcd-3.0.0 worked well enough for me and some others, so in it went. |
It kinda worked for me, but had weird issues where occasionally it would fail to negotiate a lease, or decided that the lease had expired (which it hadn't.)
Trying 3.0.1 now... |
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Thu Nov 30, 2006 4:52 pm Post subject: |
|
|
3.0.1 hates me. I haven't tried it yet on my home build (x86), but my work amd64 build doesn't work.
Code: |
Nov 30 11:43:11 smbox dhcpcd[4393]: eth0: dhcpcd 3.0.1 starting
Nov 30 11:43:11 smbox dhcpcd[4393]: eth0: ethernet address = 0:14:22:50:6d:36
Nov 30 11:43:11 smbox dhcpcd[4393]: eth0: broadcasting for a lease
Nov 30 11:43:13 smbox tg3: eth0: Link is up at 100 Mbps, full duplex.
Nov 30 11:43:13 smbox tg3: eth0: Flow control is on for TX and on for RX.
Nov 30 11:43:41 smbox dhcpcd[4393]: eth0: timed out
Nov 30 11:43:41 smbox dhcpcd[4393]: eth0: exiting
|
Now, just to make sure it is the code and not my config that is doing this:
Code: |
smbox ~ # cat /etc/conf.d/net
config_eth0=( "dhcp" )
modules=( "dhcpcd" )
dhcpcd_eth0=( "-t 30" )
dns_domain_eth0="REMOVED_FOR_SECURITY_REASONS.com"
|
After I re-emerged my 2.0.8-r3, which can only be recognized as normal by portage by unmasking it in package.keywords and masking anything newer in package.mask, which is crazy, since the 'stable' version doesn't work with the 'stable' gcc version, but I digress.
Code: |
Nov 30 11:45:31 smbox rc-scripts: WARNING: net.eth0 has not yet been started.
Nov 30 11:45:36 smbox dhcpcd[8170]: MAC address = XX:XX:XX:XX:XX:XX
Nov 30 11:45:38 smbox tg3: eth0: Link is up at 100 Mbps, full duplex.
Nov 30 11:45:38 smbox tg3: eth0: Flow control is on for TX and on for RX.
Nov 30 11:45:40 smbox dhcpcd[8170]: verified XXX.XXX.XXX.XXX address is not in use
Nov 30 11:45:40 smbox dhcpcd[8170]: your IP address = XXX.XXX.XXX.XXX
|
Any ideas? _________________ I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it. |
|
Back to top |
|
|
weaksauce Apprentice
Joined: 17 Nov 2005 Posts: 204 Location: NYC
|
Posted: Thu Nov 30, 2006 6:04 pm Post subject: |
|
|
well, I just put on 3.0.1 and it works fine, just thought I would put that out there. But, I am going to keep the 2.0.8 tarball ready, because being without a working dhcp client sucks.... anyway, thanks UberLord. |
|
Back to top |
|
|
sdtester n00b
Joined: 03 Mar 2005 Posts: 29 Location: 33°5124 S, 151°1255 E.
|
Posted: Fri Dec 01, 2006 12:05 am Post subject: |
|
|
3.0.1 still wasn't working for me. After this crude workaround patch for net.lo I got it working:
Code: | --- net.lo.orig 2006-12-01 11:04:17.000000000 +1100
+++ net.lo 2006-12-01 11:04:22.000000000 +1100
@@ -739,6 +739,8 @@
einfo "Bringing up ${iface}"
eindent
for (( config_counter=0; config_counter<${#config[@]}; config_counter++ )); do
+ einfo "Sleeping"
+ sleep 2
# Handle null and noop correctly
if [[ ${config[config_counter]} == "null" \
|| ${config[config_counter]} == "noop" ]] ; then
|
I had to give it a full 2 seconds for the interface to stablize. 1 wasn't good enough. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
lenk Apprentice
Joined: 08 Mar 2004 Posts: 211
|
Posted: Fri Dec 01, 2006 7:14 pm Post subject: |
|
|
https://bugs.gentoo.org/show_bug.cgi?id=156831 _________________ E6300 Gigabyte GA-965P-DS3 2GB Corsair 320GB Seagate 7200.10 XFX 7600GT Gentoo
Dell M1330 T7500 2GB 160GB 13.3" WXGA Gentoo
Sharp Zaurus SL-C760 Cacko ROM 1.21b / pdaXrom 1.10rc5 512MB CF + 512MB SD
Sun Ultra5 Gentoo |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Sat Dec 02, 2006 2:06 am Post subject: |
|
|
I've never installed outside of portage, how do I use this? _________________ I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
Cloim Tux's lil' helper
Joined: 02 Aug 2002 Posts: 99
|
Posted: Sat Dec 02, 2006 4:06 pm Post subject: |
|
|
3.0.2_pre1 is currently working for me.
3.0.0 had the timeout issue. Would occasionally work for short periods.
3.0.1 obtained a connection then quickly lost it. Only tried it one time. |
|
Back to top |
|
|
lenk Apprentice
Joined: 08 Mar 2004 Posts: 211
|
Posted: Sat Dec 02, 2006 4:21 pm Post subject: |
|
|
3.0.2_pre1 works. _________________ E6300 Gigabyte GA-965P-DS3 2GB Corsair 320GB Seagate 7200.10 XFX 7600GT Gentoo
Dell M1330 T7500 2GB 160GB 13.3" WXGA Gentoo
Sharp Zaurus SL-C760 Cacko ROM 1.21b / pdaXrom 1.10rc5 512MB CF + 512MB SD
Sun Ultra5 Gentoo |
|
Back to top |
|
|
|