Mar.
23

Linux device encryption

March 23, 2007 @05:41
For some time I've wanted to setup encryption on my laptop and thumb drive.  It would feel good knowing that if my laptop fell into the wrong hands, my private data would be secure.  Though I must admit much of my desire to set this up is simply because I'm a nerd.

So the other night I worked with Jaisen to setup partition based encryption using dm-crypt and luks.  I was really impressed how easy it was, and how robust the features seem to be.  It didn't take long before we had a 15g partition encrypted and working like a charm.

The unfortunate part is that the documentation available wasn't exactly straight forward.  This weekend I am going to write up some documentation on how we set things up.  I'll place it in the usual location.

Mar.
31

Fedora Core 6 - First impressions

March 31, 2007 @03:37
Tonight I installed Fedora Core 6.  Here are my first impressions.  First the installer was very easy to use, but it wasn't a livecd which I've come to take for granted.  Typically I would read through the distro's documentation and things while the install is taking place.  The install went off without a hitch.  It booted nicely, asked a few questions... and I was looking at Gnome in no time.  I intentionally took all of the defaults during the install with the exception of removing "Office and Productivity" or whatever it was called.  I want to install everything myself, because the package manager is the main thing I need to learn and understand.

The first thing I tried to do was connect to my wifi access point using my Atheros chipset.  No love.  A quick bit of searching and I was already scared and tempted to bail.  In order to install Madwifi-ng there seemed to be three options:
  1. Download and install an rpm from some site (failed due to version mismatch of some library)
  2. Download the madwifi-ng sources and compile after applying a particular patch
  3. Use svn to fetch the live sources, and compile those manually
I decided to choose door number 3.  I fetched the sources using svn, and installed what seemed to be the needed packages (sharutils, kernel-devel).  The odd part, was that kernel-devel fetched 2.6.20 headers, when I'm running 2.6.18.  That obviously caused a bit of a problem.  As the Fedora nazi would say:  "No wifi for you!", it's pretty sad that madwifi-ng isn't in whatever repositories being used by yum.  This puts me in the same spot where even if I can get yum to install the right kernel headers, and I do get madwifi-ng working.... the next time yum does a kernel update - wifi will break.

Next I decided to use "pup" to upgrade all of my packages to their current version.  Since this was a fresh install the result was two hundred and some updates.  I found it interesting that it took around 4 minutes to calculate the dependencies.  I must admit that so far in my little Fedora quest... yum/rpm aren't holding a candle to portage or apt.  Another thing I noticed (not that it's Fedora's fault) is that the mirrors seem painfully slow.  Even trying to find a mirror to fetch the iso(s) was a pain.  Honestly when I started the upgrade process I forgot to plug in my laptop.  Fedora is a binary based distro.  It never occured to me it could take that long and my battery died long before it had finished.  I guess I'm spoiled by the awesome mirrors of FreeBSD, Gentoo, and even Ubuntu.

Apr.
01

Screw Linux

April 01, 2007 @21:41
I'm switching back to the copy of Windows 2000 server I bought $1,000 back in the day.  Screw all this Linux stuff.  Linux isn't good for anything anyway.

Crap, it's past noon :/

Apr.
30

The current state of Microsoft

April 30, 2007 @03:41
The software landscape of our world is fast moving.  If you look back even five years ago, it's amazing how much has changed.  Microsoft is clearly the big giant of the software world.  They make all of the software we know and love, things like Windows, Office, and Outlook.  Their success is so impressive, they've become ubiquitous.  I cannot think of a single person that doesn't have a computer powered by windows.  The same is true of business, you basically find Microsoft everywhere.  I even spent $1,000 of my own hard earned money back in 2000 so I could run a legal copy of Windows 2000 Server.  The current state of Microsoft is good.  In fact the current state of Microsoft is too good.  It's like people just throw money at them.

Enter 2007.  Things have changed.  Somehow the landscape has a very different feel than it did before.  At one company I worked for they found themselves moving more and more of their critical business servers onto Unix.  Other smaller companies have stopped using Microsoft software all together.  You read in the news about entire countries moving away from Microsoft based software.  When I think back over the past few weeks, it's pretty interesting the things I've done without Windows.  I've updated web applications, made database changes, versioned software, burnt dvd's, synced an Ipod, and communicated with friends.  It wasn't too long ago that Windows was really the only operating system that supported the software that allowed you to do the things you wanted.  That's not really the case anymore.

Something else has changed too.  When I really think about it.. I realize that my perception of things isn't exactly accurate.  It's actually been a long time now that other operating systems have let you do all sorts of neat and useful things.  So why is it that it doesn't feel like it?  I think the answer lies in the power of Microsoft's marketing machine.  They truly do a wonderful job of marketing.  Here are a few examples.

  1. Internet Explorer - this is very easily the worst browser that exists today.  Yet consistently I find people who somehow get all sorts of warm fuzzies from using it.  It's like IE somehow ships with crack cocaine or something.  It boggles the mind.
  2. Microsoft Word - there is nothing really that special about it.  There are several alternate programs that do similar things, yet you find most business folks that would kill you for even the thought of taking it away from them.
  3. Outlook - the holy grail of Microsoft software.  I admit I'm biased on this one.  I think it's horrible, and if anything... Exchange deserves the credit for what most people give to Outlook.
It's here that I see the future state of Microsoft changing.  Put simply, I think Microsoft is in a world of hurt.  I see their entire business model crumbling around them.  Certainly their demise isn't going to happen anytime soon, but it will happen.  The writing is on the wall.  Let me try to describe a few reasons why I think this to be true:
  1. Growing competition:
    The fact that I can put in an Ubuntu cd and quickly get a desktop that's far more useful than a typical "fresh install" of windows is pretty sad.  How can a community driven operating system even begin to compete with Windows is beyond me.  Some might argue that even though Ubuntu ships with more useful software than Windows does, Windows still offers more in the end.  I tend to disagree.  Sure there are things I can't do without windows, but there's way more that I can't do with Windows.  Between Linux, and Mac alone - Windows is really not offering a compelling product.
  2. Lack of innovation:
    What has Microsoft created lately that's innovative?  If you think Vista you are in for a shock.  I haven't met a single person who's used Vista and thinks there's any reason to pay for it.  In fact the OEM's are even giving push back to Microsoft on their demands that Vista be the only operating system available on their computers in 2008.  You can even take this back to the late 1980's when Microsoft did get a lot of their ideas from Xerox and Mac.  In fact if you look at the desktop or server space today on Mac and Linux, it's pretty nuts how far Microsoft is from being an innovator.
  3. What's a fat client?:
    Microsoft has grown their business off of fat client based applications.  That isn't the case anymore as things are/have moved to the online space.  When I think about the popular online properties I really cannot think of anything created by Microsoft.  I suppose two that come to mine are hotmail.com and msn.com.  Is the success of these driven my marketing or quality of product?  The answer seems simple to me.  When it comes to quality of product both Google and Yahoo have destroyed Microsoft.  In fact when I think about some of the more popular web properties, things like Yahoo, Google, Flickr, Youtube, Myspace - they're not made by Microsoft, and they're not even powered by Microsoft software.
  4. Education, money, and software don't mix:
    A quick look at my resume and you'll see that I'm not exactly your typical student.  Yet I have spent a lot of time studding stuff both in university and out.  I've seen the cost of software effect the education of a student over and over.  I think it's crazy that kids in school can't use software when so much is free for their use.  Microsoft has clearly used their machine to control that space somehow.  I'm all about business and their right to make money.  But give me a break, back off of kids.  When I read a story about a junior high lab teacher who saved the school money by using all the open source community has to offer - and gets shut down... I get all fired up.  I'll stop ranting and get to the point.  I think trying to make money off of students is bad business.  When the students realize that they can do the same stuff they need to in college without having to spent the money on Microsoft products they will.  And when they enter the business world, they'll bring these ideas with them.
I know I'm a Linux fan boy.  I realize that I can't exactly divorce myself from my personal preferences when it comes to this stuff, but I genuinely see Microsoft as in trouble.  Lately I've been trying to think of what products they make that really stand out above the crowd in terms of quality - and I'm struggling to find very many.  Currently they still dominate in so many ways, and for good reason(s).  They have some really great products, but I think their days are numbered.

Feb.
02
At my new job I'm itching to start rolling on a Gentoo box... my days on win32 are almost over!  I've been working on a shiny new image for the past few days.  Tonight I rolled it into a stage4 tarball and installed it on a new 100g Seagate disk.  Tomorrow morning I'll finally have a nice Linux box to work with.

Earlier today I was talking to Jaisen who's adding ethernet throttling support to his gear.  After installing his new kernel, grub kept failing because it didn't find any data in /etc/mtab.  So he did the usual trick of copying /proc/mounts though oddly it resulted in an empty file?  We decided to just use cat instead which worked fine.  I honestly blew it off until just a bit ago when I chrooted to my shiny new stage4 install only to have the exact same thing happen.  What in the world?  Since when can't you do:

        root# cp /proc/mounts /etc/mtab

Most likely I will upgrade my kernel howto to recommend using:  root# cat /proc/mounts > /etc/mtab

I should also note that my new image is running Xfce 4.4.0.  Why you ask?  Because it's sweet.

Mar.
31

Ubuntu day -1

March 31, 2007 @02:37
Enough is enough.  No more Ubuntu for me.  I used it for just over two months.  It's a great distro, just not for me.  I finally realized this experiment was over when Ubuntu managed to change the file system to read-only while I was in the middle of working on stuff.  After that it wouldn't boot.  Because I had been working on a remote box and I didn't have access to my ssh keys, I resorted to using Knoppix to chroot into Ubuntu so I could ssh to the remote box and finish my work.  Yea, I'm finished.

For my next experiment, Fedora Core 6  :/

1

Total records: 6
FCGI/WSGI
0.13.3
129.731178 ms