Archive for the ‘Linux’ Category

Evolution und Exchange

Friday, April 9th, 2010

Da nun endlich meine Entwicklermaschine eine Linux-Maschine wird (einen Mac gabs leider nicht…), musste ich Evolution dazu bringen, mit dem Firmeneigenen Exchange Server zu kommunizieren. Nach ein wenig Frickelei und Überraschungsmomenten, klappt es nun.

Und so gehts:

1. Ein Exchange Konto erstellen in Evolution

Zu allererst muss ein Exchange Account in Evolution (in meinem Fall in Version 2.2.8) erstellt werden. Für diesen sind folgende Einstellungen wichtig:

Domain und Username müssen, genau wie Server, durch die jeweiligen persönlichen Daten ersetzt werden und schon klappt der Zugriff auf die Emails. Wenn man den Server- oder Username nicht kennt, wird man in den Kontoeinstellungen von Outlook schnell fündig und kann die Einstellungen übernehmen.

2. Zugriff auf das Adressbuch im Active Directory

Für den Zugriff auf das globale Adressbuch im Active Directory muss eine weitere Einstellung getätigt werden. Dazu trägt man den Server, an welchem man sich angemeldet hat, im folgenden Screen als Setting ein. Herausfinden kann man diesen unter Windows in einer Eingabeaufforderung mit

echo %LOGONSERVER%

3. Zugriff auf Kalender anderer Nutzer

Um auf freigegebene Kalender anderer Nutzer zugreifen zu können, wechselt man in die Kalenderansicht und wählt Datei -> Kalender eines anderen Nutzers abonnieren

Es öffnet sich ein Screen, in welchem man aus dem globalen Adressbuch einen User suchen kann. Als default Ordnername steht “Calendar” in der Auswahlbox des zu abonnierenden Ordners. Das hat mir etwas Kopfzerbrechen bereitet, weil es schlicht nicht funktionieren wollte: Immer brach der Vorgang mit einer “Zugriff ist nicht erlaubt” Meldung ab. Je nach lokaler Installation des Exchange Servers scheint dieses Setting also nicht immer zu stimmen. In meinem Fall hat das Ersetzen durch das deutsche Wort “Kalender” den Effekt gebracht, dass ich auf freigegebene Kalender zugreifen konnte. Das englische “Calendar” blieb leider erfolglos.

4. Zugriff auf öffentliche Ordner

Einfacher verhält es sich mit den öffentlichen Ordnern. Diese können sehr einfach in der Email-Ansicht unter Ordner -> Abonnements verwaltet werden und erscheinen dann in der Liste der verfügbaren Email-Ordner. Hier können auch öffentliche Kalender abonniert werden, welche dann automatisch im Kalender erscheinen.

Nach diesen vier einfachen Schritten steht mir Evolution nun als nahezu vollwertiger Outlookersatz zur Verfügung.

Dell, Ubuntu und Skype.

Monday, December 7th, 2009

Skype und Linux ist so eine Sache: Nachdem seit einigen Releases nun auch Video verfügbar ist, gibt es immer wieder Probleme mit dem Pulseaudio Sound Server. Zumindest auf meinem Dell Studio 1537 Notebook. Bald gibts nen Mac. Baaald….

Bis dahin: Mein Kampf mit Pulse ging heute in eine zweite Runde. Ubuntu 9.10 wollte nach einem Upgrade von 9.04 mein Mikrophon nicht mehr. Dass mein internes Mikrophon nicht geht mit Pulse, hab ich fast schon geschluckt. Aber mein externes hätte ich schon gerne. Diesmal habe ich mit (technischem) K.O. gewonnen. Technisch deshalb, weil immerhin mein externes Mikrophon nun wieder funktioniert, das interne aber immernoch nicht. Nun ja, sei es drum. Vielleicht hat einer von Euch ja die Lösung.

Hier nun die minimale Einstellung, die man treffen muss, um das Mikrophone zum Laufen zu bringen.

In einer Konsole den alsamixer starten.

alsamixer

Kurz noch “F4″ gedrückt, um in die Capture Einstellungen zu gelangen. Was bei mir gefehlt hat, war die Einstellung “Capture” im Mic Mixer. Diese lässt sich mit Space toggeln. Selbiges muss für eine (oder beide) der Capture Items gemacht werden und schon klappts auch mit Skype.

alsamixer

Skype selbst muss sowohl für die Einstellungen des Microphone als auch Speakers auf PulseAudio gestellt sein. Schnell noch ein Testanruf zur netten Dame von Skype und, juhu, es geht.

screenshot-options

Creating PDFs under Wine.

Tuesday, December 1st, 2009

This morning I needed to create a PDF file under wine on my Ubuntu machine. Nothing easier than that: You will need to install cups-pdf.

sudo apt-get install cups-pdf

This will automatically install a “virtual” printer which is selectable in the print dialog of all windows applications installed under wine. After printing, the PDF may be found in a folder PDF directly under your home directory.

Old Agfa Snapscan on Ubuntu 9.10.

Saturday, October 31st, 2009

This morning I tried to use may very old and almost antique scanner Agfa Snapscan e20 with my brand new Ubuntu 9.10 and xsane.

Surprise, surprise, it did not work. So, I started searching for a solution on Google, read myself through many boards and finally constructed this solution from all I read (and thought myself, of course *g*):

1. First of all you need the proprietary Windows driver of your Snapscan device. This can be found here.

2. The downloaded ZIP archive will contain a file called 2.0.0.9-e20.exe. You will need to extract all files from that exe to get a file called snap20.bin. But how do you do that? The file is not a self extracting ZIP archive. So, unzip does not work. In this case wine is your friend:

sudo apt-get install wine

Open the exe file with wine. Leave the initial screen open but do not follow the installation routine further on. Instead, copy the needed file from the temp directory of wine:

sudo cp ~/.wine/drive_c/windows/temp/Drivers/snap20.bin /etc/sane.d/

Now, close the installer.

3. Now edit the configuration file /etc/sane.d/snapscan.conf and add (or modify if present) that line:

firmware /etc/sane.d/snape20.bin

4. Start xsane and start scanning

Ubuntu 9.10 64bit vs. Broadcom

Saturday, October 24th, 2009

Well, I actually didn’t think about my WIFI-chipset when I bought my Dell Studio notebook: If Dell offers Ubuntu as an operating system along their products anyway, there should not be a driver problem when manually installing Ubuntu. After installing 8.04 and later 8.10 and 9.04 (32bit by accident), it worked out of the box: The Broadcom driver for the BCM4312 chipset was proprietary and I didn’t have a single problem.

Yesterday I decided to get rid of the 32 bit 9.04 version and install the Ubuntu 9.10 beta version. Installation worked fine, but after rebooting the system I saw that there was no wireless network connection at all. Running lsmod told me that the b43 module is running. However, it didn’t work: no network connection was shown, not even that it recognized my WIFI card.

After reading through several blogs and forums I finally got it running. This installation guideline might help you, too. Maybe the driver will be included / fixed in the final 9.10 version, but just in case it’s not, this might be a solution for you:

1. Compile Broadcom driver

Download the driver from the official Broadcom website and follow the installation instructions in the README.txt.

After compiling the module and adding it via “modprobe” as described in the README.txt file, it already worked fine for me: The system connected to my local WIFI access point.

2. Load driver on startup

What didn’t work was the automatic disabling of the ssb module by adding it to the blacklist. The command lsmod still showed that the module was loaded even though it was added to the /etc/modprobe.d/blacklist.conf. Therefore, after a reboot of the system I still had no connection at all and had to manually modprobe wl again. Adding “wl” to the list in /etc/modules showed no effect.

Here is the solution I found on another forum (don’t find the URL anymore):

Add these 3 lines to /etc/rc.local:

rmmod ssb
modprobe -r ssb
modprobe wl

After a reboot, the network service now automatically took the newly installed driver.