1. August 31, 2009

      Soundflower + 10.6 == …. Works (now anyway)

      So, I’m procrastinating from writing my Java app. And when procrastinating, I like to listen to music. Except my laptop speakers suck, and as I’m home alone I would like to listen comfortably without headphones. Long story short; I need to hijack music form my laptop’s iTunes, and stream it to my desktop’s VLC or Windows Media Player.

      Instantly I turn to an old favorite; Soundflower, which provides virtual inputs and outputs for MacOS. Except, it stopped working in Snow Leopard, the dialog: System extension cannot be used The system extension “/System/Library/Extensions/Soundflower.kext” was installed improperly and cannot be used. appears. Thankfully, it’s actually a simple problem and a simpler fix.

      If you go:

      $ sudo kextutil /System/Library/Extensions/Soundflower.kext
      /System/Library/Extensions/Soundflower.kext has problems:
      Authentication Failures:
          File owner/permissions are incorrect (must be root:wheel, nonwritable by group/other):
              /System/Library/Extensions/Soundflower.kext/Contents/Info.plist
              /System/Library/Extensions/Soundflower.kext/Contents/MacOS/Soundflower
             /System/Library/Extensions/Soundflower.kext/Contents/Resources/Soundflower.xcconfig

      See, simple permissions problem! Running chown and chgrp cleans it up nicely. I’ve submitted the fix in the bug report, and hopefully soon a fix will be officially released.

      Now, back to streaming my music…

    2. August 30, 2009

      iPhone 3GS WiFi Speed Issues

      So, since buying my iPhone 3GS, it’s been plauged with speed issues over WiFi. Not the awesome Lightwire service on campus, but my home, with my Cisco Aironet 123AG access point, the last place in the world I expect to have problems.

      For those lucky enough not to experience slack WiFi, the problem is that is some applications are completely unusable. Using the http://i.dslr.net/tinyspeedtest.html website, my iPhone (on good days) gets ~4000ms pings and I~50kbps. But there should be no reason for this; The speedtest.net app works fine, showing speeds of ~14Mbps… Curious…

      So, I did some packet captures (the capture point being on wired ethernet, directly after the AP); the iPhone takes seconds to ACK the TCP packets when running Mail or Safari (didn’t bother testing any other applications).

      My logic may be failed, but if I run the test and get 256ms and 3500kbps on my MacBook, there should be no reason why this isn’t possible on my iPhone. My MacBook uses .11a, while the iPhone 3GS seems to only use .11b/g (which is very odd, because the chipset is there to support 802.11a), so each device isn’t sharing radio space with the other.

      So I tried screwing with the settings, and the thing which had the most profound effect was the Beacon Interval. By changing it from 4000 Kusec to 40 Kusec, instantly I went from having ~4000ms pings to ~330ms pings, and a usable data rate of 864kbps! I then lowered it to the absolutely lowest time possible, 20 Kusec, and now have ~285ms pings and ~1500kbps to http://i.dslr.net/tinyspeedtest.html.

      This does, however, bring one very pressing question; Why does this only affect my 3GS? Beverley’s original iPhone worked fine before changing the settings, as well as our 2 laptops, and various visitor’s laptops. In fact, I used this and 4 other identical APs at the NZ WCG, providing internets to ~25 different laptops and PDAs of various descriptions, all roaming around the event, with the exact same configuration I started with, and not a single complaint. It obviously can’t be the fault of the AP… can it?

    3. August 23, 2009

      jlaundry.com 6.0!

      Oops, I did it again.

      So, I bought an iThing 3GS. I went app crazy, and found out about the WordPress app. I realised I hadnt posted to my blog in months, mostly because theres too much work involved in posting. So, I decided it was time for a freshup.

      So, bye bye custom CodeIgniter blog engine, hello (again) WordPress (and all the other social media integrations I have to integrate).