Installing debian on a Popcorn Hour A-210

Instructions based on: http://www.networkedmediatank.com/showthread.php?tid=16317

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
exit

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

usr/sbin/chroot . /bin/bash
echo "deb http://ftp.de.debian.org/debian/ squeeze main " >> /etc/apt/sources.list
echo "deb http://security.debian.org/ squeeze/updates main " >> /etc/apt/sources.list

Note: check out the following generator for sources.list : http://debgen.simplylinux.ch/generate.php

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

Advertisements
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:

WordPress.com Logo

You are commenting using your WordPress.com 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