Posts filed under Tips'n Tricks

Flickr Pro Account for Free...

for 3 months.

During the holiday season of 2012, Flickr offers a free 3 months Pro account. If you should already have a pro account, you get an additional 3 months for free. During these three months you get all the perks a regular Pro accounts has. Meaning unlimited uploads, statistics etc..

Ever since I switched from Flickr to SmugMug last year I let my Flickr Pro account expire, and it reverted to the limited free account. Yesterday I reinstated my Pro status again (for the 3 months). I don't think that I'll be going back to Flickr Pro. When the 3 month offer expires I'll default to the free account. SmugMug offers me much more. Things like dynamic photo albums (bases on keywords / tags), custom domain, layout, etc.. These are all features that Flickr lacks, and that I grew accustomed to.

So why upload a bunch of photos just for these three months? All for the cause of some extra free exposure I guess.

Posted on December 23, 2012 and filed under Photography, Tips'n Tricks, Personal.

OS X Wireless Connection Problems Solved (??)

Ever since the upgrade to Apple OS X Mountain Lion (10.8) on my MacBook (v5.1) I encountered wireless problems every now and then. These 'experiences' are documented in two different blog posts here and here.
At the time I was also running an 'old' version of Little Snitch (v2.x). After installing v3.0.1 my problems seemed to have solved... Seemed, until I upgraded Little Snitch to v3.0.2.

After the (mandatory) reboot my wireless connections were gone. The adapter wouldn't go active. The symptoms being the exactly the same as before. So I have no doubt, that Little Snitch had something to do with it.

Posted on December 8, 2012 and filed under Software, Annoying, Apple, Operating Systems, Tips'n Tricks.

MacBook Wireless Borked Again, Still, etc.

A while back I had regular issues with the wireless adapter on my MacBook after I had upgraded to OSX Mountain Lion, but after the removal of Little Snitch (I still ran the beta version) it seemed that times were a changing... Seemed that is.

This morning I was fiddling about with my photo website, and needed to see the results in several different browsers. One of them being Google Chrome.
Trying to launch the Chrome app, it crashed immediately. Reopening didn't help. So I tried to download a newer version, since I hadn't updated mine since the upgrade to Mountain Lion. The result; It still crashed. Even after removing all Chrome (and Google) references on the disk, it still crashed.

So, it became time to consult the book of knowledge, and see what the Internets had to say about my little ordeal.

Posted on October 13, 2012 and filed under Annoying, Apple, Browsers, Hardware, Tips'n Tricks.

Ziggo Internet, Juniper Firewalls and DHCP

At the house I have currently two ISP delivering broadband. Well, broadband isn't the correct word, since the the one of them is only a mere 256kbps (I think). The other is a 'whopping' 20Mbps.
The 20Mb connection is provided by XS4ALL, and the 256kbps is for free (if you have a phone subscription with Ziggo). The 256kbp is the minimum they provide to transport the phone calls, but if you're a masochist you can also browse the internet over that connection.

So, two ISP @ home. Combine that with a Juniper SRX firewall, and a dual ISP setup is born. The theory of that setup is that I connect both ISP's to the firewall, and use the 20Mb line as a default internet connection, but when that one dies, I automatically get switched to the backup line (256kbps).

Posted on August 9, 2012 and filed under Annoying, Hardware, Internet, Security, Tips'n Tricks.

Unable To Turn On Wireless In OS X Mountain Lion

Last night I was minding my own business on the couch, when the wireless connection on my MacBook (UniBody)  decided to call it a day. According to the symptoms (no bars visible in the WiFi icon in the menu bar, no visible wireless networks in the vicinity), the WiFi adapter was turned off. Turning the WiFi back on was not possible though.

Posted on August 3, 2012 and filed under Annoying, Apple, Hardware, Tips'n Tricks.

Reset 'Open With' Dialog in Finder

After the upgrade of several programs I found that these programs had multiple entries in the 'Open With' dialog in OS X Finder. The following command (executed in the Terminal app) rebuilds the LaunchService database, and removes the duplicate entries.

Note that the following command is 1 (one) line of code, that you need to copy & past in the terminal window.

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

As far as I can tell, it works on OS X Mountain Lion and every earlier version (at least till 10.6).

Posted on July 29, 2012 and filed under Apple, Operating Systems, Tips'n Tricks.

Mozilla's Firefox Invalid, Yet Valid Certificate

In my line of work I get to work with a lot of security devices which run self-signed certificates. Those certificates are most of the time generated when the device / appliance is installed, or configured for the very first time. When you connect to one of those devices with a web browser, you tend to see the warnings displayed by the browser that the connection is not to be trusted.

In Firefox, you can add an exception in the browser. When you've done that, the next time you go to the website, the browsers treats the website as trusted.

Posted on April 1, 2012 and filed under Annoying, Browsers, Tips'n Tricks.

Courier IMAPd and Mail.app warnings

After installing an ISPConfig deployment, everything seemed to work properly, but every now-and-then I got this weird error that there was something wrong with the mail server configuration. The Apple Mail.app showed a exclamation mark with the following message:

The server returned the error: The attempt to read data from the server server.domain.ext failed.

Some research showed that the Apple mail clients tend to open several connections for IMAP, and the default setting of the Courier IMAPd server is to allow (only) 4 connections from the same IP address.

Modifying the Courier config file (/usr/lib/courier-imap/etc/imapd) and allowing e.g. 20 connections from 1 IP address solved this problem.

<ORIGINAL CONFIG>
##NAME: MAXPERIP:0
#
#  Maximum number of connections to accept from the same IP address

MAXPERIP=4

<MODIFIED CONFIG>
##NAME: MAXPERIP:0
#
#  Maximum number of connections to accept from the same IP address

MAXPERIP=20

 If your company / household holds several imap mail clients you may need to increase the counter even more (65536 is the maximum amount of connections for ANY IP address).

If you have SSL enabled on the Courier IMAPd server you also need to add the MAXPERIP variable to the imap-ssl config file (/usr/lib/courier-imap/etc/imapd-ssl).

Finally, you need to restart the Courier IMAPd services (/etc/init.d/courier-imap restart)

Posted on January 23, 2012 and filed under Apple, Linux, Tips'n Tricks.

Changing SSL Certificates in a ISPConfig v3 Configuration

When you install a Perfect Server based on Centos and ISPConfig v3.x, the system / 'installer' creates for the components self-signed certificates. All these certificates will generate different warnings in your browser, mail clients etc. So time to eliminate those warnings.

First I needed to find out where all those certificates are located, and what there formats are. In my case, there are three services that use SSL/TLS in some form;

  1. Postfix SMTP service
  2. Courier IMAP service
  3. http / Apache2 webservice

Checking the configuration files will reveal their locations.

Posted on January 7, 2012 and filed under Linux, Operating Systems, Security, Software, Tips'n Tricks.

Getting ISPConfig to Work on Centos

This is not a manual describing the installation (pre-requisites) of ISPConfig software on a Centos platform. An excellent manual can be found online. It's just that I ran into a problem when I tried to connect an e-mail client to the (IMAP) mailserver (controled by ISPConfig). All the appropriate ports / listeners were up and running, so it had to be a configuration issue.

Googling around didn't solve my problem. My collegue, Xander (@xmoments / xmoments.nl), cam eto the rescue with the solution;

yum install cyrus-sasl-plain-2.1.23-13.el6.x86_64

Software that handles cleartext passwords between mail processes. After the installation, the mail went flying across the Interwebs.

Posted on January 5, 2012 and filed under Linux, Software, Tips'n Tricks.