• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Oct 12, 2016, 11:10 PM

    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
    • W
      Wayne Workman
      last edited by Wayne Workman Oct 12, 2016, 5:18 PM Oct 12, 2016, 11:16 PM

      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 Oct 12, 2016, 11:17 PM

        The FOG server is running Kubuntu 16.04.

        1 Reply Last reply Reply Quote 0
        • T
          tokejepsen
          last edited by Oct 12, 2016, 11:45 PM

          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

          W 1 Reply Last reply Oct 12, 2016, 11:59 PM Reply Quote 1
          • W
            Wayne Workman @tokejepsen
            last edited by Oct 12, 2016, 11:59 PM

            @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
            1 / 1
            • First post
              5/5
              Last post

            159

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project