WOL not working
Bug #1362196 reported by
drambeausoft
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Server for Windows |
New
|
Undecided
|
Unassigned |
Bug Description
I tried to switch on a computer with de WOL link of the computer view. But it doesn't work.
The PC configuration (the one I want to be switch on) is correct because with another software (networkstuff) it works.
I look this wireshark the frame that are sent to the PC. I think I understood the problem.
The WOL frames are sent with the PC IP address instead of the broadcast address 255.255.255.255.
To check this I overwrite the PC IP adress in the ocsweb table networks field IPADDRESS with the value 255.255.255.255 and the n it work.
So the script generating the WOL must be modified to send the broadcast address 255.255.255.255 insted of the PC one.
To post a comment you must log in.
edit function_wol.php
socket_ sendto( $s,$this- >pacquet( $mac),strlen( $this-> pacquet( $mac)), 0,$ip,$ v);
("255.255.255.255" -> $ip)