Installing debian on a Popcorn Hour A-210

Instructions based on:

On an existing Debian or Ubuntu system:

apt-get install debootstrap
debootstrap --arch mipsel --foreign stable debian
tar -cvzf debian.tgz debian
mount --bind /proc/ debian/proc/
mount --bind /dev/ debian/dev/

Copy the TGZ to your device, log in with telnet on your NMT, and run:

tar -xvzf debian.tgz
cd debian
usr/sbin/chroot . /bin/bash
export PATH=$PATH:/usr/bin:/usr/sbin
debootstrap/debootstrap --second-stage
# Verify the DNS settings, in case you used different network configurations on the computer and the Popcorn Hour:
cat /etc/resolv.conf

Now you should have a Debian system running. Configure the package source:

usr/sbin/chroot . /bin/bash
echo "deb squeeze main " >> /etc/apt/sources.list
echo "deb squeeze/updates main " >> /etc/apt/sources.list

Note: check out the following generator for sources.list :

Update the package list and install the required packages:

apt-get update
# Standard stuff:
apt-get install vim less sysklogd sudo lsof nmap wget curl psmisc
# Development:
apt-get install gcc autoconf automake subversion git uuid-dev uuid-runtime make

Create a user (working as root constantly is dangerous):

adduser user

Install SSH:

apt-get install openssh-server openssh-client
/etc/init.d/ssh start

This entry was posted in Linux and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s