Search found 164 matches

by gerben
Wed Oct 02, 2013 2:15 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: Openwrt seems to be hanging during bootup
Replies: 17
Views: 52186

Re: Openwrt seems to be hanging during bootup

Could you post your tweaks to mpd.conf?

I don't think a hanging process can cause other startup processes from not being executed. But who knows.
by gerben
Mon Aug 12, 2013 5:07 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: Problem with MPD on tp-link mr3020
Replies: 2
Views: 14028

Re: Problem with MPD on tp-link mr3020

If you install MPD, MPD will run automatically when you boot your router. No need to manually start it. That is why your get the error that the address is already in use, because MPD is already running. MPD is just the daemon part. To control MPD you need to use the command "mpc" For examp...
by gerben
Fri Apr 26, 2013 5:14 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: Madplay installation
Replies: 21
Views: 78764

Re: Madplay installation

try putting the following in your rc.local

Code: Select all

(
  sleep 5
  while [ 1 ]
  do
     wget -O - http://89.238.227.6:8000/ | madplay -
     sleep 2
  done
)&

exit 0
by gerben
Wed Apr 24, 2013 1:43 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: can´t recive one radio station
Replies: 4
Views: 14521

Re: can´t recive one radio station

Sorry, your post just looked a bit suspicious.

I checked, and I have the same problem here on my 520gu.
Does `/root/.mpd/mpd.error` contain anything useful?
by gerben
Tue Apr 23, 2013 8:28 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: Madplay installation
Replies: 21
Views: 78764

Re: Madplay installation

Try running rc.local directly, instead of restarting, and then checking the logs.
Just use putty to connect to the router, and then run `/etc/rc.local`. Post what you see next.
by gerben
Tue Apr 23, 2013 8:00 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: can´t recive one radio station
Replies: 4
Views: 14521

Re: can´t recive one radio station

Is this spam, or are you serious?

URL works fine here on VLC. Just a normal 128kbps mpga stream
by gerben
Fri Apr 19, 2013 3:42 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: Madplay installation
Replies: 21
Views: 78764

Re: Madplay installation

Now that I look at it; it seems wget is also complaining. Just use the original line of code in your shell script. So:

Code: Select all

wget -O - http://example.com/mystream | madplay -
by gerben
Fri Apr 19, 2013 3:38 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: Madplay installation
Replies: 21
Views: 78764

Re: Madplay installation

Those screenshots are really useful. The logs seem to provide the answer to the problem madplay: unrecognized option '--no-tty-control-' So remove the text '--no-tty-control-' from your script file. So the line should end like this ... | madplay -Q If that doesn't work try the original parameters th...
by gerben
Thu Apr 18, 2013 7:57 am
Forum: Wifi Radio Project / Hacking the Asus WL-520gU
Topic: Madplay installation
Replies: 21
Views: 78764

Re: Madplay installation

You say "the root of the router". Note that there is actually a folder called 'root' in the root of the filesystem. Quit confusing looking at it now. Make sure you place the file in that folder. You can change the permission with winscp directly: http://winscp.net/eng/docs/ui_properties No...