WOL not working

Bug #1362196 reported by drambeausoft
10
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.

Revision history for this message
nico (musklor) wrote :

edit function_wol.php

socket_sendto($s,$this->pacquet($mac),strlen($this->pacquet($mac)),0,$ip,$v);

("255.255.255.255" -> $ip)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.