additional opkg packages?

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
dddesign
Posts: 10
Joined: Wed Apr 06, 2011 3:33 pm

additional opkg packages?

Post by dddesign »

hi guys,
I'm also trying to build my music network player.
I use an asus wl-500w with openwrt backfire10.03 and I was followed sucessfully up and including part 4.
now I trying to install all audio packages and mpd/mpc, as in part 5 described. but when I start mpd I get following error:

Code: Select all

root@OpenWrt:~# mpd
mpd: can't load library 'libdns_sd.so'
so I google what package I need and have done this:

Code: Select all

root@OpenWrt:~# opkg install mpd mdnsresponder libspeex libffmpeg
Package mpd (0.15.8-2) installed in root is up to date.
Installing mdnsresponder (107.6-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03/brcm-2.4/packages/mdnsresponder_107.6-1_brcm-2.4.ipk.
Installing libspeex (1.2beta3.2-2) to root...
Downloading http://downloads.openwrt.org/backfire/10.03/brcm-2.4/packages/libspeex_1.2beta3.2-2_brcm-2.4.ipk.
Installing libffmpeg (20080419-2) to root...
Downloading http://downloads.openwrt.org/backfire/10.03/brcm-2.4/packages/libffmpeg_20080419-2_brcm-2.4.ipk.
Configuring libspeex.
Configuring mdnsresponder.
Configuring libffmpeg.
and tried to start mpd again, but:

Code: Select all

root@OpenWrt:~# mpd
mpd: can't load library 'libasound.so.2'
so google again and done this:

Code: Select all

root@OpenWrt:~# opkg install alsa-lib
Installing alsa-lib (1.0.21a-1) to root...
Collected errors:
 * verify_pkg_installable: Only have 768kb available on filesystem /overlay, pkg alsa-lib needs 1032
 * opkg_install_cmd: Cannot install package alsa-lib.
now my question:
why is it not working as described in part 5? which packages are really needed and which can I remove?
here my listing:

Code: Select all

root@OpenWrt:~# opkg list-installed
base-files - 42-r20728
busybox - 1.15.3-2
dnsmasq - 2.52-2
dropbear - 0.52-4
firewall - 1-10
glib2 - 2.22.2-1
hostapd-mini - 20100309-1
iptables - 1.4.6-2
iptables-mod-conntrack - 1.4.6-2
iptables-mod-nat - 1.4.6-2
kernel - 2.4.37.9-1
kmod-brcm-wl-mimo - 2.4.37.9+4.150.10.5.3-6
kmod-diag - 2.4.37.9-6
kmod-ipt-conntrack - 2.4.37.9-1
kmod-ipt-core - 2.4.37.9-1
kmod-ipt-nat - 2.4.37.9-1
kmod-ipt-nathelper - 2.4.37.9-1
kmod-ppp - 2.4.37.9-1
kmod-pppoe - 2.4.37.9-1
kmod-sound-core - 2.4.37.9-1
kmod-switch - 2.4.37.9-3
kmod-usb-audio - 2.4.37.9-1
kmod-usb-core - 2.4.37.9-1
kmod-usb-ohci - 2.4.37.9-1
kmod-wlcompat - 2.4.37.9+4.150.10.5.3-6
libc - 0.9.30.1-42
libcurl - 7.19.6-1
libfaad2 - 2.7-1
libffmpeg - 20080419-2
libflac - 1.1.2-1
libgcc - 3.4.6-42
libiconv - 1.11-1
libid3tag - 0.15.1b-3
libintl - 0.17-1
libiptc - 1.4.6-2
liblua - 5.1.4-6
libmad - 0.15.1b-3
libmms - 0.5-1
libogg - 1.1.4-2
libopenssl - 0.9.8m-3
libpthread - 0.9.30.1-42
librt - 0.9.30.1-42
libshout - 2.2.2-1
libspeex - 1.2beta3.2-2
libsqlite3 - 3.6.20-2
libuci - 12012009.5-1
libuci-lua - 12012009.5-1
libvorbis - 1.2.3-1
libvorbisidec - 1.0.2+svn14261-1
libxtables - 1.4.6-2
lua - 5.1.4-6
luci - 0.9.0-1
luci-admin-core - 0.9.0-1
luci-admin-full - 0.9.0-1
luci-admin-mini - 0.9.0-1
luci-app-firewall - 0.9.0-1
luci-app-initmgr - 0.9.0-1
luci-cbi - 0.9.0-1
luci-core - 0.9.0-1
luci-http - 0.9.0-1
luci-i18n-english - 0.9.0-1
luci-ipkg - 0.9.0-1
luci-lmo - 0.9.0-1
luci-nixio - 0.9.0-1
luci-sgi-cgi - 0.9.0-1
luci-sys - 0.9.0-1
luci-theme-base - 0.9.0-1
luci-theme-openwrt - 0.9.0-1
luci-uci - 0.9.0-1
luci-uvl - 0.9.0-1
luci-web - 0.9.0-1
mdnsresponder - 107.6-1
mpc - 0.17-1
mpd - 0.15.8-2
mtd - 12
nas - 4.150.10.5.3-6
nvram - 5
opkg - 513-2
ppp - 2.4.4-5
ppp-mod-pppoe - 2.4.4-5
uci - 12012009.5-1
uhttpd - 7
wireless-tools - 29-4
wlc - 4.150.10.5.3-6
zlib - 1.2.3-5
User avatar
mightyohm
Site Admin
Posts: 1063
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: additional opkg packages?

Post by mightyohm »

If you are referring to part 5 of my tutorial, then all bets are off. The tutorial only works well with the packages that I have available for download on my site, which are based on kamikaze. mpd has changed (grown) a lot since I did the hack and I haven't seen a way to fit all of its dependencies into the flash of the 520gU (and apparently not your wl-500w either).
dddesign
Posts: 10
Joined: Wed Apr 06, 2011 3:33 pm

Re: additional opkg packages?

Post by dddesign »

thanks for your response.

first: can you post the list of your installed packages? I wonder which packages are "new" with my mpd-version.

second: so I will try with your kamikatze-image, this should work also with my wl-500w, I guess. or do you see some problems with my router?

third: because my router have a second usb-slot I thought to use package lcdproc with a usb-screen incl. keypad (eg. http://www.crystalfontz.com/product/CFA635TMFKU1.html ) to control mpd. do you think there is a way to do this with your image?

thanks a lot for your work.
j
jorge.redda
Posts: 1
Joined: Sun Apr 24, 2011 6:09 pm

Re: additional opkg packages?

Post by jorge.redda »

I have the same problem with a DIR 320 (32 Mb RAM and 8 Mb Flash) and OpenWRT 10.3. Any sugestion?

Thanks in advance
User avatar
mightyohm
Site Admin
Posts: 1063
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: additional opkg packages?

Post by mightyohm »

This is on my list of projects to do "someday" but I have not had a chance to play with mpd and 10.3.
Post Reply