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

    Need to Change my network address settings

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    3
    5
    2.0k
    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.
    • K
      Ken Helleson
      last edited by

      I’ve using Fog 0.32 on Ubuntu 11.10 since it was first released and I’ve got one last project that i need to get done by next Wednesday. Of course my server is wanting to die on me, now of all times.

      First things first. How do I convert my current Fog server from being a DHCP server hading out addresses in the 192.168.6.xxx range to just having a static 192.168.2.10 address. The 192.168.2.10 address is the address is the address that I’ve assigned to “Wired Network 1” up on the task bar. and it that is the address range of my other functioning DHCP network.

      Finally, what recomendations can you guys give me, as far Linux & and Fog versions go.I talking about about setting up a new network for cloning Windows 7 & Windows 10.

      Oh, and by the way, I’m not a Linux guru at all!

      Thanks For all Your Help.
      Ken

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

        I suppose you could just disable the DHCP service and set a static address.

        However, you know that if you disable DHCP, you’ll then need to rely on a properly configured DHCP server. When I say properly configured, I mean options 066 and 067, the boot file and next server.

        To stop DHCP,
        /etc/init.d/isc-dhcp-server stop

        To set a static interface, look at the file /etc/network/interfaces and find your interface in there.

        Example:

        iface eth0 inet static
            address 10.0.0.100
            netmask 255.255.255.0
            gateway 10.0.0.1
        

        After changing and saving the file, run /etc/init.d/networking restart

        And at this point, I’ll always recommend FOG Trunk to people, but defiantly not on Ubuntu 11.

        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/

        K 1 Reply Last reply Reply Quote 2
        • K
          Ken Helleson @Wayne Workman
          last edited by

          @Wayne-Workman

          Thanks for Your reply. Like I said, I know next to nothing when it comes to Linux, or Fog, for that matter.
          So, if I understand you correctly, I open terminal, enter the first command string to stop DHCP. Then type in second command string and I’m assuming I type in the new information for eth0 exactly as shown(except with a static address that fits within my new network). This may sound really stupid; but, how do I get from the end of one line to the beginning of the next line?

          What about which versions Linux and Fog work best for Windows 10?

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

            @Ken-Helleson said:

            how do I get from the end of one line to the beginning of the next line?

            It depends on the text editor that you use. Here are instructions for Vi.

            What about which versions Linux and Fog work best for Windows 10?

            I’d recommend CentOS 7 and FOG Trunk.
            Fedora 21, 22, and 23 work equally as well, just FYI, but are in a high state of flux.

            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
            • E
              EAHarvey
              last edited by

              If your running Ubuntu you should have some type of file editor installed already. I would assume that it has that loaded.

              When you open your terminal you will be a local prompt, if your paths arent set you will not be able to access the file directly.

              you will need to

              cd /
              cd etc
              cd network
              sudo vi interfaces

              It will bring up the file in the VI text editor. Hit the insert key and then arrow down to the last line and enter

              FOG Server IP (This is just a remark to remember what your doing)

              auto (the name of the NIC you are using. You can use IFCONFIG to view the NICS in the machine) in my case its
              auto p4p1
              iface p4p1 inet static
              address (your server address)
              netmask(Your server netmask)
              gateway(Your server gateway)

              It should be some form of this. Hope this helps.

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

              212

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project