[plug] iptables console logging

Ryan ryan at is.as.geeky.as
Sat May 17 00:12:38 WST 2003


On Fri, 16 May 2003 14:28:54 +0800
magni at plug.linux.org.au (Tony Breeds) wrote:
 
> echo 4 > /proc/sys/kernel/printk
> (add the appropriate line to /etc/sysctrl.conf to make it perminant)
> 
> Yet another abuse of /proc!

Thanks, that works after I rebooted to sort out all the problems my earlier fiddling caused :)

For those wondering, the actual line needed in /etc/sysctl.conf (no 'r') is:

kernel/printk=4

or

kernel.printk=4

Then to apply it, you run: sysctl -a

Ryan



More information about the plug mailing list