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

Change FOG form Dhcp to Static IP

Scheduled Pinned Locked Moved
General
2
12
4.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.
  • D
    Damian Jones
    last edited by May 21, 2013, 2:49 PM

    Hi Everyone,
    I just started using FOG and with the help of some videos was able to get it setup and running…Unfortunately I know nada about the system. I somehow have it setup the get and ip address from my win2k3 server. How do I configure it to use a static ip address?

    Thanks…

    1 Reply Last reply Reply Quote 0
    • J
      Jaymes Driver Developer
      last edited by May 21, 2013, 2:51 PM

      what linux version did you use to install fog with?

      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
      • D
        Damian Jones
        last edited by May 21, 2013, 3:00 PM

        [SIZE=6][B][SIZE=3]linux ubuntu 12.04,12.10 [/SIZE][/B][/SIZE]

        1 Reply Last reply Reply Quote 0
        • J
          Jaymes Driver Developer
          last edited by May 21, 2013, 3:16 PM

          I’m going to assume this is a desktop install and not the LTS install.

          Click the “Dash Home” icon, in the text box at the top type “Network” and select the first icon in the list displayed as “Network”. Select Wired and click Options. Select the “IPV4 Settings” tab and change the method from Automatic to Manual, Add, and supply the server with a proper IP address and information. Click Save. Your connection will reconnect.

          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
          • D
            Damian Jones
            last edited by May 21, 2013, 3:26 PM

            It is a bit more complicated than that I am afraid…the only thing that comes up is a prompt on the server. I can log into it but that is about it. I’m thinking it will involve some sort of sudo editing of a file somewhere.

            btw the video I followed to get it installed is here: [media=youtube]UqJ3GicmGG0[/media]

            1 Reply Last reply Reply Quote 0
            • J
              Jaymes Driver Developer
              last edited by May 21, 2013, 3:31 PM

              after you log in are you presented with a graphical interface or are you presented with a command line?

              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
              • D
                Damian Jones
                last edited by May 21, 2013, 3:32 PM

                a command line.

                1 Reply Last reply Reply Quote 0
                • J
                  Jaymes Driver Developer
                  last edited by May 21, 2013, 3:35 PM

                  That is the server edition not the desktop edition, which is what I previously posted. Yes you will need to do it via the command line.

                  try this

                  sudo vi /etc/network/interfaces

                  For the primary interface, which is usually eth0, you will see these lines:

                  auto eth0
                  iface eth0 inet dhcp

                  edit it to something similar to this

                  auto eth0
                  iface eth0 inet static
                  address 192.168.1.100
                  netmask 255.255.255.0
                  network 192.168.1.0
                  broadcast 192.168.1.255
                  gateway 192.168.1.1

                  save and exit.

                  sudo vi /etc/resolv.conf

                  On the line ‘name server xxx.xxx.xxx.xxx’ replace the x with the IP of your name server. (You can do ifconfig /all to find out what they are) save and exit.

                  You need to also remove the dhcp client for this to stick

                  sudo apt-get remove dhcp-client

                  now restart networking

                  sudo /etc/init.d/networking restart

                  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
                  • D
                    Damian Jones
                    last edited by May 21, 2013, 3:51 PM

                    first part went without a hitch…Thank you.

                    When I bring up the resolv.conf file it is populated with two comment lines:

                    Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)

                    DO NOT EDIT THIS FILE BY HAND – YOUR CHANGE WILL BE OVERWRITTEN

                    I’ll remove the dhcp-client and restart the networking and see what happens…

                    1 Reply Last reply Reply Quote 0
                    • D
                      Damian Jones
                      last edited by May 21, 2013, 5:44 PM

                      That didn’t work…a little more searching I found:

                      auto eth0 iface eth0 inet static . . . dns-nameservers 8.8.8.8 8.8.4.4

                      An edit, save, restart later it works!

                      Thanks for the help 🙂

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jaymes Driver Developer
                        last edited by May 21, 2013, 6:13 PM

                        Awesome, glad you got it going!

                        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
                        • D
                          Damian Jones
                          last edited by Jun 4, 2013, 10:29 PM

                          I love this actually working with the device instead of just punching buttons…reminds me of the good old days of DOS. I look forward to working with everyone.

                          btw…after all of that I decided to put it on a different box. I would have loved to troubleshot why it wasn’t working correctly, but a deadline was looming so I killed it and reimaged the workstations again…took far less time than the first.

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

                          192

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project