OpenWrt/Music: Difference between revisions
< OpenWrt
No edit summary |
|||
Line 10: | Line 10: | ||
</blockquote> | </blockquote> | ||
== rc.local | == add to "rc.local" before exit == | ||
<blockquote> | <blockquote> | ||
<pre> | <pre> |
Revision as of 16:07, 24 September 2012
OpenWrt music streaming
Streaming music via OpenWrt on 4MB flash router
Install packages
opkg update opkg install kmod-usb-audio kmod-usb-ohci kmod-usb-core kmod-sound-core madplay
add to "rc.local" before exit
/etc/scripts/madplay.sh &
create madplay.sh
mkdir /etc/scripts touch madplay.sh chmod madplay.sh +x vi madplay.sh
madplay.sh
#! /bin/sh while true do wget -O - http://192.168.111.10:8000 | madplay - sleep 30 done