PXE issues?
-
I’m not sure why this fixed my problem, but it did. We were getting timeouts/hanging at kernel download…
I’d love to hear an explanation of what is looking for undionly.0…
-
Hello, I’m the rookie that struggled with TFTP login issues all day yesterday. I reinstalled FOG 1.2.0 today and it seems to have fixed that problem. Today I’ve struggled with the PXE boot. I can turn on a Dell D620, but get the T01, E3B file not found on my three victims (old Dell D620 (32bit), Thinkpad E440 (64) and a 64-bit VM). I tried adding an advanced menu option, but haven’t seen it come up. I’m not using FOG for DHCP and do get an IP address. DHCP entries for 66 and 67 have been made. The undionly.kpxe file does exist in the TFTPBOOT folder. I went with 12.04 LTS desktop version after getting befuddled with the server version which I tried after getting befuddled with the desktop version. I’ve tried using the undionly.kpxe.INTEL file as well, but went back to undionly.kpxe. FOG does turn on the D620 (the bright spot in the day), misses the PXE boot with the file not found errors, gets to the Windows login screen and then shuts down to try it all over again. This is what I get from the boot.php file. Any advice you can give me would be most appreciated.
[COLOR=#000000]#!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.8/fog/service/ipxe/bg.png[/url] --left 100 --right 80
:MENU
menu
colour --rgb 0xff0000 0
cpair --foreground 0 3
item --gap Host is NOT registered!
item --gap – -------------------------------------
item fog.local Boot from hard disk
item fog.memtest Run Memtest86+
item fog.reginput Perform Full Host Registration and Inventory
item fog.reg Quick Registration and Inventory
item fog.sysinfo Client System Information (Compatibility)
item fog.advanced Advanced Menu
choose --default fog.local --timeout 9000 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=192.168.1.1 keymap= web=192.168.1.8/fog/ consoleblank=0 loglevel=4 mode=manreg
imgfetch init_32.xz
boot || goto MENU
:fog.reg
kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 keymap= web=192.168.1.8/fog/ consoleblank=0 loglevel=4 mode=autoreg
imgfetch init_32.xz
boot || goto MENU
:fog.sysinfo
kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 keymap= web=192.168.1.8/fog/ consoleblank=0 loglevel=4 mode=sysinfo
imgfetch init_32.xz
boot || goto MENU
:fog.advanced
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param advLog 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.8/fog/service/ipxe/boot.php##params[/url] ||
goto MENU
autoboot[/COLOR] -
[quote=“Barbara Howard, post: 39245, member: 27181”]Hello, I’m the rookie that struggled with TFTP login issues all day yesterday. I reinstalled FOG 1.2.0 today and it seems to have fixed that problem. Today I’ve struggled with the PXE boot. I can turn on a Dell D620, but get the T01, E3B file not found on my three victims (old Dell D620 (32bit), Thinkpad E440 (64) and a 64-bit VM). I tried adding an advanced menu option, but haven’t seen it come up. I’m not using FOG for DHCP and do get an IP address. DHCP entries for 66 and 67 have been made. The undionly.kpxe file does exist in the TFTPBOOT folder. I went with 12.04 LTS desktop version after getting befuddled with the server version which I tried after getting befuddled with the desktop version. I’ve tried using the undionly.kpxe.INTEL file as well, but went back to undionly.kpxe. FOG does turn on the D620 (the bright spot in the day), misses the PXE boot with the file not found errors, gets to the Windows login screen and then shuts down to try it all over again. This is what I get from the boot.php file. Any advice you can give me would be most appreciated.
[COLOR=#000000]#!ipxe[/COLOR]
[COLOR=#000000]cpuid --ext 29 && set arch x86_64 || set arch i386[/COLOR]
[COLOR=#000000]colour --rgb 0xff6600 2[/COLOR]
[COLOR=#000000]cpair --foreground 7 --background 2 2[/COLOR]
[COLOR=#000000]console --picture [url]http://192.168.1.8/fog/service/ipxe/bg.png[/url] --left 100 --right 80[/COLOR]
[COLOR=#000000]:MENU[/COLOR]
[COLOR=#000000]menu[/COLOR]
[COLOR=#000000]colour --rgb 0xff0000 0[/COLOR]
[COLOR=#000000]cpair --foreground 0 3[/COLOR]
[COLOR=#000000]item --gap Host is NOT registered![/COLOR]
[COLOR=#000000]item --gap – -------------------------------------[/COLOR]
[COLOR=#000000]item fog.local Boot from hard disk[/COLOR]
[COLOR=#000000]item fog.memtest Run Memtest86+[/COLOR]
[COLOR=#000000]item fog.reginput Perform Full Host Registration and Inventory[/COLOR]
[COLOR=#000000]item fog.reg Quick Registration and Inventory[/COLOR]
[COLOR=#000000]item fog.sysinfo Client System Information (Compatibility)[/COLOR]
[COLOR=#000000]item fog.advanced Advanced Menu[/COLOR]
[COLOR=#000000]choose --default fog.local --timeout 9000 target && goto ${target}[/COLOR]
[COLOR=#000000]:fog.local[/COLOR]
[COLOR=#000000]sanboot --no-describe --drive 0x80 || goto MENU[/COLOR]
[COLOR=#000000]:fog.memtest[/COLOR]
[COLOR=#000000]kernel memdisk iso raw[/COLOR]
[COLOR=#000000]initrd memtest.bin[/COLOR]
[COLOR=#000000]boot || goto MENU[/COLOR]
[COLOR=#000000]:fog.reginput[/COLOR]
[COLOR=#000000]kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 keymap= web=192.168.1.8/fog/ consoleblank=0 loglevel=4 mode=manreg[/COLOR]
[COLOR=#000000]imgfetch init_32.xz[/COLOR]
[COLOR=#000000]boot || goto MENU[/COLOR]
[COLOR=#000000]:fog.reg[/COLOR]
[COLOR=#000000]kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 keymap= web=192.168.1.8/fog/ consoleblank=0 loglevel=4 mode=autoreg[/COLOR]
[COLOR=#000000]imgfetch init_32.xz[/COLOR]
[COLOR=#000000]boot || goto MENU[/COLOR]
[COLOR=#000000]:fog.sysinfo[/COLOR]
[COLOR=#000000]kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 keymap= web=192.168.1.8/fog/ consoleblank=0 loglevel=4 mode=sysinfo[/COLOR]
[COLOR=#000000]imgfetch init_32.xz[/COLOR]
[COLOR=#000000]boot || goto MENU[/COLOR]
[COLOR=#000000]:fog.advanced[/COLOR]
[COLOR=#000000]login[/COLOR]
[COLOR=#000000]params[/COLOR]
[COLOR=#000000]param mac0 ${net0/mac}[/COLOR]
[COLOR=#000000]param arch ${arch}[/COLOR]
[COLOR=#000000]param username ${username}[/COLOR]
[COLOR=#000000]param password ${password}[/COLOR]
[COLOR=#000000]param advLog 1[/COLOR]
[COLOR=#000000]isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme[/COLOR]
[COLOR=#000000]isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme[/COLOR]
[COLOR=#000000]:bootme[/COLOR]
[COLOR=#000000]chain -ar [url]http://192.168.1.8/fog/service/ipxe/boot.php##params[/url] ||[/COLOR]
[COLOR=#000000]goto MENU[/COLOR]
[COLOR=#000000]autoboot[/COLOR][/quote]Is your firewall disabled on the server?
Can you follow the tftp troubleshooting guide on the wiki?
[url]http://fogproject.org/wiki/index.php/Tftp_timeout[/url]From what I can tell, your particular issue is that it’s not even getting to the undionly.kpxe file. NO amount of work or changes or additions to the advanced menu, or any menu for that matter, will help you see a menu if you’re not getting the file that’s needed.
-
[INDENT]The firewall is disabled and I can successfully transfer the file via TFTP on my windows machine. Rights to tftpboot folder show: Owner=1002 (a user created as part of the installation?), Group=root and Others=Access Files. Not sure how to adjust that, but I made sure the rights to the images folder look OK (owner is root). Even tried a subfolder in images with ‘create and delete’ rights for all users even though I’m not getting that far in the process. Thank you for the help, Tom![/INDENT]
-
This post is deleted! -
[quote=“Barbara Howard, post: 39252, member: 27181”]
[INDENT=1]The firewall is disabled and I can successfully transfer the file via TFTP on my windows machine. Rights to tftpboot folder show: Owner=1002 (a user created as part of the installation?), Group=root and Others=Access Files. Not sure how to adjust that, but I made sure the rights to the images folder look OK (owner is root). Even tried a subfolder in images with ‘create and delete’ rights for all users even though I’m not getting that far in the process. Thank you for the help, Tom![/INDENT]
[/quote]Did you set up DNSMasq again?
-
Tried to install dnsmasq and it threw an error about dnsmasq-base being an unmet dependency. This sure is making me nervous though I do appreciate the advice.
-
which version of 12.04 did you install, 12.04.1LTS? 12.04.4 LTS? 12.04.5LTS?
-
It just says 12.04 LTS. I have not done the 81 updates that are available. I did try to do this: chmod -R 777 /tftpboot and got ‘operation not permitted’. This folder is owned by mystery user #1002 which does not show up in my user list. I have not been able to get dnsmasq set up because each roadblock requires study on my part.
-
try [code]
sudo chmod -R 0777 /tftpboot
[/code]Your user may not have the required privileges to chmod that folder without sudo.
I only ask so I can download a version and try to replicate your issues.
-
It still surprises me that my user account is an Administrator, but I’m still not Queen of the Ubuntu castle. Mercy, I’ve made no progress today … my new boss must be totally impressed with the new Tech Lady.
-
[quote=“Jaymes Driver, post: 34020, member: 3582”]You could always try DNSMasq to proxy serve your bootfile and server, sometimes this can alleviate issues with finding the correct files.
I was having the same error and I tried the above link now I get the new menu screen but it just constatly flashes that screen and noting else.
-
I just went back to .32 it works with no extra troubleshooting.
-
[quote=“John VanHoose, post: 39534, member: 4156”]I just went back to .32 it works with no extra troubleshooting.[/quote]
It’s tempting, John, but I’m not giving up just yet.