Reply
Thread Tools
Moonshine's Avatar
Posts: 469 | Thanked: 88 times | Joined on Sep 2007 @ Montana
#21
Penguinbait's KDE package has fully functional SMB support included. If you're desperate you could look at extracting it from the tarball.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#22
Good news, everyone.

I managed to get my passworded CIFS shares to mount under OS2008! They are visible in File Manager and other apps, too!

The solution is pretty straightforward. I needed to get two files.

The first one is the cifs.ko from fanoush's module archive, getting it out of the archive and onto your tablet requires some know-how (ie ask someone else ) I recommend making the proper module directory and putting the cifs.ko into that dir. The correct module dir name for OS2008 is:

/lib/modules/2.6.21-omap1/


The second one is mount.cifs from the Debian Sid armel smbfs package. Download it into a directory on your tablet, then, as root, use
dpkg-deb -x smbfs_3.2.4-1_armel.deb smbfs
to extract the contents to a folder, then do:
cp smbfs/sbin/mount.cifs /sbin/mount.cifs
chmod a+x mount.cifs
So, to get my share to mount, I did the following as root (this can be put in a script):
insmod /lib/modules/2.6.21-omap1/cifs.ko
(Note that this may fail with a "file exists" error, that's OK, it means your system already has it loaded)
mount.cifs //SERVER/share /home/user/MyDocs/lan/share -o user=SERVER\\myname,pass=passwd1
...replacing the proper things in the proper places, of course...

It just works. To see if I was doing this for nothing, I unmounted the share and tried
mount -t cifs //SERVER/share /home/user/MyDocs/lan/share -o user=SERVER\\myname,pass=passwd1
only to get the familiar "Mount: .... failed" error.

Hopefully that helps someone else who is having the same problems.

PS: I first tried to install the whole Samba package from the Debian Sid armel repository. It depended on all sorts of stuff, and by the time I was done, I had replaced libc6 and other core system libraries. That totally toasted my system, and I had to reflash. Thankfully, I backed up before I began that adventure, so I was back up and ready to try again the next day.

Last edited by qole; 2008-11-21 at 03:13. Reason: fanoush modules and debian smbfs version changes
 

The Following 12 Users Say Thank You to qole For This Useful Post:
Posts: 5 | Thanked: 1 time | Joined on Jan 2008
#23
Originally Posted by qole View Post
Good news, everyone.
I managed to get my passworded CIFS shares to mount under OS2008! They are visible in File Manager and other apps, too!
Thanks for the instructions! I got this working, but after I was done I noticed my File manager doesn't find the shared folder anymore. Did I screw up something? Any idea why this could be?

BTW I myself am new with Linux, but luckily my friend helped me to get the files needed for this. There's probably more people like me so here's the files I used if someone needs them:

http://www.tehas.org/n800/cifs.ko
http://www.tehas.org/n800/mount.cifs
http://www.tehas.org/n800/umount.cifs
 

The Following User Says Thank You to turan For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#24
If you want File Manager to show your mounted directory, you have to mount it to a folder under /home/user/MyDocs/ (or mount it as a dir on one of the SD cards), so for me, I have a folder called /home/user/MyDocs/lan that has a subfolder for each of my SMB mounts.

If you could get to the shared folder via the file manager before, you probably don't need my instructions. They are only for people who couldn't access the share before due to a password or other problems.

I also found that the standard umount works fine, I didn't need umount.cifs.
 
Posts: 97 | Thanked: 3 times | Joined on Jan 2008
#25
I like using EmelFM2 as a file manager. It or maybe GPE Filemanager ought to be able to see anything outside of /home/user.
Frank
 
Posts: 5 | Thanked: 1 time | Joined on Jan 2008
#26
Originally Posted by qole View Post
If you could get to the shared folder via the file manager before, you probably don't need my instructions. They are only for people who couldn't access the share before due to a password or other problems.
Yes I could get to the shared folders via File manager, but I couldn't get to them from xmms file manager so that I could've added music to the playlist. Maybe there would have been an easier way to achieve this?

Now everything works as intended! Today the File manager can also access the shared folders even though I did nothing about it.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#27
Originally Posted by turan View Post
Now everything works as intended! Today the File manager can also access the shared folders even though I did nothing about it.
Did you reboot in the meantime? Sometimes a reboot fixes things
 
Posts: 5 | Thanked: 1 time | Joined on Jan 2008
#28
Originally Posted by qole View Post
Did you reboot in the meantime? Sometimes a reboot fixes things
Sure I tried that a number of times.
 
Posts: 147 | Thanked: 12 times | Joined on Aug 2007 @ Washington State
#29
Thanks all. I haven't tried it yet, but that should work for my original question.
 
Posts: 11 | Thanked: 3 times | Joined on Jan 2008
#30
I got this working by just insmodding cifs.ko and using the standard mount command. The -o option should come first before the "device" and mount point for example:

mount -t cifs -o user=SERVER\\myname,pass=passwd1 //SERVER/share /home/user/MyDocs/lan/share
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:43.