Unable to do a host registration
-
Here is the rest.
[url]http://10.1.40.103/fog/service/ipxe/boot.php?mac=00:21:cc:5d:f8:5f[/url]
#!ipxe
cpuid --ext 29 && set arch x86_64 || set arch i386
colour --rgb 0xff6600 2
cpair --foreground 7 --background 2 2
console --picture [url]http://192.168.1.1/fog/service/ipxe/bg.png[/url] --left 100 --right 80
:MENU
menu
colour --rgb 0x00ff00 0
cpair --foreground 0 3
item --gap Host is registered as T420a-R8W8YH3
item --gap – -------------------------------------
item fog.local Boot from hard disk
item fog.memtest Run Memtest86+
item fog.keyreg Update Product Key
item fog.quickimage Quick Image
item fog.quickdel Quick Host Deletion
item fog.sysinfo Client System Information (Compatibility)
item fog.advanced Advanced Menu
choose --default fog.local --timeout 60000 target && goto ${target}
:fog.local
sanboot --no-describe --drive 0x80 || goto MENU
:fog.memtest
kernel memdisk iso raw
initrd memtest.bin
boot || goto MENU
:fog.reginput
kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=192.168.1.1/fog/ consoleblank=0 loglevel=4 1
imgfetch init_32.xz
boot || goto MENU
:fog.keyreg
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param keyreg 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain -ar [url]http://192.168.1.1/fog/service/ipxe/boot.php##params[/url] ||
goto MENU
:fog.reg
kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=192.168.1.1/fog/ consoleblank=0 loglevel=4 1
imgfetch init_32.xz
boot || goto MENU
:fog.quickimage
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param qihost 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain -ar [url]http://192.168.1.1/fog/service/ipxe/boot.php##params[/url] ||
goto MENU
:fog.quickdel
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param delhost 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain -ar [url]http://192.168.1.1/fog/service/ipxe/boot.php##params[/url] ||
goto MENU
:fog.sysinfo
kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=192.168.1.1/fog/ consoleblank=0 loglevel=4 mode=sysinfo
imgfetch init_32.xz
boot || goto MENU
:fog.debug
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param debugAccess 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain -ar [url]http://192.168.1.1/fog/service/ipxe/boot.php##params[/url] ||
:fog.advanced
chain -ar [url]http://192.168.1.1/fog/service/ipxe/advanced.php[/url] || goto MENU
autobootThanks in advance for any help you can provide.
-
From what I’m seeing, the host is registered.
I don’t know why it failed installing tftp, but from the boot menu, the host is already registered so you wouldn’t see the quick reg and inventory option.
-
For this particular host, you are correct. I was using this host for testing purposes only. However, if it was not already registered, there is no option, as far as I have been able to tell, on the PXE menu to register and inventory the host. The “Quick Registration and Inventory” option was on the PXE menu when I was running FOG 0.32, but it is no longer there after the upgrade to 1.2.0.
-
So again can you post the exact same thing [U][I][B]BUT with this BAD HOST[/B][/I][/U]
-
It seems, if I understood the original post correctly, that we appear to be missing the actual issue. If I misunderstood the original post, then I apologize for muddying the waters. The issue I am having, the same issue to which I believe the original post refers, has been stated twice in my earlier posts.
In my most recent post, I stated:
The “Quick Registration and Inventory” option was on the PXE menu when I was running FOG 0.32, but it is no longer there after the upgrade to 1.2.0.In my original post, I asked:
Is there a way to add this option back to the PXE menu, or at the very least, perform the same function with another PXE menu option?Again, I thank you in advance for any help you may provide.
-
Can you provide the boot.php output using the Mac of that particular host?
-
OK. It looks like my issue was user error and ignorance. I believe my installation is doing what I need it to do. The first problem was that I was used to all hosts booting to the same PXE menu, as was the case in version 0.32. When I deleted the registration for my test host, I got a different menu, which contained the Quick Registration and Inventory option that I needed. So, for anyone else out there upgrading from version 0.32, with the new version, unregistered hosts boot to one menu, and registered hosts boot to a different menu. The next issue was getting it configured properly. Thanks again for your assistance.
-
Well, I tried to boot another pcs with the same behaviour: When I click on “registration” menu option the system reboots. [S]But, if I try to boot on a virtualbox virtual machine, that option gives me a “FATAL: INT18: BOOT FAILURE” error. [/S](ops, is an Virtualbox error…). I don’t know what is happening. I tried to reinstall fog without success.
Any idea what is wrong?
Thank you
-
So…
Host isn’t registering? Is this all hosts, or just particular hosts?
-
I can’t register any host.
Well! I managed to see the error on an old computer:
/bzImage32… No such file or directory ([url]http://ipxe.org/2d12603b[/url])
Could not boot: No such file or directory ([url]http://ipxe.org/2d12603b[/url]) -
what version of fog are you running?
Can you update to the latest?
-
I’m on [SIZE=12px][FONT=Verdana][COLOR=#494949]1.2.0 (the latest version published)[/COLOR][/FONT][/SIZE]
-
1.2.0 is the stable published release. This was put out in June. If you could update to trunk it will help to narrow down some issues. Please update using the wiki link below.
[url]http://fogproject.org/wiki/index.php/Upgrade_to_trunk[/url]
-
I’ll test tomorrow the SVN version.
Thank you!
-
It’s working with the latest SVN version, thank you very much!