Make an OpenWRT WebRadio with Wr703n: Difference between revisions
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
=Install Packages= | =Install Packages= | ||
First run | |||
$ opkg update | |||
Then install packages | |||
$ opkg install kmod-usb-audio mpc mpd | |||
todo: are kmod-usb-ohci alsa-utils needed? | |||
=Setup Mpd= | |||
Run these commands below: | |||
$ cd /root | |||
$ mkdir .mpd | |||
$ mkdir music | |||
$ mkdir .mpd/playlists | |||
Now edit the /etc/mpd.conf file | |||
$ /etc/mpd.conf |
Revision as of 19:09, 13 January 2019
Overview
This will build a small webradio that plays a radio from the web as soon as powered up.
We will play this radio below for the example.
http://media-ice.musicradio.com:80/ClassicFM
More radios addresses can be obtained from these sites below.
http://www.listenlive.eu/
https://www.internet-radio.com/
Hardware
1
WR703N Note the unit must have 16MB flash. Default factory units won't work.
1 USB to audio adaptor
Operating System
We will use OpenWRT LEDE 17.01.
Network setup will not be covered here. We assume the unit has access to the internet.
Install Packages
First run
$ opkg update
Then install packages
$ opkg install kmod-usb-audio mpc mpd
todo: are kmod-usb-ohci alsa-utils needed?
Setup Mpd
Run these commands below:
$ cd /root $ mkdir .mpd $ mkdir music $ mkdir .mpd/playlists
Now edit the /etc/mpd.conf file
$ /etc/mpd.conf