LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-03-2004, 09:21 AM   #1
rob250
LQ Newbie
 
Registered: Aug 2004
Location: Australia
Posts: 2

Rep: Reputation: 0
Logging in as root


Hi,
I installed mandrake 9.0 and when installing I set a modem setting wrong, I put com1 instead of com4 so i cant connect the net. I am taking guesses and I guess 'netconf' is what will let me change that?. Whether it is or isn't, it said 'must be logged in as root'. I dont know how to do this, and I didn't set any password when I installed. If anyone can help with this i would be grateful, also if anyone knows of any massive FAQ's that spell it all out as dumbly as a windows user needs it that would be cool too.

Thanks,
Rob.
 
Old 08-03-2004, 09:43 AM   #2
grub
Member
 
Registered: Mar 2003
Location: Kurnool, India.
Distribution: Redhat 9
Posts: 67

Rep: Reputation: 15
From shell you can do
$ su -
<password><blank in your case>

This will take you to root login.
 
Old 08-03-2004, 09:56 AM   #3
CaptainRegular
Member
 
Registered: Aug 2004
Location: Virginia Tech
Distribution: Xandros 3.01
Posts: 30

Rep: Reputation: 15
For the GUI

I'm a Mandrake 10 n00b myself, and it took me a WHILE to get a straight answer on this. Actually, I never did, I kinda figured it out on my own. Apparently it's a dangerous thing to get into the full GUI as root, but I don't know the console well enough to really edit configurations and stuff. But if you do what the other guy said in the console
su
password "blank"
then you'll be root IN THE CONSOLE ONLY!
You have to start any apps you want to be root in from the console. In most cases, it's Mandrake Control Center, so type
mcc
from the console and it pops up in GUI form and bam! THAT window has you as root. I think. I've only used it in KWrite to edit configuration files manually, never to actually use wizards and MCC and stuff. Should be the same concept, though.
 
Old 08-03-2004, 10:52 AM   #4
rob250
LQ Newbie
 
Registered: Aug 2004
Location: Australia
Posts: 2

Original Poster
Rep: Reputation: 0
my modem doesnt even appear to be in the device list... how can i install that when all i have is a windows cd for it?.

Does a FAQ exist that would show the most common things people would do in windows and say how to do the equivelant in linux?
It's pretty sad to be stalled by not knowing how to install a simple modem driver :P
 
Old 08-03-2004, 01:36 PM   #5
CaptainRegular
Member
 
Registered: Aug 2004
Location: Virginia Tech
Distribution: Xandros 3.01
Posts: 30

Rep: Reputation: 15
As far as I know, there are two options. One involves getting in your case, the other doesn't. The bad news is getting in your case is the easier option. You could either switch the hard drives and reinstall a Windows and then install the modem and use Device Manager to find out what model it is, then download the Linux driver and install it. Or just format, Windoze then format and go back to Linux. That's the hard way. The much easier way it to pop the top off your case, pull your modem out and write down ALL the numbers and ALL the letters on it. I'm saying if there's ANYTHING that RESEMBLES English on that card, write it down. Better yet, if you have a photocopier, just put the card on the plate and zap a copy, then do the other side. ;-) Then Google the most likely numbers to be a model number and see if there's a Linux driver available. You might even get lucky and find an rpm to install, those you can just urpmi from the console. I think. I'm not entirely certain if you can urpmi drivers. But that shouldn't be hard to find out. Anyway, put it on a floppy or a CD and you SHOULD have it.

And don't be discouraged by a modem in Linux. Here's why. Especially if it's a Compaq or a "built for Windows" type machine from a mass producer. You might have a Winmodem. It's not really a modem just an adapter from your CPU to the phone line. The processing is done in SOFTWARE to data and it can be VERY hard to find drivers for that because the "modem" hardware relies on the WINDOWS SOFTWARE. Not easy to write Linux drivers for. But they are out there for some. And I think modems are the only hardware (at least that I know of) that has such a huge software dependency. Hope this helps. Toy around with it and see what stuff happens when you do stuff. So far Linux seems pretty smart about stuff like that. The people here are for two things: When toying around doesn't work out like you think it should. and 2. When toying around royally fuxxors something up.

Last edited by CaptainRegular; 08-03-2004 at 01:44 PM.
 
Old 08-03-2004, 02:37 PM   #6
proudclod
Member
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381

Rep: Reputation: 30
Hey hey, watch it....

No need to reinstall windows to find out what mdoem you have.

Just do an lspci (or /sbin/lspci), that should tell you what modem you have.
 
Old 08-03-2004, 02:46 PM   #7
CaptainRegular
Member
 
Registered: Aug 2004
Location: Virginia Tech
Distribution: Xandros 3.01
Posts: 30

Rep: Reputation: 15
Yeah, I figured as much. The reinstall Windows was intended to be about as serious as photocopying your modem. Guess my humor is a little...well, bad, I guess. But hey, if there's a COMMAND to identify stuff if it's not showing up, use that. If that wouldn't have existed, MY next course of action would have been to pull the modem out. Hardware junkie. Also, it should be kept in mind that my linux box doesn't even HAVE a modem, and it recognized all my hardware during the initial install. You should take an experts advice.
 
  


Reply



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
logging in as root M O L8ingN2dust Ubuntu 24 01-16-2006 04:49 PM
Logging in as Root The Oate Mandriva 15 08-02-2004 02:44 PM
Logging in to Root NathanCohen2003 Linux - Software 3 07-10-2004 04:11 PM
Logging in as a root??? FastSwimmer Mandriva 4 03-01-2004 04:05 AM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:36 PM.

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
Open Source Consulting | Domain Registration