public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] timeouts with dhcpcd 5.1
@ 2009-09-11  2:49 covici
  2009-09-11  3:37 ` Stroller
  0 siblings, 1 reply; 10+ messages in thread
From: covici @ 2009-09-11  2:49 UTC (permalink / raw
  To: gentoo-user

Hi.  I had a strange problem when I emerge dhcpcd 5.1 I get a timeout
when trying to get a lease -- it says broadcasting for a lease and times
out, however when I go back to 4.0.13 everything is fine.  I even tried
toput -I "" in the command line to emulate the old behavior, but it
didn't make any difference.

Any ideas on this would be appreciated.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] timeouts with dhcpcd 5.1
  2009-09-11  2:49 [gentoo-user] timeouts with dhcpcd 5.1 covici
@ 2009-09-11  3:37 ` Stroller
  2009-09-11  4:17   ` John H. Moe
  0 siblings, 1 reply; 10+ messages in thread
From: Stroller @ 2009-09-11  3:37 UTC (permalink / raw
  To: gentoo-user


On 11 Sep 2009, at 03:49, covici@ccs.covici.com wrote:

> Hi.  I had a strange problem when I emerge dhcpcd 5.1 I get a timeout
> when trying to get a lease -- it says broadcasting for a lease and  
> times
> out, however when I go back to 4.0.13 everything is fine.  I even  
> tried
> toput -I "" in the command line to emulate the old behavior, but it
> didn't make any difference.

I'm pretty sure you can start dhcpcd with a verbose flag.

Stroller. 



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] timeouts with dhcpcd 5.1
  2009-09-11  3:37 ` Stroller
@ 2009-09-11  4:17   ` John H. Moe
  2009-09-11  4:38     ` Stroller
  0 siblings, 1 reply; 10+ messages in thread
From: John H. Moe @ 2009-09-11  4:17 UTC (permalink / raw
  To: gentoo-user

Stroller wrote:
>
> On 11 Sep 2009, at 03:49, covici@ccs.covici.com wrote:
>
>> Hi. I had a strange problem when I emerge dhcpcd 5.1 I get a timeout
>> when trying to get a lease -- it says broadcasting for a lease and times
>> out, however when I go back to 4.0.13 everything is fine. I even tried
>> toput -I "" in the command line to emulate the old behavior, but it
>> didn't make any difference.
>
> I'm pretty sure you can start dhcpcd with a verbose flag.
>
> Stroller.
Sure can. "dhcpcd -d <ifname>" will do it. Or put 'dhcpcd_<ifname>="-d"'
in your /etc/conf.d/net to have it always show the output during boot.

John Moe



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] timeouts with dhcpcd 5.1
  2009-09-11  4:17   ` John H. Moe
@ 2009-09-11  4:38     ` Stroller
  2009-09-11  5:29       ` John H. Moe
  2009-09-11  5:52       ` covici
  0 siblings, 2 replies; 10+ messages in thread
From: Stroller @ 2009-09-11  4:38 UTC (permalink / raw
  To: gentoo-user


On 11 Sep 2009, at 05:17, John H. Moe wrote:
> Stroller wrote:
>> On 11 Sep 2009, at 03:49, covici@ccs.covici.com wrote:
>>
>>> Hi. I had a strange problem when I emerge dhcpcd 5.1 I get a timeout
>>> when trying to get a lease -- it says broadcasting for a lease and  
>>> times
>>> out ....
>>
>> I'm pretty sure you can start dhcpcd with a verbose flag.
>>
> Sure can. "dhcpcd -d <ifname>" will do it. Or put 'dhcpcd_<ifname>="- 
> d"'
> in your /etc/conf.d/net to have it always show the output during boot.


Ah, splendid!

I didn't feel the need to to look up that information because I was  
sure <snark> the OP would find it in the manpage. </snark>

Stroller.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] timeouts with dhcpcd 5.1
  2009-09-11  4:38     ` Stroller
@ 2009-09-11  5:29       ` John H. Moe
  2009-09-11  5:52       ` covici
  1 sibling, 0 replies; 10+ messages in thread
From: John H. Moe @ 2009-09-11  5:29 UTC (permalink / raw
  To: gentoo-user

Stroller wrote:
>
> On 11 Sep 2009, at 05:17, John H. Moe wrote:
>> Stroller wrote:
>>> On 11 Sep 2009, at 03:49, covici@ccs.covici.com wrote:
>>>
>>>> Hi. I had a strange problem when I emerge dhcpcd 5.1 I get a timeout
>>>> when trying to get a lease -- it says broadcasting for a lease and
>>>> times
>>>> out ....
>>>
>>> I'm pretty sure you can start dhcpcd with a verbose flag.
>>>
>> Sure can. "dhcpcd -d <ifname>" will do it. Or put 'dhcpcd_<ifname>="-d"'
>> in your /etc/conf.d/net to have it always show the output during boot.
>
>
> Ah, splendid!
>
> I didn't feel the need to to look up that information because I was
> sure <snark> the OP would find it in the manpage. </snark>
>
> Stroller.
>
>
You know, I almost didn't click on send, because I had a fleeting
thought that you might have used that reasoning. Always go with your
first instinct, eh? :-P



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] timeouts with dhcpcd 5.1
  2009-09-11  4:38     ` Stroller
  2009-09-11  5:29       ` John H. Moe
@ 2009-09-11  5:52       ` covici
  2009-09-11 11:17         ` Mick
  1 sibling, 1 reply; 10+ messages in thread
From: covici @ 2009-09-11  5:52 UTC (permalink / raw
  To: gentoo-user

Stroller <stroller@stellar.eclipse.co.uk> wrote:

> 
> On 11 Sep 2009, at 05:17, John H. Moe wrote:
> > Stroller wrote:
> >> On 11 Sep 2009, at 03:49, covici@ccs.covici.com wrote:
> >>
> >>> Hi. I had a strange problem when I emerge dhcpcd 5.1 I get a timeout
> >>> when trying to get a lease -- it says broadcasting for a lease and
> >>> times
> >>> out ....
> >>
> >> I'm pretty sure you can start dhcpcd with a verbose flag.
> >>
> > Sure can. "dhcpcd -d <ifname>" will do it. Or put
> > 'dhcpcd_<ifname>="-
> > d"'
> > in your /etc/conf.d/net to have it always show the output during boot.
> 
> 
> Ah, splendid!
> 
> I didn't feel the need to to look up that information because I was
> sure <snark> the OP would find it in the manpage. </snark>
However, when I put the -d, it didn't tell me anything except that
dhcpcd sent several discover packets and then said timeout, so my
original question still remains -- why a timeout with 5.1 with the same
dhcpcd.conf and no timeout with 4.0.13.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] timeouts with dhcpcd 5.1
  2009-09-11  5:52       ` covici
@ 2009-09-11 11:17         ` Mick
  2009-09-11 15:29           ` covici
  0 siblings, 1 reply; 10+ messages in thread
From: Mick @ 2009-09-11 11:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]

On Friday 11 September 2009, covici@ccs.covici.com wrote:

> However, when I put the -d, it didn't tell me anything except that
> dhcpcd sent several discover packets and then said timeout, so my
> original question still remains -- why a timeout with 5.1 with the same
> dhcpcd.conf and no timeout with 4.0.13.

It may be a bug.  The trick is how do you establish who the bug belongs to?  
dhcpcd-5.1 or your router's firmware?

I recall similar incident with my router and an older dhcpcd version (can look 
through the M/L for a URL if you need me to) whereby the MAC address sent by 
dhcpcd was not being picked up by the router.  The router was looking for 
that info in the ID field or some such.  Having had static IP addresses for 
my LAN machines meant that my PC would not be given the reserved IP address 
and then dhcpcd would eventually time out.  My router's firmware was not 
compliant with the respective RFC that dhcpcd was upgraded to.

The fix I came up with was router specific, therefore I do not have a useful 
suggestion for your circumstances I'm afraid - other than:

Try static IP address for your machine (use ifconfig to set this up and route 
to set up the gw).

Try using a different dhcp client to see if the problem persists.

Try updating your router's firmware just in case.

File a bug for dhcpcd-5.1 with your findings.

PS.  Other than testing is there a reason why you don't use a stable dhcpcd 
version?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] timeouts with dhcpcd 5.1
  2009-09-11 11:17         ` Mick
@ 2009-09-11 15:29           ` covici
  2009-09-11 18:36             ` Stroller
  0 siblings, 1 reply; 10+ messages in thread
From: covici @ 2009-09-11 15:29 UTC (permalink / raw
  To: gentoo-user, Mick

Mick <michaelkintzios@gmail.com> wrote:

> On Friday 11 September 2009, covici@ccs.covici.com wrote:
> 
> > However, when I put the -d, it didn't tell me anything except that
> > dhcpcd sent several discover packets and then said timeout, so my
> > original question still remains -- why a timeout with 5.1 with the same
> > dhcpcd.conf and no timeout with 4.0.13.
> 
> It may be a bug.  The trick is how do you establish who the bug belongs to?  
> dhcpcd-5.1 or your router's firmware?
> 
> I recall similar incident with my router and an older dhcpcd version (can look 
> through the M/L for a URL if you need me to) whereby the MAC address sent by 
> dhcpcd was not being picked up by the router.  The router was looking for 
> that info in the ID field or some such.  Having had static IP addresses for 
> my LAN machines meant that my PC would not be given the reserved IP address 
> and then dhcpcd would eventually time out.  My router's firmware was not 
> compliant with the respective RFC that dhcpcd was upgraded to.
> 
> The fix I came up with was router specific, therefore I do not have a useful 
> suggestion for your circumstances I'm afraid - other than:
> 
> Try static IP address for your machine (use ifconfig to set this up and route 
> to set up the gw).
> 
> Try using a different dhcp client to see if the problem persists.
> 
> Try updating your router's firmware just in case.
> 
> File a bug for dhcpcd-5.1 with your findings.
> 
> PS.  Other than testing is there a reason why you don't use a stable dhcpcd 
> version?
> -- 
> Regards,
> Mick

I am using unstable generally, so it just came in the update.  I have no
router, this is FIOS from Verizon.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] timeouts with dhcpcd 5.1
  2009-09-11 15:29           ` covici
@ 2009-09-11 18:36             ` Stroller
  2009-09-11 18:52               ` covici
  0 siblings, 1 reply; 10+ messages in thread
From: Stroller @ 2009-09-11 18:36 UTC (permalink / raw
  To: gentoo-user


On 11 Sep 2009, at 16:29, covici@ccs.covici.com wrote:
> ...
> I am using unstable generally, so it just came in the update.  I  
> have no
> router, this is FIOS from Verizon.

Sorry if this is a dumb question, but presumably the interface is an  
ethernet card, right? What's it connected to?

FISO sounds all very new & "experimental" and with the potential for  
not every glitch to be discovered yet. Can you beg borrow or steal a  
router from somewhere, connect your computer to that, instead, and see  
if dhcpcd 5.1 receives a lease from it? (Or alternatively, set up  
dhcpd on another machine, connect them together with a cable and see  
if that machine responds to the requests of dhcpcd 5.1)

Stroller.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] timeouts with dhcpcd 5.1
  2009-09-11 18:36             ` Stroller
@ 2009-09-11 18:52               ` covici
  0 siblings, 0 replies; 10+ messages in thread
From: covici @ 2009-09-11 18:52 UTC (permalink / raw
  To: gentoo-user

Stroller <stroller@stellar.eclipse.co.uk> wrote:

> 
> On 11 Sep 2009, at 16:29, covici@ccs.covici.com wrote:
> > ...
> > I am using unstable generally, so it just came in the update.  I
> > have no
> > router, this is FIOS from Verizon.
> 
> Sorry if this is a dumb question, but presumably the interface is an
> ethernet card, right? What's it connected to?
> 
> FISO sounds all very new & "experimental" and with the potential for
> not every glitch to be discovered yet. Can you beg borrow or steal a
> router from somewhere, connect your computer to that, instead, and see
> if dhcpcd 5.1 receives a lease from it? (Or alternatively, set up
> dhcpd on another machine, connect them together with a cable and see
> if that machine responds to the requests of dhcpcd 5.1)
> 

Not sure I can get another router or another dhcp server, and it is an ethernet card.  One interesting
thing is that 4.0.13 gives the ethernet address whereas 5.1.0 does not.
-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-09-11 18:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-11  2:49 [gentoo-user] timeouts with dhcpcd 5.1 covici
2009-09-11  3:37 ` Stroller
2009-09-11  4:17   ` John H. Moe
2009-09-11  4:38     ` Stroller
2009-09-11  5:29       ` John H. Moe
2009-09-11  5:52       ` covici
2009-09-11 11:17         ` Mick
2009-09-11 15:29           ` covici
2009-09-11 18:36             ` Stroller
2009-09-11 18:52               ` covici

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox