NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
shaggys
Jan 28, 2010Aspirant
WAKE addon problem
Hi
Just installed the WAKE addon but when trying to wake a computer upp I get the error below.
Do I have the wrong PHP version on my DUO?
I use PHP from here
PHP5 5.2.11 from WhoCares
http://www.readynas.com/forum/viewtopic.php?f=47&t=35880
Error I get is this(I removed the mac adress -:) )
Warning: socket_set_option() [function.socket-set-option]: unable to set socket option [42]: Protocol not available in /c/webroot/wake/action.php on line 34
Le PC ayant pour adresse MAC deletedMACAdress à été réveillé !
Si vous souhaitez utiliser le controle à distance, merci de patienter quelques instants le temps que votre machine demarre.
Vous pouvez fermer cette fenetre.
Just installed the WAKE addon but when trying to wake a computer upp I get the error below.
Do I have the wrong PHP version on my DUO?
I use PHP from here
PHP5 5.2.11 from WhoCares
http://www.readynas.com/forum/viewtopic.php?f=47&t=35880
Error I get is this(I removed the mac adress -:) )
Warning: socket_set_option() [function.socket-set-option]: unable to set socket option [42]: Protocol not available in /c/webroot/wake/action.php on line 34
Le PC ayant pour adresse MAC deletedMACAdress à été réveillé !
Si vous souhaitez utiliser le controle à distance, merci de patienter quelques instants le temps que votre machine demarre.
Vous pouvez fermer cette fenetre.
26 Replies
Replies have been turned off for this discussion
- mtjoernelundAspirant
gonzo_74 wrote:
// $opt_ret = socket_set_option($s, 1, 6, TRUE);
I do not think you need to disable the above line. Just replace it with this:
$opt_ret = socket_set_option($s, SOL_SOCKET, SO_BROADCAST, TRUE);
And then it should work. (BTW, am using php5 on my readynas duo). - super_poussinVirtuosoguys,
what is the value of ip_addy ?
for example :
$ip_addy = "192.168.101.255"; - PereToinouAspirantHi poussin,
mine is 192.168.1.255. No doubt, it's the broadcast of my LAN. - shaggysAspirantmine works now. Thanks for the tip...
my net is 192.168.0.255 - super_poussinVirtuosofor people having problem with 1.0 on sparc you can try
http://www.readynas.com/contributed/sup ... ke_1.1.bin
it should not touch your settings :) - Joris1Aspirant
mtjoernelund wrote:
I do not think you need to disable the above line. Just replace it with this:gonzo_74 wrote:
// $opt_ret = socket_set_option($s, 1, 6, TRUE);
$opt_ret = socket_set_option($s, SOL_SOCKET, SO_BROADCAST, TRUE);
No more problems here after I replaced the line above and changed the value of $ip_addy in action.php to the correct value for my LAN. Thanks mtjoernelund & super-poussin! - fabff7AspirantThat worked for me too! :woot:
Just replacing$opt_ret = socket_set_option($s, 1, 6, TRUE);
by$opt_ret = socket_set_option($s, SOL_SOCKET, SO_BROADCAST, TRUE);
is enough to transmit the magic packet! - piston_brokeAspirantAnyone got an english version of this
My PHP is limited but is better than my french
I think I'm getting there but an english version would be great
Cheers
Alain
Only the name is french - MED1975Aspirant
piston broke wrote: Anyone got an english version of this
My PHP is limited but is better than my french
I think I'm getting there but an english version would be great
Cheers
Alain
Only the name is french
I'd second that! An English translated version would be very useful. Here's hoping someone has done this!
Thanks
Matt - super_poussinVirtuosoif I have time , but no guarantee
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!