Re: Router for mpd like Asus WL 500g

tobbes wrote:

Hi mpd-mini is installed over trunk packages over backfire rc4 without error messages.

But now I get an error like this:

root@OpenWrt:~# /etc/init.d/mpd start

Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 128
  Mono:
  Front Left: Playback 40 [31%] [0.00dB] [on]
  Front Right: Playback 40 [31%] [0.00dB] [on]
BusyBox v1.15.3 (2010-11-11 23:54:31 PST) multi-call binary

Usage: nice [-n ADJUST] [PROG [ARGS]]

Run PROG with modified scheduling priority

Options:
    -n ADJUST    Adjust priority by ADJUST

/etc/rc.common: line 78: service_start: not found

Could I fix this? (Maybe opkg upgrade on trunk...?)

Thanks for helping me!
Tobbes

replace content of the /etc/init.d/mpd file with this https://dev.openwrt.org/browser/branches/packages_10.03.1/sound/mpd/files/mpd.init

All the waiting and then the CPU ventilator brrrrrr all the time.

Re: Router for mpd like Asus WL 500g

Thank you flux!
I have changed the /etc/init.d/mpd file.

Now I get this:
root@OpenWrt:/usr/bin# /etc/init.d/mpd start
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 128
  Mono:
  Front Left: Playback 40 [31%] [0.00dB] [on]
  Front Right: Playback 40 [31%] [0.00dB] [on]
/usr/bin/mpd: can't resolve symbol 'pipe2'

The binary file /usr/bin/mpd exists.

Can I do something?

Re: Router for mpd like Asus WL 500g

tobbes wrote:

Thank you flux!
I have changed the /etc/init.d/mpd file.

Now I get this:
root@OpenWrt:/usr/bin# /etc/init.d/mpd start
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 128
  Mono:
  Front Left: Playback 40 [31%] [0.00dB] [on]
  Front Right: Playback 40 [31%] [0.00dB] [on]
/usr/bin/mpd: can't resolve symbol 'pipe2'

The binary file /usr/bin/mpd exists.

Can I do something?

no. A binary from the trunk is not supposed to work with the backfire.

All the waiting and then the CPU ventilator brrrrrr all the time.

Re: Router for mpd like Asus WL 500g

Hello flux,

an upgrade from backfire rc4 to trunk via opkg upgrade will not work or do you think I should try it?

Tobbes

Re: Router for mpd like Asus WL 500g

tobbes wrote:

Hello flux,

an upgrade from backfire rc4 to trunk via opkg upgrade will not work or do you think I should try it?

Tobbes

NEVER do opkg upgrade. It won't work!

All the waiting and then the CPU ventilator brrrrrr all the time.

31

Re: Router for mpd like Asus WL 500g

Hello tobbes,
did you make it work on the asus wl 600 g? I bought the same router to put the mpd on it. I could flash it with this version of openwrt : http://downloads.openwrt.org/backfire/1 … fs-cfe.bin (from the wiki page of this router). My first problem occures now while putting the entire thing into the client mode. I think the problem is the b43 driver that doesn't support this mode.Which image of openwrt did you put on your router and could you finally configure it to make a wifi radio with mpd work?

Regards.
Nicolas

Re: Router for mpd like Asus WL 500g

Hi EUM,
I was not able to use the box as wifi radio. MPD was always stopping for seconds ...

The wifi config I have done in the web menu of the router. I was also not able to do it in the terminal.

Sorry but this will not help you.

Now I use a Synology NAS for mp3 streaming and wifi radio. (For mpd my DS 108J is also to weak - so I use the DS Audio app.)
But I am looking forward to buy a DS 111 ....

Tobbes

33 (edited by danitool 2012-10-06 19:12:08)

Re: Router for mpd like Asus WL 500g

(Edited)
Hi, I think to use this router as a wifi radio should be possible, and without extroot. I'm using a diferent router but with almost the same hardware and it works quite fine.

The problem here is the flash and RAM size, they are too small capacity. I've built Openwrt Backfire for this router without lot of the default stuff:

- without sshd (dropbear)
- without luci
- without dnsmask (dhcp server)
- without iptables, no firewall
- without other minor stuff

- with OHCI and EHCI modules
- with support for mounting storage drives (vfat or ext2)
- support for telnet logging with password
- with alsa and alsalib (libasound), mpd already configured with alsa
- with amixer
- with mpc
- with other minor stuff (playlist, etc).

It should fit in a 4 MiB flash chip.

I've included all the required packages to play internet radios. To configure you must set manually an IP in your computer in the range 192.168.1.x
then telnet 192.168.1.1 and configure Openwrt with the text editor vi

vi /etc/config/wireless
vi /etc/config/network

This can be called a "dumb" wifi-radio. Some stuff is already preconfigured. The wifi interface is prepared to act as a wifi client, you only need to edit /etc/config/wireless, and put your wep key and AP name you connect to. The wifi interface is separated from lan (192.168.1.1). Of course you can configure however you want, but remember you don't have iptables, as a result of this no complex network configurations are allowed.

Ok this is just for testing. Some feedback is welcome, post your dmesg, cpu usage, or any issues you have. I don't own this router so I don't know if this custom firmware will work.

WL600g_Backfire_10.03.2_wifiradio3.zip

The above firmware maybe compatible with other bcm6348 routers.

Re: Router for mpd like Asus WL 500g

danitool wrote:

(Edited)
Hi, I think to use this router as a wifi radio should be possible, and without extroot. I'm using a diferent router but with almost the same hardware and it works quite fine.

The problem here is the flash and RAM size, they are too small capacity. I've built Openwrt Backfire for this router without lot of the default stuff:

- without sshd (dropbear)
- without luci
- without dnsmask (dhcp server)
- without iptables, no firewall
- without other minor stuff

- with OHCI and EHCI modules
- with support for mounting storage drives (vfat or ext2)
- support for telnet logging with password
- with alsa and alsalib (libasound), mpd already configured with alsa
- with amixer
- with mpc
- with other minor stuff (playlist, etc).

It should fit in a 4 MiB flash chip.

I've included all the required packages to play internet radios. To configure you must set manually an IP in your computer in the range 192.168.1.x
then telnet 192.168.1.1 and configure Openwrt with the text editor vi

vi /etc/config/wireless
vi /etc/config/network

This can be called a "dumb" wifi-radio. Some stuff is already preconfigured. The wifi interface is prepared to act as a wifi client, you only need to edit /etc/config/wireless, and put your wep key and AP name you connect to. The wifi interface is separated from lan (192.168.1.1). Of course you can configure however you want, but remember you don't have iptables, as a result of this no complex network configurations are allowed.

Ok this is just for testing. Some feedback is welcome, post your dmesg, cpu usage, or any issues you have. I don't own this router so I don't know if this custom firmware will work.

WL600g_Backfire_10.03.2_wifiradio3.zip

The above firmware maybe compatible with other bcm6348 routers.

Wow, thank you very much Danitool for trying this!!!

I have been searching for this for a while. I bought 4 Asus WL-HDD routers when a local store was clearing them out. I have been running Oleg firmware on one for almost 3 years. The unit is quite slow in today's standard, but I don't use it as my main router, I basically use it for BT stuff.

A few days ago, I happened to see a clip on YouTube on how to make Wifi Radio, I thought I could give these WL-HDDs new livies again, so I unwraped another one, and started to explore...

Unfortunately the firmware from mightyohm doesn't work, also the one called "wrtradio0.3" didn't work either. I have tried to put Backfire brcm47xx or brcm-2.4 on it, both are running fine. Especially the Backfire brcm-2.4, following the wiki, I got everything running smoothly. For those having WL-HDD and want to run Backfire, I highly recommend the brcm-2.4 build.

But the issue is, after loading the Backfire, there ares not a lot of space left on the device (only 4M of rom), so I can't install mpd. WL-HDD has only one USB 1.1 port, so I can't use it for additional storage. I also don't want to install an internal 2.5" IDE HDD (which is possible with WL-HDD), because of the noise and the fact that the Wifi Radio will be used by everyone in my family, except me, no one will be bothered to shut it down properly, so the internal HDD will be so corrupted before I know it.

Last night, I found the firmware you posted, and I gave it a try today on my WL-HDD with Asus Restoration Tool. At first, the tool doesn't like the .BIN file type, so I tried to be smart, rename it to .TRX file which is the type for WL-HDD, but the tool still doesn't like it, gave me some weird error message.

I am planning to install the lastest Ubuntu and try to compile Backfire and mpd/mpc myself, but it will take a while before it can be realized. Meanwhile, I am wondering if you can help by complie your image again for WL-HDD? I can help the community by testing it.

Thank You In Advanced! (this is really long, isn't it?)

Fish

Re: Router for mpd like Asus WL 500g

Well my firmware isn't for bcm47xx targets, it is for bcm63xx targets. Well, we can try to build backfire for your target to fit in a 4MiB flash, it shouldn't be so difficult.

Regards.

Re: Router for mpd like Asus WL 500g

danitool wrote:

Well my firmware isn't for bcm47xx targets, it is for bcm63xx targets. Well, we can try to build backfire for your target to fit in a 4MiB flash, it shouldn't be so difficult.

Regards.

Much appreciated!!!

I read very little about how to compile firmware. I know my WL-HDD is using a different CPU than wl-500g, but I thought I should give it try anyways.

37 (edited by danitool 2012-11-08 17:27:23)

Re: Router for mpd like Asus WL 500g

I don't know much about WL-HDD hardware. However this is an attempt to build it for bcm47xx target. I suppose it uses bcm43-legacy drivers, I didn't include stuff for mounting external hard drives, and switch since this device only has 1 eth. Nor preconfigured nothing for the network, do it yourself, remember to use vi to edit the proper files. Let me know if works or not, or if you have any issues.

WL-HDD_Backfire_bcm47xx_10.03.2_wifiradio.zip

And post a bootlog if possible.

Maybe I'll try later to build the  brcm-2.4 target for this device.



EDIT:
Since I'm not sure which are the correct drivers I've built it again withou b43legacy, but with b43 instead. Let me know which one works.
WL-HDD_Backfire_bcm47xx_10.03.2_wifiradio2.zip

38 (edited by TorontoFish 2012-11-09 20:36:04)

Re: Router for mpd like Asus WL 500g

danitool wrote:

I don't know much about WL-HDD hardware. However this is an attempt to build it for bcm47xx target. I suppose it uses bcm43-legacy drivers, I didn't include stuff for mounting external hard drives, and switch since this device only has 1 eth. Nor preconfigured nothing for the network, do it yourself, remember to use vi to edit the proper files. Let me know if works or not, or if you have any issues.

WL-HDD_Backfire_bcm47xx_10.03.2_wifiradio.zip

And post a bootlog if possible.

Maybe I'll try later to build the  brcm-2.4 target for this device.



EDIT:
Since I'm not sure which are the correct drivers I've built it again withou b43legacy, but with b43 instead. Let me know which one works.
WL-HDD_Backfire_bcm47xx_10.03.2_wifiradio2.zip

Hi Dani, thank you for the effort you put into this. I have tried both of them. The second one (wifiradio2.zip) flashes successfully through Asus Restoration Tool, but the unit goes back to Recovery mode right after it reboots. So looks like it doesn't work.

Now the first one(wifiradio.zip) lets the unit boot successfully after the flash, and I can log into 192.168.1.1, but /etc/config/wireless is empty (is this on purpose?); I managed to create one and then tried to enable it using command "wifi", but received some error messages, too bad I didn't note it down (I closed the terminal window by accident), it's something like device 'wl0' (type 'broadcom') not supported.. ... Since I tried both brcm47xx and brcm-2.4 Backfire before, I kind of remember in brcm47xx, it uses device name 'radio0' for wirelss, so I changed the /etc/config/wireless again to reflect that, but the result is the same, except this time it complains about device 'radio0' ... ... I don't know how to capture a bootlog, or I will post it here.

You said you didn't include stuff for switch, don't I need it to route between client and wireless AP? If space permit, can you just leave it there?

My personal experience is that brcm-2.4 is more stable on these WL-HDD units, so I hope one day I can test a build targeting brcm-2.4 on these units.

Thanks again. Even it didn't work, at least we started, and I am truely happy that I have something to try out on these WL-HDDs.

Fish

Re: Router for mpd like Asus WL 500g

Finally build an Backfire image for my Asus WL-HDD! It turned out, I only had to take out Dropbear and Luci from the default selection. The final 2.4 image is about 3.3M in size, with all USB / Sound and mpd-mini support in it.

If anyone wants to give it a try, let me know, I will then post it here.

Thanks,

Fish

Re: Router for mpd like Asus WL 500g

TorontoFish wrote:

Finally build an Backfire image for my Asus WL-HDD! It turned out, I only had to take out Dropbear and Luci from the default selection. The final 2.4 image is about 3.3M in size, with all USB / Sound and mpd-mini support in it.

If anyone wants to give it a try, let me know, I will then post it here.

Thanks,

Fish

Hi,

Could you please post your wifi radio image? I'd like to try it.

Thanks.