Mar 10, 2008

Setup ME1 as a BT downloader

Note : There is an upate post which let you set ME1 as BT downloader, Samba Server, GMedia Server and SSH with couple steps only.

There are people out there are trying to build more APs for ME1, I think BT downloader and Samba Server are the most useful. This post is base on their contributions to help more users easier to build APs.

It's quiet easy to setup ME1 as BT downloader, the performacnec is considering good and power saving. After BT download you could just play it back directly by ME1, no need to transfer file. And even better part is that you can copy files over LAN, not just steaming. Have ever, there are risks, for example ME1 might won't boot up again and you would need to remove all partitions and re-initial hard disk again, all data will be lost.
You could download Debian 1.0 from bellow link, it would require to unzip .gz under Linux :
Pwassword :

Or you could download Ext2 from
{There are 11 rar files}{The provided image will create 4G space, you could create your own if needed and know how to.}

I find the easiest way is to download Ext2 and follow the bellow processes. Here are the steps :
Unzip downloaded file to ME1's FAT32 partition through USB connection. {Make sure there are 4GB space available}
Disconnect USB connection and boot up ME1, make sure time is set at present and LAN is connected.
In Windows, go to the Start menu, select Run,at the command line, type "telnet" {Assume ME1's IP address is}
Venus login : root {Type "root" for login}
/ # cd /usr/local/etc/hdd/volumes/HDD1/
/usr/local/etc/hdd/volumes/HDD1 # mkdir chroot
/usr/local/etc/hdd/volumes/HDD1 # mount -o loop -w ./debin-4g.ext2 ./chroot
/usr/local/etc/hdd/volumes/HDD1 # chroot ./chroot
sh-3.1# mount -t proc proc /proc
sh-3.1# mount /dev/hda1 /mnt/hda
sh-3.1# apt-get update
sh-3.1# apt-get install mldonkey-server
After unpacking 10.9MB of additional disk space will be used.Do you want to continue [Y/n]? y {type "y" to continue}
Launch MLDonkey at startup ? {Select Yes to enable it at startup}MLDonkey directory : {Just press Enter to accept default}
Maximal download speed :{Just press Enter to accept default}
Password of admin user: {Type in password}
Retype Password of admin user: {Type in password again}
sh-3.1# /etc/init.d/mldonkey-server stop
sh-3.1# vim /var/lib/mldonkey/downloads.ini
{find 'allowed_ips = ["";]' and rewrite it as 'allowed_ips = ["";]',assume ME1 and PC IP is in range of 192.168.1.X (X=1~254)}
sh-3.1# /etc/init.d/mldonkey-server start
{If MLdonkey doesn't work, you can check /var/lib/mldonkey/mlnet.log for detail message}
Now you could use IE and type "http://x.x.x.x:4080/ (x.x.x.x is ME1's IP address)click Servers -> Import Server.met ( use google find sever.met and copy and paste link adress )

PS : Sancho is a good GUI connects to MLDonkey core application. (

If you would like to set ME1 as a samba sever, execute the bellow command :
sh-3.1# apt-get install samba
sh-3.1# mv /etc/samba/smb.conf{,.bk}
sh-3.1# /etc/init.d/samba stop
sh-3.1# vim /etc/samba/smb.conf {Modify smb.conf as bellow}
workgroup = workgroup
netbios name = ME1
server string = server
include = /etc/samba/dhcp.conf
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 50 syslog = 0
guest account = root
security = share
encrypt passwords = false
[ME1 share]
comment = mldonkey download folder
path = /var/lib/mldonkey/incoming
read only = no
public = yes
comment = the fat32 partition of HDD
path = /mnt/hda
read only = no
public = yes

sh-3.1# /etc/init.d/samba start {Start Samba server}{After Samba server is active, type "file://x.x.x.x/" to access ME1' FAT32 partition}

Have fun !