Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    SMB/CIFS share support

    Reply
    Page 3 of 5 | Prev |   1     2   3   4     5   | Next
    Moonshine | # 21 | 2008-01-12, 06:44 | Report

    Penguinbait's KDE package has fully functional SMB support included. If you're desperate you could look at extracting it from the tarball.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qole | # 22 | 2008-01-13, 23:05 | Report

    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
    Originally Posted by
    dpkg-deb -x smbfs_3.2.4-1_armel.deb smbfs
    to extract the contents to a folder, then do:
    Originally Posted by
    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):
    Originally Posted by
    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)
    Originally Posted by
    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
    Originally Posted by
    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    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:
    daemonforce, Eric70, pipeline, psybertech, qwerty12, sashabe, shenson, Sho, spiros, stangri, TheJoker, vabgeo

     
    turan | # 23 | 2008-01-15, 10:09 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to turan For This Useful Post:
    qwerty12

     
    qole | # 24 | 2008-01-15, 18:04 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    FGol | # 25 | 2008-01-15, 21:28 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    turan | # 26 | 2008-01-15, 21:47 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qole | # 27 | 2008-01-15, 23:49 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    turan | # 28 | 2008-01-16, 09:34 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    frasej | # 29 | 2008-01-17, 15:45 | Report

    Thanks all. I haven't tried it yet, but that should work for my original question.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    shenson | # 30 | 2008-01-23, 17:34 | Report

    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:

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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 3 of 5 | Prev |   1     2   3   4     5   | Next
vBulletin® Version 3.8.8
Normal Logout