View previous topic :: View next topic |
Author |
Message |
static Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/c7d496103dc01b34d439b.gif)
Joined: 18 Apr 2002 Posts: 141 Location: Canada
|
Posted: Wed Apr 24, 2002 11:11 pm Post subject: My last grievances... |
|
|
Hi! I have now successfully installed gentoo and KDE. That's it. Got my USB mouse working, except the wheel (logitech optical wheel USB). I'm really hoping you guys can help me with the following before I go back to dialup on Saturday...
- How do I get static allowed to mount CDROMS and the floppy & not just root? Also reboot and shutdown...
- Do I need an fstab entry for the floppy?
- Will I be able to burn CD's as static once I (we ;) solve this mounting issue - or is there more I need to know before it'll work? Scratch this - help fuzz in "CD-RW" and I'll read it there :)
- How do I get numlock to turn on on bootup?
About the mousewheel (need that for quake 3) - I have Code: | Option "Protocol" "ps/2" | Is that ok? It isn't microsoft (and it isn't ps/2) Other than that I followed vlad's how-to exactly!
I'm absolutely loving this so far and I owe you guys it all...
These last issues will mean I can get my family into linux too!
Thanks in advance..
static _________________ Gentoo and Doom III. 'Nuff Said.
_______________________________________ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dArkMaGE Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Quake3/quake3_doom.gif)
Joined: 20 Apr 2002 Posts: 152
|
Posted: Thu Apr 25, 2002 12:23 am Post subject: |
|
|
well for your floppy you can add something like:
/dev/fd0 /mnt/floppy auto noauto,user 0 0
the first auto option tells the linux to autodect the floppys filesystem, so you should be able to mount linux and dos floppys with the same command
and the noauto,user tells linux not to mount the floppy at boottime and the user option will let anyone mount the floppy
you might be able to just type the mount command for the floppy without an entry, it depends on how relaxed the permissions for /dev/fd0 are
as to letting normal users mount the cdrw drive (or any drive for that matter) just add the user option to the fstab file like i have up above for the floppy
as to the numlock i know ive seen how to do this before ( i think it was on mandrake) but i cant quite remember if its a kernel option, an init option, or something else altogether... ill look around
good luck with the burner |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chemical n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_deckard.gif)
Joined: 10 Apr 2002 Posts: 29 Location: San Diego, CA
|
Posted: Thu Apr 25, 2002 1:07 am Post subject: |
|
|
I use the same mouse. Well at least it appears the same. Optical Logitech USB whell mouse. I use the following in my config and the wheel works great.
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Brent Jackson Guest
|
Posted: Thu Apr 25, 2002 1:07 am Post subject: Re: My last grievances... |
|
|
About the mouse...
To get the scroll wheel working in X, in the InputDevice section here is what I have:
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
That works for me, I have a Logitech Mouseman Wheel Optical (USB). Hope that helps
ya.
static wrote: | Hi! I have now successfully installed gentoo and KDE. That's it. Got my USB mouse working, except the wheel (logitech optical wheel USB). I'm really hoping you guys can help me with the following before I go back to dialup on Saturday...
- How do I get static allowed to mount CDROMS and the floppy & not just root? Also reboot and shutdown...
- Do I need an fstab entry for the floppy?
- Will I be able to burn CD's as static once I (we
solve this mounting issue - or is there more I need to know before it'll work? Scratch this - help fuzz in "CD-RW" and I'll read it there ![Smile :)](images/smiles/icon_smile.gif) - How do I get numlock to turn on on bootup?
About the mousewheel (need that for quake 3) - I have Code: | Option "Protocol" "ps/2" | Is that ok? It isn't microsoft (and it isn't ps/2) Other than that I followed vlad's how-to exactly!
I'm absolutely loving this so far and I owe you guys it all...
These last issues will mean I can get my family into linux too!
Thanks in advance..
static |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
static Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/c7d496103dc01b34d439b.gif)
Joined: 18 Apr 2002 Posts: 141 Location: Canada
|
Posted: Thu Apr 25, 2002 4:23 am Post subject: |
|
|
OK mouse works! So does mounting devices - Thanks!
To allow a user to reboot and halt?
and
hd_what_ is secondary master? (my burner) Need that to append to menu.lst (hdc=ide-scsi or whichever hd_)
Quake 3 gives me this:
Code: | Xlib: extension "GLX" missing on display ":0.0".
Couldn't get a visual
...WARNING: could not set the given mode (3)
...loading libMesaVoodooGL.so: QGL_Init: Can't load libMesaVoodooGL.so from /etc/ld.so.conf or current dir: /usr/local/games/quake3/libMesaVoodooGL.so: cannot open shared object file: No such file or directory
failed
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem |
Any ideas? Is it just a matter of emerge something?
Thanks again guys. You're great help, I hope I get to help people in need in the future ![Wink ;)](images/smiles/icon_wink.gif) _________________ Gentoo and Doom III. 'Nuff Said.
_______________________________________ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
squanto Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/14662803163e66cef6a5587.gif)
Joined: 20 Apr 2002 Posts: 524 Location: Rochester, NY, USA
|
Posted: Thu Apr 25, 2002 5:35 am Post subject: |
|
|
Num lock, in kde, go to control center, choose perhipherals, then keyboard. Pick advanced, and then choose to turn on num lock when kde starts.
This will turn it on for kde, but only if you have X running, which I assume you do...
As for other window managers, I have no idea about getting it to turn on, Linux by default turns it off, cause when I start my machine, my bios turns it on, then linux turns it off, and then KDE turns it back on.
for secondary master it would be hdc
as for quake, first try emerge libsdl , after doing emerge rsync.
I had lots of problems with opengl and nvidia card because the version of libsdl I had was built incorrectly but the version that is out now works. some how the old version broke opengl.
Hope that helps some.
-Andrew |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
squanto Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/14662803163e66cef6a5587.gif)
Joined: 20 Apr 2002 Posts: 524 Location: Rochester, NY, USA
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
static Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/c7d496103dc01b34d439b.gif)
Joined: 18 Apr 2002 Posts: 141 Location: Canada
|
Posted: Thu Apr 25, 2002 2:58 pm Post subject: |
|
|
I have an ATI Radeon 64MB DDR vivo, not Nvidia, but I will try that emerge libsdl when I'm home from work.
Do you have to do an emerge rsync everytime you're about to an emerge on a fresh boot?
Anyone reboot & halt as user, or do you always su to root just to power down? _________________ Gentoo and Doom III. 'Nuff Said.
_______________________________________ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
squanto Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/14662803163e66cef6a5587.gif)
Joined: 20 Apr 2002 Posts: 524 Location: Rochester, NY, USA
|
Posted: Thu Apr 25, 2002 3:17 pm Post subject: |
|
|
I emerge rsync every day or two right now, but that is just cause I am still getting my machine setup how I want, but I would do it before you emerge a package just so you get the most up to date stuff. It can't hurt, but if you are on a slow connection, like once a week would probably be enough.
I use the KDE menu's logout and then just choose turn off computer, or i su to halt / reboot.
you could probably just make the halt / reboot commands be executable by group "specialusers" and then make yourself a "specialuser" or something like that I would think, but I have not tried this myself. Although when I view the permissions on my /sbin/halt it shows that others can execute it.
Not sure if ATI cards affected by libSDL, but it wouldn't hurt to update to newest version first and then see what happens.
-Andrew |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SyN n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Predator/movie_predator_predator_5.jpg)
Joined: 28 May 2002 Posts: 1 Location: Aix-en-Provence, France
|
Posted: Tue May 28, 2002 8:39 am Post subject: How to activate numlock at boot up |
|
|
To activate numlock on all your ttys at bootup, just follow those steps (being logged as root) :
- Create a file named "numlock" (or wathever name you may like) in /etc/init.d/ with the following content :
Code: |
#!/sbin/runscript
SYSCONF_FILE=/var/lock/subsys/numlock
start() {
ebegin "Enabling numlock on ttys : "
eend 0
touch $SYSCONF_FILE
for tty in /dev/tty[1-6]; do
setleds -D +num < $tty
done
}
stop() {
ebegin "Disabling numlocks on ttys: "
for tty in /dev/tty[1-6]; do
setleds -D -num < $tty
done
eend 0
rm -f $SYSCONF_FILE
}
|
- Make the script executable by entering at the prompt
- Then add this script to the boot runlevel by issuing the following command :
Code: | rc-update add numlock boot |
- If you want to activate numlock right now, just type Code: | /etc/init.d/numlock start |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Xamot n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 May 2002 Posts: 29
|
Posted: Tue May 28, 2002 3:33 pm Post subject: quake3 |
|
|
I had very little problem getting quake3 running on gentoo with an NVidia card. There is a thread in the Urban Terror forums that is pretty helpfull.
http://forums.urbanterror.net/default.asp?action=getTopic&discussionID=23&topicID=721
There are quite a few q3ut2 players using gentoo I think. The Urban Terror Linux forum was helpful for me, but I play Urban Terror almost exclusively.
Good Luck. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Curious Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8446824783f72de40db222.jpg)
Joined: 13 May 2002 Posts: 395 Location: Sydney, Australia
|
Posted: Wed May 29, 2002 3:17 am Post subject: |
|
|
chemical wrote: | Option "Protocol" "ExplorerPS/2" |
a-HA!
Thanks for that.
Curious. _________________ Are you down with the Hawk? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
elboricua Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/171775293343698d22a4923.gif)
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Wed May 29, 2002 4:53 am Post subject: Shutdown To Users |
|
|
To allow any user to shutdown, or reboot the system you have to do the following:
Create a file named shutdown.allow in /etc. The shutdown.allow file should list the usernames of any users who are allowed to shutdown the system. The format of the /etc/shutdown.allow file is a list of usernames, one per line, like the following:
john
paul
george
ringo
Next edit /etc/inittab and add -a to the end of all lines related to shutdown. This will tell the system to look at the shutdown.allow file to see if that user is able to shutdown the system. _________________ Boricua Hasta La Muerte |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jabuka n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 Jun 2002 Posts: 21 Location: Nova Scotia, Canada
|
Posted: Wed Jun 26, 2002 1:37 am Post subject: numlock... |
|
|
- SyN -
i tried the script you wrote but i can't seem to get it to work. i already had a numlock file in my /etc/init.d/ folder and i mistakingly over-wrote it with your version of the numlock file. nothing good or bad happened, the numlock still doesn't start up. what could i be doing wrong?
mark |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DArtagnan l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/18253985533e474a412e005.gif)
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Wed Jun 26, 2002 5:56 am Post subject: Re: Shutdown To Users |
|
|
Megatron2121 wrote: | To allow any user to shutdown, or reboot the system you have to do the following:
Create a file named shutdown.allow in /etc. The shutdown.allow file should list the usernames of any users who are allowed to shutdown the system. The format of the /etc/shutdown.allow file is a list of usernames, one per line, like the following:
john
paul
george
ringo
Next edit /etc/inittab and add -a to the end of all lines related to shutdown. This will tell the system to look at the shutdown.allow file to see if that user is able to shutdown the system. |
I followed the steps you've described and this is the result
voicu@rothsupport voicu $ /sbin/reboot
reboot: must be superuser
Any clue? _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Utoxin Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13197540244c9107e4aeb9d.jpg)
Joined: 19 Apr 2002 Posts: 413 Location: American Fork, UT
|
Posted: Wed Jun 26, 2002 6:36 am Post subject: |
|
|
Is the user a member of the wheel group? That might help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DArtagnan l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/18253985533e474a412e005.gif)
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Wed Jun 26, 2002 6:37 am Post subject: |
|
|
Utoxin wrote: | Is the user a member of the wheel group? That might help. |
yes! _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Utoxin Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13197540244c9107e4aeb9d.jpg)
Joined: 19 Apr 2002 Posts: 413 Location: American Fork, UT
|
Posted: Wed Jun 26, 2002 6:40 am Post subject: |
|
|
pacman wrote: | Utoxin wrote: | Is the user a member of the wheel group? That might help. |
yes! |
Glad I helped. If in doubt when trying to get a user to do something that takes 'root' priviledges, add them to wheel. ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DArtagnan l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/18253985533e474a412e005.gif)
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Wed Jun 26, 2002 6:44 am Post subject: |
|
|
voicu@rothsupport voicu $ groups
wheel audio cdrw apache _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Utoxin Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13197540244c9107e4aeb9d.jpg)
Joined: 19 Apr 2002 Posts: 413 Location: American Fork, UT
|
Posted: Wed Jun 26, 2002 6:48 am Post subject: |
|
|
Oh... I thought that was a good yes, not a bad yes. Sorry, man. _________________ Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.
Cool. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Houdini Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/41647e923d15725b937fb.jpg)
Joined: 14 Jun 2002 Posts: 224 Location: New Mexico Tech, Socorro, NM
|
Posted: Wed Jun 26, 2002 8:18 pm Post subject: |
|
|
Pardon me for being simplistic, but why not use ctrl+alt+del ? The definition of what it does sits in /etc/inittab:
Code: |
# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now
|
_________________ ^]:wq |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arkane l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/D&D Related/assasin.gif)
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Thu Jun 27, 2002 5:00 pm Post subject: |
|
|
Houdini wrote: | Pardon me for being simplistic, but why not use ctrl+alt+del ? The definition of what it does sits in /etc/inittab:
Code: |
# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now
|
|
Because most of the time you don't have access to the console of a computer in a cold room ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|