Archive

Archive for the ‘Linux’ Category

Thinkpad-Feature unter X11: Maus-Scrollen – reloaded

February 10th, 2010

Aktuelle Distributionen arbeiten ohne xorg.conf, daher funktioniert der “alte” Hack nicht mehr.

Heute legt man daher die Datei /etc/hal/fdi/policy/mouse-wheel.fdi mit folgendem Inhalt an:

1
2
3
4
5
6
7
8
<match key="info.product" string="TPPS/2 IBM TrackPoint">
 <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
 <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
 <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>

Danach noch den Cache von HAL loeschen, HAL und GDM neu starten, und das neue Scrolling geniessen:

sudo rm /var/cache/hald/fdi-cache
sudo /etc/init.d/hal restart
sudo /etc/init.d/gdm restart

OpenAFS-Client on Ubuntu 9.10 – the dkms way

February 2nd, 2010

With sur5r’s dkms-hint, let’s write this article again:

The installation of the client on modern Linux distributions is pretty straight forward.

  1. get the packages
  2. compile the kernel module
  3. mess around in some config files

First step: get the packages
sudo apt-get install
openafs-client openafs-doc openafs-modules-dkms openafs-krb5 krb5-clients krb5-config krb5-user krb5-doc

(Yes, we’ll install the -doc-Packages, because everyone likes documentation)

Last step: the config files
Open /etc/krb5.conf and edit the sections containing the following:

1
2
3
4
5
6
7
8
9
10
11
12
[libdefaults]
        default_realm = MYCELL.NET
[realms]
        MYCELL.NET = {
                kdc = kdc1.mycell.net
                kdc = kdc2.mycell.net
                admin_server = kdc1.mycell.net
                default_domain = mycell.net
        }
[domain_realm]
        .mycell.net = MYCELL.NET
        mycell.net = MYCELL.NET

You should translate mycell.net to your local cell settings, but you already knew that, right? Ask your AFS Admin, if you are not sure about the correct values.

You may also take a look at /etc/openafs/afs.conf.client, /etc/openafs/ThisCell and /etc/openafs/CellServDB, but in most cases there’s no need to change something within these three files. If you need to get an updated version of /etc/openafs/CellServDB, just get it via FTP from grand.central.org.
wget -O /etc/openafs/CellServDB
ftp://ftp.central.org/pub/cellservdb/CellServDB

The very last step: restart the client
sudo /etc/init.d/openafs-client restart
Now the magic happens. The missing kernel module will be compiled in time and the OpenAFS-Client gets started. The benefit: remember updating your kernel and updating every single module again and again? dkms will help you, that you only need to update the kernel – the modules will be upgraded automagicly.

You’re done! kinit and aklog will be your best friends from now on! :-)

, ,

OpenAFS-Client on Ubuntu 9.10 “Karmic Koala”

January 31st, 2010

After installing my favourite window manager, next thing I’ll need is the OpenAFS-Client.

The installation of the client on modern Linux distributions is pretty straight forward.

  1. get the packages
  2. compile the kernel module
  3. mess around in some config files

First step: get the packages
sudo apt-get install
openafs-client openafs-doc openafs-modules-source openafs-krb5 krb5-clients krb5-config krb5-user krb5-doc

(Yes, we’ll install the -doc-Packages, because everyone likes documentation)

Next step: build the kernel module
Maybe you’ll need some more packages for this step:
sudo apt-get install module-assistant build-essential
Now start the module assistant, to build the openafs-module.
sudo module-assistant

m-a

The first entries “UPDATE” and “PREPARE” could take a few minutes, because eventually missing packages (e.g. kernel sources or headers, or the compiler-chain) will be installed. “SELECT” will open the next window, where you should search the module and select it.

build

Now build the module. The next question will be “would you like to install the build module?”, but you should now have a guess what to do ;-)
You should now exit the module assistant.

Last step: the config files
Open /etc/krb5.conf and edit the sections containing the following:

1
2
3
4
5
6
7
8
9
10
11
12
[libdefaults]
        default_realm = MYCELL.NET
[realms]
        MYCELL.NET = {
                kdc = kdc1.mycell.net
                kdc = kdc2.mycell.net
                admin_server = kdc1.mycell.net
                default_domain = mycell.net
        }
[domain_realm]
        .mycell.net = MYCELL.NET
        mycell.net = MYCELL.NET

You should translate mycell.net to your local cell settings, but you already knew that, right? Ask your AFS Admin, if you are not sure about the correct values.

You may also take a look at /etc/openafs/afs.conf.client, /etc/openafs/ThisCell and /etc/openafs/CellServDB, but in most cases there’s no need to change something within these three files. If you need to get an updated version of /etc/openafs/CellServDB, just get it via FTP from grand.central.org.
wget -O /etc/openafs/CellServDB
ftp://ftp.central.org/pub/cellservdb/CellServDB

The very last step: restart the client
sudo /etc/init.d/openafs-client restart
Stopping AFS services:.
Starting AFS services: openafs afsd.
afsd: All AFS daemons started.

You’re done! kinit and aklog will be your best friends from now on! :-)

, ,

Enlightenment e17 on Ubuntu 9.10 “Karmic Koala”

January 31st, 2010

We’ll install Enlightenment e17 via the easy_e17.sh-Script, so get it first:
wget http://omicron.homeip.net/projects/easy_e17/easy_e17.sh
chmod +x easy_e17.sh

In order to build successfully, we’ll need some more packages, so fire up apt-get:
sudo apt-get install build-essential libtool autotools-dev automake1.9 subversion zlib1g-dev cython libglib2.0-dev libltdl-dev libcurl4-openssl-dev liblua5.1-0-dev libfontconfig1-dev libvlc-dev libx11-dev libdbus-1-dev libbz2-dev libid3tag0-dev libpng12-dev libtiff4-dev libungif4-dev libjpeg62-dev libfreetype6-dev libpam0g-dev libxcursor-dev libxml2-dev libssl-dev autoconf pkg-config libpng3-dev libxkbfile-dev libsqlite3-dev libimlib2-dev libtagc0-dev libtag1-dev libxmu-dev libxdamage-dev libxcomposite-dev libasound2-dev
all necessary dependencies will be installed.

Ready? Go!
sudo ./easy_e17.sh -i -e –packagelist=full
This will take a while, so get a coffee and a sandwich. But there are a few steps we can do aside.
Open a new terminal window and create the file /usr/share/xsessions/e17.desktop with the following content:

1
2
3
4
5
6
7
[Desktop Entry]
Encoding=UTF-8
Name=e17
Comment=
Exec=/opt/e17/bin/enlightenment_start
Icon=
Type=Application

Now edit /etc/environment or your local shell-config and append “:/opt/e17/bin” to the $PATH-entry (Without the quotes, of course).

Next time you’ll log off and see your GDM again, there should be an entry “e17″ in the window manager section.

,

GPG-Fehler bei apt-get

January 5th, 2010

W: GPG error: http://foo bar Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ASDFJKLÖ1234

Ohne viel dazu zu sagen (ich mag’s eigentlich nur aufschreiben, damit ich’s mir selbst irgendwann mal merken kann):
gpg --recv-keys --keyserver pgp.mit.edu ASDFJKLÖ1234
gpg --armor --export ASDFJKLÖ1234 | apt-key add -

Den entsprechenden Key (hier: ASDFJKLÖ123) natürlich vorher mit den Release-Pages von Debian bzw. welchem apt-getriebenen Linux auch immer gegenprüfen.

Dragons everywhere: 27.-30. 12. 2009 im Forum41

November 22nd, 2009

Nachdem wir die letzten beiden Jahre schon Parallel-Events zum Chaos Communication Congress im Forum41 abgehalten haben, wollen wir uns auch in diesem Jahr wieder vom 27. bis 30. Dezember 2009 im Forum41 treffen, dieses mal unter dem Motto “Dragons everywhere“, dem “distributed 26C3″-Konzept, dass die Organisatoren vom CCC dieses Jahr erstmalig als “Experiment” starten wollen (wir haben das ja schon die letzten beiden Jahre geübt).

Worum gehts?
Viele wollen, können aber aus den verschiedensten Gründen nicht zum Chaos Communication Congress nach Berlin pilgern oder sind der Meinung, dass man sich die Vorträge auch bequem von zu Hause aus per Stream anschauen kann. Genau diese Leute wollen wir damit ansprechen und erreichen.

Das Event wird gemütlich sein, Spaß am Gerät, belebende Getränke wie Club Mate oder Jolt Cola dürfen konsumiert werden (natürlich auch alle anderen nichtalkoholischen Getränke), es wird vermutlich wieder gebruncht oder zusammen Pizza gebacken (oder zu mindest gemeinsam bestellt und verspeist).

Das Ganze findet in Schwetzingen im Forum41 statt. Wer UUGRN schon länger begleitet wird das kennen, war vielleicht sogar schonmal auf einem der FIXME-Treffen dort.

Wer unsere Events kennt weiss, dass diese ohne Voranmeldung sind und auch keinen Eintritt kosten. “Spaß am Gerät” impliziert, dass man eigene Hardware mitbringen darf/soll. Wir sind eine Unix User Group, entsprechend werden Themen rund um unixoide Betriebssysteme vermutlich einen gewissen Focus haben, was jetzt Windows-User nicht so direkt ausgrenzen soll … wir sind schließlich tolerant.

Eingeladen sind Mitglieder und Freunde/Umfeld von UUGRN e.V. und NoName e.V. und solche, die uns kennen lernen wollen.

Nochmal Kompakt:
Was: Dragons everywhere / 26c3
Wo: Forum41, Schwetzingen
Wann: 27.12. bis 30.12. jeweils während der Videoübertragungen
Wer: Mitglieder, Freunde und solche die es werden wollen

Links:

Wer vorher schonmal vorbei schauen will ist schon jetzt herzlich zum kommenden FIXME Treffen am 4. Dezember 2009 ab 20 Uhr im Forum41
eingeladen.

PS: es darf getwittert werden: #fixme, #26c3 und #c3fixme

Das original Announcement von Raphael ist im Archiv der Mailing-Liste der UUGRN zu finden.

, , , ,

iCal entries for the Linux Conference in Dresden

October 25th, 2009

Because we’re encouraged to do “channel hopping” I’ve hacked the dates for the Linux Conference (same time and place as the OpenSolaris Developer Conference) into iCal as well.

This calendar is available via

I’m planing to update this calendar (so don’t just download it, subscribe it) in case of any changes.
Please keep in mind, that all the times are listed for the timezone Berlin/Germany and that germany switched back from daylight saving time (DST) to normal time today!