February 10, 2018 tim

You learn something new everyday and yesterday I discovered an awesome way to check the weather from a command line using wttr.in that will work with FreeBSD, Linux, Mac OS X, and any system that has cURL installed on it which is also available for windows. Download cURL for Windows Most Linux distributions ship with cURL and on FreeBSD it can be installed via pkgng like so # pkg install -y curl Now let’s check the weather # curl wttr.in Since wttr.in is geographically aware you will not have to specify your location, however if you are behind a VPN…

June 5, 2016 tim

In this brief tutorial I will cover a quick and simple method for mounting folders on your FreeBSD host machine to a jail. I am writing this because I remember having the need to do this for the first time and my google-foo returned a variety of posts with complex and overkill methods. I wanted to mount my host’s /var/music folder within a jail to setup Subsonic. In the host machines /etc folder exists a fstab file for each jail runing on the system.     Example: # cd /etc/ # ls fstab.timstunz_noip_me fstab.debarbora_com fstab.subsonic_org So to mount /var/music to…

June 5, 2016 tim

In this tutorial we will be replacing sendmail with ssmtp to use an AOL email account for sending outgoing email via SSL. You can also use these instructions to do the same with Gmail, Yahoo, or any other SMTP account. Reference: When performing this setup on my FreeBSD servers I have always used http://btt.red/b/2/0/freebsd-use-gmail-for-outgoing-mail for reference, however I am creating this tutorial to add additional steps that I find work best for my setups. Security: DO NOT USE your primary SMTP account with ssmtp, since the configuration requires storing the SMTP account password in plain text, you really want to…