Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-29-2004, 07:09 AM   #1
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
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: 46
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.

Old 11-29-2004, 07:33 AM   #3
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 -


add /sbin to the PATH variable in your ~/.bash_profile
Old 11-29-2004, 07:37 AM   #4
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


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
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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:37 PM.

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