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

    Test station

    Scheduled Pinned Locked Moved
    General
    3
    3
    1.2k
    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.
    • Joseph HalesJ
      Joseph Hales Testers
      last edited by

      I’m setting up a small desktop running Ubuntu server 12.04 with 2 NICs for testing fog changes the first NIC will be DHCP and connected to my main network for web access so i can patch and upgrade fog from repositories. I would like the second to be the one fog uses as an isolated network with it’s own DHCP service PXE etc… Being a bit of a Linux noob I was looking for advice on setting this up.

      RTFM

      1 Reply Last reply Reply Quote 0
      • Jaymes DriverJ
        Jaymes Driver Developer
        last edited by

        When you run the Fog installer, it will ask which interface to use FOG with.

        eth0 will probably be the first nic

        you can use the ifconfig command to display all the current adapters.

        eth1 will probably be your second nic.

        During FOG installation you will have a question that will ask if you “would like to change the default interface from eth0”, if you would like press y, press enter and add the interface.

        I have not tested a set up like this, but it should work.

        You will want to edit your interfaces file and set a static ip for eth1, or use the network manager and set a static ip for eth1.

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

        1 Reply Last reply Reply Quote 0
        • JunkhackerJ
          Junkhacker Developer
          last edited by

          i have a suggestion that will make it so that you don’t need an isolated network for testing. what i do is redirect the boot.php requests for my test clients to my test server in the default.ipxe of my production fog server file, like so:
          [CODE]#!ipxe
          cpuid --ext 29 && set arch x86_64 || set arch i386
          params
          param mac0 ${net0/mac}
          param arch ${arch}
          param product ${product}
          param manufacturer ${product}
          param ipxever ${version}
          param filename ${filename}
          isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
          isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme

          :bootme

          redirected to dev server for test environments

          ##test-3020 optiplex 3020
          iseq ${serial} F8HLK02 && chain http://<dev-server-ip-address>/fog/service/ipxe/boot.php##params ||
          ##testing VM
          iseq ${net0/mac} 00:0c:29:ce:74:46 && chain http://<dev-server-ip-address>/fog/service/ipxe/boot.php##params ||

          normal fog server

          chain http://<normal-server-ip-address>/fog/service/ipxe/boot.php##params
          [/CODE]

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

          262

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project