Tuesday, December 28, 2010

change an exisiting boot cd and make another boot cd in osx

Wow, last post was Nov 1, 2010. Two days before Sam.

hdiutil makehybrid -o cd3.iso newiso3/ -iso -hfs -joliet -eltorito-boot newiso3/usr/standalone/i386/cdboot -no-emul-boot -hfs-volume-name "cd3" -joliet-volume-name "cd3"

Monday, November 1, 2010

Auto on off for OSX airport

This works well for me on a mac mini G4. Substitute 192 for whatever is valid for you. Play with the delays to see what works best.

Also restart your wireless router everyday :) I don't know why this helps.

#!/bin/csh

set n = 0
set t = 120
while ( `/Users/me/helperanet` != 192 )
echo $n
networksetup -setairportpower off
sleep 3
networksetup -setairportpower on
sleep 6
@ n = $n + 1
end

with helperanet being

#!/bin/csh
set stra =( `networksetup -getinfo airport | grep -i ip | grep -i 192 | awk 'BEGIN {RS="."} /192/ {print $3}'` )
echo $stra

Sunday, March 28, 2010

Mythdora 32 bit EIT

Redo from start: 10.21
Hope to go to .23
i386 instead of amd64
Use only EIT.

Saturday, March 13, 2010

We welcome you to a new .....

..... viewing toy.

LG BD 570 works well to view mythtv HD (1080i) off air recordings. Wirelessly at that.

A firmware upgrade did throw a hiccup, which was worked around by going from wpa2 to wpa.

Netflix, youtube, picasa, pandora have all worked well.

Saturday, March 6, 2010

Upgrade .....

In linux, as in other OSes, well meant upgrades can break things. I suspect a change in policy happened during an "upgrade".

Here are a couple of things I learnt:

RSA_public_decrypt failed: error:04067069:lib(4):func(103):reason(105)

Read: Our decryption is silly. It wont handle keys of all sizes. Try 2^n.


Authentication refused: bad ownership or modes for file /?????/????/.ssh/authorized_keys

AKA: We are silly. Though only public keys are stored here, we dont want default permissions for this file. So what if the actual keys have silly permissions.

Do you detect a note of silliness? This took me almost 3 weeks to figure out.

Saturday, January 2, 2010

OpenSuSE 11.2 aaaaaaaaaaaaaaaaargh

Usually, Opensuse is good. But on my dear A21m, with XFCE, it flunked badly. Infinite loop of first system config.

Debian 5 with LXDE works much better.