What's new

Help to setup RT-N66U as airplay receiver

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

frriction

Occasional Visitor
Hi,

I want to use my RT-N66U as airplay receiver so I search on google and found this TUTORIAL. I tried to follow the steps on my router, up to the point where sound modules need to inserted into kernel works fine but after that no sound, dbus may start some times and other times it does not start at all , avahi 99% of time does not start. As I am not able to debug my self as I am total noob.

If someone like to help please make working TUTORIAL for Asus router.

I am using MERLIN firmware with Entware installed.
 
Sound modules are not available for this firmware, and I have no plan to add them either - would be a waste of flash space IMHO, we only have about 4-7 MB free out of 32 MB depending on model.
 
Sound modules are not available for this firmware, and I have no plan to add them either - would be a waste of flash space IMHO, we only have about 4-7 MB free out of 32 MB depending on model.

I understand from the specs that the ac66 comes with 128 mb flash? What is the other 96 mb doing? Thanks
 
I understand from the specs that the ac66 comes with 128 mb flash? What is the other 96 mb doing? Thanks

Right now, nothing :) Asus only partitioned the first 32 MB, the rest is available for a second copy of the firmware (something I've seen them implement over time, but they haven't enabled it in any product yet), and for JFFS (Asus allocates all 96 MB to JFFS, while I only allocate 32 MB to speed up the formating process).

I doubt the partition can safely be enlarged without the CFE being designed to support it, so I wouldn't expect this to happen with the existing products.
 
How about insert the modules externally using insmod ?

Sent from my Nexus S using Tapatalk

Sure, if you compile the modules. As long it doesn't require any new built-in option in the kernel.
 
Hi,

I tried with the modules from tomato (same kernel version, extras mips2). Some of them loaded fine, but snd_page_alloc fails. I suspect this is due to an incompatible kernel memory configuration (sparse mem).

I will try to build the modules myself now.

Best regards,
Felix
 
Hi,

the regular configuration already builds the sound modules, so there is no need to change anything.

The current entware shairport didn't work for me (segfault), so I rebuilt the package using more recent sources. Everything is working with ao output. I haven't been able to get alsa output working, but maybe it's just a missing symlink in dev. Will clarify this in the entware forums.

The only thing Merlin specific is finding the right places for postload scripts etc., but that is the next step :)

Did you test sound output with alsamixer and madplay ?

Best Regards,
Felix
 
I had tried it with madplay few month back, i will try again once I get my internet connected.

Did you complied modules or used from the link I posted?


Sent from my iPhone using Tapatalk
 
I used the Merlin source and compiled the modules, i.e. follow the Readme and type in "make". Perhaps there is a faster way for compiling kernel + modules only, but it worked out of the box. Modules will be in your kernel build directory (sound/*.ko).

Next steps: install mpd, connect better USB DAC/sound card
 
segment fault in shairport

Ok I got sound modules and gets inserted with insmod.
here is link of sound modules https://dl.dropboxusercontent.com/u/1396891/Sound modules.zip

I fired up below command to check sound output
Code:
wget -O - http://ca.ah.fm:9000 | madplay -
I have working sound output.

I have added following line in avahi config file
Code:
enable-dbus=no
so no requirement of dbus.

than blow command
Code:
echo "nogroup:x:5:" >> /etc/group

after that I started avahi with this
Code:
/opt/etc/init.d/S42avahi-daemon start

and checked is running or not
Code:
/opt/etc/init.d/S42avahi-daemon check


But when I tried to run shairport I got segment fault as felix had a problem.

Felix can you share your shairport ipk file please.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top