TFTP Problems
-
Ok , Yes the DHCP is not controlled by the fog server it is the network configuration it my be a router I am not sure. I do know that the DHCP server that hey are using in as it is in the Wiki fog page as it is for the cisco setup. Know sould I tell them to change the 10.1.8.254 to 10.1.8.1 will this help??
-
@bacelo said:
Ok , Yes the DHCP is not controlled by the fog server it is the network configuration it my be a router I am not sure. I do know that the DHCP server that hey are using in as it is in the Wiki fog page as it is for the cisco setup. Know sould I tell them to change the 10.1.8.254 to 10.1.8.1 will this help??
No what they have is fine, as long as you can set the options 66 and 67 for your 10.1.8.x scope to point to your FOG server and the boot file undionly.kxpe on that dhcp server. That is what’s missing here. That is why we are trying to figure out what 10.1.8.254 is.
-
Ok I am going to format the linux and install it all over again. what version of linux do you recommend???
-
@bacelo Go with CentOS 7, or Fedora 23 Server.
For newcomers to Linux, you’ll be better off with CentOS because there is more documentation for it. It’s 100% Red Hat Enterprise Linux compatible, any commands that work with RHEL work with CentOS - and the RHEL / CentOS distros generally have about a 2 to 3 year lifecycle whereas Fedora has a 2 to 3 month life cycle.
I myself prefer Fedora, but CentOS 7 is rock solid.
But 1.2.0 won’t install on CentOS 7, you’ll need to use FOG Trunk. There’s article for it in the WiKi.
-
@bacelo said:
Ok I am going to format the linux and install it all over again.
But this won’t actually make PXE work for you. You need to get in contact with whoever is in charge for 10.1.8.254 and hopefully he’s willing to add options 66 and 67 for you.
-
@Sebastian-Roth he already did and it still didn’t work
-
Have you looked through this already? https://wiki.fogproject.org/wiki/index.php/Tftp_timeout
Start with sections on restarting tftp service and “Other Troubleshooting” (trying TFTP by hand)…
Either the TFTP on FOG server is not running properly OR the DHCP is not pointing to the correct IP address.
-
There’s this article too.
https://wiki.fogproject.org/wiki/index.php/Troubleshoot_TFTP
-
I still haven’t got it working:(
The DHCP is being managed by the cisco device it is a quarentine network that is being maneged by some one other then me and I can only speak to him on the phone. So I am going to try to explain how I installed the fog server. So I followed this video: https://www.youtube.com/watch?v=QXHD-IQZigE
the only thing that I did different was the versions of the fog server. -
Unfortunately, if your DHCP IP addresses are coming from this cisco device you are at the mercy of the owner of that dhcp server. No configuration that you can do with fog will help since the cisco dhcp server tells the client what to do next. Now if you want to pxe boot from a usb flash drive then you can regain some level of control and not need to make any dhcp server setting changes, but this will also require a special boot drive any time you want to boot into the pxe menu.
The other option is to shut off the dhcp relay between the network where the FOG server is and this other network, Then you will need to ensure that fog is setup to issue IP addresses for your local network. I see this as being a risky step because now FOG will supply all IP addresses for your side of the firewall.
-
@george1421 how do I try the usb flash drive
-
@george1421 and the thing that bugs me more is that they have this working in other schools. They say that they don’t have a firewall. And I don’t think that they will let me manege the dhcp
-
@bacelo said:
@george1421 and the thing that bugs me more is that they have this working in other schools. They say that they don’t have a firewall. And I don’t think that they will let me manege the dhcp
Are they unable to update the dhcp settings for you? All they need to do is to change dhcp settings 66 to point to the ip address of your fog server and dhcp option 67 to point to the boot file. That is all the action they need to do for your dhcp scope. Nothing else needs to be managed.
-
@george1421 said:
No configuration that you can do with fog will help since the cisco dhcp server tells the client what to do next.
There is dnsmasq. We have an article on it. I’ve used it extensively at home until I got confident with ISC-DHCP.
-
@Wayne-Workman I though you would know of a wiki for that.
Just off the top of your head, do you know of a wiki that talks about pxe booting from usb flash. I know how to do it for uefi, but not bios. If not I can work on a process tomorrow.
-
@george1421 There are several threads on it (only one worth anything). The wiki article on it is incredibly dated
-
@george1421 This is from 2009. I’ve tried this before and totally abandoned trying. https://wiki.fogproject.org/wiki/index.php/Bootable_Media
I started to mess around with using etherboot but never got anywhere with it.
-
The only issue I can see for dnsmasq is that the fog server is not on a subnet by itself. From what I think I understand the fog server is on the same network as the clients and the dhcp settings are coming from a remote location. Unless I’m off on this you can not run dnsmasq and dhcp-relay for the same subnet since both will respond to the dhcp request
-
-
@george1421 said:
The only issue I can see for dnsmasq is that the fog server is not on a subnet by itself. From what I think I understand the fog server is on the same network as the clients and the dhcp settings are coming from a remote location. Unless I’m off on this you can not run dnsmasq and dhcp-relay for the same subnet since both will respond to the dhcp request
You would run dnsmasq in proxy mode. It responds to DHCP Requests with only add-on information. It operates with a pre-existing DHCP server, it does not serve as a DHCP server.