[9fans] network support on virtualbox

2013-10-24 Thread Sakis Kasampalis

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there any chance of getting network (IP) support on virtualbox? My
adapter according to lspci is: Ralink corp. RT3090 Wireless 802.11n
1T/1R PCIe

- -- 
Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws.-- Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSaXOiAAoJEFLhfgzPVALku3YP/2R3efCcSCStBotwisCoFB93
1h1OZo6BwBPZnHfxOKI+P8Jr4qW5gyehEngk5wSumPUspxAjlr8KqHQdyVEDLf3Y
e21Tsyyi1nSr1IRHUTrvz41cSMj2+8Lfro/iq0dLkxgfwEYKaw2dQwl2XkE80KtT
Jr5ExVHjA9fwNeuP+ibh4oQ7ivUbYyj0VRUY/Sz/N0avrchL7h0eR4pgUANqmGMD
YRDf5tvWxmSIp0Y3d3VP8hqAuRT/4Zfynt2LiSi3SmKNmZC8aYu5YPHKhWygXpQ5
VoPHWor5tEiEvJSI27yHZBl014C67TpkaX2cf6LscNRNAM7nNvByBWS0+IgmC46R
w6zVrFuszMDxufdtuv3QRM+ta0xXLi7VW56gSK+UtlOIeM0jMTtjyn5WOpuyUtWF
ZzMG9LAP8u6PJ39lereQt4AlRCrgqTdj73NvgRTG/or+Kl7NlUWisP0HZjNr27CI
x3gUiEA+sGrfNM9dyP2y8KNZ6OwFkwJPfSQdEyMFC3J7Q48AoPP04ULCqedqQCqa
DW+JTs1APqQ2Do1hy11fmlCWki4Ztt02lO+0nCEBte2dAQlKA5V82SPWjDyOX9qo
ehI18NhZdwK0L0mIE+RM6wY36aKayKhOcAgr3aeJead2qTyvCm6XkYnBYtcpKGa4
nLfQbH/so9zFuY+2BB+3
=IMps
-END PGP SIGNATURE-





Re: [9fans] network support on virtualbox

2013-10-24 Thread Paul Patience
Selon Sakis Kasampalis s.kasampa...@zoho.com:

 Is there any chance of getting network (IP) support on virtualbox? My
 adapter according to lspci is: Ralink corp. RT3090 Wireless 802.11n
 1T/1R PCIe

9front has a driver for that:

https://plan9front.googlecode.com/hg/sys/src/9/pc/etherrt2860.c

--
pap




Re: [9fans] network support on virtualbox

2013-10-24 Thread erik quanstrom
On Thu Oct 24 16:11:35 EDT 2013, paul-a.patie...@polymtl.ca wrote:
 Selon Sakis Kasampalis s.kasampa...@zoho.com:
 
  Is there any chance of getting network (IP) support on virtualbox? My
  adapter according to lspci is: Ralink corp. RT3090 Wireless 802.11n
  1T/1R PCIe
 
 9front has a driver for that:
 
 https://plan9front.googlecode.com/hg/sys/src/9/pc/etherrt2860.c

one shouldn't need a driver for the *real* hardware on vbox.

- erik



Re: [9fans] network support on virtualbox

2013-10-24 Thread Bakul Shah
On Thu, 24 Oct 2013 21:23:25 +0200 Sakis Kasampalis s.kasampa...@zoho.com 
wrote:
 
 Is there any chance of getting network (IP) support on virtualbox? My
 adapter according to lspci is: Ralink corp. RT3090 Wireless 802.11n
 1T/1R PCIe

[I am ssuming you are running VirtualBox on a linux box
and you want a plan9 VM to have network access]

Adapter type on the host doesn't matter. In VirtualBox
settings-Network menu just enable network adapter. The
easiest thing to do is to choose NAT which has some
limitations (but you can forward some TCP ports if you want
external access to your VM).  You can also bridge to a host
adapter if there is a DHCP server on your network. The
settings that work for me on a macbookpro:
attached to: bridged adapter name: en0: wi-fi(airport)
adapter type: intel pro/1000 mt desktop

You also need to do some configuration on the plan9 side.
There is probably a better way to do this but I just add the
following to /rc/bin/termrc.local
ndb/cs -f $NDBFILE
ip/ipconfig
ndb/dns -r
TIMESYNCARGCS=(-n pool.ntp.org)

Also see
   http://plan9.bell-labs.com/wiki/plan9/Network_configuration/index.html




Re: [9fans] network support on virtualbox

2013-10-24 Thread Mark van Atten
Works like a charm, many thanks for this!
Mark.