LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-13-2007, 02:29 AM   #1
farnaw4u
Member
 
Registered: Aug 2006
Posts: 38

Rep: Reputation: 15
NetConfig do not works


hi all
when i run netconfig command in fedora 6
it returns
bash: NetConfig: command not found

y it is so how i can get this command running

thnks
 
Old 02-13-2007, 05:21 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
The command is in /usr/sbin and that directory is not part of a users path enviroment.

Now if you tried this changing yourself to root with ' su ' then this will not work because ' su ' changes you to root but you are still using the users enviroment variables. So to use this command you have to use it as ' /usr/sbin/netconfig '.

If you use ' su - ' then can use the command as just ' netconfig '. This changes you to root with root's enviroment variables and has /usr/sbin as part of root's path.

Commands in this directory as well as /sbin mostly need root to make use of them so this is why these directories are not part of a users default paths.

To list your path enviroment use the command ' $PATH '. Do it as a user, then su, and finally as su - to see the difference.

Brian
 
  


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
XAWTV works, videodog works, motion works but how to code my own? rylan76 Linux - Hardware 0 01-06-2006 06:30 AM
'netconfig' won't l0rddarkf0rce Slackware 3 07-28-2005 05:30 PM
Netconfig probe never starts, but NIC still works shadowhelm Slackware - Installation 3 05-20-2005 09:19 AM
netconfig Zero1 Slackware 3 08-24-2004 05:35 PM
netconfig knoxville Linux - Newbie 6 11-30-2003 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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