Linux - NewbieThis 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.
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?
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.
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.
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?
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.