LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-23-2003, 02:49 AM   #1
dryhte
Member
 
Registered: May 2003
Location: Where the sun doeth not shine - Ghent, Belgium
Distribution: PC-BSD
Posts: 42

Rep: Reputation: 15
Question three newbie problems. (slack 9)


Okay I'm a total Newb, but I want to learn commandline linux badly, so bear with me

1. 'useradd' does not use /home/username by default (so I guess it doesn't use the other default values either, but I couldn't check that). If you can't trust the man pages who CAN you trust? (I installed Slack 3 times just for the hell of it, since it was so easy, and three times I had this problem)

2. none of the 'halt' commands causes my computer to shut down (even though some things are powered down... keyboard stops listening, harddrive stops, but screen and all fans keep working. Let me tell you, it's a stupid sight seeing 'power off' or somesuch thing sitting there on bottom of my screen!

3. NVidia Unified Driver Package. (I have a Shuttle sn41g2. That's an NForceČ mobo) NVidia offers three sorts of downloads. A source rpm, a normal rpm and a tar.gz file.
Since Slack expressly does not support rpms, (or am I mistaken?) I chose the tar.gz file and copied it to my /temp. I unzipped it, installed it (is this the right way to go about installing stuff? does it automatically end up in the right folders?) and ended up at the next boot with an enormous amount (well, not really, 10 or so) error messages about the i810 sound. WTF? So, okay, the computer still worked, but I still couldn't select the right 'nvidia' vga driver for my onboard graphics (though 'nv' and 'geforce' work normally, while they didn't in Mandrake 8.?) and sound quality has NOT gone up. Did I do something wrong? has anyone had any experience with these drivers?

I have a couple more questions, but i'd be grateful if these three could be answered first.
 
Old 05-23-2003, 03:29 AM   #2
nvn
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware
Posts: 242

Rep: Reputation: 30
Post

Well, what a coincidence, I'm a newbie too! Let me come up with some blah-blah that might be of help...


1. I never used the "useradd" command, so I don't know about that, but how about the "adduser" command? It certainly worked for me (i.e. creates /home/username).

2. I had that "problem" too, until I recompiled the kernel to have ACPI support. Then your box will have the power to turn itself off. Don't know about APM and such though...

3. I'll leave this one to someone with NVIDIA hardware, but one thing...most likely you have to compile the contents of the tarball.


I'll let the gurus take over from here...
 
Old 05-23-2003, 03:32 AM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Users are added with the adduser program. We'll start out by going through the whole procedure, showing all the questions that are asked and a brief description of what everything means. The default answer is in the brackets, and can be chosen for almost all the questions, unless you really want to change something.

# adduser
Login name for new user (8 characters or less) []: jellyd

this is from slackware essentials book, if you are trying to do this by "useradd" it won't work............

and "power off" means just that, you have to Physically turn your machine off.......slackware is shut down, you just have to hit the button on your box.........this is not windows, so it wont turn off automagically.
 
Old 05-23-2003, 03:34 AM   #4
dryhte
Member
 
Registered: May 2003
Location: Where the sun doeth not shine - Ghent, Belgium
Distribution: PC-BSD
Posts: 42

Original Poster
Rep: Reputation: 15
Thanks for your help

about 3: I just followed NVidia's instructions...

But thanks, I'll give 'adduser' a try. Sounds like it's a script or so. Still, I'm not comfortable with useradd not working. I mean, I used it because I was following the text of a tutorial I found around the net, and it didn't work as advertised in the man pages... strange.

And the new kernel, now that'll have to wait until I have a little more time on my hands

Greetings,

D.

Last edited by dryhte; 05-23-2003 at 03:36 AM.
 
Old 05-23-2003, 03:46 AM   #5
nvn
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware
Posts: 242

Rep: Reputation: 30
In reply to 320mb; linux WILL turn the computer off automagically, if you have ACPI support. You just have to enable it in the BIOS and in the kernel. I only have to press the power button when I cold boot.
 
Old 05-23-2003, 04:06 AM   #6
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Rep: Reputation: 15
As far as shutting down is concerned, ACPI support is already enabled in default bare.i kernel, one thing to do is to uncomment proper line in modules.conf. It causes proper kernel module to load during startup, so classical "shutdown -h now" will automagically turn off computer (naturally this function must be enable in BIOS).
 
Old 05-23-2003, 05:00 AM   #7
dryhte
Member
 
Registered: May 2003
Location: Where the sun doeth not shine - Ghent, Belgium
Distribution: PC-BSD
Posts: 42

Original Poster
Rep: Reputation: 15
That's _really_ weird my /etc/modules.conf is empty after a full install of Slack 9. Nothing I can uncomment

EDIT: side question: where do I find root's session config file? (in other words, what is it called?) cause I want to config my other users like root's configured because I like the way Slackware auto-configures some things like colors and mount points etc... or is there a configuration script as well? (not in the book)

Last edited by dryhte; 05-23-2003 at 05:02 AM.
 
Old 05-23-2003, 06:32 AM   #8
Ivan
Member
 
Registered: May 2003
Location: Romania
Distribution: Slackware 9.0
Posts: 32

Rep: Reputation: 15
One more noob question from me: I use init 0 to shutdown the machine. What is the difference between init 0 and /sbin/shutdown -h now?
 
Old 05-23-2003, 06:36 AM   #9
dryhte
Member
 
Registered: May 2003
Location: Where the sun doeth not shine - Ghent, Belgium
Distribution: PC-BSD
Posts: 42

Original Poster
Rep: Reputation: 15
It does exactly the same I think...
 
Old 05-23-2003, 06:43 AM   #10
Ivan
Member
 
Registered: May 2003
Location: Romania
Distribution: Slackware 9.0
Posts: 32

Rep: Reputation: 15
Quote:
Originally posted by dryhte
It does exactly the same I think...
I noticed that
I am curious if there are any *real* differences between them, and if not why somebody will use shutdown.
Or shutdown -r now instead of init 6...
 
Old 05-23-2003, 08:05 AM   #11
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
Quote:
1. I never used the "useradd" command, so I don't know about that, but how about the "adduser" command? It certainly worked for me (i.e. creates /home/username).
adduser is just a script that makes adding users easier. You could use useradd but then would have to create the home dir and assign groups to the user manually. I'm not sure if Patrick Volkerding wrote the scrip himself but it does works really nice.

Fjiga
 
Old 05-23-2003, 08:50 AM   #12
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Rep: Reputation: 15
Sorry, mistake. Not modules.conf, but modules.rc or rc.modules (I have no Linux computer right now and I don't remember exact file name). Anyway, it is located in startup scripts directory.
 
Old 05-23-2003, 09:10 AM   #13
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
it should be
/etc/rc.d/rc.modules


Last edited by figadiablo; 05-23-2003 at 09:14 AM.
 
Old 05-23-2003, 10:01 AM   #14
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
ACPI...there are a few options you'll need to add in the kernel config...see This Thread

 
Old 05-23-2003, 01:33 PM   #15
dryhte
Member
 
Registered: May 2003
Location: Where the sun doeth not shine - Ghent, Belgium
Distribution: PC-BSD
Posts: 42

Original Poster
Rep: Reputation: 15
Just enabling apm in rc.modules was enough. Still have the problems with my nvidia drivers, though. I guess I'll have to ask around at the linux forum of nforcershq.com...

greetings

BTW, check out my new thread (about loadlin)

D.
 
  


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
Slack 10 newbie and modems Fritz_Monroe Slackware 13 07-02-2005 07:01 PM
Newbie needs help securing his Slack Mr. Hill Linux - Security 2 02-28-2005 03:56 AM
i'm an happy slack newbie pirozzi LinuxQuestions.org Member Success Stories 9 10-11-2004 09:19 PM
Slack Newbie Questions tubatodd Slackware 7 07-01-2004 05:03 PM
Slack Newbie: lilo Help pibby Slackware - Installation 10 01-31-2004 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:01 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