Don't understand german? Read or subscribe to my english-only feed.

Archive for the 'Debian' Category

Why you shouldn’t use copy/paste as root

Sunday, February 24th, 2008

Title: How to subtile fsck your Apache setup. Solution (quoting the original command line): cd /etc/apache2/mods-enabled lrwxrwxrwx 1 root www-data 33 2007-09-28 15:23 auth_basic.load -> ../mods-available/auth_basic.load lrwxrwxrwx 1 root www-data 33 2007-09-28 15:23 authn_file.load -> ../mods-available/authn_file.load lrwxrwxrwx 1 root www-data 36 2007-09-28 15:23 authz_default.load -> ../mods-available/authz_default.load Disclaimer: no, it wasn’t me; it’s the log of […]

Make console work comfortable

Saturday, December 22nd, 2007

Update on 2024-02-16: provide curl usage instructions. Update on 2020-12-04: include tmux.conf. Update on 2017-01-27: provide easy to remember grml.org/console/$filename URLs. Update on 2009-02-13: adjust zshrc setup as .zshrc.global is deprecated, see grml-zsh-refcard. Update on 2008-10-10: replace old hg.grml.org URLs with current git.grml.org. Update on 2009-08-11: refer to /etc/vim/vimrc as /etc/vim/vimrc and /etc/skel/.vimrc have been […]

Checklist for 1:1 clone of a Debian system

Thursday, December 13th, 2007

When cloning a Linux/Debian system 1:1 you should have a checklist of what’s important to change on the cloned system. For cloning I use the grml Linux Live-CD of course (the following tips are part of grml-tips as well). To create a 1:1 clone I boot grml on the systems (usually using the ssh=password bootoption […]

Power drain with Suspend-To-Disk?

Tuesday, December 4th, 2007

The battery of your laptop keeps getting drained even though you are using Suspend-To-Disk [STD]? (No, I’m not talking about Suspend-To-RAM!) That’s what happens at least on my Lenovo ThinkPad X61s notebook. Thankfully there exists a workaround: Check out what suspend method you use: # cat /sys/power/disk [platform] test testproc shutdown reboot So by default […]

git[-svn] in 30 minutes

Monday, December 3rd, 2007

… or something like that… I planned to write a short note about how to start with using git-svn so I can provide a pointer to some of my colleagues. It turned out that git has too many nice features that you should be aware of. :) Hopefully my notes (now being a reference for […]

Failed to bring up mika.

Monday, October 29th, 2007

No, not running out of coffee (well, maybe) – but: # ifup wlan=mika […] No DHCPOFFERS received. No working leases in persistent database. Exiting. Failed to bring up mika. :grin:

Could not set non-blocking flag

Saturday, October 27th, 2007

Looks like many people didn’t manage to solve this problem, so let’s feed google… If you notice the following error message when running apt-get: # apt-get update […] 98% [Working]FATAL -> Could not set non-blocking flag Bad file descriptor E: Method http has died unexpectedly! # echo $? 100 … you forgot to mount the […]

grml-live – framework for building a live system

Friday, September 21st, 2007

[Gnaaaaa, sorry Planet Debian for sending a german article to you a few hours ago. I just chose the wrong category for the article. I removed the tag already and the article disappeared from Planet Debian right now; so if you don’t know what I’m talking about just don’t care. ;-) To the german readers: […]

git-server for the poor: git-update-server-info, rsync and remote repository

Tuesday, September 11th, 2007

I was working on the integration of live-initramfs for grml in the last few days. As the Debian maintainers of live-initramfs switched from svn to git and I contributed several patches I had to deal with git as well. Thanks to my personal VCS hero gebi I learned some cute tricks for working with git. […]

Froscon 2007 – lessons learnt

Saturday, September 1st, 2007

Froscon rocks! explored some more software in more detail, including op, dconf, dstat, unoconf, dwscan, ikiwiki, openQRM, Pentabarf, sl it was great to meet so many people (some of them for the first time in RL), including Alexander ‘formorer’ Wirt, Timo ‘Spida’ Boettcher, Marc ‘HE’ Brockschmidt, Bernd Zeimetz, Thomas ‘MrFai’ Lange, Sebastian Harl, Elmar Hoffmann, […]

Debian @ Froscon 2007

Saturday, August 25th, 2007

The Debian-Team at the Debian-booth of Froscon 2007: Standing (from left): Bernd Zeimetz, Thomas ‘MrFai’ Lange, Sebastian Harl, Elmar Hoffmann, Martin Zobel-Helas, Luk Claes; Sitting in the middle: Christoph ‘myon’ Berg

Kill your server with slrn

Tuesday, August 7th, 2007

No, that’s not a joke. Today I had to (hard-)reboot one of my servers because the console newsreader slrn produced such a high load on the system that it was everything but responsive as a consequence. Huh. What? Yes, right. It was the fault of slrn. I had not set up any default limits on […]

Use root=UUID on NSLU2

Friday, July 27th, 2007

As I wrote a few monce ago I’m owner of a NSLU2 device powered by Debian. Now I had to install another device (using di-nslu2-etch-4.0r0.bin – md5: db8e8ec3571aff8fb2132479f860f16b this time) and I wanted to change the setup from using /dev/sda2 to a UUID based one – to get a stable root device. Nothing really tricky […]

Linux on the Lenovo Thinkpad X61s

Friday, July 27th, 2007

Since about two days I’m proud owner of a Lenovo X61s notebook. It will become my main and new developer box for grml, featuring all that nifty stuff like 64bit support, hardware virtualization and so on… I managed to use all the important features with a very current version of grml. I’m using kernel 2.6.22-grml […]

Setting up your own jabber server: ejabberd

Friday, July 27th, 2007

It was on my todo list since ages, finally I took some minutes to set up my own jabber server (reach me at mika@jabber.grml.org). I’m using ejabberd, a free and open source instant messaging server written in Erlang. Reference system: Debian etch (current stable), ejabberd version 1.1.2-6, installed via a simple: # aptitude install ejabberd […]

Find out what users request…

Saturday, July 14th, 2007

One of the coolest features of grml IMO is grml-tips. grml-tips is a collection of tips you can request via a keyword. For example if you want to know how to use grml-x just run ‘grml-tips grml-x’: mika@meilenschwein ~ % grml-tips grml-x Start X window system (XFree86 / Xorg / X.org): % grml-x $WINDOWMANAGER Usage […]

VirtualBox + USB

Wednesday, July 11th, 2007

Running hot off the press 2.6.22-grml I took a look at the current version of VirtualBox. And I’m really amazed how responsive it is. Not only booting grml is rocking fast but also typing on the console is reaaaally fast – much more responsive than with VMware. (I took a look at VirtualBox several months […]

synergy – share mouse and keyboard

Friday, June 29th, 2007

Quoting the project homepage: Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It’s intended for users with multiple computers on their desk since each system uses its own monitor(s). It really rocks, especially as it works for Linux/Unix […]

Error handling: ENOSPC

Tuesday, June 12th, 2007

Hopefully fuzz testing is well known nowadays, right? But did you check how smart your software can handle ENOSPC – the ‘No space left on device’ error? I like stress testing software (to be honest: no, not really). Yesterday I debugged a problem regarding zsh history writing on ENOSPC. Usually I use the grml Linux […]

Python on the console

Thursday, June 7th, 2007

I wrote a small python webpage for the grml-wiki to provide some information regarding Python-development on grml. I just upgraded Vim on my main system to version 7.1 and omnicompletion with vim-python became better once more. So time for a short demo of ctrl-x-o: I also very much like ‘%ed’ within ipython using the following […]