View previous topic :: View next topic |
Author |
Message |
SNo0py Apprentice
Joined: 12 Jul 2002 Posts: 270 Location: Vienna, Austria
|
Posted: Wed Jul 17, 2002 7:39 am Post subject: Some (simple) problems... |
|
|
Hello out there,
I've installed Gentoo from stage 1 and it is working!!!
But there are some small and simple problems:
1.) auto off isn't working -> try searching this forum -> done -> solved!
2.) iptables isn't working -> how is the option named within the kernel-configuration?
3.) I want Num-Lock to be on after booting - how can I change this behavior?
4.) When pressing Strg+Alt+Del the system is rebooting, but I want to halt the system. Where can I change this?
Thx,
Mike _________________ Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you. |
|
Back to top |
|
|
Mallrats Guru
Joined: 15 Jul 2002 Posts: 414 Location: Cleveland Ohio
|
Posted: Wed Jul 17, 2002 10:43 am Post subject: NumLock |
|
|
There's probably a Linux way to do this but numlock on/off is a setting in my CMOS (BIOS) |
|
Back to top |
|
|
SNo0py Apprentice
Joined: 12 Jul 2002 Posts: 270 Location: Vienna, Austria
|
Posted: Wed Jul 17, 2002 12:35 pm Post subject: Re: NumLock |
|
|
Mallrats wrote: | There's probably a Linux way to do this but numlock on/off is a setting in my CMOS (BIOS) |
No, this is a Compaq-Box and there is no option
BTW, my SuSE had the same "problem" but under XP it was working fine... (other Box!) _________________ Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you. |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Jul 17, 2002 3:48 pm Post subject: |
|
|
Check this article out for the NUMLOCK question -- I think this should work (but I can't test it yet, very good question though--One I have wanted to learn how to change as well but didn't take the time to until now).
At first glance it looks like this could provide some good information on your CTRL+ALT+DEL question (change the binding from reboot to halt)
As for the iptables and what you need to enable in the kernel for them to work I searched the Gentoo forums and found this thread, but there are TONS of them to look through. I'd recommend looking at some of them, there are plenty of people using it that can help you there.
Regards,
BonezTheGoon |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Wed Jul 17, 2002 6:26 pm Post subject: |
|
|
Regarding the ctrl-alt-del problem, see my post here. Or I could just tell you now. Look in your /etc/inittab for these lines:
Code: |
# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now
|
Change the -r to a -h and you're golden. |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Jul 17, 2002 9:47 pm Post subject: |
|
|
I knew I had stumbled across the file that mapped what CTRL+ALT+DEL does sometime back but couldn't recall what it was, I'm fairly certain it was recently within a Gentoo system (can't be sure though!) Thanks for the info, can you verify how to fix the NUMLOCK? That is more important to me personally and I haven't had a chance to check it out yet.
Thanks!
Regards,
BonezTheGoon |
|
Back to top |
|
|
SNo0py Apprentice
Joined: 12 Jul 2002 Posts: 270 Location: Vienna, Austria
|
Posted: Thu Jul 18, 2002 6:59 am Post subject: |
|
|
strgaltdel is now working fine,
I also solved the problem with iptables - the option is called netfilter within the configuration! (But they are not working - but this is another topic )
Theres only the NUMLOCK-Issue left... we'll see... _________________ Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you. |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Thu Jul 18, 2002 2:11 pm Post subject: |
|
|
Here is some info I found here about how to enable NUMLOCK, not sure if this works in Gentoo. Will have to try it out for myself later.
1. edit /etc/rc.d/rc
2. Put the following lines into /etc/rc.d/rc
Code: | INITTY=/dev/tty[1-8]
for tty in $INITTY; do
setleds -D +num < $tty
done |
3. Save & restart
Regards,
BonezTheGoon |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Mon Jul 22, 2002 10:06 pm Post subject: |
|
|
/etc/rc.d/rc does not exist on my current Gentoo system. Likely the wrong approach for Gentoo.
Drat!
Regards,
BonezTheGoon |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Mon Jul 22, 2002 10:12 pm Post subject: |
|
|
Some things are too simple in Gentoo!! [/sarcasm]
try this (it works for me)
Code: | rc-update add numlock boot |
Regards,
BonezTheGoon |
|
Back to top |
|
|
|