LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-18-2006, 02:20 PM   #1
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Rep: Reputation: 15
'dhclient' not recognized by shell


I configured internet using the command dhclient with the netword device switched on in my computer. It configured internet successfully. I added another kernel for mounting ntfs partitions and I am currently using that kernel. Now when I tried to configure using dhclient, shell replies that the command was not found.

Please help!
 
Old 12-18-2006, 03:34 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
You could enter the full path to the command. On my system dhclient is located in /sbin so I would enter
Code:
/sbin/dhclient eth0
 
Old 12-19-2006, 02:34 AM   #3
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
yeah its working ..thanks
 
Old 01-07-2007, 12:35 AM   #4
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
Now I have added /sbin/ to my path so I can type only dhclient.

I added the following line in ~/.bash_profile:
Code:
vi ~/.bash_profile

Code:
PATH=$PATH:/sbin/

Last edited by Carunkumar; 01-07-2007 at 12:37 AM.
 
  


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 greengrocer Linux - Newbie 1 10-27-2005 08:22 PM
dhclient laurentwahl Linux - Wireless Networking 6 05-30-2005 01:35 AM
I need dhclient but there is no one g-string 3 Linux - Networking 2 05-19-2005 04:42 PM
eth0 recognized but not recognized? rafc Linux - Newbie 7 04-21-2004 05:13 AM
dhclient helloworld Linux - Networking 2 03-06-2001 08:57 PM

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

All times are GMT -5. The time now is 10:56 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