new installation, no dhcp received



  • Server
    • FOG Version: 1.4.0-RC-1
    • OS: Ubuntu 16.04 LTS
    Client
    • Service Version:
    • OS: Win 7/10 dual boot MBR
    Description

    I have successfully setup FOG 1.2 on Ubuntu 14.04 with same hardware, it runs great. I wanted to build a replacement unit with more disk space for use with Windows 10. I did a fresh install of Ubunutu, fresh install of FOG, then followed the wiki to update to trunk. During the setup process I chose to allow FOG to handle DHCP.

    I can’t get any PC’s to receive DHCP/PXE at boot. The PC can access the fog homepage fine from a windows web browser with the ethernet port on dhcp.

    The server is ethernet method Manual with IP 10.10.10.1, netmask 255.255.255.0 but shows as “24” while editing eth0, gateway 10.10.10.1. dhcpd.conf attached0_1493414395773_dhcpd.conf

    The client has network boot enabled in bios.

    I have attempted “sudo service isc-dhcp-server start” and “sudo service tftpd-hpa restart” which resolved my fresh install dhcp issues in the past. no luck this time though.



  • @george1421
    thanks for pointing me in the right direction. I reran the installer with wifi internet and static ethernet and dhcp is working now. I think during the initial install i was trying to use two connection profiles on ethernet, rather than utlizing wifi card for internet to complete install and ethernet for fog only.


  • Moderator

    @mmcgartl That is what your ps (running processes) indicates too. Your dhcp server is not running on your fog server.

    Restart it again and then run the ps command. If its not running then you need to dig into the /var/log directory and see if there is a dhcp server specific log or tail messages to see if that has a reason why the dhcp server has failed to start.



  • @george1421
    thanks for the response george!

    -“ps aux|grep dhcp” returns “user 2225 0.0 0.0 14232 1012 pts/1 s+ 09:33 0:00 grep --color=au”

    1. connected pc booted to windows does not receive dhcp
    2. two, there is also a wireless interface that has not been configured
    3. i dont make it to pxe, at “dhcp…” it returns “no dhcp or proxydhcp were received”

  • Moderator

    @mmcgartl said in new installation, no dhcp received:

    The server is ethernet method Manual with IP 10.10.10.1, netmask 255.255.255.0 but shows as “24” while editing eth0, gateway 10.10.10.1. dhcpd.conf

    /24 is the same thing as 255.255.255.0 its just another way of noting it.
    Your fog server is at 10.10.10.10.1 and so is your router? So your fog server is your router?

    Your dhcp config file look good. If you run the following command from the linux console of the fog server does it return that the dhcp server is running: ps aux|grep dhcp

    I have attempted “sudo service isc-dhcp-server start” and “sudo service tftpd-hpa restart” which resolved my fresh install dhcp issues in the past. no luck this time though.

    Lets isolate the dhcp bits from the tftp parts. isc dhcp is for dhcp, tftp is for moving the pxe boot file.

    1. Does any computer get a dhcp address when plugged into the network where the fog server is?
    2. How many network adapters are installed in your new fog server?
    3. When pxe booting a client computer, if pxe booting fails, what is the error message on the target computer there should be a PXE-XXX error message.

  • Moderator

    @mmcgartl said in new installation, no dhcp received:

    FOG

    There is so much here. But for clarity (ignore pxe booting for now) does the clients connected to same subnet get a dhcp address at all?


Log in to reply
 

327
Online

38724
Users

10553
Topics

99906
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.