Cubox-i2 Config Setup

Download Gunnar Wolf’s Debian Wheezy

Also working:
sudo dd if=ubuntu-oneiric-freescale.img of=/dev/mmcblk0

Android 4.3
sudo dd if=beta-11-dec-2013-i2.img of=/dev/mmcblk0

Not working:
Debian Jesse
sudo dd if=debian-jessi-4-july-2014.img of=/dev/mmcblk0

Copy to SDmicro

sudo dd if=cubox.img of=/dev/mmcblk0

password for root is cubox-i

#vi /etc/apt/sources.list
#deb cubox main
#deb-src cubox main

vi /etc/network/interfaces

auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 auto

apt-get update
apt-get upgrade
apt-get install locales
locale-gen en_US.UTF-8
apt-get install ssh
apt-get install sudo
apt-get install ntp
apt-get install build-essential
vi /etc/hosts

add this after ( localhost) serverX

Be careful with this line (above), its easy to leave the last part off (server1) and cost hours tracking down what went wrong.

vi /etc/hostname

add this only line


check if hostname is set correctly

output should be


hostname -f

should be

Set timezone
sudo dpkg-reconfigure tzdata
Set Date and Time

date -s “13 Dec 2014 9:08:00”

Create a User

useradd -d /home/username -m username
Set the User’s Password
passwd username
Add the User to the Admin Group
adduser username adm
adduser username sudo

Setup ssh

vi /etc/ssh/sshd_config
AllowUsers username username
/etc/init.d/ssh restart

Set BASH default shell

SSH Keys

You may also like...