Unable to boot to pxe server
-
So should i just point it at /tftpboot or /tftpboot/pxelinux.0 or just /pxelinux.0.
Also should I have the fog server set up as a dhcp server even though its not used for primary use, just for pxe? and off the top of your head can you remember the commands to start/restart the tftp service? -
generally you just tell the DHCP server to point clients to “pxelinux.0” since the tftp root directory is /tftpboot/, that is the default folder it will look in.
-
so just an update re installed fog and enabled its dhcp, it worked but then I believe it conflicted with my already existing dhcp and stoped working.
-
Right. you can’t have two DHCP servers that serve the same subnet without some advanced configurations. If it’s working, just turn off DHCP server on your FOG server temporarily. Depending on the OS distribution and version, the DHCP server will have different names.
You do have a fallback plan if you just can’t get your existing DHCP server to direct clients to FOG and you can’t use FOG as a DHCP server. It’s called ProxyDHCP and isn’t all that complicated to setup. There is an excellent article on the wiki I helped create based on my experiences with ubuntu 10.04 LTS Server.
-
[url]http://askubuntu.com/questions/140126/how-do-i-configure-a-dhcp-server[/url]
You can use [CODE]sudo service isc-dhcp-server stop[/CODE] to stop the dhcp server on FOG. Check that your DHCP config on the endian firewall is working by passing the bootfile name and next server ip address properly. If it is, then just uninstall the DHCP server on FOG. If it’s not and you can’t figure out how to make the endian firewall work, you can use ProxyDHCP, or you can swap DHCP functionality over to your FOG server and disable DHCP server on the endian firewall.
Depending on who controls your network, how complex the setup is, and your DHCP needs, it may be easier just to let the FOG server handle DHCP and disable it on the firewall.
-
[LIST=1]
[]First get your desired linux flavor installed
[]Install FOG (use instructions on wiki user manual)
[]Make sure you do a normal server installation, don’t setup a DHCP router address or a DNS server address, also don’t use FOG as a DHCP server.
[]If you set a MySQL password make sure you change it in /var/www/fog/commons/config.php and also in /opt/fog/service/etc/config.php
[*]Edit /etc/exports to look like this:
/images *(ro,async,no_wdelay,insecure_locks,no_root_squash,insecure)
/images/dev (rw,async,no_wdelay,no_root_squash,insecure)
[]Install dnsmasq using:
sudo apt-get install dnsmasq
[/LIST]
Im confused with step 5 could some one clarify what exactly it means? -
Step 5 is editing the file /etc/exports, to do this from the console/command line:
sudo nano /etc/exports
(or if you’re logged in as root: nano /etc/exports )
You will then be prompted for your password (unless you’re logged in as root)
Copy/write the lines given in step 5 into the editor, press CTRL+X to exit then Y to save. -
How can i confirm that its working correctly, when i try to scheduled a task on a host it says unable to connect to the tftp server, im wondering if there is any other configuration needed for this program.
im gona try [url]https://help.ubuntu.com/community/Dnsmasq[/url] this tutorial for the installation this time and see if I get better results
-
From a windows machine, you can test tftp if you add the tftp client windows features from add/remove programs.
something along the lines of: tftp get [IP of FOG server] pxelinux.0.
You may also try the help forums for Endian Firewall for your version to see if they can help configure a PXE boot server. Also, there may be an upgrade to the firewall software version that fixes or adds the features you need.
-
Right now have successful tftp get pxelinux.0 on my remote machine but when I try to boot it the dhcp the request times out, I did not set the IP for the dhcp server during the fog set up how can I change it?