LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   REALLY dumb question (http://www.linuxquestions.org/questions/linux-newbie-8/really-dumb-question-97756/)

christer 09-28-2003 02:27 AM

REALLY dumb question
 
How can I defalut RH9 to turn on num-lock during bootup? I know that is probably a very random, stupid question but it is really getting on my nerves. thanks

TwoSheds 09-28-2003 03:03 AM

there will be a setting in your BIOS that will make it boot numlock on

J.W. 09-28-2003 04:09 AM

OT: TwoSheds, _excellent_ handle. Thanks for the laugh -- J.W.

chii-chan 09-28-2003 07:30 AM

How come the windowz turn it on when it boots up?

Thymox 09-28-2003 07:51 PM

Ok, it's really quite simple. You can fiddle with the BIOS to your heart's content, but you can also set it up on booting! I'm going to presume you boot into a GUI login (runlevel 5).

Login.
Open a terminal.
Change to root by typing su root and then enter root's password.
Move to /etc/rc.d/rc5.d (cd /etc/rc.d/rc5.d)
Make a symlink to the numlock script, beginning with SXX (ln -s ../init.d/numlock ./S85numlock)
Next time you boot it should enable numlock for you.
Simple!

If you're not comfortable with that, then you can use a program like tksysv to edit what is started at boottime, and at which runlevel.

Hope this helps.

christer 09-30-2003 07:49 AM

Not sure I understand what the instructions are here.

I got into the /etc/rc.d/rc5.d directory however I'm a little lost after that point.

Can you give me more detailed instructions on how to?

Baldrick65 09-30-2003 08:05 AM

Just type in what Thymox posted in bold, and you should be sweet.

e.g.

Open a terminal
su root then enter root password
cd /etc/rc.d/rc5.d
ln -s ../init.d/numlock ./S85numlock

Just copy and paste :D

TwoSheds 10-03-2003 04:35 PM

Quote:

Originally posted by J.W.
OT: TwoSheds, _excellent_ handle. Thanks for the laugh -- J.W.
lol tbh some guy told me to make it that cos i have 2 sheds. i changed it for a joke and i never got around to thinking of something better

then it stuck and i started using it for everything





Quote:

Originally posted by chii-chan
How come the windowz turn it on when it boots up?
on my pc when i set it to be on windows turns it off.
(i have dual boot)


TwoSheds

christer 10-03-2003 04:38 PM

That didn't seem to work for me. Maybe I did it wrong... maybe I'm just tired. Who knows anymore.

I need sleep.

activelylazy 10-03-2003 07:36 PM

Quote:

quote:
--------------------------------------------------------------------------------
Originally posted by chii-chan
How come the windowz turn it on when it boots up?
--------------------------------------------------------------------------------


on my pc when i set it to be on windows turns it off.
(i have dual boot)
I've got dual boot too, but windows turns it on and Red Hat keeps it off. Not for long though, thanks for the post Thymox

(I've been wondering about this one for so long I had given up :p )

J.W. 10-04-2003 02:10 AM

OT (again): Well if you really do have two sheds, perhaps you might either get a third, just to distinguish yourself. http://modrzew.stopklatka.pl/artur.html

-- J.W.

chii-chan 10-05-2003 10:43 PM

Quote:

Originally posted by Thymox
Move to /etc/rc.d/rc5.d (cd /etc/rc.d/rc5.d)
Make a symlink to the numlock script, beginning with SXX (ln -s ../init.d/numlock ./S85numlock)
[/B]
I'm using Redhat 8.0. Why there is no numlock script in my /etc/int.d/ dir? Can I get the numlock script somewhere?


All times are GMT -5. The time now is 12:51 PM.