Cubox-i2 Config Setup

Download Gunnar Wolf’s Debian Wheezy

https://people.debian.org/~gwolf/

Also working:
Ubuntu
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 http://download.solid-run.com/pub/solidrun/cubox/repo/debian cubox main
#deb-src http://download.solid-run.com/pub/solidrun/cubox/repo/debian cubox main

vi /etc/network/interfaces

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

reboot
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 (127.0.0.1 localhost)

127.0.1.1 serverX.seleads.com 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

serverX

check if hostname is set correctly
hostname

output should be

serverX

hostname -f

should be

serverX.seleads.com

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...