D-Link DCM-202 and Firmware How-To

3 minute read

Because I’m a cheap bastard, I decided to buy my cable modem instead of rent or buy from Comcast.


It’s hard to review a cable modem really. Sites like CNet can do group comparisons, but I have neither the cash nor the time to do a full comparison like that. I can use it for a bit to see if I need to reset it and what kinds of speeds I can get.

In those two regards, this modem is excellent. I haven’t needed to reset the modem once. I’ve also been getting 800 KB/s downloads. That translates to 6.25 Mbps, which is actually a quarter of a Megabit greater than the service I’m supposedly getting. I’m happy with that.

I can recommend the D-Link DCM-202 without reservation. Go get yours at Amazon.com.

Updating the Firmware with a Mac

Most routers let anyone with a slightly modern web browser update the firmware using a web page form. It’s child’s play. The D-Link DCM-202 isn’t quite as easy. Fortunately, cable modems don’t need regular updates.

There is a single update aimed at Comcast users. Keep in mind that my modem was working just fine, but I’m an update junkie. I simply can’t leave well enough alone. Well, you can imagine my disappointment when I found out that D-Link only provided files to perform the update on a Windows machine. The update was three parts, the firmware file, the instructions, and a Windows update utility.

The thing is though, the Windows update utility is really just a TFTP server. What happens when you update is that you activate the TFTP client in the modem and tell it to download from a TFTP server (generally the one being run via the Windows utility they supply).

What few people know is that Mac OS X includes a built-in TFTP server. That’s right, with a stock OS X installation, you too can update this firmware. A few caveats before the instructions. If you are looking for someone to blame should something go wrong, don’t use these instructions. I can’t make any guarantees. You’ll also need to use the Terminal.

  1. Download the latest relevant firmware update from D-Link. You should see have three files when you’re done downloading and decompressing: the instructions, the firmware, and the Windows utility. Verify you have these three files. The name of the firmware at time of publication was Hitr252.bin.

  2. Copy the firmware into the TFTP server directory. To do this, use the following command in the Terminal and authorize when prompted for password.

    sudo cp /path/to/Hitr252.bin /private/tftpboot/

  3. Activate the TFTP server. You’ll also probably want to disable any firewalls. Use the following command in the Terminal to start the TFTP server.

    sudo launchctl load -w /System/Library/LaunchDaemons/tftp.plist

  4. Configure your network settings. You’ll need to visit Network in System Preferences. Go to the Ethernet configuration and set it to use as the IP address and as the subnet mask. Make sure you apply those settings.

  5. Connect your Mac directly to the modem via an Ethernet cable. You’ll probably also want to disconnect the coaxial cable from the cable modem.

  6. Telnet into the cable modem. You’ll need to use another Terminal command for this one.

    telnet 23

  7. Log into the modem. Use username dlink and password dlink.

  8. Tell the modem to download the firmware from the TFTP server you’re running. You’re going to type a command to the modem which you’ve connected through telnet to.

    dload Hitr252.bin

  9. Wait until the modem resets and the cable light turns blinking amber. The Ethernet light will also be dark.

  10. Reset the modem using the pinhole in the back. Hold down for 7 seconds.

  11. Verify the firmware correctly updated. Point your web browser at Log in with username admin and password hitron. I think my username or password may have differed from these (I’m basing these instructions of the D-Link provided ones). Once you’re logged in, look for the firmware version. It should match what you uploaded.

You’re done! You just did the impossible by doing something that normally would require a PC. Enjoy the new firmware and the satisfaction of doing it yourself.

Update: David notes that he had to use different IP addresses than what I wrote. My bad. I’m correcting them.

As a side note, I had to use “100” in the following steps rather than “0” (zero):

STEP 4:–>

STEP 6:–>

STEP 11:–>

He also confirmed the username and password. Thanks David!