-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Voit wrote: > 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
Where does this idea come from? What do you want to achieve? Do you want to wake your PC from the internet or from your router? And why would you need the arp command to awaken your PC? 'arp' just shows the conents of /proc/net/arp in a "nicely formatted way", so what you probably need is etherwake. - -- Udo Rader http://www.bestsolution.at -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org iEYEARECAAYFAkhh9pIACgkQJkMMup66A9wLtQCfZb38MBGzd5URskSRan9ezLC8 9RkAnR49h/oOCv3wVMjyt7GihYBDSHlT =g6Sh -----END PGP SIGNATURE----- _______________________________________________ freewrt-users mailing list [email protected] https://www.freewrt.org/lists/listinfo/freewrt-users
