Posts

Running TFTP server on Ubuntu 14.04

# Install tftpd-hpa package apt-get update apt-get -y install tftpd-hpa # Fix config file broken by default # - use correct tftpboot directory rather than random location under /var # - chroot to tftpboot # - allow uploading of files but not overwriting existing # - listen IPv4 and IPv6 instead of IPv6 only # - enable logging mv /etc/default/tftpd-hpa /etc/default/tftpd-hpa.old cat <<'__EOF__' >/etc/default/tftpd-hpa TFTP_USERNAME="tftp"  TFTP_DIRECTORY="/tftpboot"  TFTP_ADDRESS=":69" TFTP_OPTIONS="--secure --create --listen --verbose" __EOF__ # Create tftpboot directory and use proper permissions mkdir /tftpboot chmod -R 1770 /tftpboot  chown -R root:tftp /tftpboot # Restart service service tftpd-hpa restart P.S. There's config file bug causing tftpd to listen only IPv6 connections by default... https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/1448500

Smartmontools v6.4 and Ubuntu 12.04

I had to upgrade to new Smartmontools 6.4 on my Ubuntu 12.04 server as old version lacks Prolific PL2773 USB3 to SATA bridge support.

Controlling Anel Elektronik NET-PowerControl HOME from command line

There's probably proper api to do this, but everything is in German and all I wanted to do is toggle status of single power outlet from script. curl --data "F0=S" http://admin:admin@192.168.1.3/ctrl.htm -o /dev/null

Upgrading HP Proliant ILO100i firmware over network

Another nightmare product from HP with broken everything, including broken remote firmware upgrade process.

Windows 10 install from USB to Dell Latitude 10 Tablet

Dell Latitude 10 Tablet, identified as ST2 Late-2012 by Dell, really sucks. It's shipped with very first Win 8.0 build and after two years of updates it's barely usable with Win 8.1 + all available updates and fixes. I wanted to give Windows 10 try on it as already being worst tablet ever it can hardly get any worse, right? Reinstalling Win 8.1 goes exactly like Win 10 so below applies to both.

VMware ESXi 5.5 and LSI RAID monitoring

Adding LSI RAID controller status to VI client and connecting to ESX using MSM (Megaraid Storage Manager) running on Windows.

Adding pagespeed module to nginx 1.7.8 on Ubuntu 14.04

Wanted run fresh nginx version with Google Pagespeed on Ubuntu 14.04.