Wrong IP on PXE-Boot
-
Hello there,
after following the guide https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk, my FOG server is not working properly anymore.
Can anybody tell me, where the second ip on the screenshot is configured?
Thanks in advance.
Regards
Lars -
Edit the file:
/tftpboot/default.ipxe (it’s a text file)
It most likely is set incorectly.
-
What is the output of
cat /tftpboot/default.ipxe
This is mine:
#!ipxe cpuid --ext 29 && set arch x86_64 || set arch i386 params param mac0 ${net0/mac} param arch ${arch} param platform ${platform} param product ${product} param manufacturer ${product} param ipxever ${version} param filename ${filename} isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme :bootme chain http://10.2.1.11/fog/service/ipxe/boot.php##params
Is the last line correct?
-
Thanks a lot!! Now it is solved.
I absoutely love this forum.
Can I mark the thread as solved?
Regards
Lars -
@Gardinero Marked as question then as solved.
-
Tagging this for the wiki because it’s come up a few times in the forums now, I think it deserves to be included in an article somewhere.
-
Sorry to open this thread again…
Where exactly does the install-script get the ip (${ipaddress}) from?
I just saw, that it pulls an old ip, which is not valid any more.
Thanks in advance.
Regards
Lars -
@Gardinero From
/opt/fog/.fogsettings
-
@Wayne-Workman Perfect. Thanks a lot!
-
@Gardinero Added to the wiki here: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_TFTP
Didn’t know where else to put it… it’s close enough to a tftp issue.