|
|
thewatertower.org.uk |
![]() |
| thewatertower.org.uk |
Linux on a PowerPC Apple MacWhat I learned from putting ubuntu on a iBook G4. GNOME fails to startI eventually traced this problem to the clock not being set, but the key cause appears to be the Bonobo server not behaving, and there are no doubt many causes of this. Everything appears to be OK until logging on. After the spash screen and tinkly noises, instead of the GNOME GUI, a bunch of errors are produced instead. The only route out is ctrl-alt-F1 and meddle on the console.
I knew it was network related, because it was only an issue when the ethernet wasn't plugged in. This made issues in the hosts file or network configuration good candidates. Links below concentrate on the interfaces file, I also found a reference to remarking out the IP6 entries in /etc/hosts depratama blog - interfaces, IP6, interfaces (opens in a new window) ubuntu forums - interfaces config (opens in a new window) ubuntu forums - interfaces config (opens in a new window) That didn't work though. The following pages pointed to a hardware clock issue on a G4, simply fixed by setting the clock on the console before logging on. Matt sullivan - cannot access the hardware clock (opens in a new window) ubuntu forums - set the date (opens in a new window) Sure enough, the machine thought it was Jan 1st 1904. Unix goes back, but not that far! The iBook hardware clockNew challenge now. It works on my ethernet because I have an NTP server that's also dished out by DHCP. If I can't get the wireless to work with the owner's Airport or get NTP to work, then this could be tedious. But that assumes Google won't rescue me. The following posts documents setting the hardware clock correctly. I suspect one of the power manager resets I did foobarred the clock, as Apple said it would. The MACOS boot CD displays the time as April 1st 1976. setting the hardware clock (opens in a new window) hwclock generated an error, so I ended up on a terminal session running on a OSX install CD. The usage statement on Apple's 'date' command is wrong, however. It states that the format is [[[[[cc]yy]mm]dd]hh]mm[.ss] but its actually [[[mm]dd]HH]MM[[cc]yy][.ss], as per this man page: man date (opens in a new window) Brilliant. The clock now set, GNOME boots. Though, I think MACOS must have set it to the wrong time zone, because Linux booted up with the clock 7 hours late. I guess Apple's hardware literally resets the hardware clock to nul or zero, so it'll always reset to the EPOCH of the operating system. Setting the clock in Linux now works, and I installed ntp when prompted via the "adjust date and time" applet. Go and look at pool.ntp.org for more information about finding an NTP server. WIFIDownloading the wap-supplicant is a must; you then get a GUI to configure WPA in. sudo apt-get install wpasupplicant On SuSE, /var/log/messages gets errors about firmware; this isn't the case on ubuntu, but I tracked it down in /var/log/kern.log:
apt-get install of the firmware loader didn't work. But ubuntu seems to have a download page .. firmware cutter download page (opens in a new window) As I don't know how to install debian packages at the command line (can't be bothered to RTFM right now) and I succeeded in the end by adding in the two 'unsupported' universe sources in synaptic.
Published and promoted by Ben Prescott, 14, St James's Square, Bournemouth, BH5 2BX. All rights reserved. The views expressed are solely those of the author, not of the service provider. |