Enable Wake On LAN (WOL) with the Verizon Actiontec router MI424WR

I’ve struggled a lot with setting up Wake-on-LAN (WOL) with my Verizon Actiontec router. It took me a while to find the right resources to put all the pieces together and actually get it to work. After hours of trial and error, I found some good resources to solve this problem. So I’ve decided to compile them here. I will post the source URL for each step so you can view the details if you choose. I have included the main steps needed to get the configuration working.

My setup includes a desktop running Ubuntu and the Verizon Actiontec (MI424WR) wireless router. Before starting you’re going to need to note a few things.

  • Ensure that your NIC supports WOL.
  • Make sure WOL is enabled in the machine BIOS

The basic outline for the configuration will be as follows

  1. Create a static ARP entry
  2. Creating a Port Forwarding rule
  3. If you’re running ubuntu, I have some extra steps for you to take to ensure WOL gets enabled
  4. Test

Creating a static ARP Entry (http://www.dslreports.com/faq/verizonfios/3.1_Actiontec#16041)

Perform the following actions to setup the static ARP Entry.

Telnet to router:

telnet 192.168.1.1
username: admin
password: ******

If you are unable to connect to the router, do the following:

  • Go to Advanced
  • Click on Local Administration
  • Check Using Primary Telnet Port (23)
  • Apply

At the prompt, enter either (depends on model of router):

Wireless Broadband Router> shell

or:

Wireless Broadband Router> system shell

BusyBox v0.50 (2007.11.14-21:26+0000) Built-in shell (lash)
Enter 'help' for a list of built-in commands.

/ # arp -s 192.168.1.254 FF:FF:FF:FF:FF:FF
/ #

Note: This static ARP entry will not survive a reboot of the router.

Create a port-forwarding rule (http://www.dslreports.com/faq/verizonfios/3.1_Actiontec#16041)

You can create a port forwarding rule in a variety of ways. The following goes and creates a separate port forward protocol called ‘Wake-On-LAN” from which you can then reference when you actually setup the Port-Forward. You don’t necessarily need to do this. You can just specify the protocol/port number directly when you’re creating the port-forwarding rule. If that doesn’t make sense, just continue following the directions. Both will achieve the same result.

Now login to the Actiontec and Add WAKE-ON-LAN as a port forward protocol in the Actiontec:

  • Click on ADVANCED icon at top
  • Select Protocols
  • ADD (at bottom of list)
  • Service name: Wake-On-LAN
  • Add server port
  • Protocol: UDP
  • Source port: ANY
  • Dest port: SINGLE 9
  • APPLY
  • APPLY. Wake-On-LAN should now appear in the list of protocols.
  • CLOSE

Add the Port Forward Rule

  • Click on FIREWALL icon at top
  • Select Port Forwarding on left menu.
  • ADD
  • Device: 192.168.1.254
  • Protocol: Select Wake-On-LAN
  • Forward to port: 9
  • APPLY
  • APPLY. You should now see Wake-On-LAN for UDP in the list of forwarded ports

SECURITY RISK: This port forward rule should only be enabled when necessary since it will turn any packet received on port 9 into a broadcast packet on your LAN. Recommendation: If the software you are using supports it, I would suggest using an obscure port number, such as 10009, rather than the well known port 9 (security by obscurity).

Ubuntu Setup (skip if your using Windows)

Refer to this document https://help.ubuntu.com/community/WakeOnLan and read the section “Enable WOL in the NIC”. This will ensure WOL is enabled on your NIC card.

Test

Now, it’s time to test it. Poweroff your machine (I’ve gotten it to work from standy-by). On the router, you should notice that the ethernet light for the port that your computer is hooked into will be on. From another machine, send a WOL packet. To do so, you can use the following website.

http://www.depicus.com/wake-on-lan/woli.aspx

(Example from the Depicus site)

You can use your IP address provided to you by your ISP or if you have a FQDN (like from DynDns)

Or, you can use http://manpages.ubuntu.com/manpages/hardy/man8/etherwake.8.html which is a package in ubuntu that sends packets.

Please post any issues/concerns/comments.


Advertisements

About John
Programmer.

7 Responses to Enable Wake On LAN (WOL) with the Verizon Actiontec router MI424WR

  1. ed connell says:

    I have never been able to get this WOL magic packet through the Actiontec router. I used to have it working with Comcast.

    Using Magic Packet Sender, I can get it broadcast on the Lan and picked up at the target using 0.0.0.0 subnet mask, but 255 subnet mask doesn’t work. I’m pretty sure it is all the Actiontec keeping it from working.

  2. ed connell says:

    Hi – I got it to work, at long last. My ActionTec router only works if the port forwarding is set to “BOTH” for protocol, and not just UDP. It is a version D of the router if that helps anyone, and the firmware is current.

  3. Lee says:

    Hi – where you have FF:FF:FF:FF:FF:FF, do I actually put in the Fs or do I replace these with my actual IP address?

  4. hey all,

    hope this helps. i set up an HTPC for my parents and making an arp entry is way beyond them, so in case of a power outage or any other router reset, I made a script for Windows that automates the telnet/arp process. (I put it in the start up folder for the HTPC, if router and it both get reboot, it’ll enable WOL for itself automatically upon startup)

    save the following as WOL.wsf, and edit the IPs, router password, and target MAC address as needed!

    Option Explicit
    On Error Resume Next
    Dim WshShell
    set WshShell=CreateObject(“WScript.Shell”)
    WshShell.run “cmd.exe”
    WScript.Sleep 1000
    WshShell.SendKeys “telnet 192.168.1.1”
    WshShell.SendKeys (“{Enter}”)
    WScript.Sleep 1000
    WshShell.SendKeys (“admin”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WScript.Sleep 1000
    WshShell.SendKeys (“password”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WScript.Sleep 1000
    WshShell.SendKeys (“shell”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WshShell.SendKeys (“arp -s 192.168.1.6 00:01:2e:24:6b:0e”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WScript.Sleep 1000
    WshShell.SendKeys (“exit”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WScript.Sleep 1000
    WshShell.SendKeys (“exit”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WScript.Sleep 2000
    WshShell.SendKeys (“exit”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WScript.Quit 1

  5. hey all,

    hope this helps. i set up an HTPC for my parents and making an arp entry is way beyond them, so in case of a power outage or any other router reset, I made a script for Windows that automates the telnet/arp process. (I put it in the start up folder for the HTPC, if router and it both get reboot, it’ll enable WOL for itself automatically upon startup)

    save the following as WOL.wsf, and edit the IPs, router password, and target MAC address as needed!

    <job>
    <script language=”VBScript”>
    Option Explicit
    On Error Resume Next
    Dim WshShell
    set WshShell=CreateObject(“WScript.Shell”)
    WshShell.run “cmd.exe”
    WScript.Sleep 1000
    WshShell.SendKeys “telnet 192.168.1.1″
    WshShell.SendKeys (“{Enter}”)
    WScript.Sleep 1000
    WshShell.SendKeys (“admin”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WScript.Sleep 1000
    WshShell.SendKeys (“password”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WScript.Sleep 1000
    WshShell.SendKeys (“shell”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WshShell.SendKeys (“arp -s 192.168.1.x 00:00:00:00:00:00”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WScript.Sleep 1000
    WshShell.SendKeys (“exit”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WScript.Sleep 1000
    WshShell.SendKeys (“exit”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WScript.Sleep 2000
    WshShell.SendKeys (“exit”)
    WScript.Sleep 1000
    WshShell.SendKeys (“{Enter}”)
    WScript.Quit 1

  6. I know nothing about scripting but I want wake on LAN to be able to withstand a router reboot. I tried to make this script. I copied and pasted your second entry (I’m assuming that’s the correct one) into a notepad file saving it as a .wsf file. This created the script. I changed the password to my password. I changed the IP address to 192.168.1.254 b/c that’s what works when manually inputting the static arp entry into the command prompt. In the same light I put the mac address as all FF’s instead of the 0’s. I ran the script to test it (before putting it in the startup folder). And I get this error message: “Line: 38 Char: 16 unterminated opaque block – matching end tag not found: Code: 80040009” Does anyone know what this means or how to rectifity this. I really appreciate any help. Thanks

  7. I actually just found a different blog with a script that worked. Thanks for all the great info guys!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: