Reply
Thread Tools
Posts: 323 | Thanked: 118 times | Joined on Nov 2007 @ Australia
#11
cheers! thanks works great, I can mount my samba share via command line now, but for the life of me I can't work out how to allow 'user' access the mounted filesystem... is there a command line command to allow regular users read the filesystem ?
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#12
I had cifs working under OS2007, and I swear I had it working under OS2008 yesterday, but now it doesn't work. Filemanager's implementation of CIFS is, as stated above, useless for passworded shares. So I grabbed fanoush's cifs.ko and did insmod with it, but no luck.

my mounting syntax:

mount -t cifs //192.168.0.9/myshare /home/user/MyDocs/lan/myshare -o user=SERVERNAME\\User,password=password1

I just get a cryptic "mounting //192.168.0.9/myshare on /home/user/MyDocs/lan/myshare failed."

What's going on? The share and the mountpoint both exist (file manager can even see the share). Like I said, it worked before... Did I break something? Could it have something to do with using USB in host mode? Argh!
 
Posts: 479 | Thanked: 641 times | Joined on Dec 2007 @ Switzerland
#13
Originally Posted by RipTorn View Post
cheers! thanks works great, I can mount my samba share via command line now, but for the life of me I can't work out how to allow 'user' access the mounted filesystem... is there a command line command to allow regular users read the filesystem ?
I don't have the possibility to check, but I think that you can add the following option to make it readable by the user "user":

-ouid=user

Anyways...I agree that it is rather limiting not being able to put username/password in the filemamanger to access SMB shares...it makes it kinda useless
 
Posts: 43 | Thanked: 2 times | Joined on Dec 2007
#14
I just solved my own issue with cifs causing a
mount failed. Maybe it will help others. My server share does NOT have a password.

Rather than my old method of passing user=pcguest to the mount command, I passed the option guest instead which worked!

This failed:
mount -t cifs //192.168.2.100/podcast /media/mmc2/mnt -o noperm,sec=none,uid=user,user=guest
This worked:
mount -t cifs //192.168.2.100/podcast /media/mmc2/mnt -o noperm,sec=none,uid=user,guest
 

The Following User Says Thank You to krbvroc1 For This Useful Post:
Posts: 3 | Thanked: 0 times | Joined on Dec 2007
#15
Originally Posted by RipTorn View Post

Plus the 'busybox' mount program sh*ts me to tears sometimes with its useless error messages... 'faied to mount'

-Rip
Note that although mount doesn't print anything useful to the terminal, it does log a bit more useful diagnostic information that can be retrieved with dmesg. Not particularly friendly, but better than nothing.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#16
Originally Posted by Stevie P View Post
Note that although mount doesn't print anything useful to the terminal, it does log a bit more useful diagnostic information that can be retrieved with dmesg. Not particularly friendly, but better than nothing.
I checked dmesg after trying to mount a known-working share and having it fail with the mysterious "mount: mounting ... on ... failed" error. There was nothing at all. No new messages. Argh...

Last edited by qole; 2008-01-06 at 23:03.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#17
OK. I'm down on my knees. Begging.

Please, someone compile/package smbfs (and/or smbclient and/or samba) for OS2008! I want some more useful samba tools. I found "mount.cifs" to be extremely helpful in tracking down problems, because I could set a verbosity level that would control the error messages. The samba tools that come included in OS2008 are worse than useless. They're very nearly useless but they're useful enough for many people so they stop progress of really useful tools.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#18
I notice that the source for the entire samba package for maemo 4.0 is in the source repository. Can anyone compile it for me (us) and put it in a repository? Please?

I especially want tools like mount.cifs, smbfs and/or smbclient to help me debug my problems mounting samba shares.

Last edited by qole; 2008-01-10 at 00:30.
 
Posts: 30 | Thanked: 6 times | Joined on Dec 2007
#19
smbclient/smbmnt and smbfs are here. http://www.gronmayer.com/it/index.ph...ow_pck=121#121

But I installed and still cannot mount my linux shares. I can see them, with smbtree. Let me know if you have better luck then I.

Didjnit
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#20
Didjnit:

Don't play such cruel tricks on a fella! You got my hopes up, only to have them dashed by the sharp stones of reality.

The repo that contains the samba packages is the Maemo Hackers repo for the "mistral" OS, which really shouldn't be listed as an OS2008 repo, but there are a few command-line programs that still work in OS2008 so someone stuck it in. When I try to apt-get install smbfs, I get:

The following packages have unmet dependencies:
smbfs: Depends: samba-common (= 3.0.22-3) but 3.0.23c-1osso6 is to be installed
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:47.