<philtom>
Shouldn't ifconfig show me something that has a 10.0.0.2 address?
<philtom>
Anyway, when I do curl http://10.0.0.2 in another shell it just sits there.
<hannes>
no, the linux doesn't know anything about that ip.
<philtom>
ah, ok.
rgrinberg has quit [Ping timeout: 255 seconds]
<hannes>
your routing is most likely incorrect.. route add -host 10.0.0.2 192.168.1.7 on your machine should get you going
<philtom>
ah, that's probably it... I'll give that a try.
<philtom>
Like this? $ sudo route add -host 10.0.0.2 192.168.1.7
<philtom>
I get:
<philtom>
SIOCADDRT: No such device
<philtom>
Need a gw maybe?
<hannes>
philtom: depends on your OS how the syntax of route is
<hannes>
gateway should be the ip of the cubieboard dom0
<philtom>
This is the prebuilt img for cubieboard2
<philtom>
(is it essentially ubuntu 14.04?)
<hannes>
philtom: ah, you try your curl on the cubieboard!?
<philtom>
yes... is that a problem?
<hannes>
philtom: maybe easiest would be to assign a 10.0.0.0/24 IP to the cubieboard dom0 then. or modify main.ml to use 192.168.1.XX instead of 10.0.0.2
<hannes>
for sure, somehow... you might need to read code, though
mort___ has quit [Ping timeout: 255 seconds]
<philtom>
well, it should also be possible to setup a gateway between the 10.0.0.* and the 192.168.1.* as we discussed earlier, maybe I'll try that again as well.
<philtom>
where does one put this "DHCP=1" ?
avsm has quit [Quit: Leaving.]
djs55 has quit [Ping timeout: 260 seconds]
<philtom>
ah, got it, there are changes to the config.ml to use DHCP.
<philtom>
let stack = direct_stackv4_with_dhcp default_console tap0 in
<philtom>
has to become...
<philtom>
let stack = direct_stackv4_with_dhcp default_console tap0 in
<philtom>
That worked great.
djs55 has joined #mirage
chambart has quit [Ping timeout: 240 seconds]
rgrinberg1 has quit [Quit: Leaving.]
rgrinberg has joined #mirage
rgrinberg has quit [Client Quit]
thomasga has quit [Ping timeout: 272 seconds]
philtom has quit [Ping timeout: 260 seconds]
tlockney is now known as tlockney_away
rgrinberg has joined #mirage
rgrinberg has quit [Quit: Leaving.]
dsheets has joined #mirage
hhugo has joined #mirage
rgrinberg has joined #mirage
rgrinberg has quit [Quit: Leaving.]
hhugo has quit [Quit: Leaving.]
tlockney_away is now known as tlockney
hhugo has joined #mirage
chambart has joined #mirage
hhugo has quit [Quit: Leaving.]
andreas has joined #mirage
rgrinberg has joined #mirage
thomasga has joined #mirage
andreas has quit [Quit: Leaving.]
andreas has joined #mirage
rgrinberg has quit [Quit: Leaving.]
thomasga has quit [Client Quit]
philtom has joined #mirage
rgrinberg has joined #mirage
thomasga has joined #mirage
rgrinberg has quit [Quit: Leaving.]
rgrinberg has joined #mirage
dsheets has quit [Ping timeout: 245 seconds]
rgrinberg has quit [Quit: Leaving.]
rgrinberg has joined #mirage
_whitelogger has joined #mirage
_whitelogger has joined #mirage
thomasga has quit [Quit: Leaving.]
thomasga has joined #mirage
thomasga has quit [Client Quit]
englishm has quit [Remote host closed the connection]