Clean install Ubuntu 14.04 and fog 1.1.2
-
[quote=“purpleturtle99, post: 33082, member: 23775”]From the fog wiki:
[SIZE=6][B]Ubuntu 14.04[/B][/SIZE]Jump to: [URL=‘http://www.fogproject.org/wiki/index.php/Ubuntu_14.04#column-one’]navigation[/URL], [URL=‘http://www.fogproject.org/wiki/index.php/Ubuntu_14.04#searchInput’]search[/URL]
[B]DO NOT USE THIS VERSION OF LINUX, IT IS TOO NEW AND THERE ARE ISSUES WITH TFTP UPSTART AGAIN, WHEN TIME ALLOWS AND MAJOR ISSUES WITH FOG HAVE BEEN RESOLVED, WE WILL TACKLE FIXES FOR THE UBUNTU 14.04 OPERATING SYSTEM![/B]Is this still valid[B]??? I need to make images, please advice on best OS to install and best working version of fog[/B][/quote]
[quote=“NDNtech, post: 33083, member: 23658”]I was just about to post that when I saw that combo of fog and Ubuntu versions pop up in the queue. As far as I know it’s still valid, I think I saw Tom post that the other day in a thread. I’ve been wanting to jump to 14.04 since 12.04 support end soon. But I’m waiting on FOG.[/quote]
[quote=“purpleturtle99, post: 33089, member: 23775”]Thanks NDNtech. At work I have a Ubuntu 14.04 physical (Optiplex 380)machine to which I am going to install fog ver 1.1.2 today and try to make images. I will let you know how I get on with this combo.[/quote]
This is still very much the case, while we have made head way with the installer and curbing some issues of 14.04, it is not currently a supported operating system, we never gave the green light for installations. If you like Ubuntu, its look and feel, and how easy it is to use, install a pure Debian, it is what Ubuntu is built from. It is solid and in most cases works better than Ubuntu has.
While Ubuntu 14.04 does work and fog can be installed on it, we spend more time trying to troubleshoot the issues and fix what breaks than running the server, if you MUST use Ubuntu, stick with 13.04.
Yes the Ubuntu 12.04 OS is soon to fall off the supported list, please don’t let this scare you. This is NOTHING like when Microsoft decides an OS is on the out. Matter of a fact, you can still, to this day, install a Ubuntu 6. 7. 10 or whatever you want so long as you can find the iso and you can append the correct repositories to continue to receive software and updates for that software (not the core OS).
If you run a 14.04 Server, that is great, I’m glad you made the change; as a developer I am asking you, please don’t recommend this OS (Ubuntu 14.04) for a starting point! If you want to make documentation on the changes or what you have to do to fix them, that would be more beneficial.
-
Thanks Jaymes, I wasn’t recommending any version of Ubuntu as such merely asking a question. OK All I need to know is what OS
does work with what version of fog. I have tried Ubuntu 12.04 with 0.32 what worked for a bit but then a had to image a newer laptop and it stopped working. I then upgraded to 1.0.1 and couldn’t get that to work due to booting the client pc’s.Like I said I don’t really care what OS I use I just need to start making image ASAP… Debian or Ubuntu
-
[quote=“purpleturtle99, post: 33118, member: 23775”]Thanks Jaymes, I wasn’t recommending any version of Ubuntu as such merely asking a question. OK All I need to know is what OS
does work with what version of fog. I have tried Ubuntu 12.04 with 0.32 what worked for a bit but then a had to image a newer laptop and it stopped working. I then upgraded to 1.0.1 and couldn’t get that to work due to booting the client pc’s.Like I said I don’t really care what OS I use I just need to start making image ASAP… Debian or Ubuntu[/quote]
Naa I didn’t think you were, I just wanted to leave a tid bit of info
I use Debian, Debian at home, Debian at work. I use to be a HUGE Ubuntu nut, until they broke out of the typical mold that they set, now I recommend pure Debian.
I used Ubuntu when it launched, and I stopped recommending anyone use it at revision 10.04. I still use Ubuntu 12.04 and 10.04 to this day. 13.04/13.10 was also a good build of Ubuntu, and fixed some of the issues presented in 12.04, but I would still recommend Debian 7.5
Note that when you upgrade from a network set up for 0.32 to any 1.x.x version of FOG, that the boot file name has change from pxelinux.0 to undionly.kpxe and this needs to be fixed at your DHCP server.
And as always if you run into issues, please let us know!
-
See that now raises another question…sorry to be a pain but.,I don’t have a DHCP server in my system/setup as such. I use Cisco routers. So should I then in the installation of FOG say yes I want this server to be the DHCP too???also I don’t understand the where how and why around "pxelinux.0 to undionly.kpxe "
-
do NOT set up more then one DHCP server on your network. undionly.kpxe (pxelinux.0 in previous versions) is the file that your DHCP server tells computers that they need, when they announce to the network that they need an IP and would like to pxe boot.
-
Thanks JH, I fully understand that 2 DHCP servers is a bad idea but no-one has actually given advice what to do. On my Cisco router I can’t set undionly.kpxe. What would you recommend I use as a DHCP server? Should I use the fog server and turn off DHCP on my Cisco routers. Or install another DHCP server and turn off DHCP on my Cisco router?
-
it’s rare for me to beat Jaymes to the punch with this recommendation, but I recommend DNSMASQ
[url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/url] -
[quote=“Junkhacker, post: 33130, member: 21583”]it’s rare for me to beat Jaymes to the punch with this recommendation, but I recommend DNSMASQ
[url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/url][/quote]hahaha too true, sorry tearing out some old labs and technology, wasn’t at my machine, I see I’m slacking
Use the DNSMASQ solution to circumvent the need to edit your DHCP server. It looks for machines using tftpboot and issues the boot server and file name to the machine so it can resolve correctly to your fog server. I use this in multiple environments!
-
OK I have gone off and formatted the Hard drive and installed Ubuntu 12.04LTS and Fog ver 1.1.0.Done the DNSMASQ route. And still can’t make images. PXE-E53 No Boot filename received. And PXE-M0F Exiting Intel Boot agent.
-
Can you use wireshark? The sounds of it is that it’s getting dhcp, just not from the right place.
-
Here is the config file. Am I right by saying that in this file:
The boot filename, Server name, Server Ip Address
dhcp-boot=undionly.kpxe,fog,192.168.1.101
undionly.kpxe is the filename it looking for ? Can’t install Wireshark…BTW
[url=“/_imported_xf_attachments/1/1173_dnsmasq_d_ltsp config.txt?:”]dnsmasq_d_ltsp config.txt[/url]
-
[quote=“purpleturtle99, post: 33418, member: 23775”]Here is the config file. Am I right by saying that in this file:
The boot filename, Server name, Server Ip Address
dhcp-boot=undionly.kpxe,fog,192.168.1.101
undionly.kpxe is the filename it looking for ? Can’t install Wireshark…BTW[/quote]
Did you set up a symlink for the file undionly.kpxe to appear as undionly.0?
you can also try removing the fog from the middle of dhcp-boot=undionly.kpxe,fog,192.168.1.101, I know I had to in order to get dnsmasq to resolve properly.
Also why can you not use wireshark? you don’t HAVE to install it on the fogserver, actually it would be recommended to put it in on a laptop and test in various places as switches change because some settings in managed switches causes problems with receiving the boot file.
-
Okay when I stop the DNSMASQ services and let my Cisco router dish out IP’s via DHCP then laptop receives an IP address and the errors are PXE-E53 and PXE-M0F
When I start the DNSMASQ services and remove the fog from the config file I get errors PXE_E51 no DHCP or proxyDHCP offers were received
And wiresharks shows the same result DHCP discover only messages. So I think the laptop never gets an DHCP offer from the fog server running DNSMASQ…What am I missing here???
BTW also from the ltsp.conf file what range of IP address is my fog server dishing out anyway???and how do I check this in the ltsp.conf file -
[quote=“purpleturtle99, post: 33427, member: 23775”]Okay when I stop the DNSMASQ services and let my Cisco router dish out IP’s via DHCP then laptop receives an IP address and the errors are PXE-E53 and PXE-M0F
[/quote]To be expected there is probably a misconfiguration with the DHCP next server and bootfile name, but some people don’t even attempt settings at the DHCP server if they intend to use DNSMASQ as it will not be necessary.
[quote=“purpleturtle99, post: 33427, member: 23775”]When I start the DNSMASQ services and remove the fog from the config file I get errors PXE_E51 no DHCP or proxyDHCP offers were received
And wiresharks shows the same result DHCP discover only messages. So I think the laptop never gets an DHCP offer from the fog server running DNSMASQ…What am I missing here???
BTW also from the ltsp.conf file what range of IP address is my fog server dishing out anyway???and how do I check this in the ltsp.conf file[/quote]It might be worth downloading the Cisco CNA program from the cisco website so that you can check the settings of your switches.
Now load up the CNA program and select the switch in question (they will probably ALL have to be configured this way to pass the boot file) Log into your managed switch with the administrative username and password.
Click Configure on the left hand side. Choose Port Settings from the list.
Select all ports to be used for PXE boot. Click Modify. Enable Port Fast. Save. Close open windows.
This might help to solve some of the problems you are facing. Now To answer the question about DNSMASQ:
#[B] This range(s) is for the public interface, where dnsmasq functions[/B]
[B]as a proxy DHCP server providing boot information but no IP leases.[/B]
#[B] Any ip in the subnet will do, so you may just put your server NIC ip here.[/B]
[B]Since dnsmasq is not providing true DHCP services, you do not want it[/B]
[B]handing out IP addresses. Just put your servers IP address for the interface[/B]
#[B] that is connected to the network on which the FOG clients exist.[/B]
#[B] If this setting is incorrect, the dnsmasq may not start, rendering[/B][B]your proxyDHCP ineffective.[/B]
dhcp-range=10.0.0.10,proxy
I bolded the important parts, funny they are included in your text file and the wiki… That 10.0.0.10 is what you want to change to your fog server ip address, or something similar.
-
Gentlemen we have lift OFFFFFFFFFF.
I have finally booted to my fog server successfully. In the end it was the line: dhcp-range=10.0.0.10,proxy which I had to change to the ip address of my server.Soooooo to help others
here is a quick breakdown of my set up and by no means perfect but hey it works
Ububtu 1204 LTS
Fog 1.1.0
Cisco WAG120N switch with DHCP enabled to provide IP address in the same subnet as your server(just in case)
DNSMASQ installed and configured as per link (DNSMASQ doesn’t provided DHCP it inform the client’s computer where to find the fog server)
[url]http://fogproject.org/wiki/index.ph...with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/url]I had to change the following in the /etc/dnsmasq/ltsp.conf
dhcp-boot=undionly.kpxe,fog,IP.Add.of.yurserver
and
dhcp-range=IP.ADD.OF.yurserver,proxyThanks to LifeHacker, Jaymes and Tom Elliott