Hello,

I am trying to configure my Asus WL500G Premium v1 Router, with the 
latest FreeWRT running, to wake my desktop PC in my Lan.

Following tutorials online, iptables does not allow broadcast messages, 
hence, a prerouting to a specific ip and arping that ip to a 
mac-broadcast becomes necessary:

iptables -t nat -A PREROUTING -i eth0 -p udp -d 192.168.0.1 --dport 9 -j DNAT 
--to 192.168.1.254:9
arp -s 192.168.1.254 ff:ff:ff:ff:ff:ff


However, it seems, 'arp' is not available on FreeWRT. On OpenWRT (as 
found on some wikis and docs) implements the busybox command "ip 
neigh..." for it, but this does not work in FreeWRT either.

Hence my questions:

Has somebody successfully got wake on lan working, especially with 
iptables running? If yes, how did you succeed?
And: is there an alternative to arp? I found, that 'cat /proc/net/arp' 
prints the arp-table. Unfortunately it cannot be altered at boot- or 
runtime. How can i achieve it anyway?

Thanks for every hint and help in advance!

_______________________________________________
freewrt-users mailing list
freewrt-users@freewrt.org
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to