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

Change default interface FOG uses from eno2 to eno1

Scheduled Pinned Locked Moved
General
2
3
1.1k
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.
  • A
    acsand0199
    last edited by Jan 1, 2021, 10:28 PM

    I have fog set up almost exactly how I want it and everything is working great. However, I’d like to now change the default interface that it uses to eno1 instead of eno2 that it is currently using.

    I saw a post here that looks like what I’m trying to do, https://forums.fogproject.org/topic/824/how-to-change-the-interface-for-fog-to-use-from-eth0-to-eth1-after-installing-fog. It looks fairly old and mentions updating FOG config files and making some changes in the FOG GUI settings.

    What config files/GUI settings should I be updating to make this change? I’d prefer to not have to reinstall fog since I know very little about it and currently have everything except for this set up the way I need it to be.

    If it is needed I am running fog on Debian 10. Thanks in advance for any help or advice you can provide.

    G 1 Reply Last reply Jan 1, 2021, 11:02 PM Reply Quote 0
    • G
      george1421 Moderator @acsand0199
      last edited by george1421 Jan 1, 2021, 5:03 PM Jan 1, 2021, 11:02 PM

      @acsand0199 There is a hidden file in /opt/fog called .fogsettings (yes it starts with a dot, that inidicates the file is hidden) So you wan to edit /opt/fog/.fogsettngs replace all references to eno1.

      If you are using the FOG server as the dhcp server for your imaging network then you should look through the isc-dhcp config file to make sure its binding to the right interface.

      Then in the web ui in FOG Configuration->FOG Settings hit the Expand All button and then search the page for eno1 and replace its instances with eno2.

      Then again in the web ui look at the default storage node settings confirm there it references the correct network interface.

      Finally back in the linux console rerun the FOG installer script. It will pickup the settings stored in the .fogsettings file and fix up the rest of the FOG environment.

      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!

      A 1 Reply Last reply Jan 2, 2021, 12:27 AM Reply Quote 0
      • A
        acsand0199 @george1421
        last edited by Jan 2, 2021, 12:27 AM

        @george1421 Great, thank you for the quick response.

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

        158

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project