From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nils M Holm" Date: Thu, 25 Jun 2015 21:51:49 +0200 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20150625195149.GA2779@ananda.local> References: <20150625172536.GA1214@ananda.local> <20150625182812.9A0E9B827@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150625182812.9A0E9B827@mail.bitblocks.com> Subject: Re: [9fans] ftpfs shows empty /n/ftp after login Topicbox-Message-UUID: 5b3617f2-ead9-11e9-9d60-3106f5b1d025 On 2015-06-25T11:28:12-0700, Bakul Shah wrote: > On Thu, 25 Jun 2015 19:25:36 +0200 "Nils M Holm" 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