Windows 10 UEFI PC opens from fog server but boots into Windows instead PXE
-
@hariskar said:
But there is still some problem: fog can not boot both PCs.
Is WOL (wake on LAN) enabled in BIOS/UEFI for both PCs ???
PS: Updated the wiki article to use ‘dhcp-boot’ instead of ‘dhcp-option-force’ as I can’t think of why ‘dhcp-boot’ should not work for others as well. We’ll see. Please prove me wrong.
-
Yes of course. WOL was working in both PCs with undionly.PXE. After I put the 12 lines in DNSMasq it does not work with fog. But I can wake up my PCs from the routers interface.
-
@hariskar Can you make sure the WOL packets are sent to the network? Install tcpdump package on your FOG server and run
tcpdump -i any -w wol.pcap port 9
. Leave the command on the console and schedule a task for the PCs, check the logs for WOL packets being sent and then stop tcpdump (Ctrl-c). Please upload the wol.pcap file to the forum so we can have a look. -
Fog Log Viewer/Service Master newest entry is 2 days ago, is this correct?
[03-27-16 2:20:17 pm] FOGTaskScheduler fork()ed child process (9831).
[03-27-16 2:20:17 pm] FOGTaskScheduler child process (9831) is running.
[03-29-16 12:55:48 pm] service_signal_handler (9812) received signal 15.
[03-29-16 12:55:48 pm] service_signal_handler (9812) killing child (9831).
[03-29-16 12:55:48 pm] service_signal_handler (9812) exiting.
[03-29-16 3:55:48 pm] FOGTaskScheduler Start
[03-29-16 3:55:48 pm] FOGTaskScheduler fork()ed child process (16875).
[03-29-16 3:55:48 pm] FOGTaskScheduler child process (16875) is running.
[03-29-16 3:57:05 pm] service_signal_handler (16859) received signal 15.
[03-29-16 3:57:05 pm] service_signal_handler (16859) killing child (16875).
[03-29-16 3:57:05 pm] service_signal_handler (16859) exiting.
[03-29-16 4:10:24 pm] FOGTaskScheduler Start
[03-29-16 4:10:24 pm] FOGTaskScheduler fork()ed child process (5292).
[03-29-16 4:10:24 pm] FOGTaskScheduler child process (5292) is running.
[03-29-16 5:52:09 pm] service_signal_handler (5273) received signal 15.
[03-29-16 5:52:09 pm] service_signal_handler (5273) killing child (5292).
[03-29-16 5:52:09 pm] service_signal_handler (5273) exiting.
[03-29-16 5:52:09 pm] FOGTaskScheduler Start
[03-29-16 5:52:09 pm] FOGTaskScheduler fork()ed child process (6073).
[03-29-16 5:52:09 pm] FOGTaskScheduler child process (6073) is running. -
@hariskar The PCAP file is completely empty. Either something went wrong with capturing or your server does not send WOL packets. The ServiceMaster Log looks ok to me! Please check the FOGScheduler log again. Change “Number of lines” to 1000 so you see it all. On (re)start the scheduler should print the FOG logo and then a couple of lines like:
Interface Ready with IP Address: ...
Please post that part of the logs here.
-
########################################### # Free Computer Imaging Solution # # Credits: # # http://fogproject.org/credits # # GNU GPL Version 3 # ########################################### [03-31-16 11:50:20 am] Interface Ready with IP Address: 94.69.139.243 [03-31-16 11:50:20 am] Interface Ready with IP Address: 192.168.1.5 [03-31-16 11:50:20 am] Interface Ready with IP Address: debian-server [03-31-16 11:50:20 am] Interface Ready with IP Address: ppp-94-69-139-243.home.otenet.gr [03-31-16 11:50:20 am] * Starting TaskScheduler Service [03-31-16 11:50:20 am] * Checking for new items every 60 seconds [03-31-16 11:50:20 am] * Starting service loop [03-31-16 11:50:20 am] * 0 active tasks waiting to wake up. [03-31-16 11:50:20 am] * No tasks found! [03-31-16 11:51:20 am] * 0 active tasks waiting to wake up. [03-31-16 11:51:20 am] * No tasks found! [03-31-16 11:52:20 am] * 0 active tasks waiting to wake up. [03-31-16 11:52:20 am] * No tasks found!
-
@hariskar said:
[03-31-16 11:52:20 am] * 0 active tasks waiting to wake up.
[03-31-16 11:52:20 am] * No tasks found!Did you actually schedule a task when capturing the PCAP dump?? Sorry for asking those questions but I cannot help myself. WOL is working great here and I cannot reproduce what’s going wrong on your system.
-
Sebastian, sorry for confusing you. The log above is just from Scheduler restart, without any task. I upload here a new wol.pcap where you should see a packet from an instant task.0_1459415578972_wol.pcap
[03-31-16 12:14:22 pm] * 1 active task waiting to wake up. [03-31-16 12:14:22 pm] | Sending WOL Packet(s) [03-31-16 12:14:22 pm] - Host: ergastirio WOL sent to all macs associated [03-31-16 12:14:22 pm] * No tasks found!
-
@hariskar Thanks for log info and the new PCAP. It’s empty again… I am kind of lost with this. Will check the code to see how we can further debug this.
-
@hariskar Please get another pcap dump and while it is waiting access this URL from your browser: http://192.168.1.5/fog/management/index.php?node=client&sub=wakeEmUp&mac=00:00:00:00:00:01 (put in your client’s MAC address instead)
-
I re-installed fog and everything works fine!
-
As I said everything works great! Thank you again for great support!