Jump to content

Changes to sysctl.conf don't stick - help!


Guest genepool
 Share

Recommended Posts

Guest genepool

Please help me try to solve a problem that I can't seem to find an answer for. I have been trying to stop the kernel from logging martian source packets by changing the /etc/sysctl.conf file to have net.ipv4.conf.all.log_martians = 0 but everytime I restart the network (or reboot) the sysctl.conf file reverts to it's unedited condition. How can I stop martian source packets from being logged and what script is changing the sysctl.conf file? Thanks.

Link to comment
Share on other sites

It shouldn't be doing that. What I tend to do is edit /etc/sysctl.conf and then I run:

 

sysctl -p

 

and it will activate the settings you've just put in /etc/sysctl.conf. You shouldn't need to restart the network for it. Try what I've said, and then check that your martian parameter is set correctly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...