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 <n...@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 via email to