return to OCLUG Web Site
A Django site.
June 24, 2011

Bart Trojanowski
jukie
Bart's Blog
» HDD -> SDD

After reading and hearing everyone raving about SSDs for a couple of years it was hard to resists the upgrade.

So I got an Intel SSD 510 120GB to replace my Seagate 2.5" laptop HDD.

The prices in the ~120GB SSD category are pretty close. I chose the Intel based on reading that they have a low failure rate (I was unable to find the soruce when writing this up).

The Thinkpad X61 only has SATA-II; the drive supposedly has better performance on SATA3.

UPDATE: Samat K Jain points out that "the ThinkPad X61 is limited to 1.5 Gbps, even with SATA-II (Lenovo's excuse: power saving, by keeping bus clocks down)". Lots of discussion about that on the net.

[Read More]

May 18, 2011

Bart Trojanowski
jukie
Bart's Blog
» how to manually create a 6in4 tunnel

I'm doing some IPv6 codig for a client and needed to setup a bunch of 6in4 tunnels.

Thre are many ways to do this through distribution init scripts (Debian, Fedora), but I wanted something less permanent and more dynamic for testing.

The procedure can be summarized in these steps:

  • create a tunnel mytun between local 1.1.1.1 and remote 2.2.2.2

    ip tunnel add mytun mode sit local 1.1.1.1 \
                    remote 2.2.2.2 ttl 64 dev eth0
    
  • give the local end an address

    ip addr add dev mytun f8c0::1.1.1.1/64
    
  • bring up the tunnel

    ip link set dev mytun up
    

[Read More]

May 3, 2011

Bart Trojanowski
jukie
Bart's Blog
» Presentation slides published!

What a busy week!

As the dust of the (extremely) well attended Ottawa IPv6 Summit settles, we are working through some post conference tasks.

I've just updated the presentation page on the site to include the slide decks of most of the presentations. I am still waiting for files from few speakers. You view the ones which are available on the presentation page.

As you may have noticed -- if you were lucky to get in before we sold out -- the talks were recorded. The results of the recordings will go up on our website within a few weeks.


Summit photos courtesy of RGB

May 2, 2011

Bart Trojanowski
jukie
Bart's Blog
» Ottawa IPv6 Summit 2011

In the summer of 2010 a half dozen OCLUG members decided it would be a good idea to put on an IPv6 conference for Ottawa. I was one of those people!

At the time IANA still had lots of IPv4 addresses, but it was projected to run out in May of 2011. It seemed that no one in Canada was doing anything about it, and people needed to be educated.

And so, the IPv6summit.ca was born.

[Read More]

» What is IPv6, and why should I care?

[ NOTE: this article began as the front page of the IPv6 Summit.ca website ]

Whenever you use the Internet, you are using an Internet Protocol (IP) - a set of rules for communication between computers. Internet Protocol Version 6 (or IPv6 for short) is an upgrade to the most widely available Internet Protocol (version 4, or IPv4). These Internet Protocols are used to assign each computer with an address (called an IP address) that uniquely identifies it on the Web and allows other computers to communicate with it.

[Read More]

March 17, 2011

Bart Trojanowski
jukie
Bart's Blog
» I am now an IPv6 Sage

Long time no blog... I've been realy busy getting the Ottawa IPv6 Summit off the ground (along with several other people from OCLUG). I'll have to blog about that soon.

Anyway... I've also been learning a lot more about IPv6. Which reminded me that I never finished my IPv6 Certification from Hurricane Electric. I stopped at the Guri level because getting Sage (the top level) meant that I would have had to have a sane domain name registrar.

I actually registered ipv6summit.ca with BareMetal.com, and so I already had an IPv6 Glue record for this domain.

    # whois ipv6summit.ca
    Domain name:           ipv6summit.ca
    ...
    Name servers:
        ns.ipv6summit.ca       70.38.99.170       2001:470:1c:1cb::6:0

Anyway, long story short... I am now a Sage!

IPv6 Certification Badge for bartman

Woot!

December 14, 2010

Bart Trojanowski
jukie
Bart's Blog
» It's a Holiday Miracle

I just switched to the Holiday Miracle Plan from WindMobile.ca. I thought I'd mention it since it's not advertised, but a fantastic deal. You have to sign up by December 26th, but you get to keep this rate for as long as you are a customer.

In short: it's unlimited-everything for $40/month. It's Wind, so there are no contracts, hidden fees, or strings attached.

[Read More]

November 3, 2010

Bart Trojanowski
jukie
Bart's Blog
» ipv6 on your desktop in 2 steps

Some people have been telling me that they "have no time" or "are too lazy" to setup IPv6 on their desktop, but would like to.

Below are 2 easy steps to get IPv6 running on your Debian Linux sytem (shoudl be identical on Ubuntu, and similar distros).

If you're not running Linux, check out these pages instead: MacOS X, Windows.

[Read More]

October 20, 2010

Bart Trojanowski
jukie
Bart's Blog
» growing a live LVM volume

I have an LVM volume, with xfs on it, that is almost full:

$ df /scratch -h
Filesystem                Size  Used Avail Use% Mounted on
/dev/mapper/vg-scratch    180G  175G  5.4G  98% /scratch

$ sudo lvdisplay /dev/mapper/vg-scratch
...
  LV Size                180.00 GB
...

But I have some more space in the physical volume. Let's grow the logical volume.

[Read More]

September 16, 2010

Bart Trojanowski
jukie
Bart's Blog
» distributing DNS list through radvd

If you have an IPv6 Linux network at home, you probably have a Linux host on the perimeter that's running radvd -- this is the server that responds to IPv6 neighbour discovery (ND) requests, distributes the default route to all your hosts, and tells your hosts how to auto configure themselves.

All these tasks were handled by the DHCP server, albeit a lot differently, in the good old days. The one other thing that dhcpd did for us was to tell all the hosts where the DNS servers were.

So, do I need to run the IPv6 version of dhcpd AND radvd?

[Read More]

September 8, 2010

Bart Trojanowski
jukie
Bart's Blog
» Canadian ipv6 drought

Apparently there is a huge shortage of Canadian registrars that can provide full ipv6 support. The only one I was able to find is BareMeta.com, which despite it's TLD operates out of Victoria, BC. I haven't switched yet, because while they support ipv6 glue records for .ca, they don't for .net yet.

Here is the discussion on dslreports.com where it was mentioned.

» ipv6 certification

I've finally gotten onto the IPv6 bandwagon and went through the process of converting my network to IPv6. Ya know, the end is near.

I am using an he.net tunnel, and am almost done going through their certification process.

IPv6 Certification Badge for bartman

July 24, 2010

Bart Trojanowski
jukie
Bart's Blog
» m4a to mp3

I was at Bridgehead earlier today and heard a cool tune. I asked the staff what it was, and they told me that it was Low Strung. After coming home I wanted to get the CD, but was unable to find it anywhere but iTunes. I don't do iTunes, because Apple doesn't do Linux... but fortunately my wife has a Mac.

So, after getting the album I had to convert it from .m4a to .mp3. I figured I'd share my script... convert-m4a-to-mp3. You'll need to grab a few packages to use it: apt-get install zsh faad id3v2 twolame toolame.

 cd dir-with-m4a-files
 ./convert-m4a-mp3

Ta da!

July 23, 2010

Bart Trojanowski
jukie
Bart's Blog
» git 1.7.2 is out

Just announced is release of Git version 1.7.2.

Scanning through the ReleaseNotes the following look interesting:

  • git -c var=val will override config
  • git show :/pattern now uses regex
  • git no longer squelches if it doesn't find .git (useful when using in PS1)
  • git checkout --orphan name makes a new root branch (no parent)
  • git cherry-pick can now be given a list of refs
  • git log --decorate learned to colour more things

May 23, 2010

Bart Trojanowski
jukie
Bart's Blog
» console=ttyS0 with grub2

Just a quick note so I don't forget now to enable console logging on systems running grub2 (like Ubuntu 10.04, Lucid).

  • edit /etc/default/grub
    • set GRUB_CMDLINE_LINUX to "console=ttyS0,115200n8 console=tty0"
  • run update-grub
  • reboot

( more info can be found here )

April 27, 2010

Bart Trojanowski
jukie
Bart's Blog
» How many times is my function used within an executable?

I am working on a large kernel module which had just come out of a large (and fruitful) internal API refactoring exercise. I now want to go through and cull the unused functions.

It turns out, all that is needed is the readelf utility (part of binutils package).

[Read More]

April 12, 2010

Bart Trojanowski
jukie
Bart's Blog
» vmlinux on Ubuntu

If you're trying to do post-mortem analysis on a crashed river, or trying to find kernel-level bottlenecks with oprofile, you need the decompressed kernel w/ debug symbols. This comes in a form of a vmlinux file. Some distributions ship debuginfo packages, namely RHEL. On Ubuntu this seems lacking.

[Read More]

March 28, 2010

Bart Trojanowski
jukie
Bart's Blog
» where your WIND coverage ends

I got a SIM card from WIND on Friday, the opening day, and put it into my Nexus One. All of a sudden everyone I know wants me to drop by their house to test the service there. Guys, it's only $15 for a month of testing... :D

So far, in my neighbourhood (Central Park), and the surrounding area (drove down Merivale, Baseline, Carling, and Kirkwood), I get 3-4 bars (out of 4). I am well covered here, it seems.

The family and I were going out of town on Saturday, so I asked my lovely wife to note the changes in the signal as we drove west out of Ottawa on the 417 towards Arnprior. Here is what she wrote down:

Along 417 signal dropped to two bars outside of Bayshore briefly before returning to four bars when approaching Kanata. Two bars noted again at Scotiabank Place, with zero bars quickly after. At Stittsville exit service switched to roaming (Rogers GSM network) at four bars, which quickly fell to no signal.

So there you have it, Nepean to Kanata is well covered. But, if you live past the hockey arena, you're not likely to chose WIND. While out in the bush, the WIND coverage is pretty much as good as Rogers... I had two phones with me (one on Rogers and one on WIND Away) and I didn't see any significant difference -- as you'd expect.

March 26, 2010

Bart Trojanowski
jukie
Bart's Blog
» Nexus One live in Ottawa on WIND Mobile

I visited the WIND Mobile store at Westgate Mall this morning and signed up for WIND service. (I was the first geek there... yeay!) I am using my Nexus One and getting 3..4 bars for voice (out of 4), and decent data throughput.

[Read More]

March 12, 2010

Bart Trojanowski
jukie
Bart's Blog
» the WIND excitement

I heard that WIND stores were actually open in Ottawa, but they are not authorized to sell anything yet.

One such store is 5 minutes from my house, at the Westgate mall, so I dropped by on my lunch break.

[Read More]