Tag Archives: client

Postfix and network biopair interop: error reading x bytes from the network: connection reset by peer

Lately I have been getting “network biopair interop: error reading x bytes from the network: connection reset by peer” in my mail server logs, and my email client unable to send. My email client is Thunderbird configured to send via TLS. Googling the error doesn’t reveal very much other than it’s probably a transient network error/problem, or a broken TLS implementation at the client end, and that developers can be snooty. This is the second time I’ve had the problem. The first time I just disabled TLS and enabled CRAM-MD5 password authentication, so at least the password is sent encrypted. Today I decided to get serious, and find an ultimate answer to the problem.

Trawling through the various mailing lists reveals that “network biopair”, whatever that is, has been removed from Postfix as of December 2010, v2.8. Admittedly a bit of a long shot, I decided “what the hey” upgrading to Postfix 2.8 isn’t going to make things any worse, and it may sort the problem out.

The next problem then was how to upgrade to version 2.8, my mail server runs as part of an LXC container. Upgrading LXC containers is difficult because new versions of upstart, udev, ifupdown et al like to recreate device nodes, change init scripts and what not. Assuming you’re able to successfully complete the upgrade you will still probably be left with a container which doesn’t boot properly, or at all. I was hoping to stay with Lucid Lynx in the container, until support runs out, in the hope that the LXC boys would have made upgrades smoother by then, but how could I easily update to version 2.8 without either running from source, or running the gauntlet of the container upgrade? Further googling revealed that version 2.8 is available via backports so in /etc/apt/sources.list I added the following line and upgraded:-

deb http://ie.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

It’s too early to say whether the problem is completely fixed. If it isn’t I will remove this post!

Stream a DVD in Ubuntu

In order to watch a DVD on a device which doesn’t have a DVD drive, it’s possible to stream it from another device which does, through the network. For instance in our house we only have one laptop with a DVD drive. This is the main and most powerful machine which I use for day and nighttime work. When the children want to watch a DVD upstairs in bed (we don’t allow them have TV in their room) I use VLC to stream from my laptop, instead of playing directly, so I can keep working away.

Before we start, obviously, make sure VLC is installed on both devices either by Ubuntu Software Center, Synaptic or apt-get, whichever takes your fancy. On the machine with the DVD drive, we’ll call this the “server”, you simply type/paste one command in, then at the drive-less end, let’s call this the “client”, you run the VLC GUI and tell it where to listen for the stream. So on the server type/paste:-

Continue reading

1 remote desktop client to rule them all – Remmina

One Remote Desktop Client to rule them all, One Remote Desktop Client to find them,

One Remote Desktop Client to bring them all and in the darkness bind them.

Welcome to Remmina. Remmina certainly isn’t unique in the way that it covers all the remote protocol bases (well except for IPMI 2.0, maybe that’s a feature request developers?). The remote desktop viewer bundled as standard with Ubuntu also covers RDP, VNC and SSH, but it doesn’t offer the same level of usability, or the spit and polish that makes a killer app.

Continue reading