OpenWrt Forum Archive

Topic: Dlink DIR-412 + Shairport -- up and running

The content of this topic has been archived on 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi All,

I thought I'd share my success with turning the dlink dir-412 into an airplay speaker using shairport and a usb audio dongle.

I'm sorry if this is a repost and has been done before, in my searches I had no luck with finding anyone who had actually completed the task successfully.

Basically all that's required
DLink DIR-412 ( I've brought them for 3 for $24)
USB audio dongle - cheapy from ebay
3.5mm to 3.5mm lead

here are the steps

Load Firmware
    Set PC IP to 192.168.0.2
    Connect ehternet cable between pc and device
    Hold reset button for 5 secs while powering on
    Browse emergency webpage at 192.168.0.1
load 'openwrt-ramips-rt305x-dir-615-d-squashfs-factoryBASE.bin' (found here:  https://dl.dropboxusercontent.com/u/662 … yBASE.bin)

log in and copy out eeprom  file
    set PC IP to 192.168.1.2
    telnet to 192.168.1.1 use command ‘passwd’ to change password, close telnet
    use winscp to connect to 192.168.1.1 (file prot= SCP username = root)
navigate to /overlay/lib/firmware copy out RT305X.eeprom to desktop

install usb sound card
    plug in cheap ebay usb audio sound
    connect via 3.5mm to (powered) speakers

Load USB enabled firmware
    Use winscp to copy usb enabled firmware found here: https://dl.dropboxusercontent.com/u/662 … _FINAL.bin
    Copy firmware file to /tmp , close winscp
    SSH to 192.168.1.1 and log in (username:root)
    Run command ‘mtd write openwrt-ramips-rt305x-wr512-3gn-4M-squashfs-sysupgrade_FINAL.bin firmware’
    Run command ‘reboot’ wait a few minutes   

Log in and copy in eeprom file (or grab it here: https://dl.dropboxusercontent.com/u/662 … 5X.eeprom)
    telnet to 192.168.1.1 use command ‘passwd’ to change password, close telnet
    use winscp to connect to 192.168.1.1 (file prot= SCP username = root )
navigate to /overlay/lib/firmware copy RT305X.eeprom from desktop
power cycle device

setup wifi
    copy and open files found here: https://dl.dropboxusercontent.com/u/662 … ryBASE.bin )
and here (https://dl.dropboxusercontent.com/u/66200993/Openwrt_Shairport/openwrt-ramips-rt305x-dir-615-d-squashfs-factoryBASE.bin )
customise which for your wifi setup
use winscp to connect to 192.168.1.1 (file prot= SCP username = root )
    navigate to /etc/config/ and overwrite files (might want to keep a backup)
    (edit file ‘airplay’ to change name of device)
power cycle and wait
    disconnect ethernet cable

Enjoy
    Check Itunes or IOS device for new Airplay device select and play music

good job.Can you post a clip about installing openwrt on dlink dir 412.I'm new of openwrt and i want to make my router like you.tks so much

The discussion might have continued from here.