Archive for the ‘FreeBSD’ Category

Sending external email from TrueNAS FreeBSD jails

Background The thing about FreeBSD jails and VMs is that they’re so easy to set up one tends to end up with many of them, each with its own purpose. Though they don’t have a physical form they’re still full servers, doing all the things servers do unless you configure them not to, and sometimes […]

Configuring sendmail on TrueNAS FreeBSD jails

N.B. This post is as much an aide-memoire to myself as anything else. I found it difficult to find the right web search terms to use to learn how to configure sendmail, so this information was more or less hard-won by experience, hence I don’t want to forget it.   Basics Sendmail’s configuration files live […]

FreBSD shell setup basics (e.g. Ctrl-left arrow writes ;5D)

Binding keyboard keypresses to certain non-printing-character functions, such as cursor keys, can be done in multiple ways. This is the *nix way of course, but it doesn’t help if you’re in a server shell, editing your command prompt, and Ctrl-back barfs characters instead of moving your cursor. Usually FreeBSD uses csh as it’s default shell. […]

Setting a bandwidth limit for a BSD SSH connection

sshd has no features that limit the bandwidth used by a given ssh connection, so scp or sftp transfers can consume as much bandwidth as the underlying connection can support. If this connection is shared, this might be undesirable – one transfer will always be trying to saturate the pipe, forcing other communications to contend […]