Active Topics

 



Notices


Reply
Thread Tools
Posts: 318 | Thanked: 735 times | Joined on Oct 2009
#91
Originally Posted by dlenoir View Post
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.
 

The Following User Says Thank You to b0unc3 For This Useful Post:
Posts: 398 | Thanked: 301 times | Joined on Sep 2007 @ Texas
#92
@b0unc3: see post #79. But it's just:

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

Originally Posted by b0unc3 View Post
@Frank: strange, can you please post the command you execute to mount that share ?
thanks,
Frank
 
Posts: 318 | Thanked: 735 times | Joined on Oct 2009
#93
Originally Posted by Frank Banul View Post
@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.
 

The Following User Says Thank You to b0unc3 For This Useful Post:
Posts: 356 | Thanked: 38 times | Joined on Nov 2005 @ Finland
#94
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
__________________
N900 as day to day phone
N770 for childrens music
 
Posts: 12 | Thanked: 2 times | Joined on Feb 2010
#95
Originally Posted by b0unc3 View Post
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)
 
Posts: 54 | Thanked: 53 times | Joined on Feb 2010 @ Sweden
#96
Hi!

Feature question here: Is there any plans for supporting sshfs mounts?
Cheers.
 
Posts: 35 | Thanked: 26 times | Joined on Dec 2009 @ Finland, Tampere
#97
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."

Last edited by redi; 2010-03-13 at 01:56.
 
Posts: 318 | Thanked: 735 times | Joined on Oct 2009
#98
@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 ?
 

The Following 2 Users Say Thank You to b0unc3 For This Useful Post:
Posts: 29 | Thanked: 3 times | Joined on Feb 2006
#99
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?
 
Posts: 95 | Thanked: 20 times | Joined on Nov 2006
#100
Originally Posted by The2ndclory View Post
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:20.