Messages in this thread | ![/](/images/icornerl.gif) | | From | (Dragon Slayer) | Subject | Re: Possible /etc/kernel.conf? | Date | 15 May 1996 07:31:57 GMT |
| |
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>
| ![\](/images/icornerr.gif) |