Categories
Ubuntu

Compile resperf for Ubuntu

Resperf and dnsperf are very hany, if you try to benchmark or even test your DNS server. While dnsperf is made for authorative nameservers, resperf is ready to test your resolver (the one with recursion).

However, nominum does not provide an Ubuntu binary. Due to some bugs and missing packages, compilation is not only configure/make/make-install.

Needed packages are (just apt-get install ’em):

  • libkrb5-dev
    libbind-dev
    build-essential
    libssl-dev
    libcap-dev
    libxml2-dev
  • gnuplot

If you encounter the problem, that isc does not find the file ‘stat.h’, issue

cp /usr/include/linux/stat.h /usr/include/isc/

 

Categories
Ubuntu

Ubuntu Gnome3 and Thinlinc

To have a Gnome3 Classic environment as Desktop for Thinlinc, add or edit a profile and put the following as command line:

gnome-session-fallback

Categories
Ubuntu

Install Thinlinc on Ubuntu 12.10

This helps over an Ubuntu bug, which prevents from installing Thinlinc on Ubuntu 12.10

http://www.cendio.com/resources/docs/platforms/ubuntu.xhtml

Categories
Kochrezepte

Schokoladentraum Belchkuchen

Quelle: chefkoch.de

Zutaten

  • 500g Butter
  • 500g Schokolade (Crémant)
  • 12 Eier
  • 400g Zucker
  • 500g Mandeln
  • 200g Mehl

Zubereitung

Backofen auf 180° vorheizen

Butter und Schokolade in einem Topf schmelzen lassen. Die Eier 4 Minuten lang verquirlen. Zucker zugeben und verrühren. Die geschmolzene Butter mit der Schokolade etwas abkühlen lassen und zugeben. Nun Mandeln und Mehl unterrühren.

Kuchenblech einfetten, Teigmasse darauf geben und verstreichen. ca. 15 Minuten backen.

Hinweis: Der Teig geht nicht viel auf, ist dafür aber nicht trocken.

 

Categories
Kochrezepte

Schoko-Zimt Blechkuchen

Die folgende Menge reicht für ein Schweizer Backofenblech.

  • 350g Zucker
  • 500g Mehl
  • 3 El Backpulver
  • ca. 10 El Zimtpulver
  • 6dl Buttermilch
  • ca. 6 EL Zwetschgengumfi

Alles vermischen. Auf ein normales, eingefettetes Backofenblech verteilen und verstreichen. Backofen auf 200° vorheizen, ca. 15-20 min backen.

Categories
Geeky Ubuntu

Gutenprint gave back Life to my Printer

I have a approx. 8 years old Brother HL5150D, a b/w laser printer with duplex unit at home. The older the printer got, the longer a print was lasting using Ubuntu Linux and either the original Brother PPD or the Openprinting PPD; of course both for CUPS and Linux. And I tried a whole lot of other printer drivers as well.

Then I was evaluating a new printer for home use, nowadays a color laser MFC with duplex unit, where there are not that many of them for rather budget price. And the biggest point was Linux compatibility. While googling, I stumbled over a message, that (at least for Canon printers), Gutenprint drivers are a lot better working than the original ones, if there were.

So I give it a shot and tried the Gutenprint driver for my old Brother. Astonishingly, even with full graphic pages, printing a duplex page lasted less than half a minute (while before, print preparation and data transmission lasted much more than 5 minutes per duplex page). I tried with many different PDF and image files, the paper came out of the printer very fast and reliable.

So do I really need a new printer now? Having colored prints is a temptation. But pure technical speaking, I don’t need a new printer now.

Categories
Ubuntu Virtualisation

ubuntu-vm-builder and Tasksel tasks

To add tasksel tasks while using ubuntu-vm-builder, just add a ^ at the end of the tasksel task while using the option –addpkg. E.g.

ubuntu-vm-builder kvm precise --addpkg lamp-server^

Categories
Ubuntu

Getting Wifi on U160 and Quantal

My Lenovo Ideapad U160 is empowered with the famous not-to-work-out-of-the-box Broadcom BCM4313 PCI-ID 14e4:4727. This is how to get it to work with Ubuntu 12.10 Quantal.

Update: Using the ‘wl’ kernel module (propriatary one found in the package bcmwl-kernel-source), did the trick for some minutes. After that, all network connections will be dropped and no new connections can be established. With rmmod wl; modprobe wl; network was functioning again for some minutes. Using lspci -nn | grep -i wire -A6 I’ve found out, that there is a 2nd driver for this interface: brcmsmac. Using this module, the network stayed connected permanently.

1st: Blacklist the following modules by creating a new file /etc/modprobe.d/blacklist-local.conf and issue a update-initramfs -u:

  • acer_wmi
  • wl

2nd: Add the following line to /etc/modules

  • brcmsmac

3rd: reboot.

Categories
Ubuntu

Remove Shopping Feature in Ubuntu Quantal

To remove the shopping feature, which actually searches Amazons web store on all dash search strings, just apt-get purge the  folloging:

unity-lens-shopping

 

 

Categories
Virtualisation

KVM Packet List Ubuntu

As a shortcut and extended brain for me, here is the packet list to install KVM on a Ubuntu Server:

  • apt-get install qemu-kvm libvirt-bin virtinst

Tools for the graphical management console:

  • apt-get install virt-managervirt-viewer