Re: [slim] Airport crypto cracked
srcshelton;630309 Wrote: Sorry about that - since making the post I've had a bodged Wordpress upgrade lose my configuration and now my modem's decided to commit hara-kiri and not accept incoming connections all day, despite remote reboots, until I was able to get back and unplug it. It should all be working again now though, so please give it a try and let us know how you get on! https://blog.stuart.shelton.me/archives/762 I'm running Ubuntu Server 10.04 and thought I'd give your instructions a whirl. Not sure if there are any other Ubuntu users out there, but I've run into a wall and cannot get any further (at least tonight). Following your instructions, I made the following changes for Ubuntu: 1. /etc$ sudo vi airplay -- Ubuntu does not use conf.d 2. /etc/init.d$ sudo vi airplay -- All start scripts in Ubuntu seem to require #!/bin/sh at the beginning -- change reference to /etc/squeezeboxserver 3. /etc/init.d$ sudo update-rc.d airplay defaults Now, when I try: sudo service airplay start... nothing, no error messages, no results... Anyone...? -- Juggler Juggler's Profile: http://forums.slimdevices.com/member.php?userid=4935 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
Stuart - The link to your blog doesn't seem to work. I'm itching to try out Airtunes support on my Squeezebox... Can you post instruction here? -- saltedlolly saltedlolly's Profile: http://forums.slimdevices.com/member.php?userid=46484 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
saltedlolly;630223 Wrote: Stuart - The link to your blog doesn't seem to work. I'm itching to try out Airtunes support on my Squeezebox... Can you post instruction here? Sorry about that - since making the post I've had a bodged Wordpress upgrade lose my configuration and now my modem's decided to commit hara-kiri and not accept incoming connections all day, despite remote reboots, until I was able to get back and unplug it. It should all be working again now though, so please give it a try and let us know how you get on! https://blog.stuart.shelton.me/archives/762 -- srcshelton srcshelton's Profile: http://forums.slimdevices.com/member.php?userid=6591 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
ShairPort 0.5's hairtunes now supports output to a named pipe, and this seems to do the trick without having to worry about ALSA configuration or analogue outputs/recording. I've got AirPlay working over a 802.11g Wifi network with only the very occasional drop-out... after days of banging my head on ALSA, it actually works really well! Details here: http://blog.stuart.shelton.me/archives/762 -- srcshelton srcshelton's Profile: http://forums.slimdevices.com/member.php?userid=6591 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
My mistake, I re-ordered the instructions and didn't read them properly. The rawpipe file appears *after* starting shairport.pl, so maybe start shairport and then edit the path in custom-convert.conf. -- mflint mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
Of course.Installed, and only had a quick chance to check, but seemed to work fine. Thanks. -- ericj ericj's Profile: http://forums.slimdevices.com/member.php?userid=3230 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
Did a quick build and test of 0.5. 0.5 does not play audio at all on my system but backporting one change (see below) from 0.5 to 0.3 got rid of most of the clicks. Clicks in 0.3 seems to be result of inadequate buffering which below setting improved. Code: #define BUFFER_FRAMES 512 #define START_FILL282 -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
I can build hairplay for ubuntu (10.4) without error, and start the shairport program, but do not see it in itunes or on my iDevice. avahidaemon is running. What install did you do to get 0.5 up? I did sudo apt-get install libssl-dev libcrypt-openssl-rsa-perl libao2 libao-dev libio-socket-inet6-perl libwww-perl avahi-utils before compiling hairtunes.c the 0.5 for mac is working fine (re: clicksI have newer istuff so perhaps that is why there is no problem). Thanks much in advance for any pointers, google has not helped, and ideally, it would be great to get shairplay w/ Waveinput... Eric -- ericj ericj's Profile: http://forums.slimdevices.com/member.php?userid=3230 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
ericj;625538 Wrote: Thanks much in advance for any pointers, google has not helped, and ideally, it would be great to get shairplay w/ Waveinput... Eric Didn't need to do anything special. When I start perl shairport.pl I get the message like Code: listening... Established under name '00BB3928613E@ShairPort 6182 on pc-linux' If no 'listening' then I think avahi is not running. Otherwise edit hairtunes.c and set debug to 1 and rebuild. hairtunes will stop each time you pause and after a restart start it'll use a new port. After each restart - hairtunes uses a different port so you'll get a new airplay destination - then menu on iDevice then gets very long with lots of old entries for hairtunes. So I think you'll need to rewrite some of hairtunes.c to have a practical player using Waveinput. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
Unfortunately, my c coding skills are nonexistent. I do get the following when running shairport listening... Established under name '003331D0593E@McBair on McBee' and checking for the avahi-daemon returns ps -A|grep avahi 27551 ?00:00:00 avahi-daemon 27552 ?00:00:00 avahi-daemon but on the mac I also get information that the service is being registered, but that is probably OS dependent. I'm glad to help in any way, but given my coding days are long ago, won't be able to push much further. An enthusiastic thanks for the help in any case. Eric -- ericj ericj's Profile: http://forums.slimdevices.com/member.php?userid=3230 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
It looks like the service has been registered with avahi which means it should appear when you press the airplay button on iDevice. So it looks like you need to check network related items such as Is the iDevice on the same LAN as the PC ? Does the PC have security enabled which is blocking avahi service broadcast ? -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
Security was indeed an issue. Turning off the firewall (temporarily) cured the problem. Now I have to get Waveinput for Linux running. Standard Ubuntu 10.04 LTS, should, I hope, work with a standard ALSA setup.I'll keep trying later. Thanks. Eric -- ericj ericj's Profile: http://forums.slimdevices.com/member.php?userid=3230 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
Eric, I believed that Waveinput was a Windows-only thing. Let us know how you get on. I hope to have a proof-of-concept plugin uploaded to GitHub later today. Matthew -- mflint mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
mflint;625610 Wrote: Eric, I believed that Waveinput was a Windows-only thing. Wave Input is also available on Linux: http://forums.slimdevices.com/showthread.php?t=49584 -- erland Erland Isaksson ('My homepage' (http://erland.isaksson.info)) (Developer of 'many plugins/applets' (http://wiki.slimdevices.com/index.php/User:Erland). If my answer helped you and you like to encourage future presence on this forum and/or third party plugin/applet development, 'donations are always appreciated' (http://erland.isaksson.info/donate)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
mflint;625610 Wrote: Eric, I believed that Waveinput was a Windows-only thing. Besides Linux, an OSX version is just being developed see http://forums.slimdevices.com/showthread.php?t=87023 mflint's approach of removing libao is better than using WaveINput as it will remove an OS audio subsystem dependency and so one version could fit all OS. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
Indeed, with WaveInputPlugin for linux, and some changes in my firewall, I do have this working on 10.04. Now listening to NPR from my ipad Not totally stable, if anyone has advice about what ports need to be open for airplay, etc. that would be helpful. Also, finding crashes as follows: launched decoder: 6603 on port: 6000 REQ: RECORD REQ: SET_PARAMETER REQ: TEARDOWN bye! ***CHILD EXITED*** closed: IO::Socket::INET6=GLOB(0x90dcc40) But progress -- ericj ericj's Profile: http://forums.slimdevices.com/member.php?userid=3230 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
ericj;625642 Wrote: Indeed, with WaveInputPlugin for linux, and some changes in my firewall, I do have this working on 10.04. Now listening to NPR from my ipad Well done Eric, you beat me by 45 minutes ;-) You've got NPR, I have 'Ernie (The Fastest Milkman In The West)' (http://en.wikipedia.org/wiki/Ernie_(The_Fastest_Milkman_in_the_West)) :-D Here's the GitHub repo if anyone's feeling brave... ;-) https://github.com/mflint/SquairPlay -- mflint mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
Thanks for the git files. Agreed that eliminating WaveIn is the way to go. I will give this a turn tomorrow, but I did do the make of shairport/hairtunes, but not file rawpipe appeared. I'll look at the source, etc. tomorrow, but it should be there, no? Eric -- ericj ericj's Profile: http://forums.slimdevices.com/member.php?userid=3230 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
I just installed the 0.5 version of shairplay, forked for the mac from https://github.com/albertz/shairport It seems to stream well (no obvious clicks on a low quality source (MLB11 radio). Perhaps --the improvements in 0.5 might help with the problems noted above, or --might be useful with waveinput for the mac. One goal I had was to put the audio from the MLB iPhone app onto (eventually) my squeezebox. -- ericj ericj's Profile: http://forums.slimdevices.com/member.php?userid=3230 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
I had a play last night to try to get a proof-of-concept running. I made a small hack to hairplay so libao sends it's output to a file on disk - this works fine, and the docs suggest that the magic filename - means STDOUT. But if I make that change, hairplay crashes as soon as it tries to write any data to the output. I'll attach gdb to it tonight - hope that'll tell me what I'm doing wrong with libao. I'm not even sure whether libao will be necessary at all..? Matthew -- mflint mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
I've been playing some more... The writing to stdout issue was my fault, not libao... but we won't need libao anyway. I'm now writing raw audio out to a named pipe (which I'm manually converting to wav using sox). I reckon it'd be possible to automate the conversion (either to wav, flac or mp3) using the custom-types.conf file in a similar way to Wave Input. I'll stick the code on github if I get a proof-of-concept working. You're right about there being clicks in the audio - disappointing :-( -- mflint mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
erland;624853 Wrote: I wonder if it would be possible to do something with this new ShairPort software and the already existing Wave Input plugin ? Quite possible, I'd guess... hairport.c uses libao to push the stream to the audio device. It would need to push to a named pipe instead, similar to what the wavin2cmd program does for the Wave Input plugin. (I'm guessing that it's already a raw PCM stream) (See function init_output in hairport.c) I'd really like to see this working! -- mflint mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
I've look at shairport and built and tested it on Ubuntu it does produce a PCM stream which is sent to default audio device. On my system the audio has lots of clicks and underrun messages so I think it needs refinement before it is ready for general use. Since hairtunes plays to default audio using libao - Waveinput should work as it stands as with the right settings. As I see it, as Airplay plugin has a modded hairtunes which sends a PCM stream direct into SBS (e.g. remove libao and stream the PCM as a WAV to stdout) but it may be hard to achieve as the hairtunes will only produce a audio stream when connected to a iPod player - and SBS would have to pick up the PCM stream only when a new instance of hairtunes has started. If hairtunes is not started then SBS would play silence first and then connected to hairtunes and if hairtunes is already running SBS has to find and pick up the PCM stream with the added complication that some user may want an Airplay stream per SB player. I'll do a bit of thinking on this bit. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
I've never looked into Airport but if they make an Airport-enabled iPod dock then that could be a great solution for when guests turn up with music you want to listen to if someone were to write a plugin for it. -- paulster paulster's Profile: http://forums.slimdevices.com/member.php?userid=23073 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
paulster;624775 Wrote: I've never looked into Airport but if they make an Airport-enabled iPod dock then that could be a great solution for when guests turn up with music you want to listen to if someone were to write a plugin for it. I think what he's done here is to turn the PC's sound subsystem into a player that's recognized by iTunes as a Apple device, even if it isn't. Hence, with a plug-in, a SB player could be streamed-to from iTunes. P -- pski real stereo doesn't just wake the neighbors, it -enrages- them.. It is truly the Golden Age of Wireless pski's Profile: http://forums.slimdevices.com/member.php?userid=15574 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
That's what I figured. What I don't know is if there are any Airplay iPod docks so you can stream wirelessly from an iPod to another Airplay device. If you can then a plugin could make SBS appear as an Airplay player, so you could stream from an iPod to your SBS players. That would be far more interesting to me than anything that involves iTunes, since I have that installed solely to copy music onto my iPods. -- paulster paulster's Profile: http://forums.slimdevices.com/member.php?userid=23073 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
paulster;624787 Wrote: That's what I figured. What I don't know is if there are any Airplay iPod docks so you can stream wirelessly from an iPod to another Airplay device. If you can then a plugin could make SBS appear as an Airplay player, so you could stream from an iPod to your SBS players. That would be far more interesting to me than anything that involves iTunes, since I have that installed solely to copy music onto my iPods. You don't really need a Airplay dock: all the portable devices have WiFi and AFAIK, you can stream from an iPod to other devices talking to the Airplay. So if SB player was seen as an Airplay device, you could stream from the iPod to the SB player? Apple lovers chime in! P -- pski real stereo doesn't just wake the neighbors, it -enrages- them.. It is truly the Golden Age of Wireless pski's Profile: http://forums.slimdevices.com/member.php?userid=15574 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
pski;624807 Wrote: You don't really need a Airplay dock: all the portable devices have WiFi. I've got 4 and none of them have Wi-Fi! -- paulster paulster's Profile: http://forums.slimdevices.com/member.php?userid=23073 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
pski;624785 Wrote: I think what he's done here is to turn the PC's sound subsystem into a player that's recognized by iTunes as a Apple device, even if it isn't. Hence, with a plug-in, a SB player could be streamed-to from iTunes. P A plugin should allow you to stream either from iTunes to an SB player -OR- stream from an iOS device to an SB player. Both of these options would be very handy for me. -- jackaninny jackaninny's Profile: http://forums.slimdevices.com/member.php?userid=273 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
paulster;624814 Wrote: I've got 4 and none of them have Wi-Fi! I mean i(Pod/Pad/Phone.) What do you mean? P -- pski real stereo doesn't just wake the neighbors, it -enrages- them.. It is truly the Golden Age of Wireless pski's Profile: http://forums.slimdevices.com/member.php?userid=15574 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
pski;624816 Wrote: I mean i(Pod/Pad/Phone.) What do you mean? The Classics and Gen 1/2 Nanos don't have Wi-Fi. 3 of mine are Classics. -- paulster paulster's Profile: http://forums.slimdevices.com/member.php?userid=23073 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
paulster;624829 Wrote: The Classics and Gen 1/2 Nanos don't have Wi-Fi. 3 of mine are Classics. So sorry to hear that their dedication to wire (OH, WAIT, they still do that) is in effect. P -- pski real stereo doesn't just wake the neighbors, it -enrages- them.. It is truly the Golden Age of Wireless pski's Profile: http://forums.slimdevices.com/member.php?userid=15574 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
paulster;624829 Wrote: The Classics and Gen 1/2 Nanos don't have Wi-Fi. 3 of mine are Classics. I believe he was talking about iOS devices -- jackaninny jackaninny's Profile: http://forums.slimdevices.com/member.php?userid=273 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
Yep, if you want a big disk you have to go wired! -- paulster paulster's Profile: http://forums.slimdevices.com/member.php?userid=23073 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Airport crypto cracked
pski;624751 Wrote: As reported at wired.com http://www.wired.com/gadgetlab/2011/04/hack-unlocks-airtunes-private-key-allows-streaming-to-any-device/ I wonder if it would be possible to do something with this new ShairPort software and the already existing Wave Input plugin ? Basically stream from iOS device to ShairPort on the SBS computer and make Wave Input plugin pickup the audio from the computer and stream it to the Squeezeboxes. Would that work ? Anyone willing to try ? -- erland Erland Isaksson ('My homepage' (http://erland.isaksson.info)) (Developer of 'many plugins/applets' (http://wiki.slimdevices.com/index.php/User:Erland). If my answer helped you and you like to encourage future presence on this forum and/or third party plugin/applet development, 'donations are always appreciated' (http://erland.isaksson.info/donate)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=86972 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss