Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-29 Thread Nils M Holm
On 2015-06-27T22:24:50+0200, Nils M Holm wrote: On 2015-06-27T11:54:58+0200, David du Colombier wrote: I'm using version 0.12, from here: https://swtch.com/9vx/ This is a pretty old version (2009), which have known issues. Later, Yiyus and Ron Minnich made a lot of improvements. I

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-27 Thread David du Colombier
What version of 9vx are you using? I'm using version 0.12, from here: https://swtch.com/9vx/ This is a pretty old version (2009), which have known issues. Later, Yiyus and Ron Minnich made a lot of improvements. I would recommend you to use this repository: https://github.com/0intro/vx32 --

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-27 Thread Nils M Holm
On 2015-06-26T12:00:36+0200, David du Colombier wrote: This was my first choice but, unfortunately, 9vx crashes on my machine as soon as I try to do something interesting, e.g. compile a program with 8c. What version of 9vx are you using? I'm using version 0.12, from here:

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-27 Thread Nils M Holm
On 2015-06-27T11:54:58+0200, David du Colombier wrote: I'm using version 0.12, from here: https://swtch.com/9vx/ This is a pretty old version (2009), which have known issues. Later, Yiyus and Ron Minnich made a lot of improvements. I would recommend you to use this repository:

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Nils M Holm
On 2015-06-26T10:22:14+0200, Nils M Holm wrote: Looks like ftpfs and ftpd cannot agree on a port for passive mode: Of course, here's the problem: PASV 227 Entering passive mode (127,0,0,1,212,96) ^ passive mode connect to /net/tcp!127.0.0.1!54368 failed:

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Nils M Holm
On 2015-06-25T13:16:53-0700, Bakul Shah wrote: On Thu, 25 Jun 2015 21:51:49 +0200 Nils M Holm n...@t3x.org wrote: My guess is ftpfs requires active mode connection (but should be easy to change). Looking at the ftpfs sources, I see that it should do passive mode fine. You should debug!

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Mark van Atten
Admittedly not exactly the same thing, but still: 9vx works very well on FreeBSD, and gives immediate access to the host's files. Mark.

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Bakul Shah
On Fri, 26 Jun 2015 10:29:29 +0200 Nils M Holm n...@t3x.org wrote: On 2015-06-26T10:22:14+0200, Nils M Holm wrote: Looks like ftpfs and ftpd cannot agree on a port for passive mode: Of course, here's the problem: PASV 227 Entering passive mode (127,0,0,1,212,96)

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread fgergo
thanks, to Charles , u9fs is still always an option for me. On Jun 26, 2015 11:43 AM, Nils M Holm n...@t3x.org wrote: On 2015-06-26T01:52:25-0700, Bakul Shah wrote: I just tried this on an old qemu plan9 image. I tried connecting to the hosts' external address, not 10.0.2.2 and it all

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Nils M Holm
On 2015-06-26T01:52:25-0700, Bakul Shah wrote: I just tried this on an old qemu plan9 image. I tried connecting to the hosts' external address, not 10.0.2.2 and it all worked. Works. Didn't know that was possible. Thanks! -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread David du Colombier
This was my first choice but, unfortunately, 9vx crashes on my machine as soon as I try to do something interesting, e.g. compile a program with 8c. What version of 9vx are you using? -- David du Colombier

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Nils M Holm
On 2015-06-25T19:25:36+0200, Nils M Holm wrote: When logging in via ftpfs, though, I get an empty /n/ftp directory. Turns out that ftpd on FreeBSD announces a port on localhost for passive mode connections: 227 Entering Passive Mode (127,0,0,1,247,55) If I understand QEMU user networking

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Nils M Holm
On 2015-06-26T10:24:45+0200, Mark van Atten wrote: Admittedly not exactly the same thing, but still: 9vx works very well on FreeBSD, and gives immediate access to the host's files. This was my first choice but, unfortunately, 9vx crashes on my machine as soon as I try to do something

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Nils M Holm
On 2015-06-25T13:16:53-0700, Bakul Shah wrote: On Thu, 25 Jun 2015 21:51:49 +0200 Nils M Holm n...@t3x.org wrote: My guess is ftpfs requires active mode connection (but should be easy to change). Looking at the ftpfs sources, I see that it should do passive mode fine. You should debug!

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Nils M Holm
On 2015-06-25T13:09:00-0500, Ryan Gonzalez wrote: FYI, for what it's worth, I usually use SSH to sync files between my Linux laptop and my Plan 9 VM. Thanks for the suggestion! Care to give me a short introduction to ssh on Plan 9? I normally avoid ssh like the plague, so I assume I know

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Bakul Shah
On Thu, 25 Jun 2015 21:51:49 +0200 Nils M Holm n...@t3x.org wrote: My guess is ftpfs requires active mode connection (but should be easy to change). Looking at the ftpfs sources, I see that it should do passive mode fine. You should debug!

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Nils M Holm
On 2015-06-25T11:28:12-0700, Bakul Shah wrote: On Thu, 25 Jun 2015 19:25:36 +0200 Nils M Holm n...@t3x.org 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

[9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Nils M Holm
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

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Bakul Shah
On Thu, 25 Jun 2015 19:25:36 +0200 Nils M Holm n...@t3x.org 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

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Ryan Gonzalez
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!

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Steve Simon
ftpfs works fine for me. I tried it against ftp.sunet.se, username=anaonymous, password=your-email-a...@domain.dom and /n/ftp contains stuff. Its worth realising ftpfs gets its directory listing by parsing the output of the ls command in the ftp protocol, so it has

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-25 Thread Ryan Gonzalez
On Thu, Jun 25, 2015 at 2:57 PM, Nils M Holm n...@t3x.org wrote: On 2015-06-25T13:09:00-0500, Ryan Gonzalez wrote: FYI, for what it's worth, I usually use SSH to sync files between my Linux laptop and my Plan 9 VM. Thanks for the suggestion! Care to give me a short introduction to ssh on