+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 23
O/S Deployment Thread, Fog - Change DHCP Server? in Technical; Hi All, We have been using Fog (which has been working great) for the past few months, we recently transferred ...
  1. #1

    Join Date
    Jul 2012
    Location
    Swindon
    Posts
    35
    Thank Post
    11
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Fog - Change DHCP Server?

    Hi All,
    We have been using Fog (which has been working great) for the past few months, we recently transferred roles to a new 2008 DC and fog has stopped working.

    Ive added options 66 and 67 into the freshly installed DHCP scope but cant see where to change the settings in Fog itself, am I looking at reinstalling Fog from scratch?

    Any advice much appreciated

    Cheers

  2. #2
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    816
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40
    I don't think you have to change any settings as long as the Fog server didn't used to be your DHCP server. If you've added any roles like WDS then this will probably hijack any PXE boots.
    What exactly happens when you network boot something?

  3. #3

    Join Date
    Jul 2012
    Location
    Swindon
    Posts
    35
    Thank Post
    11
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hey

    Thanks for the reply, from what I can remember there was an option on installation to point it to our old DHCP server?

    When I boot now it looks like it trys to get an address, fails and trys to boot from local disk?

    Cheers

  4. #4
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    816
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40
    I don't think there are any options you would have to change. If whatever you boot fails to get an IP address then the problem is on your new DHCP server. Perhaps it's been configured to deny pxe-client boots, but with default settings and a valid scope it should just work. If you boot an operating system on the same PC does it get an IP address?

  5. #5

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    2,908
    Thank Post
    153
    Thanked 598 Times in 537 Posts
    Rep Power
    158
    Check the configuration of /var/www/fog/commons/config.php (Debian based OS)

    I experienced the same thing when moving our IP address range, there are several files that will need updating but I can't remember the others for the life of me.

  6. #6

    Join Date
    Jul 2012
    Location
    Swindon
    Posts
    35
    Thank Post
    11
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks for all the advice thus far guys, Im running on Ubuntu so Ill check out the config file and see if there is anything obvious

    Ive just tested from xp running the command TFTP servername GET pxelinux.0 and that completes ok as well

  7. #7
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    816
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40
    The fact you can get the pxelinux.0 file shows that as long as the client is given the correct information it will work. If you've just moved the DHCP server I don't think you'll need to modify any files on the Fog server.

  8. #8

    Join Date
    Jul 2012
    Location
    Swindon
    Posts
    35
    Thank Post
    11
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    To add to this after checking the configuration of /var/www/fog/commons/config.php

    The only reference I can find to the old server is the following line;

    "PXE_IMAGE_DNSADDRESS", "10.74.202.X"

    Ive changed this to reflect the new server ip restarted fog so we'll see what happens!

  9. #9

    Join Date
    Jul 2012
    Location
    Swindon
    Posts
    35
    Thank Post
    11
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Ok hasnt made the slightest bit of difference, same behaviour as before

    When booting to an os the device pulls a valid DHCP address no problems both via wireless and wired

    Fog itself was working fine, anything else you guys can think of for me to check?

  10. #10
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    816
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40
    What DHCP options have you got set?
    Also, did you specify option 066 with a hostname or did you use an IP address?

  11. #11

    Join Date
    Jul 2012
    Location
    Swindon
    Posts
    35
    Thank Post
    11
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Have only got options 66 and 67 set in DHCP, option 60 doesnt exist

    In option 66 Ive specified the ip of the fog server, can login to the management interface just fine

    Cheers

  12. #12
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    816
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40
    What happens on the client? Do you get TFTP timeout or something similiar, or does it not even try to connect to the TFTP server?

  13. #13

    Join Date
    Jul 2012
    Location
    Swindon
    Posts
    35
    Thank Post
    11
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Its boots to PXE boot, looks like it fails to get a DHCP address and fog sits at booting from local disk, usually I would have the fog menu and be able to select the task etc

    No error as such or if it does it flashes up too quickly to see!

  14. #14
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    816
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40
    Quote Originally Posted by SWICT View Post
    and fog sits at booting from local disk
    ...so you see the Fog menu? That means the TFTP stuff is working correctly.

  15. #15

    Join Date
    Jul 2012
    Location
    Swindon
    Posts
    35
    Thank Post
    11
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Not the usual menu Id expect to see, Ive attached some screenshots of what actually happens.......hope this makes it clearer
    Screen Shot 2012-07-09 at 11.24.57.pngAttachment 14573
    Last edited by SWICT; 9th July 2012 at 11:34 AM. Reason: higher res

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Boot CD for FOG usage without DHCP server access
    By coolgeekone in forum O/S Deployment
    Replies: 2
    Last Post: 3rd September 2009, 11:53 AM
  2. Replies: 6
    Last Post: 10th April 2009, 09:15 PM
  3. Changing DHCP server IP label
    By NetworkGeezer in forum Wireless Networks
    Replies: 0
    Last Post: 23rd March 2007, 01:44 PM
  4. Downsides to passing tftp server via 2003 DHCP server?
    By pete in forum Wireless Networks
    Replies: 7
    Last Post: 11th July 2006, 10:07 PM
  5. DHCP Server
    By SimpleSi in forum *nix
    Replies: 8
    Last Post: 17th May 2006, 11:09 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •