Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] DHCPCD problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
McTango
n00b
n00b


Joined: 11 Dec 2004
Posts: 66
Location: Formosa - Argentina

PostPosted: Wed Feb 25, 2009 11:27 am    Post subject: [SOLVED] DHCPCD problems Reply with quote

Hi People:

After a general upgrade of my Ultra5 (all packages compilations went ok), everything works ok except for DHCPCD.
It ignores IP address received from DHCP server.
These are the messages shown at system startup when starting eth0:
Code:
eth0: dhcpcd 4.0.7 starting
eth0: broadcasting for a lease
eth0: offered 10.177.32.100 from 10.30.251.70
eth0: checking 10.177.32.100 is available on attached networks
eth0: ignoring offer of 10.177.32.100 from 10.30.251.70
eth0: NAK: (null) from 10.50.63.1
eth0: broadcasting for a lease
eth0: offered 10.177.32.100 from 10.30.251.70
eth0: checking 10.177.32.100 is available on attached networks
eth0: ignoring offer of 10.177.32.100 from 10.30.251.70
eth0: NAK: (null) from 10.50.63.1
.
.
.
.
.
eth0: timed out

/etc/conf.d/net contains:
Code:
config_eth0=( "dhcp" )
dhcpcd_eth0="-t 120"

Before the upgrade, DHCPCD worked ok.
I don´t remember the number of previous DHCPCD version.
Kernel is 2.6.23-r3 (just because of X11 problems with kernel versions >=2.6.24)

Thanks
_________________
Charly Tango
Formosa - Argentina
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
To emerge, or not to emerge: that is the question.
_________________


Last edited by McTango on Fri Feb 27, 2009 1:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2395

PostPosted: Wed Feb 25, 2009 12:25 pm    Post subject: Reply with quote

i am not roy marples, and i did not study the changelogs about your problem, but you might try a newer version of dhcpcd, dhcpcd-4.0.11 is current.
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 2536

PostPosted: Wed Feb 25, 2009 2:41 pm    Post subject: Reply with quote

You might also mask dhcpcd versions >= 4.0. There are some issues of RFC compliance that dhcpcd-4 expects that may be causing your problems. I haven't fully probed this out - I've just stuck back at dhcpcd-3.x. I really ought to investigate this further, because dhcpcd-4.x does have a mechanism for working with older, noncompliant servers. Simple matter of time, or lack thereof.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
McTango
n00b
n00b


Joined: 11 Dec 2004
Posts: 66
Location: Formosa - Argentina

PostPosted: Thu Feb 26, 2009 3:42 pm    Post subject: Reply with quote

Thanks for the answer.
I will downgrade dhcpcd and mask >=net-misc/dhcpcd-4

Greetings.
_________________
Charly Tango
Formosa - Argentina
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
To emerge, or not to emerge: that is the question.
_________________
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 2536

PostPosted: Thu Feb 26, 2009 5:08 pm    Post subject: Reply with quote

Now you're making me feel guilty. One of these days I should take the time to get dhcpcd-4 working properly, and here I am backing others off.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
McTango
n00b
n00b


Joined: 11 Dec 2004
Posts: 66
Location: Formosa - Argentina

PostPosted: Fri Feb 27, 2009 1:14 pm    Post subject: Reply with quote

Thank you, depontius.
Downgrading DHCPCD worked ok, and seems to be the only solution by now for my Ultra5.
Maybe one day i can use DHCPCD >= 4.0 , but up today gives some troubles, at least with my DHCP server and my particular machine and configuration.
It doesn´t mean that is unstable or useless, maybe it works for another people with different kind of sparc or DHCP servers.

Greetings.
_________________
Charly Tango
Formosa - Argentina
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
To emerge, or not to emerge: that is the question.
_________________
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 2536

PostPosted: Fri Feb 27, 2009 1:35 pm    Post subject: Reply with quote

There is an issue where chcpcd-4 requires that the dhcp server be compliant with a certain RFC. I think that's the problem I'm having. There is a command line/configuration file option to get around that, and do things the old, non-compliant way. There's also a USE flag that will do the same thing. I just haven't had time to experiment with any of that.

Plus on my laptop, where I'd be most likely to do the experimentation, I've got a set of "network adaptation scripts" that tweak the configuration based on where I'm connected. The hooks have all changed in dhcpcd-4, and I'd have to redo all of my stuff. Worthwhile, but not today.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
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