Keeping my FreeBSD box up-to-date

Every once in a while the ports software on the NAS needs to be “rebased” with the newest. I have made a script that I can run in a screen. It will update the ports tree and compile the new software: portsnap fetch extract update pkgdb -F portsdb -Fu portupgrade -ac

Continue Reading

Get rid of the warning when mounting AFP shares

Does your Mac also complain when you mount a share via AFP (netatalk-FreeBSD)? Something like this: Something wrong with the volume’s CNID DB, using temporary CNID DB instead. Check server messages for details. Switching to read-only mode. I solved this by adding a little to the rc.conf: cnid_metad_enable=”yes”

Continue Reading

Change the icon of a FreeBSD served AFP server

I found a blogpost describing the setup of the icon: http://www.simonwheatley.co.uk/2008/04/06/avahi-finder-icons/ So create (if not already present) a file: /usr/local/etc/avahi/services/afp.service And put e.g. this in it: <?xml version=”1.0″ standalone=’no’?><!–*-nxml-*–> <!DOCTYPE service-group SYSTEM “avahi-service.dtd”> <service-group>   <name replace-wildcards=”yes”>%h</name>   <service>     <type>_afpovertcp._tcp</type>     <port>548</port>   </service>   <service>     <type>_device-info._tcp</type>     <port>0</port> [...]

Continue Reading

Using Apple Filing Protocol (AFP) with FreeBSD

I want to access my files on the FreeBSD NAS via AFP and not SMB. SMB is too Windows-like First we nee Bonjour to multicast the DNS-name of the server. This is implemented by avahi. (Why does it nee to install so many X ports…?) # cd /usr/ports/net/avahi # make install clean Now start the daemons [...]

Continue Reading

Remounting geli and ZFS partitions

As I did a clean install and not an upgrade of my FreeBSD 8.2 to 9.0, I have to reconfigure everything from scratch I have 4 Western Digital disks with data – all in RAID-Z. And because they are Western Digital, they have 4K sectors and don’t work well with ZFS. So I also have [...]

Continue Reading

DR Bonanza on the Apple TV

The danish television (DRTV) has put a lot of their old material in digital form on the net. Visit Bonanza to see it from you browser (if you are from Denmark). But I want to watch it on my Apple TV That is where XBMC comes in. Just add it via the Add-on manager in [...]

Continue Reading

Installing FreeBSD on my NAS

Using the new bsdinstall works like a charm Thanks! I want a very small install – no doc, no games, no lib32, no src (I’m ok with the prebuilt kernels). So I just selected ports – I want to be able to add ports. It turns out that after boot I needed to install the [...]

Continue Reading

Time to reinstall FreeBSD

Back in November 2009 I installed my NAS with the newest FreeBSD: 8.0. I made some choices about partitioning that I now want to redo. My initial partitioning was / had around 4.5 GB /tmp had around 0.5 GB /var had around 3 GB /home had around 895 GB And back then I actually decided that [...]

Continue Reading

FreeBSD 9.0 is released!

Finally – need to find time to upgrade my NAS. Some of the nice new features are Updated version (28) of ZFS High performance SSH new installer bsdinstall I especially look forward to the new version of ZFS – maybe I can get rid of geli which I installed because WD disks have 4k sectors [...]

Continue Reading

Netflix on the Apple TV :-)

Note the guide below does not need jailbraking your Apple TV!!! In Denmark one of the public TV channels (TV2) becomes commercial 11th of february. So either we could just stop seeing TV2, pay for seeing TV2, or find an alternative for all the movies and series… I chose the last, and decided to get [...]

Continue Reading
  • Facebook
  • Google+
  • LinkedIn