Saturday, October 23, 2010

Printing with Konica Minolta PP1300W in OSX Snow Leopard (over Time Capsule)

I was supposed to do this years ago, and I actually tried to, but I never got the gutenprinting stuff to work with the built in CUPS of OSX. However, today was the day I thought I might just do it!

Turns out it was quite easy (after I tried all the different combinations that is...)

  1. Go to Linuxprinting and download the min12xxw dmg (min12xxw-0.0.92-ub.dmg).
  2. Download the Ghostscript stuff from the same page (gplgs-8.71.dmg)
  3. Run the installer for min12xxw
  4. Run the Ghostscript installer
  5. Add your printer (it will auto select the Foomatic/min12xx driver
  6. Save and print!

Monday, October 4, 2010

Automatically upgrade Debian with security updates

So, one of the boring tasks of being a sysadmin is to do updates. Well, it's not really boring, just a boring task of doing it if you have more than 10 systems or so.

Since I'm lazy and not really a sysadmin full-time, I'm cheating by using the unattended-upgrades package. Here is how you do it:

  1. Install unattended-upgrades
  2. Add the following to /etc/apt/apt.conf
    APT::Periodic::Update-Package-Lists "1";
    APT::Periodic::Unattended-Upgrade "1";
  3. See if you need to modify
    /etc/apt/apt.conf.d/50unattended-upgrades
    (I didn't)
  4. Watch your logs for any errors during updates (I use logcheck for this)
  5. Read the additional info at https://wiki.ubuntu.com/AutomaticUpdates for more details about this feature if you want to.