Page 1 of 1

I cannot mount amahi folder to other computer in same networ

Posted: Fri Sep 28, 2012 3:59 am
by rednwhite
Thanks for reading

I set amahi on ubuntu 12.04

amahi is running well.

So I want to mount the folder into the my desktop( it's OS is ubuntu 10.4)


I read this article.

http://wiki.amahi.org/index.php/SharingToLinux


and

sudo aptitude install smbfs

-> well done on my desktop


I create folder 'temp_musics' on desktop

and then

I type on terminal "sudo mount.cifs '\\hda\Music' temp_musics -o user=xxxx"


but folder was not mounted .
only error message out...
these message is below....


mount error: could not resolve address for hda: No address associated with hostname
No ip address specified and hostname not found



But.. amahi is still running good!!
I can connect amahi in firefox with ip adress(192.168.0.17)
I can connect amahi's sever with VNC by IP.
I can send ping to amahi and ping is return in proper time( 0.98ms) by IP

amahi and my desktop is to be under same router..


What can I check to next step for mounting folder?

I guess the problem is maybe with port forwarding in router
I do not set any port forwarding to amahi server in router yet.
and I do not know which port should be porting to amahi server



please help me......

Re: I cannot mount amahi folder to other computer in same ne

Posted: Fri Sep 28, 2012 6:21 am
by bigfoot65
You need to follow the wiki guidance exactly if you have not done so. It may need updated for the newer version of Ubuntu as clients.

Re: I cannot mount amahi folder to other computer in same ne

Posted: Fri Sep 28, 2012 3:22 pm
by rednwhite
Thanks for reply.

Now I can mount the folder to my remote desktop.
but have two (or more) problem stil...

first.. I mount with

Code: Select all

sudo mount.cifs '\\192.168.0.20\Music' temp_musics -o user=tmmp1
it work....

instead of

Code: Select all

sudo mount.cifs '\\hda\Music' temp_musics -o user=tmmp1

it is not work..

Error message is
mount error: could not resolve address for hda: No address associated with hostname
No ip address specified and hostname not found

I don't know why this happen?
Is there difference of two command??

How can I use '\\hda' at mount command instead of IP address??



Second problem is..

permission of mounted folder is owned by root!!!
I cannot copy files to mounted folder.

How can I change the permission of mounted folder??



I am sorry for question of too easy problem.

but...

please help me...

Re: I cannot mount amahi folder to other computer in same ne

Posted: Fri Sep 28, 2012 5:07 pm
by bigfoot65
The reason for the IP address tells me you have not turned off teh DHCP/DNS on your router. You should do that.

Secondly on permissions, to change them on the server do this:

Code: Select all

sudo chown -R firstadminuser:users /var/hda/files/share
The first admin user would be the one you created when install Ubuntu. The share is the folder you are trying to change permissions on.