Close

Decentralized Infrastructure

A project log for Metaverse Lab

Experiments with Decentralized VR/AR Infrastructure, Neural Networks, and 3D Internet.

alusionalusion 04/22/2015 at 05:230 Comments

I first setup a Janus Server inside of a virtual machine on one of my laptops. I downloaded a netinstall of Debian Jessie and on it I installed git, tmux, and nodejs for the server. In network settings, I bridged the wifi adapter to the card connected to my PirateBox wifi. When you run the command 'ip a' in a terminal, you should see a 192.168.X.X IP address associated with the PirateBox.

I have two laptops connected to the PirateBox access point between them (the usb is just for power). The DHCP server assigns an IP address for each PC. When I started janus, I make sure to point to the Janus Server I setup earlier by launching with

/janusvr -server 192.168.1.144
That was just my server's IP, yours might vary. The same rule applies to windows as well. You may also add it to the room html.

You'll automatically default into the piratebox.lan homepage where you can chat / upload & browse files / access the imageboard. I have all the files uploaded to the PirateBox already, so I just need to open a portal to where the html file is.

The room loaded up very fast since everything is running locally.

We can see here that the client is connected to our Janus Server in green

The server log is showing that our clients successfully connected. We can see each other, in 3D -- over a WiFi hotspot!!

Just think about that for a moment, we're inside that nano router in a shared immersive 3D environment. By design we are not connected to the world wide web; this is our personal and private VR world! There's lots we can do here, share content -- talk -- and even collaborate! I tested to see if I could tunnel into my Linux computer from inside the private world. Works.

The same setup works just as well with an android phone using the PirateBox app and Rasberry Pi. I'm currently compiling node.js from source on my Raspberry Pi and setting up a Janus Server so that the entire system is self contained. I'll create an image for others to download when I have it working. I envision the backbone for the 3D internet to be run on cheap consumer hardware and open software. The next logical step for me is to get the devices to talk to each other in an ad-hoc configuration. Wireless mesh networks, an emerging technology, may bring the dream of a seamlessly connected world into reality.

http://piratebox.aod-rpg.de/dokuwiki/doku.php/mesh/introduction

The current implemented mesh protocol for PirateBox is BATMAN-advanced. CJDNS can't have broadcasting support but it's worth taking a look at. The newer wr703n travel routers aren't supported anymore for the new mesh features (TP-Link changed the webui and upgrade process). The hardware recommended to use is the gl-inet:

http://wiki.openwrt.org/toh/gl-inet/gl-inet

This openWRT router is sold on ebay and Amazon and can be modded with an external antenna as well

The testing image with the mesh features can be found here then you just follow the normal upgrade process here.

These devices will become the gateways into the virtual 3D reconstruction of reality. The Internet of Things meets VR.

Discussions