On 2015-06-25T11:28:12-0700, Bakul Shah wrote:
> On Thu, 25 Jun 2015 19:25:36 +0200 "Nils M Holm" <[email protected]> wrote:
> > 
> > Came back to Plan 9 recently, and I'm running into some trouble.
> > I'm running Plan 9 on QEMU and wanted to use ftpfs to exchange
> > data with my FreeBSD system.
> > 
> > When logging in via ftpfs, though, I get an empty /n/ftp directory.
> 
> My guess: you are using qemu's networking and can only make
> outgoing connections but not accept incoming connections and

Yes, that's probably it!

So I either go through the trouble of setting up a tap network or
I find a different means of transfering files. I seem to remember
that tap caused me a lot of trouble once, so I'd prefer some
different method.

> My guess is ftpfs requires active
> mode connection (but should be easy to change).

But then it would still attempt to open a connection to the QEMU
user network, wouldn't it?

> In any case, here are some debugging ideas: Try tcpdump on
> freebsd or the qemu host? Are you ftping to the qemu host
> machine or another?  Does 9fs sources works? There is also
> ratrace (sort of like strace) - pick up my modifications from
> sources/contrib/bakul/cmd as it separates trace output from
> normal output.

Thanks! Will back get back to that later. For now, getting some
sort of file trabsfer to work has priority, and FTP does not seem
to work with QEMU user networking anyway.

-- 
Nils M Holm  < n m h @ t 3 x . o r g >  www.t3x.org

Reply via email to