Hot answers tagged

2

The problem here is that /etc/rc.d/pf runs before /usr/local/etc/rc.d/ezjail, so the kernel hasn't configured the jailed network by the time it tries to load the firewall rules. You might be tempted to alter the pf script to start after ezjail, but that's not a good idea - you want your firewall to start early in the boot process, but jails get started quite ...


1

As it is for a UPS, I imagine you can afford to poll the modem signals every 10 seconds or so (from freebsd tty(4)): int state; if(ioctl(fd, TIOCMGET, &state)...) if(state & TIOCM_DTR)... However, if you want to be notified immediately of changes in exactly one modem signal, namely DCD, you can set the tty flags to clear CLOCAL (see termios), then ...


1

Just run echo 'DEFAULT_VERSIONS+=ssl=openssl' >> /etc/make.conf (as root) if you really have installed security/openssl. For users of an other port than security/openssl: for security/openssl-devel: echo 'DEFAULT_VERSIONS+=ssl=openssl-devel' >> /etc/make.conf for security/libressl: echo 'DEFAULT_VERSIONS+=ssl=libressl' >> /etc/make....


1

Try changing your .xinitrc to just xterm & fluxbox & or xterm & exec fluxbox


1

With xterm, you could use the translations resource to assign a string (such as "setxkbmap us") to a function-key. Doing that bypasses most of the keyboard problems, as well as issues with compose and special characters. Something like this in your $HOME/.Xdefaults would assign the command to controlshiftF1: *VT100*translations: #override \n\ ...


1

FreeBSD (the OS) does not have a mailx program. There are however several programs called mailx which is derived from Berkeley Mail. Some are ported to FreeBSD and are available as packages. The OP is using the package: mailx-0.5_1 This package is a fairly old Perl script. I would rather recommend using the Heirloom version of mailx: heirloom-mailx-12.4_7 ...


1

The guidelines presented in the FreeBSD Developers' Handbook encourage the developer to write portable code. For example, the suggestion (in 2.4. Compiling with cc) that the C programmer use compiler warnings to check for problems: Generally, you should try to make your code as portable as possible, as otherwise you may have to completely rewrite the ...



Only top voted, non community-wiki answers of a minimum length are eligible