
Legal:
This document is copyright © 2004 Jim Brooks.
Permission to copy, distribute, link, and reformat is given on condition that authorship is indicated.
sysctl is a cmd-line utility. sysctl -a shows lots of system configuration variables.
To change a setting eg:
sysctl net.inet.ip.fw.verbose=1
sysctl net.inet.ip.forwarding=1
make reinstall make deinstall make package
Nothing special is needed beyond installing/enabling Linux emulation (linux_base) and setting PATH. Just run the .bin files (which are shell scripts) and they will extract their contents in the CWD as would be done on Linux. The native FreeBSD "Diablo" Java 1.3 from the FreeBSD Foundation works also.
Don't use "domainname mydomainname" as that sets the obsolete NIS/yellowpage domainname. Rather, use a DNS domainname which is assigned at /etc/resolv.conf and by the hostname command.
Custom commands to run on startup should be written in /etc/rc.local but not /etc/rc.conf. /etc/rc.local is supposed to source /etc/rc.conf. See man rc.
kbdcontrol -l /root/misc/us.emacs.kbd
However, two caveats is that sometimes it won't work as expected unless NumLock is pressed or release (not sure which). Worse, it causes emacs on X to not work as expected.
kbdcontrol -l /root/misc/us.iso.kbd kbdcontrol -l /root/misc/us.unix.kbd # alternative
Solution is to uncomment the lines with "rlogind" in /etc/inet.conf. By default, the lines are commented-out, so rlogind is never called when another host tries to rlogin in.