DNS, Bind9 and DHCP on Ubuntu 16.04

This is my installation and configuration guide for running DNS, Bind9 and DHCP on Ubuntu 16.04. If you are a home user and your network has grown such that you are tired of using all static IP addresses and having to configure the /etc/hosts files by hand, then use the great tool dnsmasq. See my How to set up dnsmasq. Dnsmasq is so much simpler to setup and maintain than bind9 and ISC DHCP.

Continue reading

Block a device from Flooding our Guest Wifi

There was a problem where I work the other day, where a mobile device flooding one of our ADSL connections using all available bandwidth. We needed to block a device from flooding our guest Wifi. This connection is used primarily for the guest wifi. The guest wifi is provided as a connection to the Internet. This post assumes that you have a router built on a Linux machine where you are running your own firewall and not the modem/router box provided by your ISP.

Continue reading

Using ir-keytable with Mythtv

  • Using ir-keytable with Mythtv is far simpler than using lircd and is the way forward. with ir-keytable there are less files and less configuring to deal with. I use a generic IR remote which is IR6 compatible. It is also a look-a-like for a MCE remote. Similar to the black one on the right but mine is silver 🙂

    I did my testing on a Virtualbox guest running a Minimal Ubuntu Linux 18.04 server and Raspbian Stretch 2018-06-27. Follow that link to see how I did that. The IR sensor is USB so that goes into the host and then when the virtual machine is running use the menu option Devices -> USB -> TopSeed Technology Corp. eHome Infrared Transceiver.

    Continue reading

  • Ubuntu 18.04 Minimal Server Install.

    This post will, quickly, run through how to create an Ubuntu 18.04 Minimal Server Install. It also only takes a short time, taking between 5 to 15 minutes to install depending on your hardware and the number of times you have run through it. I find it an ideal way to try out and learn how to install Ubuntu in various configurations. I build these test machines as virtual machines running on Virtualbox as this allows me to throw it away without messing about with real hardware.

    Continue reading

    DNS with bind9 and DHCP on Ubuntu 16.04

    This post will show you how to install DNS with bind9 and DHCP on Ubuntu 16.04. We will end up with a full blown bind9 DNS with an integrated DHCP server. If you are a home user and your network has grown such that you are tired of using all static IP addresses and having to configure the /etc/hosts files by hand, then use the great tool dnsmasq. See my How to set up dnsmasq. Dnsmasq is so much simpler to setup and maintain than bind9, you should think about using it.

    DNS with bind9 and DHCP on Ubuntu 16.04 also works on a Raspberry PI 3 running the Ubuntu Image.

    Continue reading

    Installing Munin on Ubuntu 16.04

    Installing Munin on Ubuntu 16.04 is not the hard. Munin is a monitoring system that runs over the network for the local server and remote servers. It monitors all the basics out of the box. We can use it to monitor servers of all types to see what has happened and help find out why stuff broke or started to go slow.

    Continue reading

    Installing AWstats on Ubuntu 16.04 LTS

    If you want to see loads of stats for your web site try Installing AWstats on Ubuntu 16.04 LTS. Number of visitor, Waht OS or Browser they used.

    Install

    Installing AWstats on Ubuntu 16.04 LTS and some additional packages necessary for the geo and net IP location stats.

    sudo apt-get install awstats libgeo-ipfree-perl libnet-ip-perl

    Continue reading

    Mail Server on Ubuntu 16.04 Part 5

    Welcome to Mail Server on Ubuntu 16.04 Part 5. This is the fifth part of a series of blog posts. We will be adding Roundcube, allowing your users to access their email over a secure HTTPS connection from any browser.

    Mail Server on Ubuntu 16.04 Part 1
    Mail Server on Ubuntu 16.04 Part 2
    Mail Server on Ubuntu 16.04 Part 3
    Mail Server on Ubuntu 16.04 Part 4

    Continue reading

    Mail Server on Ubuntu 16.04 Part 4

    Welcome to Mail Server on Ubuntu 16.04 Part 4. This is the forth part of a series of blog posts. We will be adding some extra checking to postfix. This will allow you to effectively blacklist some domains and email addresses. We will also be adding checks for properly formatted domain names and checking the IP address against their DNS lookup.

    Mail Server on Ubuntu 16.04 Part 1
    Mail Server on Ubuntu 16.04 Part 2
    Mail Server on Ubuntu 16.04 Part 3

    Continue reading