9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ryan Gonzalez <rymg19@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>,
	Nils M Holm <nmh@t3x.org>,
	Fans of the Plan 9 OS <9fans@9fans.net>
Subject: Re: [9fans] ftpfs shows empty /n/ftp after login
Date: Thu, 25 Jun 2015 13:09:00 -0500	[thread overview]
Message-ID: <2F9FCF30-9F90-4553-82D9-D43BEADF4CBE@gmail.com> (raw)
In-Reply-To: <20150625172536.GA1214@ananda.local>

FYI, for what it's worth, I usually use SSH to sync files between my Linux laptop and my Plan 9 VM.

Also, last time I tried, VirtualBox was a bit faster in emulating Plan 9 than QEMU, especially without KVM.


On June 25, 2015 12:25:36 PM CDT, Nils M Holm <nmh@t3x.org> wrote:
>
>Hello everybody!
>
>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.
>
>This is how far I got:
>
>My FreeBSD machine runs inetd and logging in to my FTP account
>via localhost works fine and shows my home directory.
>
>I'm using QEMU 2.2.1 (i386 emulation, no kqemu). This is what I do:
>
>$ qemu -hda Plan9.qcow 
>
>[ network card is being detected ]
>[ log in as glenda ]
>[ rio starts up ]
>
>term% ip/ipconfig
>term% ndb/dns -r
>term% ftpfs 10.0.2.2
>220 ananda.local FTP server (Version 6.00LS) ready
>!Adding key: proto=pass server=10.0.2.2 service=ftp
>user[glenda]: nmh
>password: <super-secret-password>
>!
>331 Password required for nmh.
>230 User nmh logged in.
>215 UNIX Type: L8 Version: BSD-199506
>257 "/u/home/nmh" is current directory.
>%term
>
>And then it gets weird, I think:
>
>term% ls -l /n/ftp
>[ there should be lots of files here ]
>term%
>
>The logfile on my FreeBSD machine says:
>
>| Jun 25 19:16:16 ananda ftpd[1316]: connection from localhost
>(127.0.0.1)
>| Jun 25 19:17:35 ananda ftpd[1316]: FTP LOGIN FROM localhost as nmh
>
>and nothing more.
>
>"ns | grep ftp" says "mount -c '#|/data1' /n/ftp"
>
>Does anyone have any idea about what's going on here or how to debug?
>It's been a while and my Plan-9-fu is quite rusty.
>
>Thanks,
>Nils

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



  reply	other threads:[~2015-06-25 18:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-25 17:25 Nils M Holm
2015-06-25 18:09 ` Ryan Gonzalez [this message]
2015-06-25 19:57   ` Nils M Holm
2015-06-25 22:01     ` Ryan Gonzalez
2015-06-25 18:28 ` Bakul Shah
2015-06-25 19:51   ` Nils M Holm
2015-06-25 20:16     ` Bakul Shah
2015-06-25 20:29       ` Nils M Holm
2015-06-26  8:22       ` Nils M Holm
2015-06-26  8:24         ` Mark van Atten
2015-06-26  9:32           ` Nils M Holm
2015-06-26 10:00             ` David du Colombier
2015-06-27  9:11               ` Nils M Holm
2015-06-27  9:54                 ` David du Colombier
2015-06-27 20:24                   ` Nils M Holm
2015-06-29 18:04                     ` Nils M Holm
2015-06-26  8:29         ` Nils M Holm
2015-06-26  8:52           ` Bakul Shah
2015-06-26  9:44             ` Nils M Holm
2015-06-26 13:57               ` fgergo
2015-06-25 19:00 ` Steve Simon
2015-06-26  9:41 ` Nils M Holm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2F9FCF30-9F90-4553-82D9-D43BEADF4CBE@gmail.com \
    --to=rymg19@gmail.com \
    --cc=9fans@9fans.net \
    --cc=nmh@t3x.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).