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 11-29-2004, 07:09 AM   #1
bond00
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Rep: Reputation: 0
Fedora 3 networking commands??


Before I had Suse installed and used commands like iwconfig, ifconfig, dhcpcd, ifup, and ifdown. I installed FC3 this last weekend and when I use the terminal, it says those commands can't be found?? I even su into the terminal and try to use them, but still can't find them.....Does Fedora use different commands or do I have to install those commands?? If Fedora does use different commands, could someone help me out please?? Thanks....
 
Old 11-29-2004, 07:23 AM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
They're probably there, but you're not seeing them because Redhat and Fedora have this ultra secure way to keep users from running them [read: stupid way to irritate a experienced user] ... Basically, all the commands that you need on a regular admin basis are in /sbin and /usr/sbin. Those two paths are not in ${PATH} by default unless your login is started as UID0 (meaning, only for root).

The solution is either a) edit /etc/profile and put all the paths a normal box would have in PATH (or edit ~/.profile, if it's a multiuser system and you actually like this feature), or b) when changing up to root, use su - to have su get you a login shell for root.

HTH
 
Old 11-29-2004, 07:33 AM   #3
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Those are all valid commands that are located in the /sbin directory. So when switching to root, either

type: su -

-or-

add /sbin to the PATH variable in your ~/.bash_profile
 
Old 11-29-2004, 07:37 AM   #4
bond00
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the quick reply....I'll have to add that my PATH...THANKS
 
  


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
Lack of certain commands in Fedora Core 4 annacoder Linux - Newbie 2 08-11-2005 12:54 AM
Fedora Shell Commands tregg Fedora 3 01-12-2005 04:52 AM
red hat 8 networking commands/help zeb_666 Linux - Networking 2 09-20-2004 12:41 PM
what are some good networking commands for linux/programs chiatello Linux - Networking 3 07-30-2003 09:39 PM
Where can I use some basic networking commands in linux? OrganicX Linux - Networking 9 12-17-2002 09:58 AM

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

All times are GMT -5. The time now is 08:27 AM.

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