Deprecated: Function set_magic_quotes_runtime() is deprecated in /membri/cyberstorm/phpBB3/common.php on line 106

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /membri/cyberstorm/phpBB3/includes/bbcode.php on line 112
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3390: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3392: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
Neptune354 • View topic - [WoL] Wake On Lan from Internet




Neptune354


SORRY GUYS; DUE TO A BIG AMOUNT OF SPAM I HAVE BLOCKED ALL THE FORUM ACTIVITY :-/
It is currently 24 Nov 2017, 18:22

All times are UTC + 1 hour [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: [WoL] Wake On Lan from Internet
PostPosted: 07 Feb 2008, 16:33 
Offline
 Profile

Joined: 07 Feb 2008, 16:25
Posts: 2
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.


Top
 

 Post subject: Re: Wake On Lan
PostPosted: 08 Feb 2008, 14:52 
Offline
Site Admin
 Profile

Joined: 04 Jun 2007, 17:55
Posts: 67
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


Top
 

 Post subject: Re: [WoL] Wake On Lan from Internet
PostPosted: 11 Feb 2008, 11:20 
Offline
 Profile

Joined: 07 Feb 2008, 16:25
Posts: 2
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.


Top
 

 Post subject: Re: [WoL] Wake On Lan from Internet
PostPosted: 14 Feb 2008, 17:14 
Offline
 Profile

Joined: 09 Feb 2008, 18:57
Posts: 4
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/


Top
 

 Post subject: Re: Wake On Lan
PostPosted: 22 Mar 2008, 00:10 
Offline
 Profile

Joined: 22 Mar 2008, 00:05
Posts: 1
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. :D


Top
 

 Post subject: Re: [WoL] Wake On Lan from Internet
PostPosted: 24 Mar 2008, 19:42 
Offline
Site Admin
 Profile

Joined: 04 Jun 2007, 17:55
Posts: 67
yes indeed tidyfc! It was a typo...

happy to see it works!


Top
 

 Post subject: Re: [WoL] Wake On Lan from Internet
PostPosted: 13 Jan 2009, 20:10 
Offline
 Profile

Joined: 09 Feb 2008, 18:57
Posts: 4
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. :D

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?


Top
 

 Post subject: Re: [WoL] Wake On Lan from Internet
PostPosted: 03 Feb 2009, 17:00 
Offline
 Profile

Joined: 23 Jan 2009, 14:13
Posts: 1
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


Top
 

Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
Design By Poker Bandits