aMule Forum

English => aMule Help => Topic started by: franz1789 on November 20, 2010, 04:55:10 PM

Title: amuled + amuleweb
Post by: franz1789 on November 20, 2010, 04:55:10 PM
Hi, I have a problem running amuled and amuleweb, or better, I cannot find an answer on wiki, which I'm reading since an hour now.
I'm running Archlinux, compiled aMule without monolithic and amuled, amulegui and amuleweb enabled. I managed to run amuled (btw, is it a bug that running amulegui it shows as password the md5sum and not the real pass?) and  now I want to run both amuled and amuleweb at the start. Archlinux would have a nice way to do it, simply adding the amule daemon in rc.conf, but amuled doesn't create a file in /etc/rc.d/ so don't know how to do it.. I read about a init.d script to run both amuled and amuleweb, but don't think it applies with archwiki init cause I cannot find that folder. Is there a way?
thanks
Title: Re: amuled + amuleweb
Post by: Stu Redman on November 20, 2010, 05:31:56 PM
(btw, is it a bug that running amulegui it shows as password the md5sum and not the real pass?)
What do you mean? amulegui doesn't show any password, I hope.
Title: Re: amuled + amuleweb
Post by: franz1789 on November 20, 2010, 05:52:41 PM
What do you mean? amulegui doesn't show any password, I hope.
My fault I didn't explain well, when running amulegui appears a form to fill in with the password. When I put the md5sum of my password in amule.conf as said in the wiki, I noticed that running amulegui, in the pass form appears as many asterisks as the md5sum, not as the password, and in fact if I simply run amulegui and press connect it says that it cannot, while it works if I delete what's inside that form and rewrote my pass...
Title: Re: amuled + amuleweb
Post by: Stu Redman on November 20, 2010, 10:03:42 PM
Ok.
amule.conf stores the password on the core side. To store the password on the gui side, you have to enter it once in the dialog and check the "remember settings" box.
The number of asterisks in the dialog equals the length of the md5sum, right. The password itself is not stored, only its md5. So it's not possible to show the right number of asterisks.
Title: Re: amuled + amuleweb
Post by: franz1789 on November 21, 2010, 02:12:16 PM
ok, but myy first question was: how can I start amuled + amuleweb at boot?
Title: Re: amuled + amuleweb
Post by: GonoszTopi on November 21, 2010, 09:43:16 PM
Sorry, I don't use Arch, nor does Stu (as far as I know), thus we can't help in that. If you can find out how to start amuled at boot (possibly at the Archlinux forums or something similar), you can set Enabled=1 in the [Webserver] section of amule.conf to let amuled automatically start amuleweb.
Title: Re: amuled + amuleweb
Post by: gav616 on November 21, 2010, 10:44:32 PM
Archlinux would have a nice way to do it, simply adding the amule daemon in rc.conf, but amuled doesn't create a file in /etc/rc.d/ so don't know how to do it

This 'was' a feature request of mine to the arch team, but it was declined.

I modified a mldonkey script to cater for the 'amuled'

Add to '/etc/rc.d/'
amuled (http://aur.archlinux.org/packages/amule-remotegui-git/amule-remotegui-git/amuled)

also, add to '/etc/conf.d/'
amule.conf (http://aur.archlinux.org/packages/amule-remotegui-git/amule-remotegui-git/amule.conf)
Title: Re: amuled + amuleweb
Post by: franz1789 on November 26, 2010, 01:38:42 PM
Thanks a lot, I'm gonna try next reboot if it works for me or I messed up something as always :D
Title: Re: amuled + amuleweb
Post by: gav616 on November 27, 2010, 03:41:01 AM
Thanks a lot, I'm gonna try next reboot if it works for me or I messed up something as always :D

Linux for me was a constant learning curve, breaking things in the early stages is normal, learning from the mistakes you make is a vital part of  maintaining a stable secure system.