@wayne-workman Thanks Wayne, so I don’t think that’s the problem. sudo ufw status shows inactive so it’s not the firewall. I decided to test at a different office location today and just discovered that tftp is trying to serve up from the IP from the LAN I was on yesterday via http://xxx.xxx.xxx.xxx/default.ipxe even though /etc/dnsmasq.d/ltsp.conf is showing the correct IP for my current DHCP lease for the LAN I’m on now. Where could it be getting that old address from? I logged into the FOG console and checked the settings and didn’t see it in there.
Posts made by LOF
-
RE: ..and one FOG-VM to rule them all.
-
RE: ..and one FOG-VM to rule them all.
@george1421 Yeah so I was looking here https://wiki.fogproject.org/wiki/index.php?title=Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server …and saw where it shows how to make the symbolic links toward the bottom. undionly.0 already existed so I used cp undionly.kpxe undionly.0 ipxe.0 didn’t exist so ln -s ipxe.efi ipxe.0 worked. After doing that I tried pxe-booting a laptop and it failed saying no tftp file found so I realized I hadn’t modified my /etc/dnsmasq.d/ltsp.conf file. Here’s what I currently have in that file:
#port=0
tftp-root=/tftpboot
dhcp-boot=undionly.kpxe,fog_server_ip,fog_server_ip
dhcp-option=17,/images
dhcp-option=vendor:PXEClient,6,2b
dhcp-no-override
pxe-prompt=“Press F8 for boot menu”,60
pxe-service-X86PC,“Boot from network”,undionly
pxe-server=X86PC,“Boot from local hard disk”,0
dhcp-range=fog_server_ip,proxyAfter I modified that file, removing the .kpxe at the end of the 3rd line up from the bottom, I issued sudo service dsnmasq restart That got me further but now I get “Connection timed out” when trying to get to http://fog_server_ip/default.ipxe
Any ideas?
-
RE: ..and one FOG-VM to rule them all.
@george1421 Thanks for the info, so forgive my rustiness at the CLI but when I try ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0 I keep getting “ln: failed to create symbolic link ‘undionly.0’: File exists” What am I doing wrong?
-
RE: ..and one FOG-VM to rule them all.
@george1421 Hi George, quick question for you… where are the undionly.kpxe and ipxe.efi files supposed to reside? I see two versions of undionly.kpxe in /Downloads/fog_1.4.4/packages/tftp and /Downloads/fog_1.4.4/packages/tftp/10secdelay ipxe.efi = /fog_1.4.4/packages/tftp /fog_1.4.4/packages/tftp/10secdelay /fog_1.4.4/packages/tftp/10secdelay/i386-efi /fog_1.4.4/packages/tftp/i386-7156-efi and /fog_1.4.4/packages/tftp/i386-efi
Which location should I create the symlink from? i.e., symlink to undionly.kpxe.0 / ipxe.efi.0
-
RE: ..and one FOG-VM to rule them all.
Thanks for all the help so far. I ran the mobile install as root and it finished. I also did some initial testing to ensure I could access the FOG console after changing my VM’s network settings to use DHCP. It worked fine and even worked when I switched from a bridged to a NAT connection in VMware Workstation. I didn’t have time to try PXE-booting a test machine yet but will do that next.
Also, re: what @sudburr said, …I definitely see the concern and already took that into consideration before pushing ahead with this. In my particular situation it won’t be an issue since the locations I’ll be using this at don’t have any hardware set to PXE-boot other than VOIP phones and those operate on a separate VLAN. Also, I’ll be using my FOG VM very infrequently and it will only be in operation when I’m imaging new machines. Anyway, I think this is going to be the best/easiest way to go for me.
-
RE: ..and one FOG-VM to rule them all.
@george1421 Ok great, then in my case I just do the MakeFogMobile install, create those links and go with that. Thanks for all the help. I know others out there definitely want UEFI support, especially since it was announced that hardware vendors will eventually pull the plug on legacy. I’ll cross that bridge when it happens, hopefully by that time Linux Mint will include a more current version of dnsmasq
One last question, should I be concerned about installing OS updates after installing FOG? Do OS updates still break things like PHP? Does doing a re-install of FOG still address those issues? Ok that’s three questions, …sorry.
-
RE: ..and one FOG-VM to rule them all.
@george1421 Thanks George, so what if I don’t need UEFI support? I haven’t encountered a situation yet where I couldn’t do my deployments with UEFI disabled. I usually disable it, enable legacy, deploy the image and then turn UEFI back on. Would dnsmasq 2.75 suffice for that?
-
RE: ..and one FOG-VM to rule them all.
@george1421 When I created the initial VM a few weeks ago, I installed all available updates before installing FOG but haven’t installed any after. I remember a couple years back when I had FOG installed, I installed available updates for Mint and it broke my FOG install. Re-running the FOG install fixed the issue but I’ve been afraid of installing OS updates ever since.
-
RE: ..and one FOG-VM to rule them all.
@george1421 Oh ok, I’m looking at the tarballs now: www.thekelleys.org.uk/dnsmasq/ Look’s like dnsmasq-2.78.tar.gz is what I need. The software manager in Linux Mint has it listed but it’s only showing version 2.75 It says I already have the Dnsmasq-base (executable/docs) installed but its version 2.75 Do you think I should uninstall that?
-
RE: ..and one FOG-VM to rule them all.
@george1421 Thanks George, so the mobile script doesn’t install dnsmasq as Tom said yesterday? Sorry, that’s where I got the idea that the dnsmasq install would already be covered during the MakeFogMobile install.
-
RE: ..and one FOG-VM to rule them all.
@george1421 Thanks George/Wayne, so won’t the MakeFogMobile install.sh script install the current version of dnsmasq? Are you saying to run that script and then put the ltsp.conf with the content you listed into /etc/dnsmasq.d/ ? Will there already be a ltsp.conf file in there that I’ll need to overwrite? Just want to get all my ducks in a row before I try this.
-
RE: ..and one FOG-VM to rule them all.
@george1421 Thanks George and thanks everyone else for your responses. This is great news and exactly what I need. I’ve only configured DCHP options 66/67 at one office but there are three others where I haven’t and a couple of them don’t use Windows server-based DHCP but rather DHCP on local firewalls. All offices do have VOIP phones but I don’t think there will be any risk because they all operate on separate VLANS configured for VOIP traffic. I’m at one of the other offices today and plan to install MakeFogMobile with dnsmasq and see if I can get it to work. Since dnsmasq is included in MakeFogMobile all I should need to do is run install.sh as root in a folder containing the install.sh and MainScript.sh scripts, correct? Can I run those scripts from any location or is there a specific location you would recommend? As I said previously, my VM is running the current (18.3 Sylvia - Cinnamon 64-bit) version of Linux Mint.
-
RE: ..and one FOG-VM to rule them all.
@tom-elliott Yes I thought I read that, …so would setting a static IP each time mess things up or you both are just saying it would be unnecessary with dnsmasq?
-
RE: ..and one FOG-VM to rule them all.
@george1421 Thanks George! So I’ve already made sure DHCP at each location has server options 66/67 configured. 66 points to the assigned static for my FOG vm and 67 for the undionly kpxe option. My VM works perfectly for one location and I tested it recently and was able to pxe-boot 5 HP desktops and deploy images to them. So are you simply saying that instead of using static addresses at each location, I could install dnsmasq and have everything work using automatic-dhcp network settings on my Linux Mint vm instead of manual-static? Sorry if I’m not clear on what you’re driving at…
-
RE: ..and one FOG-VM to rule them all.
AWESOME + Exactly what I’ve been looking for! Thanks so much Tom!
-
..and one FOG-VM to rule them all.
First, something I’ve been meaning to get off my chest for a while. A huge THANK YOU to the FOG Team for all the hard work and for making such an incredible imaging solution available to the masses! I’ve never seen such a flexible, free, easy to use solution and it’s become my default, even over all the expensive/enterprise alternates out there.
I don’t know whether or not anyone else has asked before, I’m not sure what search term to use in the forums. I use FOG in many different deployments, including as a Linux Mint VM w/Vmware Workstation on my primary laptop. It’s often that I need to use FOG at different office locations with different private network subnets. It’s really not a big deal for me to spin up several different FOG vm’s, each with their own unique static IP address but I was wondering if there’s an easy way I could quickly switch the static IP address and corresponding address defined in FOG so that I can use a single FOG-VM instead of multiple? I believe I ran across instructions in the forums a while back for re-IP’ng a FOG install but it seemed too complex/time consuming to get working right and when I was trying to do it, eventually threw up my hands and just re-installed Mint/FOG. Maybe this is more of a feature request and maybe it’s already been added but I’d appreciate it if someone could respond and tell me if this would be possible or not. I’d rather not have to edit the FOG configuration in multiple places and a bunch of configuration files in LM to accomplish this each time.