[Commotion-dev] virtualbox and commotion

Ben West me at benwest.name
Mon Jul 16 00:35:10 UTC 2012


I added a section to Sean's VirtualBox/Commotion writeup, with a rough
draft on options for using VirtualBox to simulate multiple nodes on a mesh.

https://code.commotionwireless.net/projects/commotion/wiki/Virtual-Box

My understanding is that VirtualBox will let you create internal networks
b/w VMs under the same host, which could be used to simulate the mesh,
public APs, and private APs?  All such networks, however, would operate as
logical wired networks, but possibly this is still useful to test out
things like UI or captive portals w/o endless re-flashing of physical nodes.

This would require tweaking meshconfig to properly deploy network config on
a virtual OpenWRT node.

Furthermore, maybe one could create a 3-node virtual mesh of OpenWRT nodes,
and then add a 4th VM running Windows/Ubuntu to simulate a client
connection?

A final interesting detail is the mac80211 hwsim module, which lets you
simulate wireless interfaces (albeit with perfect RSSI).  Such virtual
wireless interfaces will accept the same configuration commands as actual
radios, and I am curious if clever use of the loopback module, bridging, or
hwsim's monitoring netdev could even let one pass packets between separate
VMs.
http://linuxwireless.org/en/users/Drivers/mac80211_hwsim

On Wed, May 23, 2012 at 9:13 PM, Sean McIntyre <boxysean at gmail.com> wrote:

> Hey folks,
>
> Wrote up my experiences setting up VirtualBox with Commotion today.
>
> http://blog.boxysean.com/2012/05/23/virtualbox-and-commotion-openwrt/
>
> Maybe this should go on the wiki, too. Perhaps on a new page here?
> <
> https://code.commotionwireless.net/projects/commotion/wiki/Development_Notes
> >
>
> Sean
>
> _______________________________________________
> Commotion-dev mailing list
> Commotion-dev at lists.chambana.net
> http://lists.chambana.net/mailman/listinfo/commotion-dev
>
>


-- 
Ben West
me at benwest.name
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-dev/attachments/20120715/a17b7a08/attachment.html>


More information about the Commotion-dev mailing list