OpenWRT on the D-Link DIR-615

March 10, 2010 at 06:41 AM | categories: tips | View Comments

Last night, I finally got around to installing the OpenWRT 10.03 Beta on my D-Link DIR-615. The short version: it works and works well. There were only two surprises I ran into.

The first surprise is that the wireless drivers are not included in the install image. Running opkg update; opkg install kmod-ath9k takes care of that. The drivers are left out by design at least on this router and the WRT160NL. Bonus points to OpenWRT for allowing me to file a bug without creating an account on their bug tracker.

The second surprise is that the dynamic dns client doesn't know about DNS-O-Matic. I installed the ddns-scripts package and used the following config to get it working:

config 'service' 'myddns'
    option 'ip_source' 'network'
    option 'ip_network' 'wan'
    option 'check_unit' 'minutes'
    option 'enabled' '1'
    option 'domain' 'all.dnsomatic.com'
    option 'username' 'username'
    option 'password' 'password'
    option 'update_url' 'http://[USERNAME]:[PASSWORD]@updates.dnsomatic.com/nic/update?hostname=[DOMAIN]&myip=[IP]'
    option 'check_interval' '5'
    option 'force_interval' '480'
    option 'force_unit' 'hours'