200 Lines of Code Saves 20 000 EUR

My student Joram Puumala wrote a program to automatically configure routers. The CEO of NDC Networks, Markus Ahonen: “NDC is expecting to deliver over 5000 routers during 2018, so the calculable savings in direct effort are significant. Especially as handling … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , | Comments Off on 200 Lines of Code Saves 20 000 EUR

Automation of Router Configuration with Python & SSH

My student Joram is automating router configuration for NDC Networks. Joram configures Advantech B+B routers for NDC’s clients. The configuration is done using custom built Python Paramiko SSH script. The routers are configured for clients of NDC, an 8 person … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , | Comments Off on Automation of Router Configuration with Python & SSH

Provision Multiple Virtual Puppet Slaves with Vagrant

For testing, it’s convenient to provision many virtual slave computers to your master. This Vagrant file installs two virtual computers and automatically configures them as slaves to a puppetmaster in a predefined IP address. Advanced stuff warning: Using this sample … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | Comments Off on Provision Multiple Virtual Puppet Slaves with Vagrant

Install OpenAI Universe on Ubuntu 16.04

OpenAI: Write Python program that plays any game. Optionally, use machine learning so that computer learns the game by itself. OpenAI “hello world” is just ten lines. But installing the environment is difficult. This article shows you how to install … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , | 5 Comments

Puppet Reading List

*Starting documents are marked with asterisk “*” and bold. Getting Started with Puppet Hello Puppet – on Ubuntu 12.04 LTS* Learning Puppet Master and Slave PuppetMaster on Ubuntu 12.04* Modules Learning Puppet: Modules and Classes (Part One) Learning Puppet: Parameterized … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 1 Comment

Ideas for Automation with Centralized Configuration Tool

You automated everything with cfengine, puppet or fabric. It works so smoothly that you are now looking for some more things to automate. Wireless WEP/WPA passwords, make available to all users in each slave Add shortcuts to desktop Add language … Continue reading

Posted in Uncategorized | Tagged , , , | Comments Off on Ideas for Automation with Centralized Configuration Tool

Vagrant promises to automate virtual machine creation

Vagrant promises to automate creation of VirtualBox virtual machines. Vagrant automatically adds ssh access, software and port forwarding. But is Vagrant ready for prime time yet? My students Tuomas Aaltonen, Toni Honkanen and Jesse Lindroos decided to try it out. … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 2 Comments

Cfengine Automatic System Configuration – Writing Your First Script

Table of Contents Cfengine Automatic System Configuration – Writing Your First Script Install Create config file Create a Sample File Run cftero.conf Troubleshooting Couldn’t Find a Private Key – Use sudo Actionsequence Empty – Type Full Path Syntax Error – … Continue reading

Posted in Old Site | Tagged , , , , , , , , | Comments Off on Cfengine Automatic System Configuration – Writing Your First Script

Ubuntu Preseed

Table of Contents Ubuntu Preseed Sample List of d-i Settings in Ubuntu Hardy Ubuntu Preseed Sample # labseed – automatic installation for labs – # (c) 2006 Tero Karvinen www.iki.fi/karvinen # Still asks: Clock set to UTC, hostname. d-i debconf/language … Continue reading

Posted in Old Site | Tagged , , , , , , | Comments Off on Ubuntu Preseed

DHCP – automatic network configuration

Table of Contents DHCP – automatic network configuration DHCP Server Setup Test with a Client See also DHCP – automatic network configuration Almost all networks use DHCP to share network configuration (such as ip-addresses) automatically. This document explains how to … Continue reading

Posted in Old Site | Tagged , , , , , , , | Comments Off on DHCP – automatic network configuration