Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-18-2004, 09:49 AM   #1
Registered: Sep 2003
Posts: 175

Rep: Reputation: 30
No ifconfig in FD2?

Ony my old RH9 install I used to be able to key 'ifconfig' in the terminal and see the details of my network connection.

I am trying to set up a wireless connectivity on my FC2 machine and I don't seem to have the right package installed for ifconfig to work on it, as terminal responds that this is a bad command (even when no wireless is installed and I'm just working on ethernet). What package needs to be installed for ifconfig to work in FC2?

Also, I can connect to a wireless router....but I am not sure which one it is! How do I lookup the SSID of the router I am connected to in FC2?
Old 09-18-2004, 09:55 AM   #2
Registered: May 2004
Location: Singapore
Distribution: Debian woody and debian sarge
Posts: 188

Rep: Reputation: 31
is /sbin in your PATH??

something we forget to look right under our noses
Old 09-18-2004, 09:58 AM   #3
LQ Newbie
Registered: Sep 2004
Distribution: suse9.1
Posts: 1

Rep: Reputation: 0
Just an idea, try running it under superuser, it may be that your average user isn't allowed to play around with network settings. This is the case in Suse 9.1 anyway,


Old 09-18-2004, 11:25 AM   #4
Registered: Sep 2003
Posts: 175

Original Poster
Rep: Reputation: 30
It was /sbin - thanks!

Thanks - it was indeed


on my Mac Powerbook it's just


I get confused switching back and forth! Thanks again. The Linux community is just awesome. I have now been able to set up Fedora to access my school's Exchange server using Evolution, I can do my school work on Open Office, I can of course do anything on the Web using Firefox. This thing is now almost 100% functional. Now to fix the wireless.......
Old 09-18-2004, 11:50 AM   #5
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47

it is a path issue. I assume you sued to root, and doing so under FC does not
add sbin paths to the system path variable.

i know with other flavors when you su to root, paths such as /sbin and /usr/sbin are
automatically added.

This is not the case in FC, and therefore you must script something to update your paths
or explicitly run commands like /sbin/ifconfig rather than just ifconfig
Old 09-18-2004, 11:50 AM   #6
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Rep: Reputation: 30
Fedora is pretty bad by default with not looking to /sbin and /bin. Modify your path or use 'whereis' and 'which' cmds.
Old 09-19-2004, 01:15 PM   #7
Registered: Sep 2003
Posts: 175

Original Poster
Rep: Reputation: 30
Cool Thanks

Cool - that makes sense. I don't think I had to /sbin/ in the RH9 days either, so maybe it's not just Mac confusion.


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
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 08:58 AM
trouble with AWstats install and Perl on a FD2 timmy01 Linux - Software 0 08-14-2005 09:52 AM
Securing Apache on FD2 yournightmare Fedora 0 07-14-2005 06:09 PM
Securing Apache on FD2 yournightmare Red Hat 1 07-11-2005 05:29 PM
Configure menus in FD2 pugsley Fedora 1 11-06-2004 08:16 PM > Forums > Linux Forums > Linux - Newbie

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

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