• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    VirtualBox and no Ethernet

    Scheduled Pinned Locked Moved
    General
    2
    5
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tokejepsen
      last edited by

      Hey,

      I know this might be more of a question for the VirtualBox (VB) commmunity, but it’s specific to FOG.

      I’ve a FOG server running on VB, with a proxy DHCP done with dnsmasq. I then have another VM running on the same machine that I would like to use for testing.
      When I’m connected to a router with an ethernet cable, I can just set both VMs to “Bridged Adapter” and point to the ethernet. This all works fine, and I’ve tested imaging with this.

      Now the problem is when I don’t have access to a router, and I want to continue testing. At this point I only have wireless access to the internet. I can’t seemed to find any combination of settings that allow the VMs to speak together like they are on a normal network. Do anyone have any insight into making this work?

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by Wayne Workman

        They are probably simply missing DHCP.

        You can manually setup DHCP on the fog server and turn it on when you need it, and turn off dnsmasq. When you’re connected to a router, you’d turn off DHCP and then turn back on dnsmasq.

        It’s trivial to turn these services off and on, what OS is your FOG server running on?

        I assume it’s just these two VMs missing DHCP, but we do need to figure out exactly what the problem is.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • T
          tokejepsen
          last edited by

          The FOG server is running Kubuntu 16.04.

          1 Reply Last reply Reply Quote 0
          • T
            tokejepsen
            last edited by

            Thanks Wayne, that gave me the missing piece 🙂

            Turns out I can just use “Host-only Adapter”, and configure the host only to emulate the existing gateway and ip range I’ve set for the ethernet conection. Now I can leave the fog server alone, and just adjust the VirtualBox network connection.

            This was a good little insight video; https://www.youtube.com/watch?v=ouFianXU_C0

            Wayne WorkmanW 1 Reply Last reply Reply Quote 1
            • Wayne WorkmanW
              Wayne Workman @tokejepsen
              last edited by

              @tokejepsen Cool. Thanks for posting the video, I’m sure it’ll help people for a long time in the future.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              238

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project