- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
- Next »
Re: Wake On Lan with R7000
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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") WshShell.run "cmd.exe" WScript.Sleep 1000 WshShell.Sendkeys "telnetenable.exe 192.168.1.1 ROUTERMACADDRESS admin routerpassword{ENTER}" WScript.Sleep 1000 WshShell.SendKeys "telnet 192.168.1.1{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}" WScript.Quit
The last "arp{ENTER}" command is optional. I just added that and a 3 second delay to verify the "PERM" entry was successful
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Wake On Lan with R7000(R7000)
- « Previous
- Next »
• Introducing NETGEAR WiFi 7 Orbi 770 Series and Nighthawk RS300
• What is the difference between WiFi 6 and WiFi 7?
• Yes! WiFi 7 is backwards compatible with other Wifi devices? Learn more