MLDONKEY Working in SnakeOS RC1

92 views
Skip to first unread message

Naxeras

unread,
Aug 24, 2009, 3:54:07 AM8/24/09
to DealExtreme NAS
I've got to start mldonkey as external application and works properly.

I have not succeeded in finding the directories /etc/rc to create the
symbolic link.

How can I start the daemon during system startup?

E. G.G.

unread,
Aug 24, 2009, 4:30:20 AM8/24/09
to dealextr...@googlegroups.com
Please say how to ...Thank you!

2009/8/24 Naxeras <nax...@gmail.com>

panzar

unread,
Aug 24, 2009, 7:00:37 AM8/24/09
to DealExtreme NAS
mldonkey is a good tool for hard to find files.

On 24 ago, 10:30, "E. G.G." <asimo...@gmail.com> wrote:
> Please say how to ...Thank you!
>
> 2009/8/24 Naxeras <naxe...@gmail.com>

Douglas Gazineu

unread,
Aug 24, 2009, 7:32:54 AM8/24/09
to dealextr...@googlegroups.com
@Naxeras:
Because  I have to run init (rc.sysinit) outside /etc today, I think that the easier way is edit a service script on the /etc  rw fs (/etc/init.d/transmission ) to start mldonkey instead of transmission.
--
Douglas Gazineu

Naxeras

unread,
Aug 24, 2009, 1:01:14 PM8/24/09
to DealExtreme NAS
Thanks Work prefect!!!



On 24 ago, 13:32, Douglas Gazineu <dgazi...@gmail.com> wrote:
> @Naxeras:
> Because  I have to run init (rc.sysinit) outside /etc today, I think that
> the easier way is edit a service script on the /etc  rw fs
> (/etc/init.d/transmission ) to start mldonkey instead of transmission.
>

Douglas Gazineu

unread,
Aug 24, 2009, 1:07:36 PM8/24/09
to dealextr...@googlegroups.com
All I would ask you is to share what you have, so we could use it on version 2, when external packages will be suported out-of-the-box...
--
Douglas Gazineu

Naxeras

unread,
Aug 24, 2009, 1:22:13 PM8/24/09
to DealExtreme NAS
To install mldonkey go to:

http://mldonkey.sourceforge.net/Installation_on_NAS_and_embedded

If you need help ask me.

Naxeras

unread,
Aug 24, 2009, 1:57:58 PM8/24/09
to DealExtreme NAS
Download mldonkey.rar in files of group.

Mount the USB drive in /usb/sda1

Extract mldonkey.rar to USB drive.

Connect with ssh to nas and create user:

"adduser mldonkey"

Edit passwd

"vi /etc/passwd"

In the line of mdonkey user edit the bash directory and remeber de uid
in the example 1000

mldonkey:$1$dg1nDaVa$dWME2Gof/ytDvYam.y8bA1:1000:1000:Linux User,,,:/
usb/sda1/mldonkey:/sbin/nologin

Change permisions:

"chown -R 1000:1000 /usb/sda1/mldonkey"

Edit script cron:

"vi /etc/init.d/cron"

KIND2="MLDONKEY"

start() {
echo "Starting $KIND service..."
/usr/sbin/crond -c /etc/cron.d
echo "Starting $KIND2 service..."
cd /usb/sda1/mldonkey
LD_LIBRARY_PATH=/usb/sda1/mldonkey/lib:$LD_LIBRARY_PATH ./
mlnet -run_as_useruid 1000 &

}

stop() {
echo "Shutting down $KIND service..."
killall -9 crond
echo "Shutting down $KIND2 service..."
killall -9 mlnet

}


if your uid is not 1000 edit dowloads.ini:

"vi /usb/sda1/mldonkey/downloads.ini"

Search and edit "run_as_useruid = 1000" and change it

Go to the web interface of snakeos.

Go to system-->config and press save.

Run mldonkey with:

"/etc/init.d/cron start"

Enyoy!!!



Douglas Gazineu

unread,
Aug 24, 2009, 2:03:39 PM8/24/09
to dealextr...@googlegroups.com
Very easy steps. I really like mldonkey, will try asap.

Thanks,
--
Douglas Gazineu

panzar

unread,
Aug 24, 2009, 2:11:25 PM8/24/09
to DealExtreme NAS

Naxeras very good, thanks. You manage Web or commands.
Douglas may be placed on the snake or is optional.

Douglas Gazineu

unread,
Aug 24, 2009, 2:28:37 PM8/24/09
to dealextr...@googlegroups.com
Panzar:

MLdonkey is too big to fit inside the firmware with samba and the remaining files.
--
Douglas Gazineu

panzar

unread,
Aug 24, 2009, 2:31:47 PM8/24/09
to DealExtreme NAS
ok, will try it as option, which is the mldonkey.rar


On 24 ago, 20:28, Douglas Gazineu <dgazi...@gmail.com> wrote:
> Panzar:
>
> Mldonkey es demasiado grande para caber dentro del firmware con la samba y el resto
> archivos.
>
>
>
>
>
>
>
> En Mon, Aug 24, 2009 a las 15:11, <panzerkeye Panzar...gmail.com>escribió:
>
> > Naxeras muy bien, gracias. Usted maneja Web o comandos.
> > Douglas podrán ser incluidos en la serpiente o es opcional.
>
> > El 24 de ago, 20:03, Douglas <dgazi Gazineu...gmail.com>escribió:
> >> Pasos muy fácil. Me gusta mucho mldonkey, tratarán lo antes posible.
>
> >> Gracias,
>
> >> On Mon, Aug 24, 2009 a las 14:57, <naxe Naxeras...gmail.com>escribió:
>
> >>> Descargar mldonkey.rar en archivos del grupo.
>
> >>> Monte la unidad USB en / usb/sda1
>
> >>> Mldonkey.rar Extracto de la unidad USB.
>
> >>> Conectar con ssh a NAS y crear el usuario:
>
> >>> "Adduser mldonkey"
>
> >>> Editar passwd
>
> >>> "Vi / etc / passwd"
>
> >>> En la línea de usuario mdonkey editar el directorio de bash y recordar de uid
> >>> En el ejemplo de 1000
>
> >>> Mldonkey: $ 1 $ dg1nDaVa $ dWME2Gof/ytDvYam.y8bA1: 1000:1000: Linux User ,,,:/
> >>> Usb/sda1/mldonkey: / sbin / nologin
>
> >>> Permisions Cambio:
>
> >>> "Chown-R 1000:1000 / usb/sda1/mldonkey"
>
> >>> Editar cron script:
>
> >>> "Vi / etc / init.d / cron"
>
> >>> KIND2 = "MLDonkey"
>
> >>> Start () (
> >>> Echo "Iniciando $ TIPO servicio ..."
> >>> / Usr / sbin / crond-c / etc / cron.d
> >>> Echo "Iniciando $ KIND2 servicio ..."
> >>> Cd / usb/sda1/mldonkey
> >>> LD_LIBRARY_PATH = / usb/sda1/mldonkey/lib: $ LD_LIBRARY_PATH. /
> >>> Mlnet run_as_useruid-1000 &
>
> >>>)
>
> >>> Stop () (
> >>> Echo "Apagado $ TIPO servicio ..."
> >>> Killall -9 crond
> >>> Echo "Apagado $ KIND2 servicio ..."
> >>> Killall -9 mlnet
>
> >>>)
>
> >>> Si el UID es 1000 no editar dowloads.ini:
>
> >>> "VI / usb/sda1/mldonkey/downloads.ini"
>
> >>> Buscar y editar "run_as_useruid = 1000" y cambiarlo
>
> >>> Ir a la interfaz web de snakeos.
>
> >>> Ir a Sistema -> config y pulse Guardar.
>
> >>> Mldonkey Ejecutar con:
>
> >>> "/ Etc / init.d / cron"

Naxeras

unread,
Aug 24, 2009, 2:49:43 PM8/24/09
to DealExtreme NAS
I not could upload to the webpage "mldonkey.rar" group because it is
too large.

I've gone to "rapidshare"

http://rapidshare.com/files/270999630/mldonkey.rar.html
MD5: 974DD51A4F2DD60A0B2200310C97472E

panzar

unread,
Aug 24, 2009, 2:53:55 PM8/24/09
to DealExtreme NAS
thanks, transmission and mldonkey running or heavy load on the cpu

Naxeras

unread,
Aug 24, 2009, 3:02:41 PM8/24/09
to DealExtreme NAS
Only i test mldonkey because mldonkey support torrent too.

panzar

unread,
Aug 24, 2009, 3:12:01 PM8/24/09
to DealExtreme NAS

ok, thanks try


On 24 ago, 21:02, Naxeras <naxe...@gmail.com> wrote:
> Sólo mldonkey prueba Torrent i, ya que el apoyo mldonkey también.
>
> El 24 de ago, 20:53, <panzerkeye Panzar...gmail.com>escribió:
>
>
>
>
>
> > Thanks, transmisión y mldonkey corriendo o pesada carga de la CPU
>
> > El 24 de ago, 20:49, <naxe Naxeras...gmail.com>escribió:
>
> >> No pude subir a la página web mldonkey.rar grupo "" porque es
> >> Demasiado grande.
>
> >> He ido a "rapidshare"
>
> >>Http://rapidshare.com/files/270999630/mldonkey.rar.html
> >> MD5: 974DD51A4F2DD60A0B2200310C97472E
>
> >> El 24 de ago, 20:31, <panzerkeye Panzar...gmail.com>escribió:
>
> >>> OK, lo intentaré como opción, que es el mldonkey.rar
>
> >>> El 24 de ago, 20:28, Douglas <dgazi Gazineu...gmail.com>escribió:
>
> >>>> Panzar:
>
> >>>> Mldonkey es demasiado grande para caber Dentro del firmware con la samba y el resto
> >>>> Archivos.
>
> >>>> En Mon, 24 de agosto 2009 a las 15:11, escribió Panzar...gmail.com> <panzerkeye:
>
> >>>>> Naxeras muy bien, gracias. Usted maneja Web o comandos.
> >>>>> Douglas Podrán ser incluidos en la serpiente o es opcional.
>
> >>>>> El 24 de ago, 20:03, Douglas <dgazi Gazineu...gmail.com> escribió:
> >>>>>> Pasos muy fácil. Me gusta mucho mldonkey, trataran Lo antes posible.
>
> >>>>>> Gracias,
>
> >>>>>> On Mon, Aug 24, 2009 a las 14:57, escribió Naxeras...gmail.com> <naxe:
>
> >>>>>>> Descargar mldonkey.rar en archivos del grupo.
>
> >>>>>>> Monte la unidad USB en / usb/sda1
>
> >>>>>>> Mldonkey.rar Extracto de la unidad USB.
>
> >>>>>>> Conectar con ssh a y NAS el usuario CREAR:
>
> >>>>>>> "Mldonkey Adduser"
>
> >>>>>>> Editar passwd
>
> >>>>>>> "Vi / etc / passwd"
>
> >>>>>>> En la línea de usuario editar mdonkey el directorio de recordar y de bash de uid
> >>>>>>> En el ejemplo de 1000
>
> >>>>>>> Mldonkey: $ 1 $ dg1nDaVa $ dWME2Gof/ytDvYam.y8bA1: 1000:1000: Linux User ,,,:/
> >>>>>>> Usb/sda1/mldonkey: / sbin / nologin
>
> >>>>>>> Permisions Cambio:
>
> >>>>>>> "Chown-R 1000:1000 / usb/sda1/mldonkey"
>
> >>>>>>> Editar cron script:
>
> >>>>>>> "Vi / etc / init.d / cron"
>
> >>>>>>> KIND2 = "MLDonkey"
>
> >>>>>>> Inicio () (
> >>>>>>> Echo "Iniciando $ TIPO servicio ..."
> >>>>>>> / Usr / sbin / crond-c / etc / cron.d
> >>>>>>> Echo "servicio Iniciando $ KIND2 ..."
> >>>>>>> Cd / usb/sda1/mldonkey
> >>>>>>> LD_LIBRARY_PATH = / usb/sda1/mldonkey/lib: $ LD_LIBRARY_PATH. /
> >>>>>>> Run_as_useruid MLnet-1000 &
>
> >>>>>>>)
>
> >>>>>>> Stop () (
> >>>>>>> Echo "Apagado $ TIPO servicio ..."
> >>>>>>> Killall -9 crond
> >>>>>>> Echo "servicio Apagado $ KIND2 ..."
> >>>>>>> Killall -9 mlnet
>
> >>>>>>>)
>
> >>>>>>> Si el UID es 1000 no dowloads.ini Editar:
>
> >>>>>>> "VI / usb/sda1/mldonkey/downloads.ini"
>
> >>>>>>> Buscar y editar "run_as_useruid = 1000" Cambiarlo y
>
> >>>>>>> Ir a la web de interfaz de snakeos.
>
> >>>>>>> Ir a Sistema -> Guardar configuración y el pulso.
>
> >>>>>>> Ejecutar con Mldonkey:

panzar

unread,
Aug 24, 2009, 3:45:35 PM8/24/09
to DealExtreme NAS
Thanks, I leave with the transmission that goes well, to use the "vi"
to do a course.





On 24 ago, 21:12, panzar <panzerkeye...@gmail.com> wrote:

panzar

unread,
Aug 24, 2009, 4:00:34 PM8/24/09
to DealExtreme NAS
Edit cron script: is add lines.

copy / paste can not be with "vi"



On 24 ago, 21:02, Naxeras <naxe...@gmail.com> wrote:

Marcus Thorne

unread,
Aug 24, 2009, 4:47:27 PM8/24/09
to dealextr...@googlegroups.com
Hi all.

After doing all the steps, when I launch cron I get a "permission
denied" error when it tries to start mlnet.

What can be wrong? Is it mandatory to run mlnet as user mldonkey?

Thanks in advance.



Naxeras escribió:

Marcus Thorne

unread,
Aug 24, 2009, 4:55:20 PM8/24/09
to dealextr...@googlegroups.com
Ok, problem solved.

It was something as stupid as chmod 755 mlnet, and now is running.

Greetings.


Marcus Thorne escribió:

panzar

unread,
Aug 24, 2009, 5:24:45 PM8/24/09
to DealExtreme NAS
I get this and not step here


# chown -R 1000:1000 /usb/sda1/
mldonkey
chown: /usb/sda1/mldonkey/bittorrent.ini: Operation not
permitted
chown: /usb/sda1/mldonkey/Authors.txt: Operation not
permitted
chown: /usb/sda1/mldonkey/Bugs.txt: Operation not
permitted
chown: /usb/sda1/mldonkey/ChangeLog: Operation not
permitted
chown: /usb/sda1/mldonkey/config_files_space.tmp: Operation not
permitted
chown: /usb/sda1/mldonkey/Copying.txt: Operation not
permitted
chown: /usb/sda1/mldonkey/Developers.txt: Operation not
permitted
chown: /usb/sda1/mldonkey/donkey.ini: Operation not permitted

Naxeras

unread,
Aug 24, 2009, 5:40:48 PM8/24/09
to DealExtreme NAS
The usb is format in ext2/ext3. If usb format in vfat is not needed

panzar

unread,
Aug 24, 2009, 5:49:42 PM8/24/09
to DealExtreme NAS

out 1001, I have to put 1000


nobody::15:50:nobody:/usb:/sbin/
nologin
ftp::14:50:ftp:/usb:/sbin/
nologin
roscow:$1$Rar1LjzJunnwpEFwQ6BQ/:1000:1000:Linux User,,,:/usb/sda1:/
sbin/nologin
mldonkey:$1$koaDm0FWedUkYg3Uon.:1001:1001:Linux User,,,:/usb/sda1/
mldonkey:/sbin/nologin







On 24 ago, 23:40, Naxeras <naxe...@gmail.com> wrote:
> El USB es el formato en ext2/ext3. Si el formato USB en VFAT no es necesario
>
> El 24 de ago, 23:24, <panzerkeye Panzar...gmail.com>escribió:
>
>
>
>
>
> > I get this, y no paso aquí
>
> > # Chown-R 1000:1000 / usb/sda1 /
> > Mldonkey
> > Chown: / usb/sda1/mldonkey/bittorrent.ini: Operación no
> > Permite
> > Chown: / usb/sda1/mldonkey/Authors.txt: Operación no
> > Permite
> > Chown: / usb/sda1/mldonkey/Bugs.txt: Operación no
> > Permite
> > Chown: / usb/sda1/mldonkey/ChangeLog: Operación no
> > Permite
> > Chown: / usb/sda1/mldonkey/config_files_space.tmp: Operación no
> > Permite
> > Chown: / usb/sda1/mldonkey/Copying.txt: Operación no
> > Permite
> > Chown: / usb/sda1/mldonkey/Developers.txt: Operación no
> > Permite
> > Chown: / usb/sda1/mldonkey/donkey.ini: Operación no permitida
>
> > El 24 de ago, 22:55, Marcus <marcus.tho Thorne...gmail.com>escribió:
>
> >> Ok, problema resuelto.
>
> >> Es algo tan estúpido como chmod 755 mlnet, y ahora se está ejecutando.
>
> >> Saludos.
>
> >> Marcus Thorne escribió:
>
> >>> Hi all.
>
> >>> Después de hacer todos los pasos, cuando inicio cron puedo obtener un "permiso de
> >>> Denegado "error cuando intenta iniciar mlnet.
>
> >>> ¿Qué puede estar mal? ¿Es obligatorio para ejecutar mlnet como mldonkey usuario?
>
> >>> Gracias de antemano.

panzar

unread,
Aug 24, 2009, 6:32:11 PM8/24/09
to DealExtreme NAS
arranged, I've left as before.
entertaining for a while
Message has been deleted

panzar

unread,
Aug 28, 2009, 6:09:39 PM8/28/09
to DealExtreme NAS
Alguna vez me a inicado el mldonkey por tener en mlnet.pid en el
directorio, añadiendo m /usb/sda1/mldonkey/mlnet.pid lo borrara antes
de iniciarlo.

killall transmission-daemon si queremos que no se inicie transmission,
con snake siempre te iniciara aunque lo desactives.





KIND2="MLDONKEY"

start()
{
echo "Starting $KIND service..."

rm /usb/sda1/mldonkey/
mlnet.pid
killall transmission-daemon

/usr/sbin/crond -c /etc/
cron.d
echo "Starting $KIND2
service..."
cd /usb/sda1/
mldonkey
LD_LIBRARY_PATH=/usb/sda1/mldonkey/lib:$LD_LIBRARY_PATH ./
mlnet -run_as_useruid 1000 &




Reply all
Reply to author
Forward
0 new messages