LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   new slackware install, basic questions (http://www.linuxquestions.org/questions/linux-newbie-8/new-slackware-install-basic-questions-124046/)

true_atlantis 12-08-2003 08:57 PM

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

burnpile 12-08-2003 09:14 PM

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.

neo77777 12-08-2003 09:18 PM

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.

true_atlantis 12-08-2003 09:25 PM

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

burnpile 12-08-2003 09:32 PM

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.

true_atlantis 12-08-2003 11:26 PM

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?

true_atlantis 12-08-2003 11:35 PM

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?

burnpile 12-09-2003 12:43 AM

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

true_atlantis 12-09-2003 10:21 PM

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

burnpile 12-09-2003 11:02 PM

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.


All times are GMT -5. The time now is 06:34 AM.