9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9vx w/ tun/tap on OS X?
@ 2011-05-18 21:49 Anthony Sorace
  2011-05-18 22:50 ` Bakul Shah
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Sorace @ 2011-05-18 21:49 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

has anyone gotten this working? i've got the
3rd-party tun/tap kexts installed (i believe; the
devices show up in /dev), but 9vx is unhappy.
my config file contains:

	ether0=type=tap dev=/dev/tap0

9vx complains with:

	9vx panic: fd 5 read -1

(when running as superuser, which i believe is
needed with the tun/tap on OS X; as a regular
user i get:

	tap: open failed with: 13
	ve: tap failed to initialize
)

anyone gotten this going on OS X? tips?

a


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 210 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] 9vx w/ tun/tap on OS X?
  2011-05-18 21:49 [9fans] 9vx w/ tun/tap on OS X? Anthony Sorace
@ 2011-05-18 22:50 ` Bakul Shah
  0 siblings, 0 replies; 2+ messages in thread
From: Bakul Shah @ 2011-05-18 22:50 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Wed, 18 May 2011 17:49:56 EDT Anthony Sorace <a@9srv.net>  wrote:
> This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
> --Apple-Mail-4-1030682487
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain; charset=us-ascii
>
> has anyone gotten this working? i've got the
> 3rd-party tun/tap kexts installed (i believe; the
> devices show up in /dev), but 9vx is unhappy.
> my config file contains:
>
> 	ether0=type=tap dev=/dev/tap0
>
> 9vx complains with:
>
> 	9vx panic: fd 5 read -1

What is the errno? AFAIK,
1) you must do `ifconfig tap0 up'
2) you must read an entire packet (big enough buffer).



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-18 22:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-18 21:49 [9fans] 9vx w/ tun/tap on OS X? Anthony Sorace
2011-05-18 22:50 ` Bakul Shah

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).