wol instructions

An area specifically for port forwarding, firewalls and other (on-line) security related issues.
Post Reply
tiepolo
Experienced
Experienced
Posts: 162
Joined: Sat Mar 03, 2007 10:10 pm
Location: milan, Italy

wol instructions

Post by tiepolo » Sat Nov 28, 2009 7:18 pm

Hello,

where can I find wake on lan instruction for routertech 2.9?

I imagine I can

wakelan MAC

from telnet/ssh, but I didn't understand how to add ip address to ARP, In order to send wol magic packet from WAN as far as common linux instruction

ip arpadd

doesn't seems to work (am I wrong?)

Thank you in advance,

Paolo
Paolo
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: wol instructions

Post by thechief » Sun Nov 29, 2009 3:08 pm

The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
tiepolo
Experienced
Experienced
Posts: 162
Joined: Sat Mar 03, 2007 10:10 pm
Location: milan, Italy

Re: wol instructions

Post by tiepolo » Sun Nov 29, 2009 11:20 pm

I understand I wasn't clear in my request

If I connect via telnet/ssh I know I can wake the pc with wakelan (does it work from WAN too?)

The problem is out to set the router (ARP) in order to dispatch the magic packet throught the router from WAN.

I believe (but really not sure!) that the problem is to set the link ip address - MAC Address even when the client pc is switched off

EG : this is done in DD-WRT this way :

ip neigh change 192.168.3.2 lladdr 00:48:54:d1:32:1f nud permanent dev br0
ip neigh add 192.168.3.2 lladdr 00:48:54:d1:32:1f nud permanent dev br0

but in routertech the systems says :
-sh: ip: not found

I tried to :

setenv arp1.sh ";arp -v -H ether -s 192.168.1.10 00:19:e3:df:1d:d1"

but arp -n doesn't give any answer after rebooting, while it gives a correct reply

Address HWtype HWaddress Flags Mask Iface
192.168.1.10 ether 00:19:E3:DF:1D:D1 CM br0

if I execute command

arp -v -H ether -s 192.168.1.10 00:19:e3:df:1d:d1

after boot.

I would like to know if a clear explanation exist about all that, also to check were problem exist.
Paolo
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: wol instructions

Post by thechief » Sun Nov 29, 2009 11:58 pm

tiepolo wrote: ip neigh change 192.168.3.2 lladdr 00:48:54:d1:32:1f nud permanent dev br0
ip neigh add 192.168.3.2 lladdr 00:48:54:d1:32:1f nud permanent dev br0

but in routertech the systems says :
-sh: ip: not found
Don't know much about these things - but this might help: http://linux-ip.net/html/tools-ip-route.html
tiepolo wrote:I tried to :

setenv arp1.sh ";arp -v -H ether -s 192.168.1.10 00:19:e3:df:1d:d1"
Is there anything in the system log to show what happens?

By the way, I don't think that ";arp" is a valid command.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: wol instructions

Post by thechief » Mon Nov 30, 2009 12:43 am

Also, you might want to check the wol_forward command.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
Post Reply