iPXE timeout after upgrade to trunk
-
OK self-resolved.
I modified /tftpboot/default.ipxe and restarted tftpd-hpa service
it’s working now -
I’m a bit confused on your current setup. Your FOG server IS 192.168.1.1? Where does 192.168.1.207 come into play? It looks like your target computer thinks the fog server is there.
-
@templink said:
OK self-resolved.
I modified /tftpboot/default.ipxe and restarted tftpd-hpa service
it’s working nowWhile its working I wonder how many pains it will give you the next time you upgrade your FOG server. There is a setting inside the FOG management console you need to update. Its in the FOG settings section that has the wrong IP address.
-
thx i’ll look there.
My FOG server is a laptop with 2 IPs: (eth1 192.168.1.1 static) and (wlan 192.168.1.207 dhcp)I checked the settings in FOG web GUI, they appear correct for TFTP server IP. = 192.168.1.1
-
@templink This may be a place to start: https://forums.fogproject.org/topic/6348/wrong-ip-on-pxe-boot/9
But I though there was a variable in that file and not hard coded, so I may be a bit confused on this. I’ll have to power on my dev box and see if there is a static value in there.
-
default.ipxe is hard coded because the file is retrieved over tftp and cannot be easily generated on request. it’s value is based on answers given during install, or retrieved from the file .fogsettings in /opt/fog/ that is used for upgrade installs. it is here that you should edit ipaddress= setting to prevent the default.ipxe file from being incorrect after future installs.
-
@george1421 said:
But I though there was a variable in that file and not hard coded
I think that’s the only place it’s hard coded. The installer builds the file.
-
That was my bad sorry im an idiot sometimes.
-
@Tom-Elliott lol Tom.
-
I’ve solved the thread.
The timeout was because this system is on an isolated network.
The isolated network IP is 192.168.1.1, but the wifi lan is set to 192.168.1.207 (which gives the device internet for upgraded/updating).
To enable the installation to operate, I changed the IP address to 192.168.1.207 as the DB settings were already set.
This ipaddress was used to generate the default.ipxe file which was what was causing the problem and I over looked it.
Sorry