From mboxrd@z Thu Jan 1 00:00:00 1970 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Your message of "Tue, 28 Dec 2010 12:41:09 EST." References: <20101225194105.4D5425B42@mail.bitblocks.com> From: Bakul Shah Date: Tue, 28 Dec 2010 10:39:37 -0800 Message-Id: <20101228183937.E04105B5A@mail.bitblocks.com> Subject: Re: [9fans] ape sockets and plan9 Topicbox-Message-UUID: 8e8a7b1e-ead6-11e9-9d60-3106f5b1d025 On Tue, 28 Dec 2010 12:41:09 EST "Devon H. O'Dell" wrote: > 2010/12/28 erik quanstrom : > >> On Sun, Dec 26, 2010 at 3:41 AM, Bakul Shah > wrote: > >> > On Sat, 25 Dec 2010 17:04:01 GMT "Steve Simon" > wrote: > >> >> I think this is an artifact of 9vx (not 100% sure though), > >> > > >> > Indeed. Programs under 9vx can make outgoing connections but > >> > can't accept incoming ones because it doesn't really create a > >> > virtual machine -- 9vx makes the connections on behalf of the > > > > that's wrong. 9vx can accept connections. The original didn't. The version @ hg.pdos.csail.mit.edu still doesn't. If you use Ron's repo you don't get the ether device by default. It is confusing to have different versions sharing the same name. It would be better if this branch of 9vx is either renamed or merged with Russ's. > >> > program. IIRC there was some additional code to add a proper > >> > ethernet device (via tap or pcap filtering) but I've never > >> > played with it. This program works under p9/qemu because > > > > devon o'dell and i did this. this gives 9vx a full networking > > stack, but it generally requires running as root. > > yiyus extended this functionality as part of his SoC project last year > and it's working quite nicely and cross-platform. I'm pretty sure the > code is available in both his and Ron's hg repos of 9vx. Are there instructions on how to use this? 9vx/README (the closest thing to a 9vx manpage) doesn't mention or describe how to use the new options. Original: usage: 9vx [-gt] [-r root] [-u user] yiyus: usage: 9vx [-gt] [-f inifile | inifields ... ] [-i initarg] [-r localroot] [-u user] Most people would need additional instructions on how to set things up on their host machine to use this feature.