Friday, July 04, 2008
Monday, January 15, 2007
Using CPAN behind a firewall
CPAN insists on using FTP to download packages... If you have a firewall set up,
sudo env FTP_PASSIVE=1 cpan
Monday, December 11, 2006
Booting an iBook G4 into Linux from an ext3 USB hard drive partition
This post needs to be edited, but here's the dirty part:
mkofboot -v -b/dev/sda1 -o usb
(apple)+(option)+O+F
> boot usb0/disk@1:yaboot
> dev usb0 ls
> boot usb0/disk@1:2,\boot\yaboot
or > boot usb0/disk@1:2,\\:tbxi
or > boot usb0/disk@1:2,yaboot
> dev / ls
> devalias
yaboot: hd:3,/vmlinux root=/dev/hda3 ro
Tuesday, November 28, 2006
Network awareness (part I)
I wanted kopete to cleanly log me on and off when I suspend/resume like iChat does. Here's the temporary solution (in Kubuntu Edgy):
Create /etc/acpi/suspend.d/20-kopete.sh mode 0755 to read,
Create /etc/network/if-up.d/kopete mode 0755 to read,
Create /etc/acpi/suspend.d/20-kopete.sh mode 0755 to read,
#!/bin/sh
HOME=/home/myuser dcop --user myuser kopete KopeteIface disconnectAll
Create /etc/network/if-up.d/kopete mode 0755 to read,
#!/bin/sh
HOME=/home/myuser dcop --user myuser kopete KopeteIface connectAll
Monday, November 27, 2006
Fixing hibernate on Edgy Ubuntu
After upgrading kubuntu on my Dell Inspiron 640m to Edgy, hibernate no longer worked. After living with it for several weeks and relentlessly checking for software updates, here's the solution [1]:
Edit /etc/initramfs-tools/conf.d/resume to read,
Edit /etc/fstab to read,
Rebuild your initramfs,
Fix your corrupted swap partition,
Enjoy your fully-functional linux laptop.
Edit /etc/initramfs-tools/conf.d/resume to read,
RESUME=/dev/sda2
Edit /etc/fstab to read,
/dev/sda2 none swap sw 0 0(removing a similar line that started with "UUID=")
Rebuild your initramfs,
$ sudo update-initramfs -u
Fix your corrupted swap partition,
$ mkswap /dev/sda2
$ swapon -a
Enjoy your fully-functional linux laptop.
Subscribe to:
Posts (Atom)