Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Some (simple) problems...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
SNo0py
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 270
Location: Vienna, Austria

PostPosted: Wed Jul 17, 2002 7:39 am    Post subject: Some (simple) problems... Reply with quote

Hello out there,

I've installed Gentoo from stage 1 and it is working!!! :D :D

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
View user's profile Send private message
Mallrats
Guru
Guru


Joined: 15 Jul 2002
Posts: 414
Location: Cleveland Ohio

PostPosted: Wed Jul 17, 2002 10:43 am    Post subject: NumLock Reply with quote

There's probably a Linux way to do this but numlock on/off is a setting in my CMOS (BIOS)
Back to top
View user's profile Send private message
SNo0py
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 270
Location: Vienna, Austria

PostPosted: Wed Jul 17, 2002 12:35 pm    Post subject: Re: NumLock Reply with quote

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
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Wed Jul 17, 2002 3:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Jul 17, 2002 6:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Wed Jul 17, 2002 9:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
SNo0py
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 270
Location: Vienna, Austria

PostPosted: Thu Jul 18, 2002 6:59 am    Post subject: Reply with quote

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
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Thu Jul 18, 2002 2:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Mon Jul 22, 2002 10:06 pm    Post subject: Reply with quote

/etc/rc.d/rc does not exist on my current Gentoo system. Likely the wrong approach for Gentoo.

Drat!

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Mon Jul 22, 2002 10:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum