Recompile a kernel module – Example: mceusb.c

Filed in uncategorized Comments Off

I just had the problem that my htpc found no driver for my new USB IR-reciver. It was a new revision of this IR-reciver so I knew the old one was working with the mceusb driver of the kernel.

So there ere two ways (I know of) as solution. Add the device ID to the mceusb.c and:

  • Recompile the whole kernel. (This would take lots of time)
  • Compile mceusb as kernel module. (The faster solution)
Compliling the whole kernel worked for me the first time. I just wanted to find a way to get my IR-reciver working under Linux. The second time I had this problem, after reinstalling the whole system, didn’t want to recompile again. I tried to compile mceusb as working kernel module for weeks but without success.

git repository server

Filed in how-tos Comments Off

Today i’ve been setting up a git server and had a lot of trouble, because there are so many howtos and blog posts about that. All of them are a little bit different, sometimes outdated, sometimes they just didn’t work for me, and I got very confused at some point. So here’s how I did it. Continue Reading

, , , ,

bash smart completion

Filed in how-tos Comments Off

On my last system I was able to use the TAB-key to auto complete not only folder and file names, but also stuff like

sudo apt-get i[TAB] pul[TAB]

to install pulseaudio. On my recently set up Xubuntu 11.10 this stopped working. But that’s a quick fix. Continue Reading

Activate two finger scrolling in Ubuntu 10.10

Filed in how-tos Leave a comment

After installing a fresh Ubuntu 10.10 the two finger scrolling didn’t work anymore. At the Installation with Ubuntu 11.04 there were no Problems. I found a simple solution for this Problem:

Continue Reading

, , , , , , ,

XBMC unter Ubuntu 11.04 (natty) mit VAAPI

Filed in how-tos Leave a comment

Hier mein Installationsvorgang meines HTPC’s.

Continue Reading

, , , , , , , , , , , ,

Zentralisieren einer XBMC Datenbank

Filed in how-tos 1 Comment

Hier soll kurz und knapp erklärt werden, wie man seine XBMC Installationen mit einem Server zentralisiert.

Eine zentrale Datenbank für XBMC macht sinn, wenn man seine Medien zentral verwalten will oder mehrere Clients darauf zugreifen sollen. Eventuelle Speedvorteile durch die Nutzung von Mysql schließe ich allerdings nicht aus.

Continue Reading

, , ,

Rsync over SSH

Filed in snippets Leave a comment

Some command examples to transfer data via rsync

Standard command

/folder/to/get” will be transfered to “/target/folder“:

rsync -ave ssh --progress remoteuser@remoteserver:/folder/to/get /target/folder

Use spaces in the Path

/folder to get” will be transfered to “/target/folder“:

rsync -ave ssh --progress remoteuser@remoteserver:"/folder\ to\ get" /target/folder

Other syntax for a path with spaces:

rsync -ave ssh --progress remoteuser@remoteserver:"/folder\\\ to\\\ get" /target/folder

Resume Transfer

With the option –partial the transfer of files will be resumed and not restarted:

rsync -ave ssh --partial --progress remoteuser@remoteserver:"/folder\ to\ get" /target/folder

, ,

Mysql Datenbank Ordner verschieben

Filed in how-tos Leave a comment

Ich möchte hier kurz zeigen wie man den Datadir eines Mysql Servers bei Ubuntu verschiebt. Ich habe meinen Datadir verschoben, damit meine Datenbanken auf meinem Ausfallsicheren RAID gespeichert sind. Continue Reading

, , , ,

Grafische Oberfläche für Server (Fluxbox)

Filed in how-tos 1 Comment

Auf Servern hat man ja normal keine grafische Oberfläche installiert. Für manche Sachen lässt sichs aber manchmal nicht vermeiden, ne GUI zu starten. Dafür braucht man natürlich kein KDE oder Gnome, kein eMail-Programm und erst recht keine Office-Suite. Daher zeige ich hier, wie man einen VNC-Server installiert, der wiederrum X und Fluxbox startet und auf lokale Verbindungen beschränkt ist, damit man nur über einen SSH-Tunnel (und die damit verbundene Authentifizierung) zugreifen kann. Continue Reading

,

Homeserver mit Ubuntu

Filed in projects 2 Comments

Nachdem ich nun jahrelang ein altes Notebook als Server nutzte (HP Omnibook XE3) wollte ich mir einen richtigen anschaffen.

Den alten Server hatte ich eigentlich nur als Webserver mit einem DynDNS Client laufen, um Daten auszutauschen und kleinere Spielereien zu ermöglichen.

Der neue Server sollte auf jeden Fall als Fileserver eingesetzt werden um zu Hause SMB und NFS Freigaben zu sharen. Außerdem soll er den alten Server soweit ersetzen, dass er auch als Webserver dient und meine DynDNS URL aktualisiert. Als weiteres Feature soll er noch als zentrale Datenbank für XBMC und somit zur zentralen Verwaltung der Medien (Videos, Musik, Fotos, etc.) dienen. Um den heutigen Zeiten des stetig steigenden Datenaufkommens entgegen zu kommen will ich außerdem einen Datentechnisch Skalierbaren und teils ausfallsicheren Server haben. Für die Zukunft will ich eventuell auch virtuelle Maschinen auf dem Server laufen lassen (Virtual Box) und als grafische Oberfläche Fluxbox nutzen. Continue Reading

, , , , ,

TOP