• Computer

    BSD-sikkerhedsnoter v.0.1

    Lars Sommer < [email protected] > 11. april 2006 0.1 Forord og introduktion 0.1.1 Forord BSD er godt. BSD kan gøres sikkert. Jeg interesserer mig for operativsyste- mer og sikkerhed. Her er en lille kombination. 0.1.2 Introduktion Dette er ikke en bog! Dette er hverken en veldokumenteret vejledning…

  • Computer,  Programmering

    Programming tools for C and Perl

    Programming tools for C and Perl, which I normally run my programs through gcov, man gcov gprof, man gprof ------ Lint: -h Apply a number of heuristic tests to attempt to intuit bugs, improve style, and reduce waste. -p Attempt to check portability of code…

  • Computer

    IPv6, DHCPd, OpenLDAP on FreeBSD

    Just a few small misc notes from my old FreeBSD server setup. There is a chance these are completely obsolete. IPv6 setup Add to rc.conf: ipv6_enable="YES" ipv6_ifconfig_fxp0="FEEE::1" ipv6_defaultrouter="FEEE::1" rtadvd_enable="YES" rtadvd_interfaces="em1" Edit /etc/rtadvd.conf em1:\ :addrs#1:addr="FEEE::":prefixlen#64:tc=ether: DHCPd ISC dhcpd in FreeBSD 8.2 Install the port: net/isc-dhcp41-server Set…

  • Computer

    APC UPS power failure handling agent on FreeBSD

    On FreeBSD 8.1, 2010-08-03 Install the port: sysutils/apcupsd Change in configfile: /usr/local/etc/apcupsd/apcupsd.conf: UPSNAME UPS2 UPSCABLE usb UPSTYPE usb DEVICE /dev/ugen0 (Find the correct device by doing dmesg | grep "American Power Conversion" ) Add to rc.conf: apcupsd_enable="YES" And start it: # /usr/local/etc/rc.d/apcupsd start

  • Computer

    Update FreeBSD base system and ports

    Lars Sommer, 2009-10-06, using sources and manual rebuildingUpdated at 2010-01-25, using freebsd-update and portsnap instead Update base system: freebsd-update fetch freebsd-update install --- Update ports: portsnap fetch update portversion -l "<" portaudit -Fda portupgrade -a portaudit -Fda --- New releases update: See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html --- Crontab…