![]() Wol Wake on Lan Wan for my Android phone.The last step is have at least to ways to start your computer from the internet. I will know that my router configuration is ready for wake on lan. ![]() path/to/ActualizarTablaArpRouterADSL.sh |mail -s "`hostname` MAC para el WOL" has 2 added benefits: My decision was add a line in my server’s /etc/rc.local file like this: # Sets the MAC/IP tuple in ADSL router for WOL from internet This way every time it runs you will be sure that you can restart your server from the internet. The next thing to do is to put this script in a crontab job, /etc/rc.local, etc of one of your servers. □ But at least every time this script is run the ARP is set automagically □ ? (192.168.1.2) at 2F:1E:8A:84:2A:F9 PERM on br0Īs can be seen in the last line the router have set the ARP entry as permanent…. ActualizarTablaArpRouterADSL.shīusyBox vv1.9.1 ( 16:23:47 CST) built-in shell (ash)Įnter 'help' for a list of built-in commands. Set ip "192.168.1.2" #your server's IP address (not the dns name) Set password "admin" #your router's password. Set router "router" #your router's dns name or IP It just simulates a Telnet session with your router: It worked like a charm and made me think about automatize the way I set the ARP table in my Comtrend HG532c ADSL router. To perform such titanic task I created a quick and dirty script using expect. ![]() ![]() In my current job I had to change recently some configuration and restart more than 600 IP phones. #CONFIGURE ROUTER FOR WOL MANUAL#That was easy too, but some manual work was needed as when router is restarted the ARP table is flushed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |