REQUEST: Tutorial/HowTo to get mpd/mpc working with smb

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
nindustrial
Posts: 3
Joined: Fri Apr 24, 2009 10:36 am

REQUEST: Tutorial/HowTo to get mpd/mpc working with smb

Post by nindustrial »

Thanks to Jeff and everyone else who is posting on this awesome board. I, like you, am quite infatuated with this wee router and its amazing capabilities. What I'm trying to do is get the WL-520GU working with mpd/mpc and being able to access my music library thats on a shared drive mounted via smb. Everytime I've tried to do this, I run into various issues with out-of-memory or getting smb installed (since we're working with limited storage), so I think I will need to attach a USB key to expand it.

Can anyone put together a list of steps or start a framework of a how-to to accomplish this? Getting the radio working was soooo easy with Jeff's instructions, but getting it to access a shared drive is driving me nuts. I'm not a truly accomplished linux-geek, but know my way around a tiny bit in the system.
Evil Potato
Posts: 3
Joined: Tue Apr 14, 2009 9:49 am

Re: REQUEST: Tutorial/HowTo to get mpd/mpc working with smb

Post by Evil Potato »

Hey nindustrial!


While I was building my radio, I tried messing with some other flavors of openwrt - namely dd-wrt to get my usb speakers hooked up and working (http://www.logitech.com/index.cfm/speak ... 3&cl=US,EN). It installs as easy as openwrt, but I noticed that more packages were included - which limited my storage space greatly. This forced me to try mounting a samba share for added space to install programs to, and I was able to get it up and running reliably.

I followed a couple of articles (dd-wrt has a great users forum), namely http://linuxneophyte.com/dd-wrt-samba-s ... bear-sshd/
and on their wiki: http://www.dd-wrt.com/wiki/index.php/Samba_Filesystem

Hopefully those should help - and you should be able to apply these articles to your installation of Jeff's openwrt
nindustrial
Posts: 3
Joined: Fri Apr 24, 2009 10:36 am

Re: REQUEST: Tutorial/HowTo to get mpd/mpc working with smb

Post by nindustrial »

hi evil potato,

thanks for the suggestion; i have tried dd-wrt before, and was running it successfully when the router was only being used as a mere router. some of eko's dd-wrt TNG firmwares come with USB and SMB support built-in, so that might be a good start to add Jeff's audio usb instructions to, although as you say, there isnt a lot of place left on the router for more stuff.

i will try that out and see if it works better.

thanks,
nindustrial
nindustrial
Posts: 3
Joined: Fri Apr 24, 2009 10:36 am

Re: REQUEST: Tutorial/HowTo to get mpd/mpc working with smb

Post by nindustrial »

hi again guys,

i tried installing dd-wrt on the router instead, and was able to get smb working fine and accessing an external shared folder for its /jffs partition, but now i cant get the drivers for the usb-audio installed.. i get:

Code: Select all

root@DD-WRT:/jffs# ipkg install kmod-usb-audio
ipkg_get_install: ERROR: Cannot find package kmod-usb-audio in /jffs/usr/lib/ipkg/lists
ipkg_get_install:        Check the spelling and maybe run `ipkg update'.
of course, now im trying to use ipkg instead of opkg, which i thought was being merged to be cross-compatible, but i guess not these bits yet.

so im down to either using jeff's firmware (based on open-wrt) to use mpd with the usb-audio but no smb, or using dd-wrt with smb, but no usb-audio. yikes..

ive tried solving this both ways, trying to setup smb to jeff's firmware, and trying to add usb-audio to dd-wrt.

any more tips??

thanks...
Post Reply