Fiware. What’s it good for?

Before I go to talking about it: here is the link to main web page. And there is a conference going on in Vienna, right now.

I am tempted to say – absolutely nothing, but I’m not sure. There is a lot of funding behind it, but as far as I can see – they have created an infrastructure from different open source projects (so it is also open source) and they promise to solve everything regarding connections (access data, access IoTs …), but as said – nothing for my pains.

It could be useful to access open city data, but that is more a problem of providers of the data.

It could be useful to access the sensors to get data over the network, but they don’t bother with setting up the network (so you still need some way of creating network connection).

But it is a second day of the conference, so I might change my mind ­čÖé

Arch Linux works

OpenWrt (White Russian 0.9) SSH session after ...
OpenWrt (White Russian 0.9) SSH session after root login in PuTTY client (Photo credit: Wikipedia)

After installing Arch Linux on Raspberry Pi the device is on the network, but no ssh access.

To get ssh access I had to generate rsa key with simple command:

ssh-keygen -t rsa -b 4096 -C “$(whoami)@$(hostname)-$(date -I)”

I just left the key without password and renamed the files id_rsa to ssh_host_rsa_key and to

Restart the Raspberry Pi (or restart service) and voila. It works … well, at least it should.

I have to admit I didn’t try to do ssh login as a root user, so I am not sure if it works like that. I just created regular user previously with:

  1. create a home directory with mkdir /home/user
  2. add user with useradd -d /home/user user
  3. change owner and group with chmod user /home/user and chgrp users /home/user, if needed
  4. add password to user with passwd user

You can, now, do ssh connection to Raspberry Pi.

Another thing I am used from Debian is using sudo from regular user and since sudo is not installed by default, you need to install it with pacman -S sudo, uncomment %sudo ALL=(ALL) ALL to make it possible to add users to sudo group. Create a group with groupadd sudo and add regular user to group sudo (I just edit group file and add the user name after the group name).

Faster booting or Arch Linux for Raspberry Pi

English: Screenshot of Usplash theme Debian Sw...
English: Screenshot of Usplash theme Debian Swirl Espa├▒ol: Toma de pantalla del tema de Usplash Debian Swirl (Photo credit: Wikipedia)

When using regular Debian booting took around 40 seconds, so I guessed somebody already had the same problem. The solution seems to be, to use Arch Linux (Raspberry Pi version).

I have downloaded and installed it on the SD card – it is the previous version of Raspberry Pi – model B (ARMv6). Had to use┬áLinux machine to create an image and did a copy of it.

Just use the regular way of creating Linux image on the SD.

The boot time is halved with the out of the box distro. Will be working on lowering boot time.