Does /tools/docker/debian support networking using the network_relay_url? #532
Replies: 3 comments 11 replies
-
First, check that the ne2k module is loaded: |
Beta Was this translation helpful? Give feedback.
-
@nospaceleftondevice, would you mind sharing the steps you used to get a Debian image using the /tools/docker/Debian and uploading it to v86? I'm a novice linux user and git cloned the v86 repository on my Mac terminal, build the Debian-full docker file and then went looking for the Debian image to upload to the v86 when it allows you to "choose an image" on startup. I don't see any ".iso" in the Debian-full docker container after it is built that I could use to upload to v86. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I couldn't get networking to work with the debian examples. Could anyone help? What I did:
diff --git a/examples/debian.html b/examples/debian.html
index 5ee2dabf..1b759168 100644
--- a/examples/debian.html
+++ b/examples/debian.html
@@ -12,6 +12,9 @@ window.onload = function()
memory_size: 512 * 1024 * 1024,
vga_memory_size: 8 * 1024 * 1024,
screen_container: document.getElementById("screen_container"),
+ network_relay_url: "ws://localhost:8080",
+ preserve_mac_from_state_image: true,
+ mac_address_translation: true,
initial_state: { url: "../images/debian-state-base.bin" },
filesystem: { baseurl: "../images/debian-9p-rootfs-flat/" },
autostart: true,
diff --git a/tools/docker/debian/build-state.js b/tools/docker/debian/build-state.js
index f90fabbf..6f7958a1 100755
--- a/tools/docker/debian/build-state.js
+++ b/tools/docker/debian/build-state.js
@@ -26,9 +26,13 @@ var emulator = new V86({
autostart: true,
memory_size: 512 * 1024 * 1024,
vga_memory_size: 8 * 1024 * 1024,
- network_relay_url: "<UNUSED>",
bzimage_initrd_from_filesystem: true,
cmdline: "rw init=/bin/systemd root=host9p console=ttyS0 spectre_v2=off pti=off",
+ network_relay_url: "ws://localhost:8080",
+ preserve_mac_from_state_image: true,
+ mac_address_translation: true,
filesystem: {
basefs: {
url: path.join(V86_ROOT, "/images/debian-base-fs.json"),
|
Beta Was this translation helpful? Give feedback.
-
I built the debian image via docker, but I cant seem to get networking working. I see the networking.sh script which enables the interface with a static ip, but I see nothing hitting the relay. I have not tried to use DHCP, has anyone got this working?
Beta Was this translation helpful? Give feedback.
All reactions