Wake On Lan with R7000


Re: Wake On Lan with R7000

I wrote up a visual basic script that can be executed in windows task scheduler (ie once a day, every PC start, once a week, etc). It may be handy in the event of a power loss or router reboot. You can also save this script anywhere on your pc and with one click have your ARP entries restored. Copy and paste the code below. Edit it with your IP addresses and MAC addresses (per ViperGeek's instructions), then save it as "whatever.vbs"


Option Explicit

On Error Resume Next

Dim WshShell

set WshShell=CreateObject("WScript.Shell") "cmd.exe"

WScript.Sleep 1000

WshShell.Sendkeys "telnetenable.exe ROUTERMACADDRESS admin routerpassword{ENTER}"

WScript.Sleep 1000

WshShell.SendKeys "telnet{ENTER}"

WScript.Sleep 1000

WshShell.SendKeys "arp -i br0 -s x.x.x.x mm:mm:mm:mm:mm:mm where x.x.x.x is the WoL destination IP address (not .255) and mm... is the WoL destination's MAC address{ENTER}"

WScript.Sleep 2000

WshShell.SendKeys "arp{ENTER}"

WScript.Sleep 3000

WshShell.SendKeys "exit{ENTER}"

WScript.Sleep 1000

WshShell.SendKeys "exit{ENTER}"


The last "arp{ENTER}" command is optional. I just added that and a 3 second delay to verify the "PERM" entry was successful

Message 51 of 52

Re: Wake On Lan with R7000(R7000)


Do you have any method that I can enable and pass your code to R7000 on android device?
I am tried DOSBOX, but not able to run telnetable.exe
Message 52 of 52
Top Contributors
Discussion stats

Orbi WiFi 6E