Archive for ‘Apple’ Category
Once in a while you might want to dig deep into OSX’s dhcp client and find out what dhcp packet the server sent it. A quick command to spit out this info:
Posted on 12:28, December 15th, 2007 by Many Ayromlou
Here are some notes for those of us working with Macs, who also have to deal with networking gear that usually have a serial console for local control. I recently purchased a IOGEAR USB 1.1 to Serial Converter Cable that uses the PL2303 chipset (pretty much any brand of these usb to serial converters use this chip). I was hoping that this dongle would allow me to access our network switches serial interface (which you kinda need when the switch has gone berserk). So after looking around the net I found that there is a opensource driver out there for it and that it performs better than the driver provided by Prolific (the company that manufactures the chip). So once everything was installed I hooked up the serial cable and realized that I needed a serial console program.
This turned out to be quite a pain since almost all of these programs for the mac are old and/or not free. Well, that was until I found out that our good friend screen can do this just fine:
This will open up a new screen session in your xterm/terminal and from there you can control your serial device. Once you’re done you need to issue the command Ctrl-a Ctrl-\ to get out of screen and back to your shell prompt.
Posted on 23:15, November 14th, 2007 by Many Ayromlou
Here is a quick way to enable full path display in the finder windows under Leopard. You can turn this on by issuing the following two commands in a terminal window:
Wow…now, why would Avid do this? I think that Apple and Sony might just have Avid cornered. Apple’s pounding them in the high end editing market and Sony’s bringing up the rear with Vegas. I guess some companies never learn, proprietary never pays….any one remember SGI…they used to have monster booths at NAB and would only talk to you if you had hollywood written all over your face…..Now they are next to non existent. It’s time for me to listen to my favourite Queen song….”Another one Bites the Dust”.
Posted on 16:55, November 11th, 2007 by Many Ayromlou
So now that I have a basic OSC receiver for aka.iPhone’s XY controller, I’ve been going through Apple’s Demo Compositions — under /Developer/Examples/Quartz Composer/Compositions — and adding my portion of the OSC receiver to them. Here is the latest one, akaRemote-Caterpillar, which is a adaptation of “Caterpillar.qtz” under /Developer/Examples/Quartz Composer/Compositions/Interactive. Again I need to remind you to read the first Article to get started and that these QC compositions are for Leopard/QC3.0 only and require a jailbroken Ipod Touch or iPhone.
Posted on 15:05, November 11th, 2007 by Many Ayromlou
Well here are my two (akaRemote, akaRemote-Particle) attempts at QC compositions that work really well with the XY controller of aka.iPhone. The XY Controller surface is the only thing I’ve been able to get working with QC, since Masayuki Akamatsu (the author of aka.iPhone) tends to use the same basic “/event” OSC message with a custom number of arguments. The limitations is actually in QC in that you can only have one OSC receiver on a UDP port at a time. Further a OSC receiver can not receive the same message with different arguments (int, float, float array). The author does mention that his protocol might change without notice, so hopefully he’ll read this post and change the messages to cascading/two level OSC messages to signify which button’s are activated and also to get more diversity in the base message string (ie: /event/Pad/buttonB1 message of type boolean which would signify a toggle button on the Pad screen being fired). I don’t pretend to be an OSC god, but I think it makes the protocol more readable/adaptable, which might not be the authors intent.
I decided that for my own use the XY controller was the most useful to reverse engineer (and also the easiest). The OSC command is “/event a b c“, where “a” is the trigger, “b” is the x-coordinate and “c” is the y-coordinate. X and Y coordinates are between (0,0) at the bottom left of the ipod touch screen and (1,1) at the top right.
Now here is how you get it all going:
Posted on 11:52, November 2nd, 2007 by Many Ayromlou
Have a look at the picture above…..This is fresh from my Macbook this morning (when it woke up from sleep mode). Notice anything strange…..let me help you, have a look at the Aiport icon in the menu bar and the actual Airport device setting in Network preferences. Yep, Icon in menu bar says Airport is turned off, the device setting shows it’s on and associated/working. Apple FIX THIS WILL YA…….Oh btw, if you want a temporary fix for this just flick the “show Airport status in menu bar” check box off and on again and the menubar icon will be fixed.
If you like to get rid of the stripes in the list view of the new Leopard Finder, open a Terminal Window and type in the following two commands:
Posted on 21:40, October 31st, 2007 by Many Ayromlou
Okay as much as I like OSX and apple I have to admit, Leopard is not quite ready for consumption. Not unless you’re willing to do a “Erase Install”. After the weekend fun session of “Archive installing” 5 machines, I have found another bug/feature/headache. Here is how it happens:
Well, not quite. It might seem like everything is transfered, until you start wondering about WINS Servers and Windows WORKGROUP/Domain settings. You see under Tiger these two were stored under directory utility, but under Leopard they’ve tried to pack everything under Advanced Network settings (Preferences/Network/Advanced…). The problem is that if you’ve had your Network locations transfered from tiger, the advanced WINS panel will NOT let you enter/add new WINS servers or change the WORKGROUP field. You can try and change them, but as soon as you press OK followed by Apply on the next screen, the fields reset to blank.
Try it and you’ll see if you go back the field wil be blank. The only way to fix this is to create “New” Locations and re-set them up, then you can fill in the WINS and WORKGROUP entries and they’ll stick. Apple are you listening, not only are the Network panels a mess — just compare the 3 different widgets used under Network settings……must be some new Leopard crack they’re sniffing……consistency people — but the network configuration screens refuse to take into effect the changes you put in if you’ve done a “Upgrade” or “Archive” install. This only wasted three hours today, I’m sure someone in Cupertino is having a good laugh.