LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-30-2009, 07:59 AM   #1
NetNightmare
Member
 
Registered: Sep 2005
Location: Rome
Distribution: Slackware
Posts: 34

Rep: Reputation: 16
Question dhcpcd 3.2.3 in Salckware current x86


Hi,

I recently switched over to current on my T500 notebook wich has
Code:
03:00.0 Network controller: Intel Corporation Wireless WiFi Link 5300
and noticed that with this version dhcpcd fails the to challenge the IP for my wlan0 .. ( for eth0 goes wonder )

Code:
info, wlan0: dhcpcd 3.2.3 starting
info, wlan0: hardware address = 00:21:6a:16:8a:02
info, wlan0: DUID = 00:01:00:01:11:f8:04:bd:00:22:68:0a:74:76
info, wlan0: broadcasting for a lease
debug, wlan0: sending DHCP_DISCOVER with xid 0x6a025829
debug, wlan0: waiting for 30 seconds
debug, wlan0: sending DHCP_DISCOVER with xid 0x6a025829
debug, wlan0: sending DHCP_DISCOVER with xid 0x6a025829
debug, wlan0: sending DHCP_DISCOVER with xid 0x6a025829
debug, wlan0: sending DHCP_DISCOVER with xid 0x6a025829
debug, wlan0: got a packet with xid 0x6a025829
debug, wlan0: no facility to parse DHCP code 23
info, wlan0: offered 192.168.115.5 from 192.168.115.1 `WatchGuard DHCP'
debug, wlan0: sending DHCP_REQUEST with xid 0x6a025829
debug, wlan0: waiting for 17 seconds
debug, wlan0: sending DHCP_REQUEST with xid 0x6a025829
debug, wlan0: sending DHCP_REQUEST with xid 0x6a025829
debug, wlan0: sending DHCP_REQUEST with xid 0x6a025829
debug, wlan0: sending DHCP_REQUEST with xid 0x6a025829
debug, wlan0: sending DHCP_REQUEST with xid 0x6a025829
info, wlan0: trying to use old lease in `/etc/dhcpc/dhcpcd-wlan0.info'
info, wlan0: probing for an IPV4LL address
debug, wlan0: sending ARP probe #1
debug, wlan0: sending ARP probe #2
debug, wlan0: sending ARP probe #3
debug, wlan0: sending ARP claim #1
debug, wlan0: sending ARP claim #2
info, wlan0: adding IP address 169.254.201.130/16
debug, wlan0: no dns information to write
debug, wlan0: writing /etc/dhcpc/dhcpcd-wlan0.info
debug, wlan0: forking to background
info, wlan0: exiting
switching back to 2.0.8 (12.2) fix it ..

Code:
Broadcasting DHCP_REQUEST for 192.168.115.4
broadcastAddr option is missing in DHCP server response. Assuming 192.168.115.255
dhcpIPaddrLeaseTime=86400 in DHCP server response.
DHCP_ACK received from WatchGuard DHCP (192.168.115.1)
Broadcasting ARPOP_REQUEST for 192.168.115.4
Broadcasting DHCP_REQUEST for 192.168.115.4
broadcastAddr option is missing in DHCP server response. Assuming 192.168.115.255
dhcpIPaddrLeaseTime=86400 in DHCP server response.
DHCP_ACK received from WatchGuard DHCP (192.168.115.1)
Broadcasting ARPOP_REQUEST for 192.168.115.4

do I need to modify something to make the new package work ? I did copy the rc.inet1.conf and wpa_supplicant.conf from my 12.2 installation but the script are unchanged from current ...

thank ya

Last edited by NetNightmare; 07-31-2009 at 03:32 AM.
 
Old 07-31-2009, 05:08 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
This is a reported known bug in our version of dhcpcd, and Roy Marples (dhcpcd maintainer) will not fix it. See http://roy.marples.name/projects/dhcpcd/ticket/173

The only option would indeed be to downgrade (or upgrade) your dhcpcd. I seriously doubt that the dhcpcd in Slackware will be upgraded to a 4.x or 5.x version. The risks are too high in case other problems show up, this close to a new Slackware release.

Eric
 
Old 07-31-2009, 08:42 PM   #3
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
Quote:
Originally Posted by Alien Bob View Post
This is a reported known bug in our version of dhcpcd, and Roy Marples (dhcpcd maintainer) will not fix it. See http://roy.marples.name/projects/dhcpcd/ticket/173

The only option would indeed be to downgrade (or upgrade) your dhcpcd. I seriously doubt that the dhcpcd in Slackware will be upgraded to a 4.x or 5.x version. The risks are too high in case other problems show up, this close to a new Slackware release.

Eric
So, Slack 13 will be shipped with a broken dhcpcd. That doesn't sound like a good idea.

Cheers.
 
Old 07-31-2009, 11:30 PM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
What do you suggest, MQMan?

Here's the situation: dhcpcd-3.x is indeed broken in some rare circumstances. This is not the first report we've seen of similar breakage, but the others were fixed by fixing the dhcp server. Granted, the client should be able to work around the server breakage, or even if this is a true dhcpcd issue (and it quite possible *is*), it only affects a few people based on the reports we've gotten.

Contrast that with: dhcpcd-5.x is completely a completely new and untested codebase with many incompatible command-line options and switches, and the package layout is completely different, and there's at least one potential bug (I say potential because I'm not sure) with it already -- and that's based on testing it with a grand total of TWO MACHINES at my house with a known good dhcp server.

Again, what do you suggest?
 
Old 08-01-2009, 12:50 AM   #5
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
NetNightmare, can you contact me privately via rworkman AT slackware.com please?
 
Old 08-01-2009, 01:43 AM   #6
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
Quote:
Originally Posted by rworkman View Post
Here's the situation: dhcpcd-3.x is indeed broken in some rare circumstances.
It wasn't made clear that this was an "exceptional" circumstance. It was just reported as an known bug.
Quote:
Originally Posted by rworkman View Post
This is not the first report we've seen of similar breakage, but the others were fixed by fixing the dhcp server.
That might be a solution where you control the server as well, but where you have no control over the server, this is not really acceptable.
Quote:
Originally Posted by rworkman View Post
Contrast that with: dhcpcd-5.x is completely a completely new and untested codebase with many incompatible command-line options and switches, and the package layout is completely different, and there's at least one potential bug (I say potential because I'm not sure) with it already -- and that's based on testing it with a grand total of TWO MACHINES at my house with a known good dhcp server.
Isn't there a version 4. How does that stack up.
Quote:
Originally Posted by rworkman View Post
Again, what do you suggest?
Do further testing before releasing the product. DHCP is fundamental to most people's systems. Releasing a product that has a, possibly small, window of failure will not go down too well, especially with the number of alternative distributions available. One of Slack's strong points is how "bullet proof" it is.

Cheers.

Last edited by MQMan; 08-01-2009 at 01:45 AM.
 
Old 08-01-2009, 06:09 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by MQMan View Post
So, Slack 13 will be shipped with a broken dhcpcd. That doesn't sound like a good idea.
That is taking a shortcut in reasoning. I know many more programs that have bugs, that will not have been fixed by the time the decision is made to release Slackware 13.0. It is a matter of triage: what do we have to do so that the largest percentage of people have the least amount of issues.

With the current 3.x release of dhcpcd we have had a few reports of problems. The previous 2.x had segfault issues on slackware64 and more than a few bug reports that were not architecture related. The 5.x release is, as rworkman indicated, rewritten mostly from scratch and will contain not-yet-discovered bugs.
The 4.x version may help solve the problem at hand, but still it will not be wise to add this to slackware-current at this time. There will just not be enough time to get it extensive testing. Even this 4.x version works differently from our 3.x.

It is a pity that the development of dhcpcd is currently being done in a seemingly random way, making incompatible changes in the way the commandline parameters work, and having multiple "stable" versions to choose from. We can do nothing about that. It hinders our upgrade path.

All in all: the version of dhcpcd we have in Slackware-current at the moment, works for all but a few people. In my opinion, it is the safest choice to stick with that version. However, it is not my opinion that matters; Pat Volkerding decides.

Eric
 
Old 08-01-2009, 08:29 AM   #8
NetNightmare
Member
 
Registered: Sep 2005
Location: Rome
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 16
Quote:
This is a reported known bug in our version of dhcpcd, and Roy Marples (dhcpcd maintainer) will not fix it. See http://roy.marples.name/projects/dhcpcd/ticket/173
thanks Alien Bob at least I know my problem now .. which also the denote the fact I must improve my google and thinking skill ;-)

Quote:
NetNightmare, can you contact me privately via rworkman AT slackware.com please?
will do rworkman thanks
 
Old 08-01-2009, 01:21 PM   #9
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
And as a final thought - if you are one of the few persons experiencing problems with dhcpcd 3.2.3, you can relatively easily grab the SlackBuild/package source for dhcpcd and update it to version 4 yourself. I have done so on one of my boxes where I experienced this, and for what it's worth it's been running trouble-free for a few months now.
That's one of the many great things with Slackware - if there's something you don't like, you can always relatively easily fix/change it yourself!

NOTE though that anyone doing this is on their own and should definitely not bother Pat or other members of the Slackware team about it :-)

-y1
 
Old 08-01-2009, 02:27 PM   #10
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
Quote:
Originally Posted by Alien Bob View Post
That is taking a shortcut in reasoning. I know many more programs that have bugs, that will not have been fixed by the time the decision is made to release Slackware 13.0. It is a matter of triage: what do we have to do so that the largest percentage of people have the least amount of issues.
Sorry, that was a bad choice of words I used.

It's just that dhcpd is so pervasive, that even if a few people experience problems, it could have a negative effect on Slack's reputation.

Cheers.
 
Old 08-01-2009, 05:56 PM   #11
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
Just asking as I lack experience in this. Is dhcpcd the best DHCP client currently available? I know there are others like dhclient and pump. Why does Slackware use dhcpcd instead of, say, dhclient, which the BSDs use?
 
Old 08-01-2009, 11:53 PM   #12
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Slackware ships dhclient too. Its part of the dhcp package.
But the init scripts use dhcpd. I don't know the exact reason that's preferred but my guess would be that's because the dhcpd package is only a client,
rather than both a server and a client.
 
Old 08-05-2009, 04:03 PM   #13
massysett
LQ Newbie
 
Registered: Nov 2005
Location: Silver Spring, Maryland USA
Distribution: SUSE Linux 10.0
Posts: 17

Rep: Reputation: 1
I also had problems with dhcpcd. I have a Verizon MiFi and dhcpcd would refuse to take an address from it. I switched over to dhclient and it works fine.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot up speed -current (dhcpcd hanging) dive Slackware 6 05-22-2007 01:02 AM
dhcpcd in current..minor concerns gravityworks Slackware 3 06-21-2006 06:22 AM
dhcpcd problems on slack-current Trijicon Linux - Networking 0 10-24-2005 08:27 PM
salckware-current? epic Linux - Software 1 05-30-2001 06:31 AM
salckware-current installation epic Linux - Newbie 4 05-29-2001 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration