Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpcd 3.0.0 doesn't work [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
weaksauce
Apprentice
Apprentice


Joined: 17 Nov 2005
Posts: 204
Location: NYC

PostPosted: Tue Nov 28, 2006 11:08 pm    Post subject: dhcpcd 3.0.0 doesn't work [SOLVED] Reply with quote

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
View user's profile Send private message
martinm1000
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 174
Location: Montréal, Canada

PostPosted: Tue Nov 28, 2006 11:48 pm    Post subject: Reply with quote

Yep' and it su*ks. Thanks for that one ! :evil:

Its always fun to downgrade... without a *@&#*@ network...
Back to top
View user's profile Send private message
martinm1000
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 174
Location: Montréal, Canada

PostPosted: Wed Nov 29, 2006 12:03 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=156515
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Wed Nov 29, 2006 4:03 am    Post subject: Reply with quote

argh, just spent almost an hour fighting with this bug while installing gentoo again on my laptop! :oops: :evil:
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Back to top
View user's profile Send private message
mroconnor
Guru
Guru


Joined: 24 Feb 2006
Posts: 402
Location: USA

PostPosted: Wed Nov 29, 2006 1:56 pm    Post subject: Reply with quote

I had the issue two nights ago....thought I had too many beers while emerge -vuDN world.
Back to top
View user's profile Send private message
darkangel92
Apprentice
Apprentice


Joined: 19 Nov 2006
Posts: 202

PostPosted: Wed Nov 29, 2006 5:19 pm    Post subject: Reply with quote

same problem too.

what did you do to downgrade dhcp ? only dhcp has to be downgraded?
Back to top
View user's profile Send private message
weaksauce
Apprentice
Apprentice


Joined: 17 Nov 2005
Posts: 204
Location: NYC

PostPosted: Wed Nov 29, 2006 11:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
dencar
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2003
Posts: 108
Location: Noosa, Australia

PostPosted: Wed Nov 29, 2006 11:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Thu Nov 30, 2006 3:23 am    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Nov 30, 2006 11:11 am    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Nov 30, 2006 12:02 pm    Post subject: Reply with quote

If anyone wants to help testing (as obviously based on comments here I suck), you can try the latest snapshot here
http://dev.gentoo.org/~uberlord/dhcpcd-3.0.1_pre3.tar.bz2

And email me or reply here to say it works or not.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
skoff
n00b
n00b


Joined: 16 Nov 2006
Posts: 21

PostPosted: Thu Nov 30, 2006 12:28 pm    Post subject: Reply with quote

Took you up on that... the dhcpcd-3.0.1_pre3 release appears to be working fine,:)
which 3.0.0 definitely wasn't. :x
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Nov 30, 2006 1:30 pm    Post subject: Reply with quote

and dhcpcd-3.0.1 is now in portage

Hopefully it works for you guys now :)
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Thu Nov 30, 2006 3:52 pm    Post subject: Reply with quote

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.08).

.... 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
View user's profile Send private message
ozbird
Apprentice
Apprentice


Joined: 21 Oct 2003
Posts: 187

PostPosted: Thu Nov 30, 2006 4:46 pm    Post subject: Reply with quote

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... 8O
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Thu Nov 30, 2006 4:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
weaksauce
Apprentice
Apprentice


Joined: 17 Nov 2005
Posts: 204
Location: NYC

PostPosted: Thu Nov 30, 2006 6:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
sdtester
n00b
n00b


Joined: 03 Mar 2005
Posts: 29
Location: 33°51’24” S, 151°12’55” E.

PostPosted: Fri Dec 01, 2006 12:05 am    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Dec 01, 2006 11:55 am    Post subject: Reply with quote

For those of you with timeout issues, I think I finally have it solved.
http://dev.gentoo.org/~uberlord/dhcpcd-3.0.2_pre1.tar.bz2

Please test and report back if it works or not.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
lenk
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 211

PostPosted: Fri Dec 01, 2006 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Dec 01, 2006 8:34 pm    Post subject: Reply with quote

Can you test the above tarball to see if that fixes it?
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Sat Dec 02, 2006 2:06 am    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sat Dec 02, 2006 10:39 am    Post subject: Reply with quote

Code:
cd /tmp
tar xvjpf /where/you/put/the/tarball
cd dhcpcd-3.0.2_pre1
make
killall dhcpcd
cp dhcpcd /sbin
dhcpcd -d eth0


Or you could put the tarball in /usr/portage/distfiles and then copy the dhcpcd-3.0.1 ebuild to dhcpcd-3.0.2_pre1.ebuild in /usr/portage/net-misc
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Cloim
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2002
Posts: 99

PostPosted: Sat Dec 02, 2006 4:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
lenk
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 211

PostPosted: Sat Dec 02, 2006 4:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum