LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 03-05-2010, 05:33 PM   #1
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-13
Posts: 247

Rep: Reputation: 40
dhclient and dhcpcd broken after latest - current update


I now recieve the following error while trying to connect to a wireless network from the CLI:
Code:
dhcpcd wlan0
dhcpcd: version 5.1.5 starting
dhcpcd: wlan0: waiting for carrier
dhcpcd: timed out
dhcpcd: allowing 8 seconds for IPv4LL timeout
dhcpcd: timed out

dhclient wlan0
/sbin/dhclient-script: line 117: ifconfig: command not found
running ifconfig produces the expected output so the problem is not that ifconfig is not installed, and it must be in the proper $PATH. Any thoughts?

I used to be able to use dhcpcd and dhclient interchangeably. This machine was connecting properly prior to the update.

Thanks in advance
 
Old 03-06-2010, 09:04 AM   #2
Bikeros
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Rep: Reputation: 3
Smile PATH

Your are right, after update I have got the same thing.

I don't know for now what has changed exactly ( I check up on it later ) but it is most probably some initial scripts or configs that set the PATH variable.

For quick fix edit the /sbin/dhclient-script and add somwhere at the beginning:

PATH=/sbin/:$PATH
 
Old 03-06-2010, 10:02 AM   #3
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-13
Posts: 247

Original Poster
Rep: Reputation: 40
I reverted back to the 13 packages for those two with no issue. /sbin is already in my $PATH so I would be surprised if that fixed it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dhclient vs. dhcpcd GregLee Slackware 5 09-28-2011 03:00 AM
[SOLVED] Latest slackware64-current xorg and kernel update woes veeall Slackware 10 07-19-2009 12:31 AM
which is better? dhclient dhcpcd or pump? aus9 Linux - Networking 6 06-22-2006 09:14 AM
alsa problem after the latest slackware-current update perfect_circle Slackware 8 04-26-2006 02:15 PM
dhclient v. dhcpcd biojayc Linux - Wireless Networking 5 04-29-2005 07:34 PM


All times are GMT -5. The time now is 09:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration