maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] wizard-mounter for fremantle (https://talk.maemo.org/showthread.php?t=44188)

b0unc3 2010-02-28 17:09

Re: [Announce] wizard-mounter for fremantle
 
Quote:

Originally Posted by dlenoir (Post 549847)
I tried it once again, but no luck. I still get a "Permission error" when I start it normally. When I open the terminal, switch to root and start it, my partition gets mounted without a glitch. (And the second part of my question remains: where is it mounted?)

Is there any log I can upload?

The shares are mounted under /media/Remote_Filesystems/sharename@server/ .
wizard-mounter uses sudo to do things as root as needed, hence there is no need to run it as root manually.
No there isn't any log.

Frank Banul 2010-03-01 16:26

Re: [Announce] wizard-mounter for fremantle
 
@b0unc3: see post #79. But it's just:

sudo mount -t cifs //192.168.1.3/frank /mnt/frank -o u r=guest,pass=

Quote:

Originally Posted by b0unc3 (Post 549729)
@Frank: strange, can you please post the command you execute to mount that share ?

thanks,
Frank

b0unc3 2010-03-01 18:11

Re: [Announce] wizard-mounter for fremantle
 
Quote:

Originally Posted by Frank Banul (Post 551176)
@b0unc3: see post #79. But it's just:

sudo mount -t cifs //192.168.1.3/frank /mnt/frank -o u r=guest,pass=



thanks,
Frank

This is the same command wizard-mounter uses to mount shares. Try to create a profile with the username setted to guest and no password , should mount the share.

mrp 2010-03-03 06:35

Re: [Announce] wizard-mounter for fremantle
 
was not able to mount share from command line any more w/o username and and paasword. Maybe something changed btw PR1.0 and PR1.1

dlenoir 2010-03-04 00:05

Re: [Announce] wizard-mounter for fremantle
 
Quote:

Originally Posted by b0unc3 (Post 550007)
The shares are mounted under /media/Remote_Filesystems/sharename@server/ .
wizard-mounter uses sudo to do things as root as needed, hence there is no need to run it as root manually.
No there isn't any log.

Thank you!

Re-reading the thread, I found the function that Wizard-Mounter is using and managed to investigate a bit the behaviour...

When I use
a) sudo mount -t cifs "//remote/samba/share" /local/folder -o u=MYUSER,pass=MYPASSWORD
-> the share is mounted with the permissions of the remote system (uid=1002, gid=1002). I guess that it must be related to Unix extensions...
b) sudo mount -t cifs "//remote/samba/share" /local/folder -o u=MYUSER,pass=MYPASSWORD,uid=user,gid=users
-> the share is mounted with the permissions root:root (strange...)
c) sudo mount -t cifs "//remote/samba/share" /local/folder -o u=MYUSER,pass=MYPASSWORD,uid=29999,gid=29999
-> the share is mounted with the permissions user:users (finally!)

I don't understand the difference between cases b) and c). Hopefully, this helps.

The remote share samba share runs on my SheevaPlug (Ubuntu 9.04, for ARM)

danielpublic 2010-03-11 01:16

Re: [Announce] wizard-mounter for fremantle
 
Hi!

Feature question here: Is there any plans for supporting sshfs mounts?
Cheers.

redi 2010-03-13 01:38

Re: [Announce] wizard-mounter for fremantle
 
I have a Samba share running on my PC, I can connect to it fine via SSH tunnel on other linux boxes (two different versions of ubuntu tested so far). I have a problem mounting the share on N900, I've tried commandline and wizard-mounter, both give different errors.

I open an SSH tunnel to N900 loopback interface and then open another terminal window, I installed smbclietn and using it:

Code:

sudo gainroot
smbclient -L 127.0.0.1/myservername/ -U myusername
password: **typed pass here + Enter**
... // many lines of my samba server directories and details printing out

So N900 can indeed see the server, and it's correctly placed on the loopback interface. Now when trying to manually mount the share:

Code:

sudo gainroot
mount -t cifs //127.0.0.1/myservername /media/samba -o user=myusername,pass=mypass,uid=29999,guid=29999
mount: mounting //127.0.0.1/myservername on /media/samba failed: no such device or address

It takes a hefty 2-3 seconds to turn up this error message, so it seems as if it's doing something. dmesg | more reveals this error:

CIFS: UNC Path does not begin with // or \\

Trying wizard-mounter says connection refused (I imagine it's not trying to use the loopback even if I tell the server address 127.0.01 and share dir myservername).

Any ideas?

edit:

Odd enough, if I try without a password (just username) dmesg shows that the Samba server actually replied with "NT_STATUS_LLOGON_FAILURE."

b0unc3 2010-03-13 11:26

Re: [Announce] wizard-mounter for fremantle
 
@danielpublic: no, there are no plans atm to support sshfs.

@redi: it's a tricky situation ;) I did not use such a configuration , so it's hard to help. BTW wizard-mounter not use the loopback device, so 127.0.0.1 will point to your N900. Surely the samba server reply it's very strange, you still receive "connection refused" error ?

The2ndclory 2010-03-15 07:17

Re: [Announce] wizard-mounter for fremantle
 
I would first like to say a big thank you for this awesome app. Keep up the good work.

I installed it maybe an hour ago and the first thing i tried to do was stream a movie which was VERY jerky. I skipped back to the beginning of the file and it played through the jerky parts super smooth till it hit what I'm going to call the "buffering zone".

I have conky installed and I monitored a 700MB file transfer for about 3 minutes before I cancelled, peaking at about 250KB/s. I also have a laptop in the same spot watching the same movie wirelessly with no problem. And just for the record I did a speedtest from the n900 that said I was getting just under 5Mb/s down.

Now im not sure if the bottlneck is withe the cifs kernel module or what but i read this whole thread hoping that someone would have had this problem but no dice.

Could you please point me in the right direction?

Jaykie 2010-03-15 09:28

Re: [Announce] wizard-mounter for fremantle
 
Quote:

Originally Posted by The2ndclory (Post 567451)
Now im not sure if the bottlneck is withe the cifs kernel module or what but i read this whole thread hoping that someone would have had this problem but no dice.

I'm feeling the pain. I have Ubuntu 9.10 server configured with samba and transfer speeds to N900 are horribly slow. Downloads to other laptop are very speedy.


All times are GMT. The time now is 11:44.

vBulletin® Version 3.8.8