LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-04-2003, 05:05 AM   #1
ksoma
Member
 
Registered: Jun 2003
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154

Rep: Reputation: 30
Question What am i doing wrong?


I tried typing in "ifconfig", and expected the info about my network interfaces....but it said "command not found"...i did a man ifconfig and all the info about it seems to be there. Are there any arguments i'm missing after it? I looked in my Red Hat book and on other threads and from what I absorbed, it seemed as if "ifconfig" was all i had to type to show all the info ....i also tried "ifconfig eth0"..but that didn't work either...Any ideas? Thanks.

-Keerthan
 
Old 07-04-2003, 05:09 AM   #2
w0rm
LQ Newbie
 
Registered: Jul 2003
Location: Vilnius, Lithuania
Distribution: RedHat-9.0
Posts: 3

Rep: Reputation: 0
if you are not root, type 'su' then enter root password and the type ifconfig eth0
 
Old 07-04-2003, 05:17 AM   #3
ksoma
Member
 
Registered: Jun 2003
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154

Original Poster
Rep: Reputation: 30
For some reason I thought I had already tried that before I posted.....stupid me!. Thanks.
-Keerthan
 
Old 07-10-2003, 04:11 AM   #4
dcruz
LQ Newbie
 
Registered: Jul 2003
Location: sunrise, fla
Posts: 23

Rep: Reputation: 15
Hi - Im trying to use ifconfig also but cant get it to work.

I read the above and entered su + root password, then type "ifconfig eth0" but I get command not found.

WTF???

Can anyone tell me what Im missing?
 
Old 07-10-2003, 04:18 AM   #5
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 30
use "super mode Konsole" in X-Windows or directly log in as root. and try.

Qu Chen
 
Old 07-10-2003, 04:27 AM   #6
dcruz
LQ Newbie
 
Registered: Jul 2003
Location: sunrise, fla
Posts: 23

Rep: Reputation: 15
sorry, your talking to a complete noob here...

how do I use the "super mode Konsole"?
 
Old 07-10-2003, 04:28 AM   #7
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Are you using KDE? Gnome? There should be a menu item called "Super Mode" (or "Super User Mode") [K]Console
 
Old 07-10-2003, 04:32 AM   #8
umok
LQ Newbie
 
Registered: Jul 2003
Posts: 18

Rep: Reputation: 0
if u r using a user's account, try typing su <password for root>, amd u can perform task of an admin. i guess su stands for super user. Just learnt this command yesterdae.
 
Old 07-10-2003, 04:34 AM   #9
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
it's not "su <password>" ... either use "su" then [Enter] then enter the password, or type "su -" and do the same. This command allows a user to get the permissions and abilities of another user; default being the superuser, or root
 
Old 07-10-2003, 04:36 AM   #10
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 30
Umok, from my knowledge, it is not *absolutely* right.
To understand this, try this command "ldconfig" and see the difference between the console by "su" and the super konsole. (this command is no harmful)

Also, I know there exist some differences between the console by "su" and the pure super Konsole, but I still hope some "oldb" would tell me what are the difference.

Qu Chen
 
Old 07-10-2003, 04:39 AM   #11
dcruz
LQ Newbie
 
Registered: Jul 2003
Location: sunrise, fla
Posts: 23

Rep: Reputation: 15
Quote:
Originally posted by Poetics
Are you using KDE? Gnome? There should be a menu item called "Super Mode" (or "Super User Mode") [K]Console
I'm 90% sure Im using Gnome (how can I tell for sure?) I let Red Hat 9 install with the defaults.
 
Old 07-10-2003, 04:41 AM   #12
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
What does it say when you log in? Are you booting straight into the GUI or to the command-line? RH9, I believe, defaults with Gnome but I don't know. Either way, you should be able to open any ol' console window (or "konsole" if you're using KDE) and use the "su" command
 
Old 07-10-2003, 04:49 AM   #13
dcruz
LQ Newbie
 
Registered: Jul 2003
Location: sunrise, fla
Posts: 23

Rep: Reputation: 15
right, it defaults to Gnome. I open a terminal (right click on desktop and choose new terminal), then type "su", enter the root password, then type "ifconfig eth0" but I get command not found.
 
Old 07-10-2003, 04:51 AM   #14
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Have you tried just "ifconfig" ?

Oh wait! RedHat has a different command, I betcha than the standard ifconfig; I can't remember it off the top of my head (I'm a Slackware guy, myself), but if you do a search on the forums for "red had ifconfig" I'm sure you'll find something
 
Old 07-10-2003, 04:53 AM   #15
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 30
dcruz, again as I've posted, I suggest trying in either of the two ways:
1. Directly log in as root and try the same command
2. try "system tools"-> ["more tools"]->"super konsole" and then you will be asked for a password.

I am not sure but you can try.

Qu Chen
 
  


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
what' s wrong phoenix_fei Programming 4 01-18-2005 11:56 AM
my time is wrong and calender is also wrong Paxmaster Linux - General 6 12-16-2004 01:46 AM
What's wrong? whaase Linux - Software 7 10-20-2003 01:39 AM
What am I doing wrong? funkenbooty Linux - Newbie 14 07-26-2003 03:16 AM
What did I do wrong? yakko Linux - Newbie 7 05-02-2002 08:09 PM


All times are GMT -5. The time now is 08:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration