maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Mapping N810 as drive on Windows? (https://talk.maemo.org/showthread.php?t=21639)

pwsn 2008-07-06 01:22

Mapping N810 as drive on Windows?
 
Hello,

Is there any way to map the memory cards on the NIT as a drive on a Windows computer? Basically I'd like to be able to send files to my N810 wirelessly from my desktop without having to touch it.

ace 2008-07-06 01:35

Re: Mapping N810 as drive on Windows?
 
You'll need to run some kind of file server on your N810. Probably Samba.

wartstew 2008-07-06 04:20

Re: Mapping N810 as drive on Windows?
 
Yes, you need Samba, which I have not found for the maemo OS yet.

What I do instead is have the open-ssh package installed on the NIT. Then I use Winscp (a freeware program) or cuteftp on Windows to access the NIT and do the kind of drag-n-drop file transfers you are looking for. A couple of added benfits of the ssh protocol is that it is secure, and it works across the internet. I also find it generally find it troubesome than that Window file sharing mess.

Bundyo 2008-07-06 04:46

Re: Mapping N810 as drive on Windows?
 
There is SFTPDrive software for Windows. Paid. With it you can map ssh drives.

pwsn 2008-07-06 08:56

Re: Mapping N810 as drive on Windows?
 
Thanks a lot wartstew. Installed open-ssh. Took me a while to figure out why I couldn't connect to the tablet with Winscp, and I still don't know what it was. Restarted the server, rebooted the tablet and changed the user password to the same password. Then it worked after one of those. Don't know exactly what happened so won't be able to fix it if anything goes awry.

Winscp integrates itself into the shell so I can just highlight all items>right-click>send-to... no gui to tell it where to go so have to remember the command line. Saves me the trouble of mapping the drive though.

Thanks.

Duncan 2008-07-06 09:28

Re: Mapping N810 as drive on Windows?
 
Quote:

Originally Posted by pwsn (Post 199818)
Winscp integrates itself into the shell so I can just highlight all items>right-click>send-to... no gui to tell it where to go so have to remember the command line. Saves me the trouble of mapping the drive though.

My preferred way to use winscp is set it to use its 'explorer-like' interface: when I open it I get an explorer style window on /home/user and from there I can browse over the tablet's folders and drag/drop between that window and any of Window's explorer windows.

HowieG 2008-07-06 21:13

Re: Mapping N810 as drive on Windows?
 
Quote:

Originally Posted by pwsn (Post 199758)
Hello,

Is there any way to map the memory cards on the NIT as a drive on a Windows computer? Basically I'd like to be able to send files to my N810 wirelessly from my desktop without having to touch it.


I use bluetooth to send files from my desktop PC to the NIT. I have a bluetooth transmitter in the PC and its paired with the N810. Then its just a matter of right-clicking on any file and selecting 'Send-to', Bluetooth, etc. Then on the NIT, you just confirm the destination folder and you're done. :)

allnameswereout 2008-07-06 22:31

Re: Mapping N810 as drive on Windows?
 
Quote:

Originally Posted by wartstew (Post 199779)
Yes, you need Samba, which I have not found for the maemo OS yet.

NFS server on NIT with NFS client on Windows.

wartstew 2008-07-07 01:16

Re: Mapping N810 as drive on Windows?
 
NFS - Yes I noticed the portmap daemon on the N810 I just didn't know if it had a complete NFS server on it and haven't tried to access it that way. Maybe I should.

Probably what happened with ssh was that there is this business of public keys that have to be generated on both sides. I expect one of them weren't generated until things were rebooted. The thing to note is that this can happen again, or worse it gets out of sync with what the other side expects it to be (like if you rebuild the service on the PC for example), when this happens, you get all kind of warnings and worse case you have delete the "known_hosts" file to start over.

bunanson 2008-07-07 01:28

Re: Mapping N810 as drive on Windows?
 
If file transfer is the purpose, just use file manager. On your pc, put a drive to share. The shared drive will show up on your tablet as share folders, MOST of the time, NOT all the time.


bun

wartstew 2008-07-07 01:42

Re: Mapping N810 as drive on Windows?
 
Quote:

Originally Posted by bunanson (Post 200040)
If file transfer is the purpose, just use file manager. On your pc, put a drive to share. The shared drive will show up on your tablet as share folders, MOST of the time, NOT all the time.

Sure, you can do this, but the idea was to command everything from the PC. Let's face it, with a full sized screen and keyboard, when you have an NIT sitting next to a PC which would you rather use?

bunanson 2008-07-07 19:12

Re: Mapping N810 as drive on Windows?
 
Well, again, as I put in the prefix, "If file transfer is the purpose,..." I would tap on the tablet as my tablet has touch screen while average PC does not.

If you want to use the PC sreen/kbd to work on the tablet is a different issue.

bun

allnameswereout 2008-07-07 23:58

Re: Mapping N810 as drive on Windows?
 
[QUOTE=wartstew;200037]NFS - Yes I noticed the portmap daemon on the N810 I just didn't know if it had a complete NFS server on it and haven't tried to access it that way. Maybe I should.[/url]

You're right, there is no NFS server for the NIT.

However, here are two userspace implementations from Debian Lenny:
http://packages.debian.org/lenny/unfs3
http://packages.debian.org/lenny/nfs-user-server

Notice both are ported to armel, and light & relaxed regarding dependancies. Hence, theres quite some chance they'll work but I haven't tried it.

Theres also a kernel-based NFS server but it has much more dependancies.
http://packages.debian.org/lenny/nfs-kernel-server

The other way around (the NIT mounting Windows over SSH) works btw: use copSSH or cygwin-sshd to run SSH server on NIT. Then mount the filesystem using FUSE & SSHFS on the NIT. Just saying.

I found some more alternatives for you via Google (see here) but a quick glanced told me they're either not in Windows Explorer, or they're proprietary.

FWIW, I use this: fileserver running SSH, CIFS (SMB), and NFS (disabled for now). Then I use whatever I prefer. On the NIT e.g. scp command (part of OpenSSH) or SSHFS. To access the NIT i either SSH to it, and from there I can also use copy/paste easily and scp command or SSHFS to/from the fileserver. I even have some authorized keys setup, so whereever I am on the world, I can always copy easily & safely to/from my fileserver, log in to it, or mount the fileserver. Only problem is when my NIT is stolen...

wartstew 2008-07-08 02:43

Re: Mapping N810 as drive on Windows?
 
Thanks for the great overview.

Although I have the same thing, I'm sure others will be interested in these options.

I'm not up to speed on FUSE, can you point me to a document on using it from an NIT users point of view? Last time I messed around with it I ended up with a PC that would hang during bootup until I disabled it. I never got around to playing with it after that but I guess I should if not for the userspace NTFS support alone.

allnameswereout 2008-07-10 12:39

Re: Mapping N810 as drive on Windows?
 
sshfs is in extras of diablo, you can install it and it will install the fuse dependancies as well. Then, as user or root, you can use sshfs to mount a remote SSH server. Just type sshfs, and you'll see the available options. It worked great here, on the N810.

pwsn 2008-07-12 22:53

Re: Mapping N810 as drive on Windows?
 
any downside to running the ssh server all the time?
i think i may have noticed shorter battery life. but then again it could be one of the other dozen problems with battery life.

wartstew 2008-07-13 03:07

Re: Mapping N810 as drive on Windows?
 
It takes about 3.4 megs of memory which isn't very much, but some.

It also is a potential security risk since it provides remote access. If this is a concern, make sure you audit all the user accounts.


All times are GMT. The time now is 16:48.

vBulletin® Version 3.8.8