Reply
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#41
Ok, here are the files you'll need. Just tested with Diablo, they work great.
  1. Download the attached file to your tablet (let's just say /media/mmc2/install/diablo-cifs.tar.gz for the sake of the how-to)
  2. Gain root (I'd post a link to the maemo wiki but it is offline at the moment),
  3. Enter the following:
    Code:
    cd /
    tar xzvf /media/mmc2/install/diablo-cifs.tar.gz .

That should give you the files you need to use the mount.cifs command:

Gain root then:
Code:
insmod /lib/modules/2.6.21-omap1/cifs.ko
mount.cifs //SERVER/share /home/user/MyDocs/lan/share -o user=SERVER\\myname,pass=passwd1
Attached Files
File Type: gz diablo-cifs.tar.gz (121.1 KB, 584 views)
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-11-21 at 03:41. Reason: uploaded attachment from my N800, added text on desktop computer
 

The Following 4 Users Say Thank You to qole For This Useful Post:
Posts: 4 | Thanked: 0 times | Joined on Nov 2008
#42
To answer your earlier question, qole, I do not see any of my unprotected share folder (read/write permission to everyone). I have a PC and an NSLU2, and they can see each other folders. The NSLU2 also runs a media sharing software (similar to Tversity). I only see a "Shared media" folder in my Diablo N800 file manager, in which only the share media folder can be seen, NOT any other public folder.

Thanks to your instruction, however, I can now mount any folder I want to, even those remotely connected vs VPN !!!

Thanks again :-)
 
Posts: 4 | Thanked: 0 times | Joined on Dec 2008
#43
qole or anyone else, would you be so kind to help me out.

I downloaded, extracted the tar and completed insmod.

If I cd to /media/mmc2/install/sbin and execute:
Code:
mount.cifs //SERVER/share /home/user/MyDocs/lan/share -o user=SERVER\user,pass=password
I get:
Code:
/bin/sh: mount.cifs: not found.
So I included the entire path to mount.cifs like this:
Code:
/media/mmc2/install/sbin/mount.cifs //SERVER/share /home/user/MyDocs/lan/share -o user=SERVER\user,pass=password
I replaced SERVER with my machine name.
I replaced all instances of share with my share name.
I replaced all instances of user with my machine username.
I created the folder /home/user/MyDocs/lan/share.
I tried all variations of caps for my SERVER, user, share.
To be on the safe side I disabled my AV, FW.

And I still get:
Code:
/bin/sh: /media/mmc2/install/sbin/mount.cifs: Permission denied
Why is that? I have the correct password, username and machine name of that I'm certain since I connect to that machine with half a dozen other devices. I can also access my media through Media Player.

Any assistance would be greatly appreciated.

EDIT: I'm on a N810 with 5.2008.43-7.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#44
Originally Posted by CypherBit View Post
qole or anyone else, would you be so kind to help me out.

I downloaded, extracted the tar and completed insmod.

If I cd to /media/mmc2/install/sbin and execute:
Code:
mount.cifs //SERVER/share /home/user/MyDocs/lan/share -o user=SERVER\user,pass=password
I get:
Code:
/bin/sh: mount.cifs: not found.
So I included the entire path to mount.cifs like this:
Code:
/media/mmc2/install/sbin/mount.cifs //SERVER/share /home/user/MyDocs/lan/share -o user=SERVER\user,pass=password
I replaced SERVER with my machine name.
I replaced all instances of share with my share name.
I replaced all instances of user with my machine username.
I created the folder /home/user/MyDocs/lan/share.
I tried all variations of caps for my SERVER, user, share.
To be on the safe side I disabled my AV, FW.

And I still get:
Code:
/bin/sh: /media/mmc2/install/sbin/mount.cifs: Permission denied
Why is that? I have the correct password, username and machine name of that I'm certain since I connect to that machine with half a dozen other devices. I can also access my media through Media Player.

Any assistance would be greatly appreciated.
Move it to somewhere like /home/user or /usr/bin and 'chmod +x' it. You cannot execute files of the memory card.
 

The Following 3 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 4 | Thanked: 0 times | Joined on Dec 2008
#45
qwerty12 that did it, thank you very much. I'm very new to NIT and Linux in general and had no idea I couldn't execute it from the memory card.
 
polossatik's Avatar
Posts: 126 | Thanked: 23 times | Joined on Jan 2008
#46
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:44.