Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 13 guests | Time: 17:57
Where is sysctl.conf?
paldo Support Forum    paldo    General Discussion
Reply Reply   Subscribe Topic Subscribe Topic
7 posts found.
 Where is sysctl.conf?
Mitglied
 
 
 
Posts: 70
Registered: 2008-08-24
Guys... I can't find the sysctl.conf file. Should I create it manually or is somewhere else (I didn't find it even with "locate")?
 
..............................
Running GNU/Linux Paldo 1.18 (unstable). Rock my box!
Profile   Private Message   Web
Created: 2009-07-30 17:07
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Where is sysctl.conf?
Senior Mitglied
 
 
 
Posts: 216
Registered: 2008-07-04
Never realised that, because I never needed, what do you need to set, because maybe there is a difference and you think you need to set a parameter there and it might be on somewhere else.

So what is the parameter you need to set on sysctl.conf?
 
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez
Profile   Private Message   E-Mail
Created: 2009-07-30 18:47
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Where is sysctl.conf?
Mitglied
 
 
 
Posts: 70
Registered: 2008-08-24
I want to change the TCP/IP keepalive values.
 
..............................
Running GNU/Linux Paldo 1.18 (unstable). Rock my box!
Profile   Private Message   Web
Created: 2009-07-30 20:18
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Where is sysctl.conf?
Senior Mitglied
 
 
 
Posts: 216
Registered: 2008-07-04
axelgenus eventhough the /etc/sysctl.conf doesn't exist,

Code[In neuem Fenster öffnen]
[diogo@hp-laptop:~]$ sysctl --help
usage: sysctl [-n] [-e] variable ...
sysctl [-n] [-e] [-q] -w variable=value ...
sysctl [-n] [-e] -a
sysctl [-n] [-e] [-q] -p <file> (default /etc/sysctl.conf)
sysctl [-n] [-e] -A
[diogo@hp-laptop:~]$


the sysctl seems to be compiled to check the default configuration on /etc/sysctl.conf so I think you can create this file and configure your things

the sysctl.conf is just a blank file so create a blank one and then set your parameter on it, just to remember that it is not a bash file so no need for #!/bin/bash on the start.
 
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez
Profile   Private Message   E-Mail
Created: 2009-07-31 01:29
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Where is sysctl.conf?
Senior Mitglied
 
 
 
Posts: 216
Registered: 2008-07-04
Also check man sysctl and man sysctl.conf
 
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez
Profile   Private Message   E-Mail
Created: 2009-07-31 01:30
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Where is sysctl.conf?
Mitglied
 
 
 
Posts: 70
Registered: 2008-08-24
Thank you for the hint.
 
..............................
Running GNU/Linux Paldo 1.18 (unstable). Rock my box!
Profile   Private Message   Web
Created: 2009-07-31 01:31
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Where is sysctl.conf?
Mitglied
 
 
 
Posts: 70
Registered: 2008-08-24
If I create the file manually the system configuration isn't modifed at boot time: I always need to execute "sysctl -p". Shouldn't it be loaded automatically?
 
..............................
Running GNU/Linux Paldo 1.18 (unstable). Rock my box!
Profile   Private Message   Web
Created: 2009-07-31 17:56
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a