mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 07:11:05 +01:00
37 lines
935 B
Plaintext
37 lines
935 B
Plaintext
|
|
||
|
To install as a Loadable Kernel Module (LKM):
|
||
|
|
||
|
1. do a "make sunos4" in this directory
|
||
|
|
||
|
2. Run the script "SunOS4/minstall" as root.
|
||
|
|
||
|
3. change directory to SunOS4 and run "make install"
|
||
|
|
||
|
4. Reboot using the new kernel
|
||
|
|
||
|
5. use modload(8) to load the packet filter with:
|
||
|
modload if_ipl.o
|
||
|
|
||
|
6. 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 install as part of a SunOS 4.1.x kernel:
|
||
|
|
||
|
1. do a "make sunos4" in this directory
|
||
|
|
||
|
2. Run the script "SunOS4/kinstall" as root.
|
||
|
NOTE: This script sets up /dev/ipl as char. device 59,0
|
||
|
in /sys/sun/conf.c
|
||
|
|
||
|
3. Do "mknod /dev/ipl c 59 0" as root.
|
||
|
|
||
|
4. Reboot using the new kernel
|
||
|
|
||
|
Darren Reed
|
||
|
darrenr@cyber.com.au
|