[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kernel



Hello Craig,

Craig wrote:

> I am a newbie to openbsd.....and I was wondering if someone could 
> enlighten me on how to check if certain options are enabled in the 
> kernel.  Where is the kernel located.....I am using openbsd 2.8....I 
> thought it may have been similar to linux, but it is not.  I am trying 
> to enable options to allow VPN....thanks a bunch
This is all explained in the FAQ and -a bit- on the CD insert. Get a 
look at:
http://www.openbsd.org/faq/faq5.html

and the afterboot(8) man page available online at:
http://www.openbsd.org/cgi-bin/man.cgi?query=afterboot&apropos=0&sektion=8&format=html

This site might help you too:
http://www.openlysecure.org

The kernel sources are part of the file called src.tar.gz located in the 
top directory of the CD. So if you have enough disk space, gunzip/untar 
this file in /usr/src.

By the way, VPN (IPSEC) is compiled in the default kernel. You need to 
change the kernel options using sysctl by typing the following cmds or 
inserting them in /etc/sysctl.conf:
# sysctl -w net.inet.esp.enable=1
net.inet.esp.enable: 0 -> 1
# sysctl -w net.inet.ah.enable=1
net.inet.ah.enable: 0 -> 1

...all explained in:
http://www.openbsd.org/faq/faq13.html

Also there is no reason at all to think that OBSD and Linux have the 
same kernel /kernel location since they belong to different UN*X schools 
of thoughts.
Please to save your time and ours next time, DO read the FAQ and the 
excellent man pages that comes with OBSD.

HTH


-- 
### Saad Kadhi -- Network & Security Engineer ###
\|/ ____ \|/
~@-/ oO \-@~
/_( \__/ )_\
    \__U_/