Show HN: JS-emulated Linux with network support, everyone on one subnet
jor1k.widgetry.org
jor1k.widgetry.org
Edit: If this looks familiar, this is the jor1k OpenRISC emulator which Sebastian Macke built and submitted around a month ago. Most of the credit for this still goes to him. I just added the emulated ethernet controller, as well as the network backend (virtual switch/router) which acts as the LAN on which the demo is running.
For more info, I've written a blog post here: http://www.benjamincburns.com/2013/11/10/jor1k-ethmac-suppor...
Oh man, I am real nerd.
Part of the problem is that the backend wasn't really the focus for this, so I kind of just hacked it together. It hasn't been standing up as well to the constant churning load as I thought it would. In the future I intend to remove VDE2, and do all of the switching in my websocket server with the aid of something like rabbitmq. I may also decide to write it all in go instead of Python as well.
I run ifconfig and don't see any IP having been assigned--and we don't seem to have dhclient installed
I was going to host a webpage using netcat:
:)
NOTE:
Ack, is not responding to ping anymore... :(
while true; do nc -l -p 80 < hello.html; done
Will suddenly cause ping not to work.I suspect this is some weirdness in the driver or backplane?
Also I'd obviously really prefer to not have a bunch of broadcast traffic.
Unicast ping doesn't work here either. Are there too many people connected right now?
Right now there are about 100 hosts connected, but a minute ago there were about 140. It ebbs and flows. More ebb at the moment since I think we're no longer on the front page.
Prepare for liftoff.