Search found 164 matches
- Wed Jan 08, 2014 6:55 am
- Forum: Wifi Radio Project / Hacking the Asus WL-520gU
- Topic: OpenWRT vs DD-WRT
- Replies: 15
- Views: 53960
Re: OpenWRT vs DD-WRT
DD-WRT is more of an all in one solution. Most used features are already installed. Also the whole filesystem is read-only (by default). You can enable a read-write filesystem by enabling JFFS. But since DDWRT has so many stuff already in it there isn't a whole lot of flash memory space left. Unless...
- Sat Oct 12, 2013 2:37 am
- Forum: Wifi Radio Project / Hacking the Asus WL-520gU
- Topic: mpd restart of shoutcast stream after network error
- Replies: 1
- Views: 13543
Re: mpd restart of shoutcast stream after network error
Just add the same url, multiple times. If an error occurs, most of the time, mpd will go to the next item in the playlist. Just be sure you have enabled 'repeat' so it wraps around, at the end of the playlist. In my own situation, if some error occurs, it will go to the next items I'd guess 75% of t...
- Mon Oct 07, 2013 7:25 am
- Forum: Wifi Radio Project / Hacking the Asus WL-520gU
- Topic: Openwrt seems to be hanging during bootup
- Replies: 17
- Views: 52324
Re: Openwrt seems to be hanging during bootup
On OpenWRT you are probably okay. But on other linux systems, the init script might be called multiple times, even on shutdown. But it looks like OpenWRT only runs the init script once. And no other process will run something like `/etc/init.d/mpd restart` It's not pretty, but it will work just fine...
- Sun Oct 06, 2013 9:11 am
- Forum: Wifi Radio Project / Hacking the Asus WL-520gU
- Topic: Openwrt seems to be hanging during bootup
- Replies: 17
- Views: 52324
Re: Openwrt seems to be hanging during bootup
PS. what router are you using?
- Sun Oct 06, 2013 9:11 am
- Forum: Wifi Radio Project / Hacking the Asus WL-520gU
- Topic: Openwrt seems to be hanging during bootup
- Replies: 17
- Views: 52324
Re: Openwrt seems to be hanging during bootup
Kind of looks like rc.common is not working. Very weird. Adding an echo in my `start()` function works just fine. Not seeing anything other than the first echo, means there is something wrong with the init script. Not the sym-link. I'd try creating my own init.d script, following the instruction in ...
- Sat Oct 05, 2013 7:03 am
- Forum: Wifi Radio Project / Hacking the Asus WL-520gU
- Topic: Openwrt seems to be hanging during bootup
- Replies: 17
- Views: 52324
Re: Openwrt seems to be hanging during bootup
I'm not really a soccer fan, but thanks
What happens if you manually run the init script; `/etc/init.d/mpd start`?
PS the 'l' at the beginning means symbolic links. A bit like a window shortcut. Pretty normal on openwrt/linux.
What happens if you manually run the init script; `/etc/init.d/mpd start`?
PS the 'l' at the beginning means symbolic links. A bit like a window shortcut. Pretty normal on openwrt/linux.
- Fri Oct 04, 2013 6:58 am
- Forum: Wifi Radio Project / Hacking the Asus WL-520gU
- Topic: Openwrt seems to be hanging during bootup
- Replies: 17
- Views: 52324
Re: Openwrt seems to be hanging during bootup
wl0 is the wireless lan device. So that didn't have anything to do with mpd. Make sure the mpd init script is enabled. Just run `/etc/init.d/mpd enable` On my install I created my own init.d script to handle the playing and playlist adding. Look at http://wiki.openwrt.org/doc/techref/initscripts to ...
- Thu Oct 03, 2013 11:11 am
- Forum: Wifi Radio Project / Hacking the Asus WL-520gU
- Topic: Openwrt seems to be hanging during bootup
- Replies: 17
- Views: 52324
Re: Openwrt seems to be hanging during bootup
`dmesg` also gives some nice info for debugging. This is the output from my router ... audio.c: v1.0.0:USB Audio Class driver hub.c: new USB device 00:03.0-1, assigned address 2 usbaudio: device 2 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces usbaudio: device 2 interfac...
- Thu Oct 03, 2013 11:07 am
- Forum: Wifi Radio Project / Hacking the Asus WL-520gU
- Topic: Openwrt seems to be hanging during bootup
- Replies: 17
- Views: 52324
Re: Openwrt seems to be hanging during bootup
Log are located in
Code: Select all
/var/log
- Wed Oct 02, 2013 9:23 am
- Forum: Wifi Radio Project / Hacking the Asus WL-520gU
- Topic: Openwrt seems to be hanging during bootup
- Replies: 17
- Views: 52324
Re: Openwrt seems to be hanging during bootup
It looks like you accidentally removed to closing curly brace; '}'
So:
So:
Code: Select all
...
#start mpd
/usr/bin/mpd
/usr/bin/mpc repeat on
/usr/bin/mpc volume 90
/usr/bin/mpc load MPL
/usr/bin/mpc play 1
}
stop() {
killall mpd
}