Ubuntu 16.04 – WPA/WPA2 WiFi network (command line)

Turn interface up

Scan wireless networks

Create password for the SSID:

Connect

Start dhclient

Add default IP:

 

Ubuntu 16.04 – rename a network interface

Create the file /etc/udev/rules.d/70-persistent-net.rules

where eth0 is the name that you want to use.

Auto-Start a Virtual Machine at XenServer 7.X

Enable auto-start on XenServer:

copy the UUID and use:

Now XenServer supports auto-start. Let’s find the correct VM:

To auto-start the VM_host_name1, just:

Done, now with XenCenter, we can modify the auto-start order and delays.

Date/Time tools for Java

Simple class to play with dates and time.

 

Propagate IPv6 with radvd in Linux

1 – Install radvd

2 – Configure radvd [/etc/radvd.conf]

3 – Configure Network interfaces [/etc/network/interfaces]

4 – Configure SysCtl [/etc/sysctl.conf]

 

UP board – hands on (first steps)

20160702_183807

First hours with the UP board, an Atom computer with a raspberry pi form factor.

OS selection

Ubilinux 3.0RC3

A Desktop distro, based on Debian 8 Jessie.

Debian 8 Jessie NetInstall

Standard Debian distro, with no support for the eMMC. Only works with an external HHD. 🙁

Ubuntu 14.04 Server (Chosen)

It has drivers support by PPA.

 

Ubuntu 14.04 Server Installation

Drivers

I don’t know if the newest version 16.04 LTS is working, on the official guide they recommend the 14.04. After the installation we need to install the drivers for the specific UP hardware via PPA:

After installation reboot the system.

Network configuration

The UP board will act as a server, so the network configuration must be static to open ports. Edit /etc/network/interfaces

Reboot and disconnect the HDMI cable.

Java 8 installation

Ubuntu has any Java version installed, which is great to do a clean installation. This step is easy with the PPA installation by WebUpd8.

 Check that the installation was ok with “java -version”, the output should be (or something similar):

The JAVA_HOME should be configured by the oracle-java8-installer packet.

Compilers

gcc, make and other support to program arm-based microcontrollers

Git

git is not included by default

Observed bugs/problems/issues

  • The screen never reacts after turns black
  • Some USB devices require a reboot to work properly