maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Howto Work with N900 as a Drive Letter in Windows (https://talk.maemo.org/showthread.php?t=47888)

RAZOR 2010-07-31 23:05

Re: Howto Work with N900 as a Drive Letter in Windows
 
NetDrive isn't working for me, it doesn't even start, gives me compatibility error, using windows 7 32 bit.

Any ideas?

RAZOR 2010-08-02 12:35

Re: Howto Work with N900 as a Drive Letter in Windows
 
Anyone ? :/

ConsultPlus 2010-08-03 00:32

Re: Howto Work with N900 as a Drive Letter in Windows
 
I only can acknowledge it works OK with Vista ...

Mr_Ryde 2010-09-02 10:50

Re: Howto Work with N900 as a Drive Letter in Windows
 
This used to work for me a while ago but not all I get is three folders called
.config
.gnome2
.pulse

If i try and connect as USER then I get a bunch but not the .home / .user or anything

Any ideas people?

Drekkie 2010-09-10 14:22

Re: Howto Work with N900 as a Drive Letter in Windows
 
Quote:

Originally Posted by Mr_Ryde (Post 805079)
This used to work for me a while ago but not all I get is three folders called
.config
.gnome2
.pulse

If i try and connect as USER then I get a bunch but not the .home / .user or anything

Any ideas people?

I have the same problem, and the connection is very slow the one time I got it to connect as root. user times out for me though. I've tried Winscp Filezilla and Netdrive, so I've probably missed something.

Of course if I open a ssh session locally in the n900 xterm, both users work fine so it seems to be related to connecting from a remote host.

ThePooBurner 2010-09-11 02:04

Re: Howto Work with N900 as a Drive Letter in Windows
 
Quote:

Originally Posted by Mr_Ryde (Post 805079)
This used to work for me a while ago but not all I get is three folders called
.config
.gnome2
.pulse

If i try and connect as USER then I get a bunch but not the .home / .user or anything

Any ideas people?

I have this same issue. I don't have it when i log in with putty.

Pigro 2010-09-16 23:21

Re: Howto Work with N900 as a Drive Letter in Windows
 
I just had a look at this. Confirmed that netdrive (when connecting to root) now exposes /root only. If you connect as user (1st you need to enable user account login & set a password) it then exposes (mounts) /home/user.

TBH I think that is what SHOULD happen, and that the previous behaviour (IIRC, the whole N900 filesystem from / down was exposed) was probably a bug/mistake/oversight. My guess is that they made the schoolboy error of mounting / (the N900 root directory) instead of /root (the root usrs home directory) and they've fixed that oversight in a recent software upgrade?

Remember, Netdrive is giving a windows graphical view for the user essentially by mounting the home directory of the supplied user over ssh for FTP operations. FTP *should* only allow you to access your own home directory downward.

Obviously you don't get it with putty as that's a full ssh (secure shell) and you can wander through the whole filesystem. Anyway, it's easily fixed by setting up your N900 user account to permit it to login (strongly reccomend not doing so until you have set public key authentication and disabled password login on ssh though).

les_garten 2010-09-17 00:02

Re: Howto Work with N900 as a Drive Letter in Windows
 
Quote:

Originally Posted by Pigro (Post 818452)
I just had a look at this. Confirmed that netdrive (when connecting to root) now exposes /root only. If you connect as user (1st you need to enable user account login & set a password) it then exposes (mounts) /home/user.

TBH I think that is what SHOULD happen, and that the previous behaviour (IIRC, the whole N900 filesystem from / down was exposed) was probably a bug/mistake/oversight. My guess is that they made the schoolboy error of mounting / (the N900 root directory) instead of /root (the root usrs home directory) and they've fixed that oversight in a recent software upgrade?

Remember, Netdrive is giving a windows graphical view for the user essentially by mounting the home directory of the supplied user over ssh for FTP operations. FTP *should* only allow you to access your own home directory downward.

Obviously you don't get it with putty as that's a full ssh (secure shell) and you can wander through the whole filesystem. Anyway, it's easily fixed by setting up your N900 user account to permit it to login (strongly reccomend not doing so until you have set public key authentication and disabled password login on ssh though).

No misakes here

If you login as "root" you see all of the filesystem and login by default to the root directory, which is the users dir for root.

If you login as "user", you get different permissions and login to /home/user which is the home dir for "user".

Nothing tricky going on here, no mistakes

YoDude 2010-09-17 00:42

Re: Howto Work with N900 as a Drive Letter in Windows
 
2 Attachment(s)
Quote:

Originally Posted by les_garten (Post 818483)
No misakes here

If you login as "root" you see all of the filesystem and login by default to the root directory, which is the users dir for root.

If you login as "user", you get different permissions and login to /home/user which is the home dir for "user".

Nothing tricky going on here, no mistakes

Yup.....

(at least 10 characters)

Pigro 2010-09-17 09:32

Re: Howto Work with N900 as a Drive Letter in Windows
 
@les_garden
are you sure you are talking about netDrive (not WebDrive)? If so, what version of NetDrive are you running (I have auto-update enabled & it's gone through a lot of upgrades in the last couple of months, it's now at 1.2.0.2). It would be strange if you are running the same version of NetDrive as (at least) 4 other N900 owners here and not experiencing a change that they've all seen recently.

@YoDude:
the screenshots you posted are nothing really to do with the problem being discussed (ExpanDrive != NetDrive).You may have full access to the N900 filesystem (just as NetDrive used to offer) - but you're accessing it from a totally diferent product unless I've misinterpreted your screenshots?

@users with the netDrive problem (assuming you are on > v1.8.0.15)
as you can see there are several different bits of software that have all been mentioned in this thread & people are all now using diferent versions of each software. If the current netDrive no longer does what you need, you could switch to one of the non-free options reccomended by les_garten/YoDude etc. or you could try installing an older version of netDrive from http://www.netdrive.net/Old_release/...etup-10815.exe. That version is the one originally referenced in the setup instructions at the start of this thread, and it appears that the many versions released in quick succession thereafter (trying to address x64 issues) were bug riddled. 1.2.0.2 is apparently stable, but seems to have the different mount points as described in your problem posts.

caveat: I hardly ever use netDrive, and it's current behaviour is fine for me (I can access /home/user which has all the fles/folders I'd ever dream of messing with via a windows GUI, if I want to do anything outwith there, I'll open puTTYor jsut run ssh or scp direct from a DOS prompt). I found issues with the older (1.8.0.15) version in it's handling of file/folder names with embedded spaces & I haven't tested to see whether that's fixed in 1.2.0.2, so if you do decide to roll back to that version, bear that in mind. I also don't KNOW that a roll back will fix your problem, I just suspect so based on observation.

I'll bow out now, netDrive ain't worth the effort of all these long posts :)

phertiker 2010-11-09 21:34

Re: Howto Work with N900 as a Drive Letter in Windows
 
Dokan is free and open-source:

http://dokan-dev.net/en/

There is an SSHFS module, but make sure you download the small zip containing updated binaries if you use the .5x Dokan library (which you will I'm sure).

I'm using it now and it works perfectly (a bit slowly, but whatever). It doesn't have any sort of logic built in to reconnect automatically or anything, but the price is just right for us cheapo's who like our source's open.

ME2g 2011-04-21 14:56

Re: Howto Work with N900 as a Drive Letter in Windows
 
Quote:

Originally Posted by Pigro (Post 589615)
word of warning on NetDrive - I've found that it doesn't handle files/folders on WinXP with embedded spaces in the name very well - eg a folder "A test folder" containing "test file 1.txt" and "test_file_2.txt" on XP.

If I drag & drop that folder to n900 using the netDrive N: mapping I get the XP graphic for copy in progress but the netDrive pops up a message from the system tray saying "remote file not found". The copy operation on XP appears to complete (I end up with a folder "test folder" highlighted on the n900 window) - but if I refresh that window, the folder now shows just as "test" and has no contents in it.
[...]

It is an older thread but I did not find any answer, FAQ or similar,
so I answer to this posting.

There are certain differences in the two OSes (Windows and Linux)
regarding certain characters in file and directory names.
See:
http://en.wikipedia.org/wiki/Filename

Spaces in filenames or directories in Windows are a nightmare for
Linux users as you have to do a
ls -l With\ spaces\ in\ filename.txt
on a Linux filesystem.

Many people that are working on Windows and Linux filesystems, use the underscore instead to avoid problems:
ls -l We_do_not_need_spaces_in_filenames.txt

See also file naming conventions like:
http://www.mysysad.com/2007/03/chara...-filename.html

ammyt 2012-01-06 12:13

Re: Howto Work with N900 as a Drive Letter in Windows
 
The netdrive link from post #1 is broken :(


All times are GMT. The time now is 15:50.

vBulletin® Version 3.8.8