tag: FreeBSD

vnstat: Network Stats

19 Aug, 2012 - 1 minutes
To gather network statistics for your interfaces, have a look at vnstat vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the network interface statistics provided by the kernel as information source. This means that vnStat won’t actually be sniffing any traffic and also ensures light use of system resources. This is how to install on Debian:

FreeBSD 9 Keyboard mapping

18 Aug, 2012 - 1 minutes
To get HAL to set your keyboard mapping on boot create the below file: vi /usr/local/etc/hal/fdi/policy/x11-input.fdi Enter this into it: <?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.keyboard"> <merge key="input.x11_options.XkbLayout" type="string">gb</merge> </match> </device> </deviceinfo> For this to work you will need to have HAL enabled in rc.conf. echo 'hald_enable="YES"' >> /etc/rc.conf echo 'dbus_enable="YES"' >> /etc/rc.conf