Home server

Replacing a Raspberry Pi SD card

Recently my home server (a raspberry pi 3 with attached storage) has been encountering disk errors, and finally gave up on booting entirely. That’s probably because I’ve been running it 24/7 and it had a few unexpected reboots. (I should really add a physical shutdown switch someday).

Read More

An analysis of ssh bruteforce attacks

I’ve been running my home server with fail2ban for quite some time, and it works great! So well that usually, there’s no need to think about the fact that it’s constantly under attack from around the globe (the internet is weird). Occasionally it’s fun to take a peek at the logs and see what sorts of things the ssh bruteforce attackers are trying. It looks like they’ve picked up some new tricks since the last time I checked…

Read More

Headless Mac Mini Hardware Hack

A few months ago I installed Ubuntu on my old 2009 Mac Mini (and apparently neglected to write about it), which went well except that it would only boot up properly if there was a monitor attached. For something that I’m using as a headless server, that amounts to a giant pain in the butt. We had a power outage last night and the thing once again didn’t boot up, so I finally did something about it.

Read More

Troubleshooting bonjour devices on LAN

Since purchasing a NAS that supports DAAP streaming, I’ve been trying to get it to play to my Airport Express in the living room. I also couldn’t get PulseAudio on my ubuntu laptop to find that device, so I knew something must be wrong. Searching around, I found a quick script based on Net::Bonjour, which would do a scan for advertised devices. Since it was aimed at finding a misbehaving printer, I’ve updated it a bit to scan for misbehaving audio devices as well.

Read More

Remounting CIFS Shares on Suspend/Resume

I recently set up a mac mini as a media center and file server. This works great, and I was able to easily share certain folders over the network to windows and linux. The only problem is that the samba shares become inaccessible whenever I suspend/resume my laptop.

Read More

Mounting cifs Shares in Ubuntu

As previously mentioned, I’ve got a mac mini set up as a fileserver. That’s not very useful if I can’t easily get at the files from my linux machine. While Kubuntu fully supports browsing samba shares via smb:/machinename , that doesn’t work with most linux apps.

Read More