SliTaz SliTaz Forum

You are not logged in.

#1 2012-12-04 14:42:53

ginja
Member
Registered: 2012-12-04
Posts: 5

sysctl.conf?

Hello all,

I'm hoping this is a nice easy one for an experienced Slitaz user smile

So, I'm running Slitaz 4.0 but there is no /etc/sysctl.conf.  Is there an equivalent?  I'm looking for the config file where I can enable IPv6 privacy extensions, turn on tcp syn cookies, modify time wait value or change the number of syn retries (etc).

If this isn't done through /etc/sysctl.conf, where do I do it?

Thanks,

Ginja

Offline

#2 2012-12-04 15:06:15

HMA
Member
Registered: 2011-08-05
Posts: 73

Re: sysctl.conf?

Hi.

It seems there is no sysctl.conf in SLiTaz.

You can ceate your own conf file in etc to give your settings to the kernel.

Offline

#3 2012-12-04 16:32:54

ginja
Member
Registered: 2012-12-04
Posts: 5

Re: sysctl.conf?

thanks for the hint!

Not sure if this is the besy way to do it, but here's what I did:

1) created /etc/sysctl.conf and added the stuff i wanted to that

2) edited /etc/init.d/local.sh to include the line 'sysctl -p /etc/sysctl.conf'

3) reboot

4) Now, any changes I make to /etc/sysctl.conf are picked up at boot (like changes to TCP settings etc)

Awesomeness!

What a great distro!

Now, if only there were a 64 bit version....

Offline

#4 2012-12-04 21:22:08

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: sysctl.conf?

Nice trick that. Maybe we should implement it into the distro

Offline

#5 2012-12-05 08:14:08

ginja
Member
Registered: 2012-12-04
Posts: 5

Re: sysctl.conf?

hehe, I was pretty amazed when it worked!

Adding to the next release would be sheer class smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]