Join Debian Lenny to Active Directory using Samba

If you install GNOME on Debian and intend to use it as a server, first thing you should do is remove the network-manager and network-manager-gnome packages. This tool can be helpful on a desktop, but since we are tweaking DNS, IP addresses, and perhaps even NIC bonding, the network-manager can …

more ...

Rip and convert to MP3 files in Debian Lenny

To create an MP3 audio file in Lenny, you need to install the proper package to encode them. I suggest you add the "debian-multimedia" repository while you are at it. Edit your  /etc/apt/sources.list and add:

deb http://www.debian-multimedia.org lenny main

run

aptitude update

then install …

more ...

How to update my sparc FreeBSD install

So the spanking new freebsd-update doesn't work for sparc systems... boo. Have to do everything manually. Here's what I remember. Let me know if I forgot something, or its wrong.(very likely)

Install cvsup:

# cd /usr/ports/net/cvsup-without-gui/
# make install

install fastest cvsup:

# cd /usr/ports/sysutils/fastest_cvsup …
more ...

Automysqlbackup.sh.2.5 on FreeBSD

Automysqlbackup is a great tool. It's setup and configuration can be found at many other sites. When you try to run it out of the box, you will get something like this:

./automysqlbackup.sh.2.5: Command not found.

To run it in FreeBSD, you need to edit a single …

more ...



Add a Single User mode entry in Grub bootloader.

All you need to do is add 'single' to the end of any bootloader entry to make it single user. So what you need to do is edit the /boot/grub/menu.lst, copy one of the entries, and all 'single' to the end.

gksudo kate /boot/grub/menu.lst …
more ...


Remotely change power options in XP

First of all, get the pstools and set them up. then run

psexec \\[workstation name] powercfg /query
Field Description          Value
-----------------          -----
Name                       Home/Office Desk
Numerical ID               0
Turn off monitor (AC)      After 20 mins
Turn off monitor (DC)      After 5 mins
Turn off hard disks (AC)   After 60 mins
Turn …
more ...

Ubuntu recovery console with no root password

So your Ext3 root partition is corrupted. No matter how you try to log into your system, your system asks you for root password. But you are a good, obedient ubuntu user. And you do not have a root password set. You can press CTRL+D, but that just reboots …

more ...