Tftp connection timed out 4c126092
-
I am trying to learn how to setup a fog server and create my girst image. When I try to connect to the server I am getting this then booting to my OS. Display Picture
-
I am using a Netgear router R6700v3 and 2 non standardized computers for the server and client. I can see the tftp when checking from Windows 10 on the client computer but it times out while trying to boot to it.
-
@TectonicLeader Many soho routers will point to themselves as the boot server, even if they have the facilities to set dhcp option 66 and 67.
If you have no option other than to use your netgear router as your dhcp server, then I recommend you install dnsmasq onto your fog server. It takes about 10 minutes to do and will solve your soho router issue. https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server
-
@george1421 well it certainly changed the end result but still no success. New Display Image
-
@TectonicLeader Very good you are making progress. On the plus side dnsmasq and pxe booting is working perfectly.
I have to ask you did you change the IP address of the fog server since fog was installed. The default.ipxe file has a hard coded IP address in it. Your picture shows it picked up default.ipxe from .3, but then default.ipxe called a .2 IP address. If you did change the IP address of the fog server after the install you can fix the configuration by hand. I was sure I had a tutorial on this, but I can’t seem to find it right now.
- In the FOG Web UI goto FOG Configuration->FOG Settings and press the expand all button. Search for the old IP address and replace it with the current IP address.
- Still in the FOG Web UI goto Storage Management and pick the default node (it should be the master node). Change the IP address in there to the proper one.
- Log into the fog server’s linux console, and switch user to the root user so you can edit a hidden file (if your fog server has a linux desktop you can use gedit from the linux desktop too). Edit a hidden file
/opt/fog/.fogsettings
note the dot at the beginning of a file makes it hidden in the linux world. Correct the IP address listed in the config file. - Lastly rerun the fog installer to fix all of the other bits where the IP address is hard coded.
- Inspect the content of the /tftpboot/default.ipxe file to ensure the IP address has been corrected. (this is the point where your error exists).
- If everything looks good, try pxe booting again.
On a side note, pxe booting from net3 might be a problem in some of the fog code (not specifically this issue). Typically the fog code only looks for the first two network interfaces to boot. But since you got as far as loading default.ipxe using net3 might be OK.
-
@george1421 That did the trick. Now I need to dig into why its failing to capture an image. I’ll make a different post for that though if I need to.