Quick start

This is an old revision of the document!


Quick start

Download the latest ISO and boot into SnackLinux. To set up networking, you can either use a static IP

ifconfig eth0 192.168.0.100 netmask 255.255.255.0
route add default gw 192.168.0.1 

or use udhcpc for DHCP. Run fbpkg update to update the latest packages list and to check if the network is up.

SSH

Install dropbear via fbpkg by running fbpkg install dropbear Then set up the keys:

mkdir /etc/dropbear && cd /etc/dropbear
dropbearkey -t rsa -f dropbear_rsa_host_key
dropbearkey -t dss -f dropbear_dss_host_key

Now run dropbear to start the dropbear SSH server. If you receive an error such as PTY allocation request failed on channel 0 after you have installed when trying to SSH into SnackLinux, try the below:

rm -rf /dev/pts
mkdir /dev/pts
mount /dev/pts

Add mkdir /dev/pts above /bin/mount -a in /etc/init.d/rcS

Installation

Run /root/install-snacklinux.sh /dev/hdX and follow through the prompts to install to persistent media. The installation uses approximately 40 MB of disk space.

Packages

To see the available packages, run cat /var/lib/fbpkg/packageslist. Use fbpkg install <package> or fbpkg remove <package> for installation and removal. Run fbpkg –help for more information.