Looking for easy way to add AirPrint and AirPlay support.
Maybe working packages
SHAIRPORT (USB AUDIO already works with extra modules)
I'm reading up Airprint (maybe Airplay later)
The best way to do it is via CUPS
1) Release a build of tomato with CUPS pre-installed with Airprint pre-configured
2) Install CUPS (and avahi) via optware… (I have the Asus RT-N16, and people with that router complain that the CUPS optware segfaults)
Probably will work more on it next weekend….
Heres what I have learnt so far today about Airprint:
I actually managed to get pretty far with both, but not 100% there.
Here is my tutorial on getting USB Audio working
Just need someone to compile ShairPort and some dependency.
See this thread - http://tomatousb.org/forum/t-573238/airprint-google-cloud-print-cups-working-and-here-is-how
I managed to get CUPS working (print test page from CUPS GUI), plus Avahi and DBus
However so some reason, when I try print from my iOS device, nothing happens. We really need a working CUPS package versus the hack used in the thread. Also need Python-Cups to generate the airprint avahi service file (I'm not 100% positive the manual one I created is correct) and for Google Cloud Print.
Good luck and please report back.
I got CUPS almost working (localhost:631 shows up, connects to printer)… only problem is that my printer isn't supported officially by gutenprint, and the "official" ppd requires foomatic (and that depends on perl and other stuff… sigh)
(one problem I ran into is that I had to "chmod 777 /dev/lp0" to get the website to find the usb printer. /opt/lib/cups/backend/usb always sees my printer without the chmod trick)
I'm giving up trying to hack software builds together. I'd rather try to get ipkg to work properly (if ipkg works properly, its far easier than trying to download tar.gz s and move stuff around)
I am currently building the tomato mipsel toolchain from source, and then going to build packages using ipkg from that
read pani's post on this page… untar those programs (cups, gs, gutenprint, libraries) to /opt
On the weekends, I'll try to rebuild those programs using ipkg so it's easier to install
THX, got CUPS working on my ASUS RTN66U.The webinterface was slow at first, but after a reboot of the router it works just fine. Unfortunately i did not read well…..Turns out, my printer is not supported. Got ik working on linux some time ago with the Samsung CLP-310 Foomatic driver…..but that one is not supported on tomatousb. Can download it for linux, but need to compile it. Don't know if this is posible for tomatousb. Bummer….. Also installed avahi, but get message Failed to find user 'avahi' if i start the avahi-daemon
Got avahi working. The only thing is that i have to restart dbus before avahi starts. Does not work from within the firewall script. Have to start both by hand!! Even managed to promote my AppleTV2 sleepproxy and airplay service to another vlan with avahi-daemon running. Now i can use airplay with my AppleTV from 2 vlan's while only having 1 AppleTV residing on 1 vlan. To get that part running edit the avahi-daemon.conf and change the part of enable-reflector=no to enable-reflector=yes.
FYI - I got AirPlay working on TomatoUSB
Here's a Tutorial - http://blog.qnology.com/2012/12/tutorial-apple-airplay-on-tomatousb.html
Note that Cups is also working under Entware, but currently there are no drivers. I've made a request to the entware maintainers to build gutenprint.
[Update - AirPrint now also working!]
Here's a Tutorial - http://blog.qnology.com/2013/03/tutorial-apple-airprint-on-tomatousb.html
Note that AirPrint requires Optware which isn't compatible with Entware. Meaning you can either setup AirPrint or AirPlay, not both. Hopefully we'll resolve this soon.