LinuxQuestions.org
Visit Jeremy's Blog.
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 12-08-2003, 08:57 PM   #1
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Rep: Reputation: 30
new slackware install, basic questions


ok, i am just moving from mandrake to slackware, and i have realized that i dont really know many commands... i have a few questions on how to set stuff up..

1. how do i get my internet working, i have comcast cable modem through a router...

2. why is my prompt darkstar@atlantis# or something like that... how do i change that?

3. my sound isnt working, yet in the kde cofig tool, it says that it should... how can i see if it is muted or not?

4. is there a new user setup script? if not, what is the command to create a new user?

thanks
 
Old 12-08-2003, 09:14 PM   #2
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
1. From a terminal as root type
Code:
netconfig
it will guide you through your network setup.

2. See above

3. Sinde you're using KDE, at a terminal type
Code:
aumix
4. As root in a terminal type in
Code:
adduser
and answer the questions.


I hope this helps you out.
 
Old 12-08-2003, 09:18 PM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Oho, I guess you have a lot ahaed of you in terms of reading up on linux stuff. First internet, How is your router (in actuality it is a switch with a WAN interface) configured to provision IP's for your internal network? While you used Mandrake how did you set up your network? If it was DHCP you need to configure it accordingly - netconfig is the basic command to configure a basic networking on your system. But before configuring your network you must make sure the ethernet interface is recognized by slack.
/sbin/ifconfig eth0
should at least came back with a MAC address of your card. If you have multiple ethernet cards the interfaces are eth0, eth1 and so on.
If you hit the wall with ifconfig (if it returns HWaddr 00:00:00:00:00:00 as your MAC address) you need to find out what module you need to load for your NIC (what is the model of your NIC), you see there more questions in the reply than the answers.
Sound - we need the model of your sound card, if you are sure the module is loaded you need to make sure that regular users at least have read permission for sound device -
chmod 666 /dev/dsp* /dev/sequenser /dev/mixer*
New users are added with useradd command the basic syntax is
useradd -d /home/foo -s /bin/bash -m foo
where is foo a new user name, don't forget to set the password for your new user with
passwd foo

All the commands should be ran as superuser - root.

Last edited by neo77777; 12-08-2003 at 09:19 PM.
 
Old 12-08-2003, 09:25 PM   #4
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
i tried net config, but i didnt know lots of the stuff it was asking for... mandrake set up my internet / lan automatically, i had to do nothing
 
Old 12-08-2003, 09:32 PM   #5
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
quick easy dirty thing to try, since mandrake was able to do it automagicaly.
You must be using dhcp (or you would have had to enter numbers for an IP address and such).

For a second lets assume your NIC is installed correctly. start netconfig again, give your machine a name, and choose dhcp, if it asks for a nameserver say none. If that dosen't work, then look deeper as suggested above.
 
Old 12-08-2003, 11:26 PM   #6
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
well, by doing what burnpile told me, it worked fine... now, a few more questions... what is the file to edit to enable mouse scrolling?
 
Old 12-08-2003, 11:35 PM   #7
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
when doing adduser, i dont know exactly what each thing means... what is the initial group.... lets say im creating a user name for me, im the only one using the computer, i just dont want to user root all the time... can i get an example?
 
Old 12-09-2003, 12:43 AM   #8
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
Quote:
Originally posted by true_atlantis
well, by doing what burnpile told me, it worked fine... now, a few more questions... what is the file to edit to enable mouse scrolling?
/etc/X11/XF86Config

Quote:
when doing adduser, i dont know exactly what each thing means... what is the initial group.... lets say im creating a user name for me, im the only one using the computer, i just dont want to user root all the time... can i get an example?
Code:
Login name for new user []: joe

User ID ('UID') [ defaults to next available ]:  <just hit enter>

Initial group [ users ]:  <just hit enter>

Additional groups (comma separated) []: wheel  <this is wise if you'll ever want to install sudo>

Home directory [ /home/joe ] <just hit enter>

Shell [ /bin/bash ] <just hit enter>

Expiry date (YYYY-MM-DD) []: <hit enter to make an account that never expires>

New account will be created as follows:

---------------------------------------
Login name.......:  joe
UID..............:  [ Next available ]
Initial group....:  users
Additional groups:  wheel
Home directory...:  /home/joe
Shell............:  /bin/bash
Expiry date......:  [ Never ]

This is it... if you want to bail out, hit Control-C.  Otherwise, press
ENTER to go ahead and make the account.
Next you'll be prompted to enter a password.

Hope this helps

Last edited by burnpile; 12-09-2003 at 12:45 AM.
 
Old 12-09-2003, 10:21 PM   #9
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
ok, a few more questions... how do i change the resolution of my computer, how do i make these damn sounds stop that play each time i open or close soemthing
 
Old 12-09-2003, 11:02 PM   #10
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
The first way to try to do both of those would be via the KDE control center. (I assume from your original post that your using KDE). Browse through the settings and you'll see an option to enable sounds for events, you can set it to off. The resolution is set there as well, but you can also set it in the /etc/X11/XF86Config file. Either way, back up your X config just in case you cant get back into X, you can recopy your old one back using the CL. Read man cp and man mv from command line for help on moving and copying files from the command line.
 
  


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
Basic slackware questions. cheater1034 Slackware 25 06-04-2005 09:48 AM
New to linux, using slackware 10.0, a few basic questions Art Vandelay Slackware 5 10-03-2004 10:00 PM
Basic install questions mission_control Linux - Software 1 09-24-2004 11:24 PM
nOOb, switching from slackware to debian (some basic questions) drawhla Debian 5 08-30-2004 06:32 PM
Some Basic Slackware Setup - Post Install duerra Linux - Newbie 14 12-25-2003 04:17 AM


All times are GMT -5. The time now is 07:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration