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

KDE/Qt – Common Programming Mistakes

March 25th, 2004

KDE/Qt – Common Programming Mistakes

Longhorn – Avalon

March 25th, 2004

The “Avalon” Input System

Running FreeBSD with X

March 25th, 2004

Yes, I can’t believe it – but FreeBSD is running *with* X on my laptop ;) Uncommenting some lines in /etc/X11/XFConfig did the trick:

#Load  "glx"
#Load  "dri"
#Load  "record"

Die liebe Rechtschreibung… (german)

March 21st, 2004

Sorry for writing german, but otherwise it wouldn’t make any sense ;)

Standart, compilieren, funzen, 3 Euros, Newsgroup’s,… – die heutige Sprache im Usenet.

Für jene, die der deutschen Sprache noch etwas Gutes tun wollen ein paar Lesetipps:
de.etc.sprache: FAQ
Ãœbersetzungsfallen
Interpunktion
Agopunktion

Offline-Lesetipp: isbn://3446224726

Windows Longhorn

March 20th, 2004

Tom Rizzo – Introducing the New Windows File System
Introducing “Longhorn” for Developers

bancomat running Windows XP

March 20th, 2004

Diebold’s bancomat running Windows XP @ Carnegie Mellon University

zsh 4.2.0 released

March 20th, 2004

Yes – zsh version 4.2.0 is available. Check out the Release Notes for new features. What’s new? Suffix aliases allow the shell to run a command on a file by suffix:

[mika@grml: ~]% grep 'alias.*tex' .zshrc
    alias -s tex=vim
[mika@grml: ~]%

Now a ‘$ file.tex’ calls vim with file.tex :-). Nice modules/functions are especially zsh/net/socket, zsh/net/tcp and zcalc calculator.

But I noticed a problem, starting zsh brings me to “/” instead of “~”. I couldn’t find any mistakes (neither in source nor in my settings [zsh <4.2 works as it should)], so I updated my zshrc:

if [[ $ZSH_VERSION == 4.2.* ]]; then
# Suffix aliases allow the shell to run a command on a file by suffix,
# e.g `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'.
    alias -s tex=vim
    cd ~/
fi

Funpics

March 19th, 2004

matheklausur
rice
istmiregal
unfall/accident
cat-thin

FreeBSD & QNX

March 19th, 2004

The harddisc on the FreeBSD-machine is much to small (<2 GiB) for having fun. I tried to install FreeBSD on a harddisc with 40 GiB but installation did not work (freeze on calling installation-routine), argl! So I’m falling back to QNX:

qnx% uname -a
QNX qnx 6.2.1 2003/01/18-02:12:22est x86pc x86 
qnx%

FreeBSD does not want to work on my laptop (using X as normal user does not work), sucks on the “new” harddisc… Should I give it another chance? 8-)

Update: booting Knoppix and creating a FreeBSD-partition was helpfull for installing FreeBSD. FreeBSD and QNX are on the harddisc, just the bootmanager sucks… grml…

WLAN-card

March 19th, 2004

I bought one of the Linksys WPC11 (11Mbps 802.11b) WLAN-cards. The card works fine on linux-systems with the following settings in /etc/pcmcia/config:

card "Linksys WPC11 11Mbps 802.11b WLAN Card"
  manfid 0x0274, 0x1612
  bind "orinoco_cs"

Hint: notice the 0x1612 – especially if your are using debian ;-). With the orinoco-0.13e-patch from http://airsnort.shmoo.com/orinocoinfo.html you are cabable of monitoring (see iwpriv for details whether the driver supports monitoring or not) e.g. with kismet.

Also my FreeBSD (5.2.1-RC1) detects the WLAN-card and with the following settings using it works for me:

#!/bin/sh
ifconfig wi0 $IP netmask 255.255.255.0
ifconfig wi0 ssid $VALUE
route add -ifp wi0 default $GATEWAY

ifconfig wi0:

wi0: flags=8843<up ,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::206:25ff:fe29:8f15%wi0 prefixlen 64 scopeid 0x5 
inet $IP netmask 0xffffffe0 broadcast $BROADCAST
ether 00:06:25:29:8f:15
media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
status: associated
ssid labor 1:labor
stationname "FreeBSD WaveLAN/IEEE node"
channel 6 authmode OPEN powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 1

Hacking session

March 18th, 2004

Today we (some guys of Security Treff Graz) made a hacking session at competence centre of mur.at. We had some WLAN network-cards and used kismet for wlan-sniffing. Well, mur.at has it’s centre beneath a street where GVB’s trams are driving, have a look: screenshot ;o)

Recovery ;)

March 16th, 2004

Very fast reply by abuse@aon:

Der Account des Kunden, von dessen Rechner diese Virenmails versandt wurden, wurde gesperrt.

English information: the account of the telekom-customer has been disabled

Incompetence?

March 16th, 2004

I received 12 spammails with the “Dear user of “Michael-prokop.at” mailing system, […] Kind regards, The Michael-prokop.at team” from host n632p031.adsl.highway.telekom.at (62.47.22.255). So I sent a mail to abuse@aon.at and today I got the following response:

From: Abuse Intern [schnipp]
Date: Tue, 16 Mar 2004 13:07:58 +0100
Subject: AW: Abuse-Meldung

[...]
Um den/die tatsächlichen Verursacher dieser Mails eruieren zu können benötigen wir die vollständigen Header dieser Emails.

So finden Sie den gewünschten E-Mail Header in Ihrem Outlook Programm:

- Markieren Sie das betreffende E-Mail
- Rechtsklick darauf
- Optionen auswählen
- Hier steht unter "Internetkopfzeile" der gewünschte Header

Header aus Outlook Express:

- Rechtsklick auf betreffende E-Mail
- Eigenschaften
- unter Details "Internetkopfzeile" finden Sie den vollständigen Header
[...]

Of course I attached the original mails (without the “application/octet-stream”-stuff) to my abuse-mail [but the mailsystem of telekom removes them automatically]. And I don’t have to mention that I am not using Outlook [Express] and that the abuse-Team uses Exchange. grml

404…

March 16th, 2004

Now I was very creative and created a new 404-page ;o)

palcal – calendar for cmdline

March 14th, 2004

I just found palcal, a “calendar with events” for the commandline. It looks quite very nice and seems to be the best available calendar-tool for the commandline. Now I’ll create an at.pal-file :-).

Update: at.pal is online – improvements/feedback is welcome :)

Music @ Linux

March 14th, 2004

http://linuxmusician.com
http://sound.condorow.net/ – Sound- & MIDI-Software for Linux
www.hitsquad.com/smm/linux/ – Linux Music Software
www.djcj.org/LAU/guide/ – the Linux Audio User guides
www.midi-howto.com – MIDI-HowTo

Update:
www.linuxsound.at – Sound & MIDI Software For Linux
HOWTO Use MIDI Sequencers With Softsynths
Midi mit Alsa (german)

German vs. English

March 14th, 2004

I am considering to change my writings from english to german in my weblog. But I am not sure whether I should. Any pros and cons?

Spam

March 14th, 2004

Due to the fact that I received more and more spammails in my personal inbox in the last few days (even spamassassin and some procmail-rules couldn’t catch them) and because the schema is always the same I created a new procmail-rule:

:0 BD
* http://www.(affiliatedrugs)|(moderndrugstore).biz
{
  :0 fwh
  | formail -i "X-Caught-by: biz-spam"
  :0  
  $MAILDIR/spam_drugstore/
}

Sunday evening/night is spamming-time – but today I am really prepared ;o).

Fun – ROFLcopter

March 11th, 2004

http://irc.evtek.fi/urllog/2004/03/11/roflcopter3.gif

IPX

March 10th, 2004

70% of network traffic is produced by IPX! 497 IPX-packets within 3 minutes doing nothing related to networking on the box. Argl!