lkml.org 
[lkml]   [1996]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Possible /etc/kernel.conf?
Date
In article <linux-kernel.Pine.OSF.3.92.960514172346.24776B-100000@afarm-9.sdsc.edu>, Taner Halicioglu  <taner@sdsc.edu> wrote:
>On Tue, 14 May 1996, Hartmut Niemann wrote:
>
>Quite true... There really should be a /proc/config, IMHO. I wanted to
>check if I had enabled IP Forwarding on one of my machines the other day,
>and since I had compiled the kernel on another machine (and long since
>blown away the source tree) I had to just recompile a kernel.
>
>How hard would something like this be?

Check /proc/net/snmp. IP forwarding, along with other networking
information is already available. I have a perl script to format it,
but it shouldn't be too hard to decipher by hand. But if someone
wants my crude version, email me.



--
Dragon's Lair, USA -- Dragon Slayer
<a href="http://dragonslair.caltech.edu/~ds2/">ds2@dragonslair.caltech.edu</a>


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.039 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site