aMule Forum

English => aMule Help => Topic started by: pacosculli on September 23, 2006, 04:37:32 PM

Title: amule.conf- How to share hd in other pc?
Post by: pacosculli on September 23, 2006, 04:37:32 PM
Hi all, I hope you can help.
Tired using amule gui in my main pc, I think to use amuled in an old pc pIII 600 with debian sarge and small hard disk, connected at lane. I installed it and works fine. I installed a functionally samba client too.
I need to use another computer of the lan to share  TempDir and IncomingDir but I miss it.
Using samba I tried:
TempDir=myhost/Share/amuletemp
or
TempDir=smb://myhost/Share/amuletemp
But does not work.
Is it correct this way? Do I have to edit the fstab file and modify somethink?
bye
Title: Re: amule.conf- How to share hd in other pc?
Post by: wuischke on September 23, 2006, 06:23:49 PM
Hi pacosculli!

You have to mount the samba share to your filesystem.
You'll find some more information e.g. -> here <- (http://www.justlinux.com/nhf/Filesystems/Mounting_smbfs_Shares_Permanently.html)

bye
Title: Re: amule.conf- How to share hd in other pc?
Post by: pacosculli on September 23, 2006, 06:35:57 PM
wow thank you very much for quickly reply.
It seems realy what I 'm looking for.
now I try it
bye
Title: Re: amule.conf- How to share hd in other pc?
Post by: pacosculli on September 23, 2006, 11:27:31 PM
One problem:
when I try to mount filesystem with:
mount -t smbfs //servername/sharename /mountdirectory
it ask for a password, but username and password are not required, my system is set up to not require them.
So I can't mount anythink typing all password too.
What is the matter?
bye
Title: Re: amule.conf- How to share hd in other pc?
Post by: wuischke on September 23, 2006, 11:51:58 PM
I think you have to use the guest account without a password. (Unfortunately I've never been into Samba, prefered NFS.)
Title: Re: amule.conf- How to share hd in other pc?
Post by: pacosculli on September 27, 2006, 12:19:12 AM
hi all.
I inform you that can't enstablish a regular connection between the amuled pIII600 and external main pc in the lan using samba (both as server or client).
Final log always inform the miss of permissions to write in /amuletemp
I tried usind debian sarge and ubuntu dapper too. :-|
Well. Now I thing I'm going to change installing  NFS, and trying with it.
Bye
Title: Re: amule.conf- How to share hd in other pc?
Post by: Vollstrecker on September 27, 2006, 06:48:51 AM
Just write your own start-script. I use smbmount instead because it is the one that gets called from mount anyway in this case.
smbmount /// / -o lfs,username=,password=r,uid=,gid=,iocharset=

lfs is neccesary for using file >2GB with sambe
User and Pass are the ones you created with smbpasswd on your server
uid and gid are the ids of the local user you want to access the share with
iocharset defines, how the data should be coded,  in the case you use i.e. UTF8 on your server and some iso on your client..

I use this for years now, and it works. To have it more comfortable, you should set gid bit on your server, to have easier access to it.
Title: Re: amule.conf- How to share hd in other pc?
Post by: pacosculli on September 27, 2006, 10:00:32 AM
Here is my fstab
///  /  smbfs  defaults  0   2
as you see in smb.conf security level = share
so no password required

then I mount it with:
#mount -t smbfs /// /