Making Mosh work for OSX and FreeBSD

Like many others, it seems, I got the dreaded “mosh-server needs a UTF-8 native locale to run.” when trying to use mosh from my OSX laptop to my FreeBSD server.

I tried the stuff google suggested, but nothing worked. What eventually solved the problem for me was adding the following to .bash_profile on my OSX client:

Continue reading

Posted in FreeBSD, OSX | Tagged , , , , , | Leave a comment

FreeBSD and Intel Bay Trail

My old Core 2 Duo server from 2007 has been with me for a little too long now. Its an old workstation from a previous job. But I haven’t really found any alternatives that fit both my requirements and budget, until now.

My requirements were a passively cooled(low TDP) mITX board with an integrated CPU(with decent performance), at least 4 SATA ports,  an HDMI port and DDR3 SO-DIMM slots. For no more than about 80 USD. Until Intel released the Bay Trail CPU family there was nothing that could fill those requirements. So when I saw that Asrock released their Q1900-ITX board, I ordered one.

Bleeding edge hardware and FreeBSD requires some tweaking though…

Continue reading

Posted in FreeBSD | Tagged , , , , , , , , , , | Leave a comment

Binary telldus-core packages for OpenWRT

Here I will post ipk packages of telldus-core built for various OpenWRT architectures(they are built for Attitude Adjustment 12.09). I have detailed how to build it yourself in a previous post, but it is a bit complicated to do. Especially if you’re not used to compiling stuff, or Linux at all. So the packages below can simply be SCP’d to your router and then installed by running: Continue reading

Posted in Linux, OpenWRT, Tellstick | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , | 1 Comment

Migrating an existing FreeBSD installation to root on ZFS

There are plenty of guides and howtos on how to install FreeBSD onto a ZFS root.
It’s on the wiki at https://wiki.freebsd.org/RootOnZFS for example.
But I could not find any guides on how to migrate an existing installation to a ZFS root.
It turns out it wasn’t that difficult to achieve.
Continue reading

Posted in FreeBSD, ZFS | Tagged , , , , , , , , , | Leave a comment

FreeBSD boot stuck on “trying to mount root from”

When I tried to boot into my new ZFS root, the boot went fine up until it was going to mount the root filesystem.
It just stuck on “trying to mount root from zfs:twotb/root” and then absolutely nothing happend. I left it for 10-15 minutes but nothing, no error message or anything. I tried a zillion things and googled like mad, but I only found one similar problem. That guy didn’t find the root cause though, but claimed he fiddled some with fstab and then it started to work. That did’nt help me.
Continue reading

Posted in FreeBSD, ZFS | Tagged , , , , , , , , | 1 Comment

Plugging a Tellstick directly in a (OpenWRT) router

If you have a Dovado router you can supposedly plug in a Tellstick from the get go.
But for any other router, some work is required. This is another post mostly for my own reference, but hopefully it’ll be useful for you too.
First of, you should install OpenWRT on your router(it obviously needs to be one with a USB port). That way you can build and install whatever software you want. And since Telldus provides a source package that you can compile, that makes it a lot easier.

Continue reading

Posted in Android, Automation, Linux, OpenWRT, Tellstick | Tagged , , , , , , , , , | 10 Comments

EMC SRDF SRA 5.1(& 5.5) install issues – solution

Tried installing EMC SRDF SRA 5.1 on my new VMware Site Recovery Manager 5.1 server. It installed fine, but apparantly didn’t create an EMC Symmetrix folder under the sra-folder as it should. After a bit of googling and searching the forums on Powerlink I gave up and contacted EMC support. Turns out it currently doesn’t work when SRM is installed somewhere other than C: and they had no solution to it.
Continue reading

Posted in VMware | Tagged , , , , , , , | 2 Comments

Hiding Apple-folders from XBMC

I’m browsing my mediashare via CIFS/SMB, and also from my Mac.
The Mac creates some temporary folders and files everywhere, which aren’t visible on the Mac but are there when I browse in XBMC. Quite annoying. Removing them won’t help as they reappear, so figured I’d hide them instead.
This is accomplished by adding the following line to smb.conf and restarting samba.

Continue reading

Posted in XBMC | Tagged , , , , , , , , , , , | Leave a comment

Flashing a dreambox via telnet/ftp

If you don’t have a nullmodem cable available this is an easy and fast way to install a new image on your dreambox.
This method will only work with a .img image file.
Continue reading

Posted in Dreambox, Linux | Tagged , , , , | 2 Comments

Home automation part II – location & day/night triggering

In part one I went through the setup of the Tellstick and controlling it via a browser and/or mobile phone app.
In this part I’ll try to explain how to make it trigger based on your location and time of day/night, so you won’t have to push any buttons at all. Magic! *cough* Continue reading

Posted in Android, Automation, Tellstick | Tagged , , , , , , , , , , , , , | 1 Comment