PXE not start



  • Hello to all.
    I am new to Fog server. I made my first deployment yesterday. The network topology is simple and I will explain it.
    I have one router with 4 ethernet ports. It acts like an dhcp server and give gateway to the internet.
    The 2 pc’s that I have connected are both linux systems. The server is a 12.10 ubuntu and the test machine is an older ubuntu version.
    So I try to take an image from the test machin, I add it to the server and make an image job, connect the job with the machine , click upload to the task manager and then restart the test pc.
    I have it to boot first on PXE and nothing happent …
    I can ping both machines and I have the firewall disabled on my for server.
    I also tried the DHCP proxy solution but still nothing works…
    Any suggestions?
    Thank you for your time!


  • Developer

    Did you run the commands?

    What was the outcome?


  • Developer

    Yes from my experience it is best to have the DHCP and the TFTPBoot server on the same machine it helps things to resolve best. The things is with your using a router and simple network setup there’s no place to tell it where the “next-server” is for the PXE boot nor what file to pull to the client, but being on the same switch and having the DHCP service enabled, you should at least see an error.

    I’d try setting up your server again from scratch and I’d install the DHCP service with FOG to see if I could get it to boot.

    Also I’d be making sure I can see the server and I can pull the file from TFTP protocol.

    If you can pull your pxelinux.0 using the commands we know that the TFTP function of your server is functioning correctly, if not we can begin troubleshooting here.

    If your file pulls, it would be a good idea to set up a machine in the network with wireshark to see if the client is talking to the server and looking for the file or if it is just blowing over it because there is no “next-server” or “file” set for it to pull, these are options 066 and 067 respectively and need to be set to point to your server and pxelinux.0 file.

    [FONT=sans-serif][COLOR=#000000]From your FOG server test out tftp[/COLOR][/FONT]
    [COLOR=#000000][FONT=monospace][code]tftp -v X.X.X.X -c get pxelinux.0[/code][/FONT][/COLOR]

    [FONT=sans-serif][COLOR=#000000]From a Windows PC run at the cmd prompt:[/COLOR][/FONT]
    [COLOR=#000000][FONT=monospace][code]tftp x.x.x.x get pxelinux.0[/code][/FONT][/COLOR]

    [FONT=sans-serif][COLOR=#000000]If tftp & xinetd are running your should get:[/COLOR][/FONT]
    [COLOR=#000000][FONT=monospace][code]Received XXXX bytes in X.X seconds…[/code][/FONT][/COLOR]



  • [quote=“Jaymes Driver, post: 11809, member: 3582”]This page tells how to configure proxy DHCP -> [url]http://www.fogproject.org/wiki/index.php?title=Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server[/url][/quote]
    Just did everything that page says and have the same problem.
    Anyway, seems that the best deploy is with the server acting as a dhcp server also or have windows 2008 server dhcp.
    Thank you for your help.


  • Developer



  • [quote=“Jaymes Driver, post: 11807, member: 3582”]You need to look online and see if there is a bios update for your computer, if it’s not trying to look for a pxe boot server then your problem lies there not with the server.

    Some hardware is also not compatible with the fog server as of yet. -> [url]http://www.fogproject.org/wiki/index.php/ProblematicDevices[/url]

    Once your pc wants to PXE boot and tries to communicate with your server you will see activity, it will either succeed and load the fog PXE menu or it will fail and give you an error code at which case we can troubleshoot.[/quote]
    Everything is compatible, the problem seems to be that I need to configure the dhcp Proxy since the pc’s are attached to it .
    But every approach I had with the proxy didnt work at all…


  • Developer

    You need to look online and see if there is a bios update for your computer, if it’s not trying to look for a pxe boot server then your problem lies there not with the server.

    Some hardware is also not compatible with the fog server as of yet. -> [url]http://www.fogproject.org/wiki/index.php/ProblematicDevices[/url]

    Once your pc wants to PXE boot and tries to communicate with your server you will see activity, it will either succeed and load the fog PXE menu or it will fail and give you an error code at which case we can troubleshoot.



  • [quote=“Jaymes Driver, post: 11805, member: 3582”]When you say you turned your computer on but nothing happened, explain.

    Did it try to load a pxe boot?
    Did you receive an error when it did try to pxe boot?
    What was the error?[/quote]
    Yes and nothing happent.
    No errors, after some seconds the pc proceeds to the normal booting sequence from hard drive!


  • Developer

    When you say you turned your computer on but nothing happened, explain.

    Did it try to load a pxe boot?
    Did you receive an error when it did try to pxe boot?
    What was the error?


Log in to reply
 

414
Online

39184
Users

10832
Topics

103133
Posts

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