Re: [MirageOS-devel] Problems with Step 4 of Hello World

2015-07-11 Thread Richard Mortier
I think updates need to be made to those docs, at least for stackv4. It seems that when conduit came in, and HTTP was supported differently, the "hello" part of that example was removed, leaving only the console echo service. At present, if you type into the telnet session, you should see output o

Re: [MirageOS-devel] Problems with Step 4 of Hello World

2015-07-11 Thread Carl Dong
So... I've managed to get some things working... Just to summarize, with no ifconfigs, after I do `sudo ./mir-stackv4`, `telnet localhost 8080` does not give me "hello!" as described in the docs, it says "Unable to connect to remote host: Connection refused". If I then do `sudo ifconfig tap0 10.0.0

Re: [MirageOS-devel] Problems with Step 4 of Hello World

2015-07-11 Thread Richard Mortier
Oops :( I don't have an Ubuntu box to hand right now unfortunately. Does the "ping" command suggested on the instructions page show anything? Usual way to start debugging this is to look at the output of `ifconfig` and `route` to see how the interface has been named, what address it has, and wheth

Re: [MirageOS-devel] Problems with Step 4 of Hello World

2015-07-11 Thread Carl Dong
Tried. Does not help :-( Carl Dong dongc...@fastmail.com "I fight for the users" On Sat, Jul 11, 2015, at 11:06 AM, Thomas Gazagnaire wrote: > Hi Carl, > > Not sure if that helps, but you need to run the `ifconfig`[1] command > every time you run the `./mir-stackv4` command. > > Best, > Thomas

Re: [MirageOS-devel] Problems with Step 4 of Hello World

2015-07-11 Thread Richard Mortier
On 11 July 2015 at 19:06, Thomas Gazagnaire wrote: > > Not sure if that helps, but you need to run the `ifconfig`[1] command every > time you run the `./mir-stackv4` command. > (For completeness: only if you're using the Mirage "direct" network stack on UNIX, rather than the "socket" stack.) --

Re: [MirageOS-devel] Problems with Step 4 of Hello World

2015-07-11 Thread Thomas Gazagnaire
Hi Carl, Not sure if that helps, but you need to run the `ifconfig`[1] command every time you run the `./mir-stackv4` command. Best, Thomas [1]: sudo ifconfig tap0 10.0.0.1 netmask 255.255.255.0 > On 11 Jul 2015, at 18:46, Carl Dong wrote: > > Hi all, > > A big fan of your work trying to

[MirageOS-devel] Problems with Step 4 of Hello World

2015-07-11 Thread Carl Dong
Hi all, A big fan of your work trying to get started learning. I was following along https://mirage.io/wiki/hello-world With a fresh install of Ubuntu 14.04 and only mirage installed under opam On step four of the tutorial (the one on stackv4), after I ran `sudo ./mir-stackv4`, I got http://paste