mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 13:22:48 +00:00
40 lines
952 B
Plaintext
40 lines
952 B
Plaintext
|
|
To build a kernel for use with the loadable kernel module, follow these
|
|
steps:
|
|
1. do "make bsd"
|
|
|
|
2. cd to the "BSD" directory and type "make install"
|
|
|
|
3. run "4bsd/minstall" as root
|
|
|
|
4. build a new kernel
|
|
|
|
5. install and reboot with the new kernel
|
|
|
|
6. use modload(8) to load the packet filter with:
|
|
modload if_ipl.o
|
|
|
|
7. do "modstat" to confirm that it has been loaded successfully.
|
|
|
|
There is no need to use mknod to create the device in /dev;
|
|
- upon loading the module, it will create itself with the correct values,
|
|
under the name (IPL_NAME) from the Makefile. It will also remove itself
|
|
from /dev when it is modunload'd.
|
|
|
|
To build a kernel with the IP filter, follow these steps:
|
|
|
|
1. do "make bsd"
|
|
|
|
2. cd to the "BSD" directory and type "make install"
|
|
|
|
3. run "4bsd/kinstall" as root
|
|
|
|
4. build a new kernel
|
|
|
|
5. create /dev/ipl with "mknod /dev/ipl c 59 0".
|
|
|
|
6. install and reboot with the new kernel
|
|
|
|
Darren
|
|
darrenr@cyber.com.au
|