Neptune354 http://cyberstorm.altervista.org/phpBB3/ |
|
[WoL] Wake On Lan from Internet http://cyberstorm.altervista.org/phpBB3/viewtopic.php?f=8&t=40 |
Page 1 of 1 |
Author: | n1ck0s [ 07 Feb 2008, 16:33 ] |
Post subject: | [WoL] Wake On Lan from Internet |
I want to use Wake-On-LAN with my WAG354G. In order to do that the router has to be able to port forward UDP 9 traffic to 198.168.1.255 (as I understand x.x.x.x.255 is used for broadcast). In the port forward options I can't enter the 255 as a value. Only values up to 254 are valid. By googling, I've found the following solution. The following command is given by telnet: Code: ip neighbor add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff dev br0 nud permanent The 192.168.1.254 IP is linked to the ff:ff:ff:ff:ff:ff MAC, which is also used for broadcasting. That way, by port forwarding UDP 9 traffic to 198.162.1.254, Wake-On-LAN works. But, the thing is, that this must be done every time the router is restarted. Is there a way to implement this in the firmware somehow? Thanks in advance, N. |
Author: | cyberstorm [ 08 Feb 2008, 14:52 ] |
Post subject: | Re: Wake On Lan |
yes, you can use the boot script feature. Instructions on how to do it are both in this forum and in web interface under administration. You have to write in /mnt/script.sh these 2 lines: Code: #!/bin/sh ip neighbor add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff dev br0 nud permanent cheers |
Author: | n1ck0s [ 11 Feb 2008, 11:20 ] |
Post subject: | Re: [WoL] Wake On Lan from Internet |
Unfortunately I can't get it to work. Has anyone else tried that? Is there a script or something which can send a magic packet? Is there a way to call such a script from the router's interface (by hitting a specific url perhaps)? Thx in advance, N. |
Author: | DJKarlos [ 14 Feb 2008, 17:14 ] |
Post subject: | Re: [WoL] Wake On Lan from Internet |
I've been using the free web interface to send the magic packet which has been working for me. http://www.rtsecurity.com/products/wol/ |
Author: | tidyfc [ 22 Mar 2008, 00:10 ] |
Post subject: | Re: Wake On Lan |
cyberstorm wrote: yes, you can use the boot script feature. Instructions on how to do it are both in this forum and in web interface under administration. You have to write in /mnt/scripts.sh these 2 lines: Code: #!/bin/sh ip neighbor add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff dev br0 nud permanent cheers FYI, the name of the script file should be /mnt/script.sh and not /mnt/scripts.sh. Its taken me 2 days to figure it out but now works like a charm. ![]() |
Author: | cyberstorm [ 24 Mar 2008, 19:42 ] |
Post subject: | Re: [WoL] Wake On Lan from Internet |
yes indeed tidyfc! It was a typo... happy to see it works! |
Author: | DJKarlos [ 13 Jan 2009, 20:10 ] |
Post subject: | Re: [WoL] Wake On Lan from Internet |
Quote: FYI, the name of the script file should be /mnt/script.sh and not /mnt/scripts.sh. Its taken me 2 days to figure it out but now works like a charm. ![]() I know this is very late in the day lol... I tried adding the above script to the /mnt/ folder, which was fine... As soon as I rebooted the router I noticed that my script.sh file had disappeared?! Should I have put this file in a different location, or have I missed something that I need to set first? |
Author: | starsat2000 [ 03 Feb 2009, 17:00 ] |
Post subject: | Re: [WoL] Wake On Lan from Internet |
cyberstorm wrote: yes, you can use the boot script feature. Instructions on how to do it are both in this forum and in web interface under administration. You have to write in /mnt/scripts.sh these 2 lines: Code: #!/bin/sh ip neighbor add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff dev br0 nud permanent OK friends but i don't know linux and i don't know how i can write in /mnt/scripts.sh these 2 lines PLEASE help me step by step Friently George |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |