PDA

View Full Version : Howto debian on AZbox


LilleMama
16-08-2009, 14:57
Connect to you azbox with telnet.

go to your usb/hdd onto the azbox.

in my case

cd /DATA/hdb1create a debian folder

mkdir debianthen go in this directory

cd /debianthen you have to get the debian file.

you can download it

wget hxxp://nmt.explore.nl/nmt-debian-etch.tar.gznow unpack the package

tar xzf nmt-debian-etch.tar.gznow we have to install the package.
chroot debian /bin/bash
export PATH=$PATH:/usr/bin:/usr/sbin
debootstrap/debootstrap --second-stageInstalling the package is very slow (40 minutes approx)

you can exit the debian interface with the exit command

exityou can enter it with

chroot debian /bin/bashfist you have to setup your network access
we gonna use the program vi to edit the file

vi /etc/resolv.confpress 'i' for editing

insert your routers ip
**** search wan
**** nameserver 192.168.2.1to save press escape then type
:wq!test internet connection with
ping update your distribution
apt-get update
apt-get dist-upgradeif you get an error with

apt-get updatenote down the pubkey

NO_PUBKEY 9AA38DCD5502Bthen use this commands
you have to replace the pubkey with your own key!

apt-get install debian-archive-keyring
gpg --keyserver --recv-keys 9AA38DCD55BE302B
gpg --armor --export 9AA38DCD55BE302B | apt-key add -
apt-get updatekeep on repeating this command until you get no more errors then use

apt-get dist-upgradefor testing purpose you can test CCcam.
download CCcam to your hard drive

unpack it and then put CCcam.mipsel to your /tmp folder

in my case
/DATA/hdb1/debian/debian/tmpthen chmod the file

chmod 755 CCcam.mipsel

for the CCcam.cfg you have to create the directory /var/etc

go to debian /var/ directory.
cd /varthen create the directory.
mkdir etcthen you can ftp the CCcam.cfg to this dir.
/DATA/hdb1/debian/debian/etcnow for a test
cd /tmpto start CCcam
./CCcam.mipsel -dvyou can check if its running on
access debian thru a webinterface.


install webmin 1.48

first install necessary software
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perlthen download the webmin package

go to /tmp folder

cd /tmpdownload the package

wget hxxp://downloads.sourceforge.net/sourceforge/webadmin/webmin_1.480_all.debinstalleer nu het packet.

dpkg --install webmin_1.480_all.debthen you can access it thru the browser

fun!!

Credit Alcatel