My Book in Design Museum

My book, Getting Started with Sensors, is on display in Design Museum. Visit Design Museum (fi: Designmuseo) in Korkeavuorenkatu 23, Helsinki. Thanks for taking & sending me the photos. I have co-authored the book with Kimmo Karvinen.

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

“IoT Rapid Prototyping Laboratory Setup” published in the International Journal of Engineering Education

Your first Internet of Things prototype in four days? Yes, even beginners successfully built IoT systems from their own ideas. International Journal of Engineering Education published an article I co-authored with Kimmo Karvinen. The article explains BotBook method in the … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , | Leave a comment

Translate Titles on Wikipedia – Firefox Addon

Add links to English and Finnish translations on Wikipedia. Add-on for Firefox. Download from official Firefox Add-ons site. The rest of this article is “making of”, interesting if you want to learn to write your own Firefox extensions. I wrote … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Suricata IDS on Ubuntu – Easily with apt-get, oinkmaster and systemctl

Suricata is a modern intrusion detection system (IDS). It sniffs your network traffic and logs suspicious packets. Suricata uses Snort rules, so you can have a lot of them for free. Rules are installed automatically with OinkMaster. This article shows … Continue reading

Posted in Uncategorized | Leave a comment

Message of the Day on Ubuntu – sudoedit /etc/motd; chmod ugo-x /etc/update-motd.d/*

Message of the Day (motd) is displayed when you log in with ssh. You can use plain text message of the day in /etc/motd also in Ubuntu. Disable scripts in /etc/update-motd.d/ to get rid of extra stuff. When automatically configuring … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Creating Legacy Boot Xubuntu USB – UnetBootin and bootable FAT32 partition

Xubuntu Linux can boot from USB disks, even without installing to hard drive. It supports both BIOS and UEFI boot. For most USB sticks, you can just use UnetBootin after taking the USB from the package.

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , | Leave a comment

Faster ‘vagrant up’ with apt/deb Package Proxy

Create virtual machines faster by caching deb packages. Use squid-deb-proxy on host OS, then add an apt.conf.d/ config file to make guest OS apt-get use your proxy. Following these notes requires fluency with command line, sudo, daemons and vagrant.

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

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 , , , , , , , , , , , , , , , | Leave a comment

Naughty Questions and Easy Way to Forest – Apps for Android

Hurt your leg, baby in the cart and you still want to go walking in the woods? Moving with a wheelchair? Old? If you are based in Helsinki, check out HelpostiLuontoon.fi. My students Jenni Saarinen, Elina Rajuvaaara and Kristina Lindfors … Continue reading

Posted in Uncategorized | Leave a comment

Configuration Management Course Awards 2017: Most slaves: Tommi, most OSes: Matias

Tommi Timonen had the most slaves, a total of 1478 computers. He had 20 physical computers running many virtual computers each. Congratulations Tommi! Tommi also took second place with his previous setup of 639 computers. Third place was Tatu Erkinjuntti … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Automaticaly Build Penetration Testing Environment – Kali, Metasploitable, Vagrant

My student Toni Jääskeläinen developed a PenTest environment that can be set up automatically. Based on my idea, it’s distributed as a single Vagrantfile. Using pentest tools requires special care and skill, as even mistakes with some of these tools … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

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 , , , , , , , , , , , | Leave a comment

Tommi’s 639 Puppet Slaves

My student Tommi tested Puppet with 639 slaves. Tommi is running some 20 physical computers with about 30 virtual computers each. Tatu has 263 slaves – on a single physical machine with a huge swap file. Who will get 640 … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , | Leave a comment

Top Configuration Management Systems – Puppet vs Salt vs Ansible vs Chef

The leading configuration management systems compared: Puppet, Chef, Ansible, Salt. My students Joona, Jori, Eero and Jarkko gave a presentation and demonstrated each system. ArcticCM provisioned and configured a couple of Linux desktops and servers, and also configured some Windows … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , | Leave a comment

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 , , , , , | Leave a comment

Multiple Virtual Computers in Minutes – Vagrant Multimachine

You can install multiple virtual computers in minutes. This example shows how to install two Ubuntu 16.04 virtual machines and configure SSH – in a couple minutes.

Posted in Uncategorized | Tagged , , , , , , , , , | Leave a comment

Aikataulu – Monialaprojekti Infra pro4tn001-5 – kevät 2018 – 10 op

English: Complete a project with a company as a client. Work with students from different tracks and backgrounds. Course in Finnish. Tee projekti yritysasiakkaalle ryhmässä, jossa on opiskelijoita eri aloilta.

Posted in Uncategorized | 3 Comments

Aikataulu DigiStartUp digt4tn024-3 – keväällä 2018 – molemmat 1p ja 2p – 10 op

English: Create your own digital product and find paying customers. Real customers, actual money. Course is in Finnish. Luo digitaalinen tuote ja hanki sille maksavia asiakkaita. Siis oikeita asiakkaita, joilta saa oikeaa rahaa.

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Aikataulu – Linux palvelimet ict4tn021 8-ma, 7-ti ja 6-to – alkukevät 2018 – 5 op

English: Learn to manage your own Linux server – in 8 weeks. Beginners welcome. Student feedback excellent 4.7 out of 5. Course is in Finnish. Aloita nollasta. Opiskele 8 viikkoa ja hallitset omaa Linux-palvelinta. Opintojakson suoritettuaan opiskelija: Osaa hallita Linuxia … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | 108 Comments

Aikataulu – Linuxin keskitetty hallinta – 3 op, vanha OPS – loppusyksy 2017 p5 – Puppet

Control 10 computers. Or 100. Or 1000. Use Puppet, the tool used by US Gov (security baseline), Mozilla, Google (laptops and desktops) and Wikipedia. Just write what you want (idempotency). Control almost everything with one system (single source of truth). … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , | 44 Comments

Starting with JavaScript – Arrays, for..of, F12 console

JavaScript gets you to results easily. It’s the native language of web pages. You can create and sell Android Apps easily by packaging your HTML and JavaScript with PhoneGap/Cordova. All popular (1000+ installs) cell phone apps in my courses have … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Initial Testing and Tries on MySQL Socket Authentication

MySQL has some initial support for passwordless socket authentication, but based on by very brief and initial testing, it does not seem to be ready for prime time yet. If you want socket authentication, PostgreSQL does socket authentication out of … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | Leave a comment

Simpler Puppet Manifests – Resource Defaults and Manifest Ordering

Tips to make your Puppet manifests shorter and easier to read. Resource defaults: If I say ‘package’, of course I want it installed. Services are usually running and enabled at boot. Manifest ordering: Top-down, so I don’t have to ‘require’ … Continue reading

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

Apply Puppet Resources Top Down – ordering=manifest – Order without Require

By default Puppet manifest ordering is arbitrary. You either have to use require a lot or apply your modules twice. But there is an easy fix: $ sudoedit /etc/puppet.conf [main] ordering = manifest # …

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Aikataulu – Palvelinten hallinta ict4tn022-3 – 5 op, uusi OPS – loppusyksy 2017 p5

Control 10 computers. Or 100. Or 1000. Use Puppet, the tool used by US Gov (security baseline), Mozilla, Google (laptops and desktops) and Wikipedia. Just write what you want (idempotency). Control almost everything with one system (single source of truth). … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , | 119 Comments
  • Picks

  • Boxing Clock for AndroidOcton8 Diving T-ShirtsShaking Tower Panda Android GameLearn Chinese with Android
  • Student projects