Archive

Archive for the ‘Randomness’ Category

Mutt Question For The Masses

August 29th, 2007 3 comments

I’m back on another phase of “all email clients suck” and back to Mutt again.  I *almost* have it configured to all of my (needy) specs, except for one thing.  I can’t seem to open encrypted email.  I can sign fine, I can encrypt fine, but when I try to open an encrypted email sent to me I get:

"Could not copy message"

Can any of you other Mutt gurus take a stab at what I might be missing?  A link to my .mutt_gpg here.

Categories: Randomness Tags:

Which Is Less Evil? Ndiswrapper or Binary-Blobs?

August 24th, 2007 25 comments

So as you read earlier I’ve rebuilt my laptop today using Ubuntu 7.10 “Gutsy” Tribe 5.  I’ve been on a bug-rampage today (I need to get my LP karma up!), one of the bugs being that I have no wireless out of the box.

Now, I want to present you all with the options and see which is less evil.

Option 1: ndiswrapper + windows driver

Option 2: madwifi and the non-free binaries

I asked around in IRC today and the closest answer I heard so far is:

“[Use] madwifi, because ndiswrapper makes baby Jesus cry”

…that may be true, but what do the rest of you think?  Non-free ndiswrapper or non-free madwifi?

Categories: Randomness Tags:

Action-crap modems and DSL…

August 16th, 2007 3 comments

First, I apologize for not having any tutorials most of this week. Things have been a bit busy in just getting back from a month on the road and I’ve been catching up. I’ll get things going again, I promise.

Last nite I finally got most of my new network figured out (for those that didn’t know, we recently moved into a bigger house). I’ve been spending time replacing the house phone jacks with Cat5 connectors and I’ve ordered a few 10/100/1000 switches from newegg. Those should get here today and then the house’ll run on gigabit-goodness!

The one major problem I’ve had is that I haven’t had to (settle) for DSL in years! In our other house we had Fiber Optic (15M/15M connection), and previous to that it was a 6M/1.5M Cable connection with Comcast. Downgrading to a 1.5M/680K connection with Qworst has been a poor experience. As I usually tell anyone that asks, if you have a choice between Cable and DSL, pick the Cable.

In any event, last nite I hacked the Action-crap DSL modem/router/headache into submission and the bulk of my networking is routing through a Netgear wireless router. I’ll end up chaining the Action-crap to the Netgear and then into the two switches, hopefully by days end.

In the long run I’d like to setup one of my local servers to be the DHCP / DNS / Firewall, but that might have to wait until this weekend or something.

In any event, if you’ve read this far I appreciate it but I really don’t have anything important to say. I’ll get back to the regular tutorials soon… just as soon as the rest of my network is up and reliable.

Categories: Randomness Tags:

Apparently My Senator Needs a Mail Admin

August 13th, 2007 3 comments

It’s things like this that remind me the people trying to represent us in government really don’t understand us. Particularly in the way of Technology. Recently I sent an email to my Senator expressing my concern over the recent rape of our privacy in the HomeLand Security “we can spy on you if we *think* you might be a terrorist-international communication act BS”. This is the reply I get.

Thank you for your e-mail. If you would like a response please use the
web based e-mail form on my official Senate website at
http://bennett.senate.gov/contact/email_form.html

The number of Utahns that communicate with me via e-mail has increased
dramatically over the last few years. The use of a website contact form
provides two primary benefits. First, discourages third-party
organizations from using individual's names without their permission. Some
third-party e-mail contractors collect information from their web form,
use it to contact members of Congress without the knowledge of the
individual or sell the information to other organizations. I have had a
number of constituents express concern about receiving a response from me,
when they have not written. Second, an e-mail web form helps me to manage
incoming e-mails, its reduces the amount of spam I receive, and it allows
me to respond more quickly to e-mails.

I regret any inconvenience using my web form may cause you. However, I
hope you will consider using it. Or if you prefer, please send a letter,
a fax, or call one of my offices to express your views. You can find my
contact information on my web site at
http://bennett.senate.gov/contact/contact.html. Again, thank you for
writing.

Sincerely,
Robert F. Bennett
United States Senator

What I get out of this is “Sorry you took the time to write me using the standard communication form of email.  Please re-write your entire message in a BS web-based form because our email servers can’t handle normal email.”  They probably use Exchange.

Categories: Randomness Tags:

Digging People Out of Holes via the Command Line

June 21st, 2007 7 comments

It has been one of those days.  I’m getting ready to head back to my hotel soon, but I just had to share a story with everyone.  If nothing else it is proof that the Linux command line is a very powerful tool.. if you take the time to learn it.

Here is the setting.  I’m teaching a class this week in Boston, MA.  It is the RedHat 300 “Fast Track” course, for preparing Linux administrators for the RedHat Certified Engineer Exam.  I’ve got a room full of very experienced geeks that have definitely kept me on my toes.  Some of the questions they’ve come up with… well let me tell you.  One in particular I just had to share.

One student decided to see what would happen if he filled up his drive using yum.  (For those not familiar with yum it is the RH/Fedora equivalent of apt-get or aptitude).  So he proceeded to do the following until his drive was at 100% capacity:

yum install a*

yum install b*

yum install c*

yum install d*

…. you get the idea.

He then posed the question: “How can I clean that up without re-installing the system?”

The first thought was to simply revert what he had done.  ‘yum remove a*’, etc.  We quickly realized that would not work because it would also remove packages that were required for the system.  Hmm.. we’d have to come up with something more specific.  Here is what we put together:

for i in `rpm -qai | grep -B5 'Thu 21 Jun 2007 03' | grep Name | awk '{ print $3 }' | grep -v kernel` ; do yum -y remove $i ; done

For those of you familiar with scripting and work in the shell it should make some sense.  For the rest of you, I guess I might have to explain.

This one command actually fixes his problem and keeps the system intact.

First we’re creating a loop so that the command will repeat itself for every package installed on the system (rpm -qai lists info for all installed packages).  We then grep through that output for todays date and the hour he began (grep -B5 ‘Thu 21 Jun 2007 03′), including the 5 previous lines.  Based on that we grep for ‘Name’ within that output (grep Name).  We then print a value from what we find there, which ends up being the package name (awk ‘{ print $3 }’).  We throw that through one more grep to search for anything that *doesn’t* match the kernel (grep -v kernel).  The output of all of this filtering is then assigned to the value of i, which then is run through the package removal command for each instance (yum -y remove $i).

In other words it scans all the packages on the machine, finds anything installed today during 3:00, pulls out the package name and removes it automatically.  I’d say this is proof yet again that the Linux command line is a very powerful tool if you know how to use it, and this is a good example why you should learn how to use it.

Can anyone think of a better way to do it?

Categories: Randomness Tags:

HacKeD site

July 30th, 2006 No comments

I thought some of you might be interested in seeing the hacked website in all its total lack of glory. They basically removed all files for the domain & replaced it with a new index.html. Not a big problem as I have nightly backups of all htdocs/, and it was a domain I purchased but have yet to do anything with.

Thought some of you would be interested. The .html looks like its got a bunch of javascript. Anybody able to tell me what its supposed to do?

…also, anyone able to read/translate Turkish is welcome to tell me what these retards big scary message is.

Categories: Randomness Tags:

Old Lady Pwnz Mercedes Jerk

July 27th, 2006 No comments
Categories: Randomness Tags:

New Car Buying: Volkswagen Jetta

July 27th, 2006 3 comments

I know this post is way off normal topic but I’m hunting for some feedback. I hate new-car shopping whether it be thru a dealer or private party, but I find myself in the market again. If anyone has good experiences, feedback, tips, tricks, etc I would appreciate some advice.

Currently we’re considering a Volkswagen Jetta. Now, yes, I have owned a Volkswagen before. Two actually. Yes, they did tend to require regular maintenance. Both of these were older model cars though. The first a ’79 diesel rabbit (you can imagine my high school popularity) and the second, a ’92 Fox with front-end damage I got for $200.

Does anyone own a later model Volkswagen? 2000+? Are these any better? I’d love to get some real-world feedback on a later model VW, Jettas in particular. Let the flood of comments begin..

Categories: Randomness Tags:

Where do they get this crap?

July 4th, 2006 No comments

So I spent the evening with my brother-in-law & his extended family. Somehow we got on the topic of computers and the whole linux vs microsoft topic came up. I had no idea that some people felt so strongly about microsoft & the ‘Saint’ that is Mr. Gates.

Here are a few gems that I heard today:

“Firefox doesn’t display correctly. I’m a web designer, I should know.”

..and in response to my comment about IE not being standards compliant in the least..

“They don’t have to, they make their own standards”

“You don’t need antivirus unless you go downloading all kinds of stuff, and those spyware programs always find stuff. It’s all harmless.”

“There is a reason that guy just gave Bill Gates all that money. He’s doing so many great things for the world.” …and this may have been over the line but I slipped and replied “He’s trying to buy his way back into heaven for all the people he’s screwed!”

He also got offended that I called viruses a ‘Microsoft thing’. I guess he doesn’t understand that they basically just don’t exist & don’t do much harm on any other type of system.

I don’t know where people get this crap… it makes me sick.

Categories: Randomness Tags:

IE: A whole new internet

June 30th, 2006 3 comments

Last night I was at my brother-in-laws house babysitting the nephews and was stuck using their XP machine (yes, I disinfected afterwards). This thing was a mess! It had no antivirus installed, no malware protection/removal tools and was using IE6. I very reluctantly used it (honestly, I was afraid to “click the blue E”!)

Anyway, I browsed to many of my usual sites and found that the internet looks very different. For one thing the UOSP errors out. It loads the page but soon gives the error: (again, page loads just fine, but you get the error and clicking OK redirects you to the “I can’t find this page” error.)

"Internet Explorer could not open internet site http://openclue.org/ut/.

Operation failed"

I also noticed that my blogs look much different. I always test my client websites in both FF & IE, but I never bothered with my own. I don’t really care. For those of you browsing my site in IE please note that things look better in FF and “WHY ARE YOU STILL USING CRACK?”

Get Firefox!

Categories: Randomness Tags: