aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuled + amuleweb  (Read 3114 times)

franz1789

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 133
    • Franz's blog
amuled + amuleweb
« 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

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: amuled + amuleweb
« Reply #1 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.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

franz1789

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 133
    • Franz's blog
Re: amuled + amuleweb
« Reply #2 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...

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: amuled + amuleweb
« Reply #3 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.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

franz1789

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 133
    • Franz's blog
Re: amuled + amuleweb
« Reply #4 on: November 21, 2010, 02:12:16 PM »

ok, but myy first question was: how can I start amuled + amuleweb at boot?

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: amuled + amuleweb
« Reply #5 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.
Logged
concordia cum veritate

gav616

  • Guest
Re: amuled + amuleweb
« Reply #6 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

also, add to '/etc/conf.d/'
amule.conf
« Last Edit: November 21, 2010, 10:48:29 PM by gav616 »
Logged

franz1789

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 133
    • Franz's blog
Re: amuled + amuleweb
« Reply #7 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

gav616

  • Guest
Re: amuled + amuleweb
« Reply #8 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.
« Last Edit: November 27, 2010, 03:55:46 AM by gav616 »
Logged