Coder Social home page Coder Social logo

Comments (5)

ciarancourtney avatar ciarancourtney commented on August 20, 2024

Using mirage configure -t unix --net socket as per the Hello World tutorial on mirage.io resolves the issue for the unix case

from mirage-skeleton.

hannesm avatar hannesm commented on August 20, 2024

hey, in your error message your Linux complains about Operation not permitted while setting up the tap interface. you may want to execute ukvm-bin as superuser (e.g. with sudo ./ukvm-bin --net=tapX <kernel>.

from mirage-skeleton.

ciarancourtney avatar ciarancourtney commented on August 20, 2024

@hannesm thanks, but passing --net socket as per above resolves the permission issue, so that works fine without sudo. For the ukvm case I see that --net is an arg that was missing from the docs, it boots and says its on 10.0.0.2 but I can't ping/curl that from localhost

from mirage-skeleton.

hannesm avatar hannesm commented on August 20, 2024

@ciarancourtney ic. on your host system, you'll need an IP address in the same subnet... some ifconfig tap0 10.0.0.1 netmask 255.255.255.0 should do the trick (and then ping 10.0.0.2 should work).

from mirage-skeleton.

yomimono avatar yomimono commented on August 20, 2024

@ciarancourtney I'm closing this issue, but please do reopen it and let us know more if you're still having difficulty getting the networking examples running.

from mirage-skeleton.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.