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)

Frank Banul 2010-02-22 14:34

Re: [Announce] wizard-mounter for fremantle
 
I've tried Guest and guest as a username. No luck.

Quote:

Originally Posted by b0unc3 (Post 539963)
You need to set also the username/password (guest I suppose)

thanks,
Frank

mrp 2010-02-25 08:34

Re: [Announce] wizard-mounter for fremantle
 
please remove username+password restriction from wizard mounter. I have one router with attached HD, shared as samba share, no login needed or possible to use. E.g guest will not let me login

b0unc3 2010-02-25 09:05

Re: [Announce] wizard-mounter for fremantle
 
@Frank: as you said mounting from command line works fine, right ? So setting only the username to guest in the wizard-mounter dialog dosen't make it work?

@mrp: It's not a wizard-mounter's restriction, but a cifs ones (iirc)

mrp 2010-02-25 13:04

Re: [Announce] wizard-mounter for fremantle
 
I can mount that cifs share from command line without username, but not from wizard-mounter, so the restriction seems to lie in W-M

Frank Banul 2010-02-25 15:21

Re: [Announce] wizard-mounter for fremantle
 
@b0unc3: Correct, I can't get the GUI to work no matter what I do. I've tried Guest, guest but both result in "Connection refused".

Quote:

Originally Posted by b0unc3 (Post 545499)
@Frank: as you said mounting from command line works fine, right ? So setting only the username to guest in the wizard-mounter dialog dosen't make it work?

thanks,
Frank

dlenoir 2010-02-27 20:31

Re: [Announce] wizard-mounter for fremantle
 
I have downloaded version 1.5.7 and it did't work when I ran as "USER", but it did mount when I ran as root.

Is there anything to do before installing wizard-mounter? I tried to run the prerm script for 1.5.4 before installing 1.5.7, but it didn't help. (I actually looked like it made matters worst...)

Also, where do I find the mounted share?

Hardknox 2010-02-28 09:46

Re: [Announce] wizard-mounter for fremantle
 
After last update, can not connect to any shares, still notify me that connection is refused. No sense are the application updates without prior testing

b0unc3 2010-02-28 11:17

Re: [Announce] wizard-mounter for fremantle
 
@mrp: can you show me how you mount from command line without username/pass ?

@Frank: strange, can you please post the command you execute to mount that share ?

@dlenoir: try to follow these step :

1. uninstall wizard-mounter from the app-manager
2. open up the terminal and execute : dpkg --purge wizard-mounter
3. re-install wizard-mounter normally

dlenoir 2010-02-28 13:35

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

Originally Posted by b0unc3 (Post 549729)
@dlenoir: try to follow these step :

1. uninstall wizard-mounter from the app-manager
2. open up the terminal and execute : dpkg --purge wizard-mounter
3. re-install wizard-mounter normally

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?

mrp 2010-02-28 13:54

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

Originally Posted by b0unc3 (Post 549729)
@mrp: can you show me how you mount from command line without username/pass ?

I'll try command line mounting again. Last time I did that was installing the needed cifs-module, not W-M. Then there was this PR1.1 and later on (might have been the W-M issue I was not aware of at that time) I had to reflash due to lost repositories and root shell.

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.

b0unc3 2010-03-15 12:16

Re: [Announce] wizard-mounter for fremantle
 
I suppose the problem is with the cifs module. I will try to compare it to samba, and see which gives the best performance.
I've to admit that atm I'm a little bit confused because someone tell me that cifs is better than smbfs and someone said the exactly contrary :(

ndi 2010-03-18 01:24

Re: [Announce] wizard-mounter for fremantle
 
First of all, I'd like to say thanks too, this is a must have app, hat's off to you. Secondly, "me too" on the speed issue. I peaked at 250K, average aroung 100K actual data.

What seems odd is that the cpu is idle when copying, I expected it to be the cause. Plenty bandwidth, plenty CPU, what could be the issue?

ETA: Sometimes it's not just slow, it's jumpy. It sleeps for a second, then jumps forward about 500K/s, then sleeps. Perhaps delayed buffers?

The2ndclory 2010-03-18 01:34

Re: [Announce] wizard-mounter for fremantle
 
I actually mounted the same share via nfs and got considerably better speeds, peaking at almost 1800KB/s but it fluctuated wildly. Streaming was thus marginally better. There is def a problem with the cifs module though.

ndi 2010-03-19 18:38

Re: [Announce] wizard-mounter for fremantle
 
Did you notice if the CPU was peaked?

The2ndclory 2010-03-20 02:22

Re: [Announce] wizard-mounter for fremantle
 
It topped out at roughly 950KB/s (averaring about 600) this time but cpu load never broke 40%.

casper27 2010-03-20 09:07

Re: [Announce] wizard-mounter for fremantle
 
I found a bug don't know if its been reported yet.
I was trying to mount a samba share to a vista laptop. Every time I kept getting permission denied. All details seemed correct share dir, username, password ect. It was only when I entered the password with the keyboard closed using the on screen keyboard that I noticed it wasn't entering a @ symbol ,which is part of my password, when entering it with the hardware keyboard. Entered it with onscreen keyboard and everyhing worked great.
Great application by the way :)

Nathan 2010-03-20 17:39

Re: [Announce] wizard-mounter for fremantle
 
I did documented this in the cifs thread; but if you use ",direct" as part of the mounting command line you will typically get better performance. When I helped get WizardMounter to work on the n900 I was unaware of that -- it was something I found out after simular speed issues where discussed on my cifs thread. ; so I suspect that WM does not use ",direct" at this point in time.

However, if you do any research on cifs you will see that it has a lot of overhead so it probably will never be as fast as nfs or even sshfs. The cifs module that is compiled has _not_ been modified from what was shipped with the kernel. So if their are any issues with it -- it is basically because it is still under development by the cifs kernel team.

Nathan.

les_garten 2010-03-20 18:05

Re: [Announce] wizard-mounter for fremantle
 
Hey,
How about a Wizard export function? A SMB share like MyDocs to be able to mount it on Windows boxes?

b0unc3 2010-03-20 18:27

Re: [Announce] wizard-mounter for fremantle
 
@Nathan : the current version of Wizard Mounter doesn't have the "direct" support, if it really help to increase performance then I will add it for the next release.

@les_garten : we need the nfs/smb server support on the kernel, I don't know if atm is available.

Trestry 2010-03-28 12:48

Re: [Announce] wizard-mounter for fremantle
 
I don't get wizard-mounter working with windows 7.

Server Address: 192.168.2.4
Remote Directory: D
Username: Guest
Password:

When I try to mount, I got the permission denied error.

casper27 2010-03-28 12:55

Re: [Announce] wizard-mounter for fremantle
 
you need a password for this to work I think. Just give tghe guest account a password. Make sure the directory your monting is correct be sure to include any paths before it.

Trestry 2010-03-28 13:01

Re: [Announce] wizard-mounter for fremantle
 
I've tried to use a password, but I get the same error.

When I go to //192.168.2.4/d with another pc I get the right directory.

b0unc3 2010-03-28 15:52

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

Originally Posted by Trestry (Post 585373)
I've tried to use a password, but I get the same error.

When I go to //192.168.2.4/d with another pc I get the right directory.

If you have run an update, then try to follow these step :

1. uninstall wizard-mounter from the app-manager
2. open up the terminal and execute : dpkg --purge wizard-mounter
3. re-install wizard-mounter normally

ndi 2010-03-28 18:04

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

Originally Posted by Trestry (Post 585373)
I've tried to use a password, but I get the same error.

When I go to //192.168.2.4/d with another pc I get the right directory.

That is not equivalent to Guest:

Also, Guest is disabled by default. Did you enable it and add permissions for it? IMO, you should either use your own user/pass or, if you care about security (you probably should over wireless), create a share account.

Do you use simple sharing?

Trestry 2010-03-28 19:02

Re: [Announce] wizard-mounter for fremantle
 
I have tried to use my own useraccount with an password, but I still get the same error. I also tried to re-install wizard-mounter, but it makes no differences.

What do you mean by simple sharing?

Thanks for helping :-)

ndi 2010-03-29 13:00

Re: [Announce] wizard-mounter for fremantle
 
When sharing, you add users to each resource, be it already live users or especially created users. In this list of users, you should be listed with full permissions. Not all users have the right to access remote resources.

To test, go to another computer and type:

net use Z: \\192.168.2.4\d /user:YourUser Yourpassword

Note the use of forward and black slashes, / is UNC syntax. If it works, it's the N900. Otherwise it's your setup. Note the use of colons. It's use zet colon space bs bs ip bs sharename sp slash user colon username sp pass.

If you have a username with spaces, the whole parameter needs double quotes.

Simple sharing is an option at the bottom of the "Folder options" dialog in Explorer, and when ON the advanced optons regarding permissions are gone, along with security atomic control. Instead all shares are based on default already-there users and you log on with default windows user/pass.

Excuse the typos, I'm on my N900.

Trestry 2010-03-30 14:51

Re: [Announce] wizard-mounter for fremantle
 
It finally works:D

My N900 starts standard with a capital letter. The password starts with a small letter, as a result it didn't worked.

Thanks a lot!

Memolipd 2010-04-06 01:32

Re: [Announce] wizard-mounter for fremantle
 
no joy for me either:

Server Address: 192.168.1.5
Remote Directory: downloads
Username: share
Password: share

the program closes when i hit the mount button, and no share. I've tried the re-installing thing mention earlier.

my actual download directory name is:"DOWNLOADS" but windows reports the share as: "\\Paolo-pc\downloads" I've tried putting host name in instead of IP, and all combinations of caps etc. I've also made sure im putting in all lower caps into the password field as it tries to cap the first letter.

im on windows 7, and yes share has remote access permission.

also:

net use Z: \\192.168.1.5\downloads /user:share share

works fine
any ideas?

EDIT: the program even closes when the password is wrong so it aint even getting that far, this sucks :(

ndi 2010-04-08 20:32

Re: [Announce] wizard-mounter for fremantle
 
Does it crash with wrong share name or wrong IP? You might have hit an incompatibility in WM. If net use works the share is fine.

You could try to mount form the command line, I guess. You'll have to talk to the developer about this one.

andraeseus1 2010-04-08 21:52

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

Originally Posted by b0unc3 (Post 522253)
Hello,

Finally, with the great help of [URL="http://maemo.org/profile/view/nathanael/"]Nathan[/URL,] we have wizard-mounter for fremantle!
I've just put in extras-testing a new version that work on fremantle.

Project homepage : https://garage.maemo.org/projects/wizard-mounter/
Extras-testing link : http://maemo.org/packages/package_in...1.5.4maemo5.1/
Screenshot :
http://img191.imageshack.us/img191/8...eenshot17t.png


Best Regards,
Daniele Maio

what is this? "wizard _mounter" what does it do? why is it important


All times are GMT. The time now is 13:24.

vBulletin® Version 3.8.8