Popular Tags:

Create XBMC / Kodi Notifications

3rd March 2015 at 04:50


There are many reasons to set up notifications on certain events such as SMART error. Kodi / XBMC has a simple notification system that can be invoked programmatically or via a HTTP request. Before notifications can be received you will first need to install Kodi on Arch Linux and know the IP address and port on which it Kodi is reachable. It would be helpful to configure static IP on Arch Linux or setup static IP on Ubuntu Linux since then the IP would stay constant.

Configure Email Notifications on Arch Linux

28th February 2015 at 03:16

arch-linux-email-logo Email system notifications can be used to warn of system issues like failing hard drives or failed backup scripts. To send emails a mail server can be configured but it is more complicated than it needs to be for simple notifications. Another issue with a local mail server is that some ISP’s may be blocking outbound emails making this method potentially unreliable.

A simpler alternative is to let an external mail service like Gmail send the actual email. To achieve this s-nail mail processing system will be used with the optional SMTP extension. The downside of this approach is that you will need to store you password in a plain text configuration file and allow “less secure apps” in Google settings. To avoid compromising the primary email account I opted to create a dummy account just for sending system notifications. This way, even if the Gmail account is compromised there is no real harm as no Emails are stored in that account.

Configure Automatic SMART Checks on Arch Linux

23rd February 2015 at 01:04


SMART tests can give an early warning of impending hard disk failures. Tests can be run manually but this is inconvenient and results are not available immediately. Thankfully smartd can be used to run these tests automatically and email if any warnings occur. Before configuring automatic SMART monitoring you need to install smartmontools and check hard drives for SMART errors to make sure there are no failing hard drives. Smartmontools package also includes smartd daemon which will be used to run automatic SMART tests.

Check Hard Drives for SMART Errors on Arch Linux

20th February 2015 at 22:08


SMART tests can give an early warning of impending hard disk failures. On most Linux distributions smartmontools package can be used to execute SMART scans. The package consists of smartctl utility which controls and monitors SMART disks and systemd daemon. Only smartctl is needed to run SMART tests manually but smartd is also required to Configure Automatic SMART Error Checks on Arch Linux.

Install Kodi on Arch Linux

16th February 2015 at 01:36

I have previously installed XBMC / Kodi on Ubuntu Linux. The installation process differs quite a bit on Arch Linux especially when it comes to running Kodi at boot time. Thankfully there is a relatively simple way of running Kodi in Arch Linux without a Desktop environment.

Configure Static IP on Arch Linux

15th February 2015 at 04:12


By default most Linux distributions including Arch Linux are configured with DHCP. Dynamically assigned IP is convenient for for desktop computers but quite cumbersome for headless servers. Setting up static IP allows a user defined IP addresses that will remain the same allowing to connect remotely. Arch Linux uses it’s own network configuration tool called netctl. Before you configure netctl profile you will need to find your network interface, gatewaynetmask and DNS.

Configure Samba Public Share

31st January 2015 at 15:40


Before you configure Samba public share make sure to install Samba on Arch Linux or install Samba on Ubuntu Linux. You will also want to configure Samba shares. The public share is useful for sharing files freely between guest users without any credentials.

Enter Chroot Environment in Arch Linux

31st January 2015 at 03:27


When things go wrong to the point where recovering from the operating system is not possible chroot may the only practical way to recover a broken system. Chroot or change root gives access to otherwise inaccessible system and allows execution of commands within the system. To chroot into the system you will first need to Boot Arch Linux from USB or CD.

Fix “Unable to find root device” Error in Arch Linux

29th January 2015 at 01:17


After a recent major update on Arch Linux which included a new kernel my system became unbootable. It is yet another lesson to be careful with Arch Linux. Thankfully regardless of how serious the issue seemed it can be solved with relative ease. You will need to boot Arch Linux from USB or CD and enter Chroot environment in Arch Linux to fix the issue.

Configure Samba Home Share

27th January 2015 at 02:14


Before you configure Samba home share make sure to install Samba on Arch Linux or install Samba on Ubuntu Linux. You will also want to configure Samba shares. By default user home directories are made available as shares for each user of the same name. This means that if your requirements are only to share UNIX user home directories then you don’t need to make any changes outlined below.