Nmap 6.01 packages for Debian 6.0 Squeeze

Somebody asked me for Nmap 6 packages for Debian Squeeze today and I realized I never posted them here back when I built them. While these aren’t the latest and greatest anymore, they still do the trick if you’re trying to get at some of the newer IPv6 functionality. So I figured I’d share them anyways.

Orvant Packages

Debian 6.0 (Squeeze) AMD64

Debian 6.0 (Squeeze) i386

Source Package

IPython 0.12 packages for Debian 6.0 Squeeze

The other day a coworker pointed out some cool new features that we didn’t have available to us with IPython 0.10 from the stable repository. The only problem was debian’s maintainer hasn’t updated the sources since 0.11 for us to backport some of those features very easily. Since we spend a good chunk of time using IPython at Orvant we decided to go ahead and update the sources ourselves. But we figured other python people using debian stable might be tempted by those features as well. So what better to do than pass it on? Anyways, here is what you’ll need.

IPython Website 

Debian 6.0 (Squeeze)

Source Package

You will also need to configure backports since ipython-parallel and ipython-qtconsole depend on zeromq.

After you have configured backports you’ll need to install python-zmq which isn’t available in that repository. I have backported that too after a little cython/pyrex fun:

Debian 6.0 (Squeeze) AMD64

Debian 6.0 (Squeeze) i386


Note: I couldn’t get notebook working with the version of python-tornado available in squeeze. So I kind of just ignored it since I wouldn’t really use something like that anyways. It might work if you install a newer version (2.1.0) from unstable but I suspect in the end that the package will get split out as ipython-notebook whenever the normal maintainer updates it. (due to dependencies among other things)

Build a Netatalk Time Capsule for OSX Lion 10.7 using Debian 6.0 Squeeze

Time Capsule
After going to the Apple Store with a friend and seeing the $300+ Apple Time Capsule I decided to see if I could do the same thing with Netatalk. Turns out I could but if you’re using Debian stable like me you need to get at netatalk 2.2.x before it’ll work with OSX Lion 10.7.x. After seeing a variety of other examples out there on the net and getting a little confused as to why they were doing certain things I decided to just post how I did it. Also, rather than install things from source I like to use debian packages to keep servers clean. But there was a small problem due to a netatalk make bug that debian’s package didn’t account for. So I will post those packages I backported to stable for this.


Debian 6.0 (Squeeze) AMD64

Debian 6.0 (Squeeze) i386

Netatalk Time Capsule Server Setup

After you’ve installed the packages create a service group by creating /etc/avahi/services/afpd.service and adding the contents below: (this might not be necessary with netatalk 2.2)

<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
  <name replace-wildcards="yes">%h</name>

Make a directory to store your time machine data:

mkdir /var/timemachine

Now mark the volume saying it is a supported time machine share:

touch /var/timemachine/.com.apple.timemachine.supported

Define a volume in /etc/netatalk/AppleVolumes.default with the allowed user, usedots to support hidden files, uprivs for afp3 privileges that osx lion needs, and tm to enable time machine support. (highlighted below)

# By default all users have access to their home directories.
~/                      "Home Directory"
/var/timemachine         TimeMachine allow:joe cnidscheme:dbd options:usedots,upriv,tm

Now that things are configured we need to restart avahi.

/etc/init.d/avahi-daemon restart

And restart netatalk

/etc/init.d/netatalk restart

Apple OSX 10.7.x Lion Setup

Now set your OSX installation so it sees unsigned time machine volumes.

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

You should now see your volume in Time Machine Preferences under “Select Disk…”.