fiddlesticks.com home  :  Words Weblog About Me 

moving some stuff about, things might break for a bit. Be patient

Interactive TV guidelines from Sky · 209 days ago

http://www.skyinteractive.com/NR/rdonlyres/5E094E6E-7288-4D3B-B176-E2096508F1DE/0/DesigningforInteractiveTelevision.pdf

— George Wright

Comment

---

Apt-mirror multi-arch howto · 218 days ago

One of the loveliest things about running the same OS on a number of different arches is that *everything* works the same way. This extends to system upgrades. Quick howto on how to mirror a debian archive for multiple arches.

apt-get apt-mirror
vi /etc/apt/mirror.list


## I changed the base path. If you do
## you need to create the following directories manually

set base_path /mnt/var/spool/apt-mirror
set mirror_path $base_path/mirror
set skel_path $base_path/skel
set var_path $base_path/var

## set the arch that you're running on

set defaultarch sparc

## set nthreads 20
set _tilde 0

##this will be your default
deb http://debian.blueyonder.co.uk/ etch main non-free contrib
## any others you need
deb-i386 http://debian.blueyonder.co.uk/ etch main non-free contrib
deb-powerpc http://debian.blueyonder.co.uk/ etch main non-free contrib


set cleanscript $var_path/clean.sh

## stuff you dont want to mirror

## Cleaning section
clean http://security.debian.org/
clean http://debian.blueyonder.co.uk/


skip-clean http://debian.blueyonder.co.uk/doc/
skip-clean http://debian.blueyonder.co.uk/tools/
skip-clean http://debian.blueyonder.co.uk/dists/sarge/main/installer-i386/
skip-clean http://debian.blueyonder.co.uk//dists/sid/main/installer-i386/

— George Wright

Comment

---

Debian Etch on an ibook · 220 days ago

I got a newish ibook from Jem. He’d dropped the screen onto something, so it smashed and was unusable.

It sat around my flat for a bit. I finally got around to getting a VGA display adaptor (cheapish at 15 quid) and sorting it out. Here’s what I did to install Debian Etch on an iBook G4 1200 Mhz laptop. IT covers the bits I found hard (plugins, hardware, etc) and is probably always work in progress. Last updated 10:38 20070106

Install

  1. Grab the new multiarch Debian install CD
  2. Boot, holding down ‘C’
  3. Surprised that ‘installgui’ didn’t work. So it’s text for now. (Will try it on an x86 box to see if they get a GUI)
  4. Accept the usuals.
  5. Select ‘resize’ for the OSX partition. Drop it to 15Gb
  6. Select some swap and throw 14Gb at /
  7. It whirs away.
  8. Select ‘desktop’ in tasksel (laptop already ticked – I left it selected, to try out power management, etc)
  9. Accept the usuals
  10. Reboot. Whee, it works!

X

  1. Ah – no X. Ah, well, dpkg-reconfigure xserver-xorg will sort it. It didn’t :(
  2. apt-get install xserver-xorg-video-ati
  3. Still no joy. Boo.
  4. apt-get install xserver-xorg-input-all fixes it!
  5. Whee! Xorg.conf

Software

This is the first thing I do on a new box.

(I like amarok, and the -devel stuff helps with trying to tottle around)

Gnome

Java

  1. Go to the IBM JDK website (login/ signup needed)
  2. Grab the ibm-java2-jre-50-linux-ppc.tgz file – use http option
  3. apt-get install java-package libstdc++5
  4. make-jpkg ibm-java2-jre-50-linux-ppc.tgz
  5. dpkg -i ibm-j2re1.5_1.5.0_powerpc.deb
  6. update-alternatives —config java
  7. ln -s /usr/lib/j2sdk1.5-ibm/jre/bin/libjavaplugin_oji.so /usr/lib/firefox/plugins/
  8. apt-get install libgtk1.2
  9. Test at Sun Java test page
  10. Whee!

Real Player

  1. Grab this download from real/ helix
  2. chmod +X realplay-10.0.5.756-linux-2.2-libc6-gcc32-powerpc.bin
  3. ./realplay-10.0.4.750-linux-2.2-libc6-gcc32-powerpc.bin
  4. Welcome to the RealPlayer (10.0.4.750) Setup for UNIX
  5. Setup will help you get RealPlayer running on your computer.
  6. Press [Enter] to continue…
  7. (accept stuff)
  8. sudo mv /usr/lib/firefox/plugins/libtotem-complex-plugin.* /usr/lib/firefox/
  9. Test at the BBC AOD site
  10. Whee!

(If you get this error…)

error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Then you need to: apt-get install libstdc++5

Wireless

It’s not moving anywhere anytime soon, and has a wired connection, but I wanted to get wifi working. Here’s how

  1. lspci | grep Wireless
  2. 0001:10:12.0 Network controller: Broadcom Corporation BCM4306 # 802.11b/g Wireless LAN Controller (rev 03)

  1. apt-get install bcm43xx-fwcutter

It fetches the firmware automagically, hurrah

dmesg shows this, though, and the inerface isn’t shown

bcm43xx: Error: Microcode “bcm43xx_microcode5.fw” not available or load failed.
bcm43xx: core_up for active 802.11 core failed (-2)

  1. modprobe bcm43xx
  2. dmesg

bcm43xx: PHY connected
bcm43xx: Microcode rev 0×127, pl 0xe (2005-04-18 02:36:27)
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: 32-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
ADDRCONF: eth2: link is not ready

  1. /sbin/ifconfig | grep eth2
  2. eth2 Link encap:Ethernet HWaddr 00:11:24:2C:EB:11
  3. Whee!

System info

cat /proc/cpuinfo
processor : 0
cpu : 7447A, altivec supported
clock : 1199.999000MHz
revision : 0.1 (pvr 8003 0101)
bogomips : 73.47
timebase : 18432000
platform : PowerMac
machine : PowerBook6,5
motherboard : PowerBook6,5 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags : 0000001b
L2 cache : 512K unified
pmac-generation : NewWorld

lspci
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
0000:00:10.0 VGA compatible controller: ATI Technologies Inc M9+ 5C63 [Radeon Mobility 9200 (AGP)] (rev 01)
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI
0001:10:12.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo/Intrepid Mac I/O
0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1a.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1b.0 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.1 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI
0002:20:0d.0 Class ff00: Apple Computer Inc. UniNorth/Intrepid ATA/100
0002:20:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2 FireWire (rev 81)
0002:20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC (Sun GEM) (rev 80)

— George Wright

---

DPRK web server · 223 days ago

HTTP/1.0 compliant. HTTP/1.1(RFC2616) persistent connection, DAA user authentication

— George Wright

---

Sugar/ OLPC · 224 days ago

Getting the OLPC image running was easier than I thought (at first….)

I installed qemu and then followed these instructions. I launched it with #qemu -m 256 -hda olpc-redhat-stream-development-build-206-20061223_2024-devel_ext3.img

I didn’t need to modprobe i8042, but still couldn’t get the sugar UI loading.

Manually running startx gave me…. a TWM session. Woot.

So, after some fiddling, I gave up and built sugar from source. I followed these instructions (quick hint: sudo apt-get install build-essential cvs docbook-utils subversion libgtk2.0-dev libidl-dev \ gnome-common gtk-doc-tools libxt-dev automake1.7 automake1.8 automake1.9 python-gtk2-dev \ python-avahi git-core cogito python-dev avahi-utils \ libgconf2-dev xserver-xephyr libgnome2-dev mozilla-dev libmatchbox-dev python-cairo-dev \ libtiff4-dev python-gnome2-dev libxdamage-dev libxdamage1 libxcomposite-dev \ libgnomeui-dev libtool libfribidi-dev &&
git clone git://dev.laptop.org/sugar-jhbuild && cd sugar-jhbuild && ./sugar-jhbuild

It’s (still) building now…)

— George Wright

---