Archive for the ‘Computers’ Category

How Apple’s Bonjour service may break your net config…

Saturday, August 14th, 2010

Suddenly my brand-new, only a couple of days old Windows 7 installation had an odd problem: After a system boot or restart, networking would be broken in a way that hosts in the Internet could not be reached.

I investigated the problem and noticed that my Ethernet adapter had two default gateways assigned, while the first was 0.0.0.0:

C:\Users\rabe>ipconfig /all
[...]
Ethernet adapter Local Area Connection:
[...]
   Default Gateway . . . . . . . . . : 0.0.0.0
                                       192.168.2.1

I googled for this problem and found some hint that pointed toward’s Apple’s Bonjour service. Supposedly it sometimes starts up before networking is fully up, and in consequence assigns the invalid default gateway. The advice given there to solve the problem was to completely disable this service.

While I currently don’t need this service, I didn’t want to use this “brutal” approach, so what I did was switch the service to start up as Automatic (Delayed Start) as opposed to Automatic (which causes the service to start as early as possible).

And this indeed did the trick — I don’t have these annoying networking problems anymore. :-)

How to “clone” Finder windows under Mac OS X Snow Leopard…

Saturday, April 17th, 2010

I’m now using Mac OS X since 1.5 years, and something that I always wanted to be able to do is to quickly open another Finder window that shows the same path as another one.

Today I discovered how to do this (not exactly obvious, if you ask me!), and here’s how…

Press Cmd-N to open a new window. With the new window being active, click Cmd-Shift-G to open the “Go to the folder” prompt. Press BkSpc to clear the prefilled content. Now activate the window that you would like to “clone.” Click-drag the Folder symbol in the title bar and drag it into the “Go to the folder” prompt. Click “Go” or press Return.

Presto! You cloned your original Finder window.

If you know more hints like this, please do post them here!

Thunderbird 3.0 Upgrade: Stored Passwords “lost”

Wednesday, December 16th, 2009

I recently installed the upgrade to Thunderbird 3.0 on our main PC. In my account, all was fine afterwards, but my wife had a very strange problem: All previously stored passwords seemed lost. TB 3.0 asked for the passwords of all accounts that she had, both IMAP and NNTP. When I started TB 2.0 (which I reinstalled for investigating this issue), all was fine again — apart from the password for the NNTP account, which was incorrect or missing, so I entered it again.

I noticed that now that TB 3.0 was installed, there was a file signons.sqlite in the Profiles folder in addition to the well-known signons3.txt file. I figured that the SQLite file was probably the new password store, which was migrated from the pre-3.0 password store in the TXT file. I further figured that during the migration something probably went wrong (eventually the missing/incorrect/corrupt NNTP password?), so I removed the SQLite file and started TB 3.0 up again. Upon starting up, it recreated the SQLite file, and this time all worked well.

So, if you folks have a similar problem, try the approach I described here. It should not be risky at all, since the TXT will always be the “master” file when migrating from 2.0 to 3.0, so removing the SQLite file will have it re-created again upon next startup.

Snow Leopard’s “Disk Utility” can’t create encrypted image

Sunday, December 6th, 2009

Two months or so I ordered the Snow Leopard DVD for my Macbook Pro. Finally I had the time to perform the upgrade from Leopard. Before actually doing so, I tried to create a disk image of my current Leopard installation. So I booted the Snow Leopard DVD and ran “Disk Utility” from it. Because the target of that disk image was an external hard drive shared by my team, I wanted to create an encrypted image.

Regardless of whether I selected “128-Bit AES” or “256-Bit AES” as an encryption method, I immediately received the following error message on screen:

Unable to create "Macintosh HD.dmg" (Cannot allocate memory)

What is this trying to tell me? No space on hard drive? Impossible, since the external hard drive is a 2 TB empty drive. Moreover, “memory” usually refers to “main memory”, or “RAM.” So is Disk Utility actually trying to read the whole 200 GB hard drive into the RAM, then encrypting it, and then creating the disk image from it?! I can’t believe that anyone would be that stupid to design a disk imaging program like this…

I finally changed the image format to “Compressed”, and presto, it worked!

Anyway, why, oh why is it so hard to generate “user friendly” error messages? And why does this happen under Mac OS X of all operating systems, supposedly being the “user friendliest” OS in the universe?

This is not the first time I receive such useless error messages in OS X. Hey Apple, care to finally make your homework???

Anleitung ext. Festplattengehäuse: selten so gebrüllt…

Saturday, June 20th, 2009

…vor Lachen! :-)

Habe mir gerade bei einem lokalen Händler das günstigste externe Festplattengehäuse gekauft, was sie dort im Programm haben, um bequem alte Festplatten löschen und dann entsorgen zu können.

Nur aus Neugier habe ich dann mal die Anleitung durchgeblättert — dabei bin ich dann vor Lachen fast vom Stuhl gefallen. Der Marketing-Spezialist, der diese Anleitung formuliert hat, versteht sein Fach wirklich!!! :-D

Zitat:

Das Siliziumdioxid-Gehäuse ist ein spezielles Material, das sich besonders von einem konventionellen Aluminium-Gehäuse unterscheidet, da es besondere Eigenschaften unter rauhen Bedingungen oder starken Erschütterungen bietet. Die glatte Oberfläche des Gehäuses vermindert Reibung — wodurch ebenfalls ein hoher Datendurchsatz gewährleistet wird. Der Kernteil des Ausgleichssystems ist ein magnetischer Schreib-/Lesekopf, der automatisch ausgeglichen wird und eine besonders hohe Sicherheit bietet.

Herrlich! Da fragt man sich unwillkürlich, was der gute Mensch wohl geraucht hat?! :)

Vista picture “Web Publishing” regression

Sunday, June 7th, 2009

I just tried to upload some hundreds of vacation photos from Windows Vista to our gallery which I’m hosting on my own root server. It turned out that this would be a not-so-simple task… :-(

Previously, using Windows XP, this would be as simple as

  1. invoking the “Web Publishing Wizard” from the “Folder Tasks” pane,
  2. clicking “Publish this folder to the web”,
  3. optionally selecting a target size for resizing (a copy of!) the photos before you upload them, and finally
  4. clicking “Finish” to start the upload.

Not so anymore with Vista!

(more…)

Dell to mislead customers, no compensation, no excuse

Sunday, May 3rd, 2009

My cousin ordered a Dell monitor SX2210, a 21.5″ 16:9 model with a webcam, dual mike-array, FullHD resolution, HDMI connector, and (supposedly) speakers built in.

Getting the webcam working was a no-brainer, but strangely I had massive problems getting the internal speakers running.

After fiddling around for a while with the soundcard’s internal settings under Windoze XP (which I thought might have been incorrect, altho the old monitor’s speakers were working well,) I had the idea to connect my iPod to check whether the speakers are working at all — duh! No sound output at all. :-(

So obviously the speakers were broken. Consequently, we called Dell to inquire about this. And now comes the unbelievable…

(more…)

Microsoft installs Firefox extension without approval

Sunday, March 29th, 2009

I just had a very unpleasant experience when I noticed a suspicious Firefox extension in my wife’s XP account, called “Microsoft .NET Framework Assistant.” I immediately blaimed her for installing possibly malicious software, but she insisted it wasn’t her who did it. So I googled for this extension, and had to apologize to her afterwards…

It turned out that this is an extension Microsoft installs into Firefox when you install Microsoft .NET — and of course they don’t even ask whether to install it or not.

Here’s some simple instructions of how to get rid of this shit… And here some more info…

Gaaawd how I hate Microsoft for these dirty tricks… :-(

Mac OS X “svn” client doesn’t know about common CA certs

Wednesday, March 25th, 2009

I recently stumbled across a problem with Mac OS X Leopard’s “svn” (Subversion) client which doesn’t know about common root CAs (such as Thawte in my case,) even tho they are in the system keychain (which you can view using “Keychain Access.”)

It turned out that it only uses the certificates it find in /System/Library/OpenSSL/certs.

The strange thing is that the Thawte certificate in fact is already present on Mac OS, but it’s inside /usr/share/curl/curl-ca-bundle.crt, which svn doesn’t know about. So what I did to make it work is the following:

I extracted the certificate from /usr/share/curl/curl-ca-bundle.crt and copied it to /tmp/thawte.pem. I then determined the hash of the certificate as follows and created a link to the original certificate bundle (as superuser!):

#openssl x509 -in /tmp/thawte.pem -noout -hash
ddc328ff
#ln -s /usr/share/curl/curl-ca-bundle.crt /System/Library/OpenSSL/certs/ddc328ff.0

Voilà! Now I could connect to our Subversion repository without receiving a warning like the following:

Error validating server certificate for 'https://our.repos.de:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!

MBP: Internal keyboard and trackpad lock-up

Tuesday, March 10th, 2009

I just had another annoying problem with my MacBook Pro 4.1, running Mac OS X 10.5.6.

I left the machine unattended for like 10 minutes or so, and when I came back the screensaver was active. Sliding a finger over the trackpad wouldn’t produce the log-on dialog, nor would pressing keys on the internal keyboard. The machine was not crashed, however, since the screensaver animation was still running. What was even more strange is that the “Power on/off” button would work — when I shortly pressed it, the log-on prompt would appear.

Fortunately my view fell upon an external USB mouse, which I immediately tried. Voilà! I could move the mouse pointer with the external mouse, but the trackpad and internal keyboard were still dead.

I then attached an external keyboard, and that one also worked.

Back in Mac OS X I stopped all running applications, and restarted the MBP. Afterwards, all was fine again.

What the heck is this??? I thought Mac OS X was famous for its stability and reliability?! Is that what makes it “superior to Windoze” (according to a considerable fraction of Mac users)???