LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What am i doing wrong? (https://www.linuxquestions.org/questions/linux-newbie-8/what-am-i-doing-wrong-70021/)

ksoma 07-04-2003 04:05 AM

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

w0rm 07-04-2003 04:09 AM

if you are not root, type 'su' then enter root password and the type ifconfig eth0

ksoma 07-04-2003 04:17 AM

For some reason I thought I had already tried that before I posted.....stupid me!. Thanks.
-Keerthan

dcruz 07-10-2003 03:11 AM

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?

captainstorm 07-10-2003 03:18 AM

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

Qu Chen

dcruz 07-10-2003 03:27 AM

sorry, your talking to a complete noob here...

how do I use the "super mode Konsole"?

Poetics 07-10-2003 03:28 AM

Are you using KDE? Gnome? There should be a menu item called "Super Mode" (or "Super User Mode") [K]Console

umok 07-10-2003 03:32 AM

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.

Poetics 07-10-2003 03:34 AM

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

captainstorm 07-10-2003 03:36 AM

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

dcruz 07-10-2003 03:39 AM

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.

Poetics 07-10-2003 03:41 AM

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

dcruz 07-10-2003 03:49 AM

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.

Poetics 07-10-2003 03:51 AM

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

captainstorm 07-10-2003 03:53 AM

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


All times are GMT -5. The time now is 05:01 PM.