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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-04-2003, 04:05 AM
|
#1
|
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:
|
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
|
|
|
07-04-2003, 04:09 AM
|
#2
|
LQ Newbie
Registered: Jul 2003
Location: Vilnius, Lithuania
Distribution: RedHat-9.0
Posts: 3
Rep:
|
if you are not root, type 'su' then enter root password and the type ifconfig eth0
|
|
|
07-04-2003, 04:17 AM
|
#3
|
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:
|
For some reason I thought I had already tried that before I posted.....stupid me!. Thanks.
-Keerthan
|
|
|
07-10-2003, 03:11 AM
|
#4
|
LQ Newbie
Registered: Jul 2003
Location: sunrise, fla
Posts: 23
Rep:
|
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?
|
|
|
07-10-2003, 03:18 AM
|
#5
|
Member
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261
Rep:
|
use "super mode Konsole" in X-Windows or directly log in as root. and try.
Qu Chen
|
|
|
07-10-2003, 03:27 AM
|
#6
|
LQ Newbie
Registered: Jul 2003
Location: sunrise, fla
Posts: 23
Rep:
|
sorry, your talking to a complete noob here...
how do I use the "super mode Konsole"?
|
|
|
07-10-2003, 03:28 AM
|
#7
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181
Rep:
|
Are you using KDE? Gnome? There should be a menu item called "Super Mode" (or "Super User Mode") [K]Console
|
|
|
07-10-2003, 03:32 AM
|
#8
|
LQ Newbie
Registered: Jul 2003
Posts: 18
Rep:
|
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.
|
|
|
07-10-2003, 03:34 AM
|
#9
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181
Rep:
|
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
|
|
|
07-10-2003, 03:36 AM
|
#10
|
Member
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261
Rep:
|
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
|
|
|
07-10-2003, 03:39 AM
|
#11
|
LQ Newbie
Registered: Jul 2003
Location: sunrise, fla
Posts: 23
Rep:
|
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.
|
|
|
07-10-2003, 03:41 AM
|
#12
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181
Rep:
|
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
|
|
|
07-10-2003, 03:49 AM
|
#13
|
LQ Newbie
Registered: Jul 2003
Location: sunrise, fla
Posts: 23
Rep:
|
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.
|
|
|
07-10-2003, 03:51 AM
|
#14
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181
Rep:
|
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
|
|
|
07-10-2003, 03:53 AM
|
#15
|
Member
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261
Rep:
|
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 01:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|