Just providing an update.

I added FUSE support into my kernel (by building and loading a
module), and I was able to use httpfs (http://httpfs.sourceforge.net/)
to mount an http file via FUSE.

However, I still get the same error with sshfs. So I've pretty much
isolated this to an error with the ssh layer.

I have successfully validated what I was looking for (basic FUSE
functionality on Android), and don't need this to work from a straight
command-line console app (since this is going to be part of an android
service), but I would like to figure out why this isn't working, and
see whether I can fix it. If anyone has thoughts on how this can be
fixed, please let me know.

On Dec 13, 2:11 pm, Dana L <[email protected]> wrote:
> On Dec 13, 12:22 pm, Chris Stratton <[email protected]> wrote:> On Dec 13, 
> 2:12 pm, Dana L <[email protected]> wrote:
>
> > > I'm trying to run sshfs on Android.
>
> > Does your kernel have the necessary support?
>
> I haven't built support into the kernel yet, although this appears to
> be an SSH error rather than a FUSE error. I think I'm going to take a
> step back and build a simpler FUSE-based program to get FUSE support
> working.
>
>
>
> > > I get the following error:
>
> > > read: Connection reset by peer
>
> > Can you instrument the code to better undestand the nature of the
> > failure?
>
> > > I'm also having trouble getting a command-line ssh client to work (and
> > > I believe it's for similar reasons).
>
> > You might want to attack that problem first, again perhaps by
> > instrumenting the code (or even check for a verbose option on the
> > command line?)
>
> Thanks for the suggestions. Just seeing whether anyone has prior
> experience with this.
>
>
>
> > Also, it might be worth the quick check of using netcat instead of ssh
> > to do a crude telnet connection - if even that won't work, I'd look at
> > network problems.
>
> I can ping the server successfully (using ping). So it isn't a
> connectivity issue.
>
>
>
> > As for the suggestion to move to android-ndk, that may not be wholly
> > on topic either - the long range project probably belongs on kernel or
> > platform.
>
> Doesn't seem like an ndk issue (at least for now). I'm not actually
> using the ndk, because the ndk toolchain lacks the fuse header files.
> Although, after I get the POC working, I might see whether I can
> actually add some files to the ndk toolchain to get this working, and
> build using the NDK build system.
>
> Thanks for the suggestions.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to