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

Windows and netsh

November 26th, 2004

netsh is available on Windows systems since Windows 2000. I noticed that even many windows-sysadmins don’t know of it’s existence. ;-( But netsh is really useful if you have to debug network problems on windows boxes or want to set up network without clicking through lots of menus. Using netsh you can configure and display settings of interfaces, RAS, routing, firewall,… and even use it on remote computers via “Remote Desktop Connection”.

What I especially like at netsh is it’s capability of saving the current network configuration:

netsh dump > net_config 

It’s also possible to save just special settings:

netsh interface dump > net_config_int

Or do you want to dump just the ipv6-part?

netsh interface ipv6 dump > net_config_ipv6

Now you have a script which let’s you restore your network settings via:

netsh exec net_config

And check some general settings via:

netsh int ip show config

Explore the power of netsh via running ‘netsh’ and navigate through help via pressing ‘?’ or using the ‘help’-command.

rootserver, postfix, zsh, grml,…

November 24th, 2004

*

My blog looked like dead in the last few days, I know. Sorry for that, but my load was and still is quite high again. ;-(

In the last few days I set up my own rootserver. Apache, Apache-SSL, MySQL, Courier and Postfix are doing their job now. If you can read this message it seems to work for you. ;-)

I really like postfix and did an extented RTFM on the weekend. Besides reading the postfix book I found the following two webpages very useful and interesting:

* Postfix-Webpage by Ralf Hildebrandt
* Tutorial: ISP-style Email Service with Debian-Woody and Postfix (1.x)

Add-ons to postfix I like are:

pflogsumm: pflogsumm.pl is designed to provide an over-view of postfix activity, with just enough detail to give the administrator a “heads up” for potential trouble spots.

and

queuegraph: Queuegraph is a very simple mail statistics RRDtool frontend for Postfix that produces daily, weekly, monthly and yearly graphs of Postfix’s active, deferred, incoming and bounce queues.

What I did not expect while setting up postfix was how much spam I could avoid with just the following options in postfix-config:

smtpd_helo_required = yes
strict_rfc821_envelopes = yes
disable_vrfy_command = yes

Lots of spam and viruses just don’t pass the mailserver, of course I’m doing some additional checks on headers and bodies.

I also set up a gateway with the WRTG54 for WLAN, but I had no time to set up openwrt so I had to put it on my ToDo-list.

Yesterday I received the book on zsh. AFAICS it’s a great book, a more detailed review will follow in the next few days/weeks.

Besides that I’m still working for the next release of grml. We will release grml 0.2 at the end of december.

amaroK – a(nother) music player

November 17th, 2004

*

amaroK seems to rock. I don’t like xmms because it’s just a very bad winamp-clone without an useful file-dialog. xmms is useful for me when I want to use a static playlist and jump to a specific file via ‘j’, but that’s it.

A few days ago I tried Muine because Thomas Themel mentioned it in his blog. But Muine just didn’t work with my /data/Sound-directory (containing all my music-files) and I wasn’t in the mood to debug it -> apt-get –purge remove…

While being on KDE Community World Summit 2004 “aKademy” I noticed the discussions about the interface of amaroK. Some people mentioned that the interface is “uncommon”. Anyway, today I installed amaroK.

amaroK’s interface is different. But I think I’ll get used to it. ;-) Integration into KDE is great, it provides OSD (on screen display), you can burn CDs via menu, you get an applet in controlpane,… And I really like the filter-dialog (see the line containing ‘metheny group’ in the screenshot) which I usually use at itunes. For me amaroK seems to rock. :-)

But: I’m still searching for a good music player for console. I’ve tried several (including mpg321, moc, mp3blaster,…) but I could not find a rocking[tm] one. Damn…. :-(

Linksys WRT54G

November 13th, 2004

Together with jimmy I ordered a Linksys WRT54G router, and got it yesterday . Why I bought the WRT54G is the fact that it’s quite cheap (~70 Euro), you can get the firmware’s sourcecode and it’s running on Linux:

$ telnet 192.168.1.1 5431
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.

help

HTTP/1.1 400 Bad Request
DATE: Thu, 01 Jan 1970 00:08:15 GMT
Connection: Keep-Alive
Server: LINUX/2.4 UPnP/1.0 BRCM400/1.0
Content-Length: 0
Content-Type: text/xml; charset="utf-8"
EXT:

I’ll set up a gateway and will take a closer look at the wrt54g-linux-project and the german webpage on Linksys WRT54G as soon as I’ve some free time.

Postfix

November 13th, 2004

*

Yesterday the admins of the mailserver in VC-Graz activated authentication. I was using exim because setting it up via debian’s eximconfig using a smarthost was quite trivial. Now it was time for changing to Postfix. Setting up postfix was done in a few minutes and I wrote down the required steps.

Since a few weeks ago I’m owner of the german version of the Postfix book by Kyle Dent (ISBN://3897213729). (I assume there’s no difference to the english edition [ISBN://0596002122].)

I like the book. It’s easy to read (and understand ;-)), covers many interesting topics like SASL, MySQL and LDAP and the index seems to be really helpful. If you are searching for german/english offline-documentation on Postfix I can recommend this book.

BTW: If you don’t want to use a “real mailserver” setup but need TLS-authentication anyway you can use for example msmtp (which works fine with mutt), just adjust your ~/.msmtprc:

host mail.vc-graz.ac.at
from your_account@sbox.tugraz.at
user account_number
password your_password
tls
tls_nocertcheck

Ubuntu

November 9th, 2004

*

Is anyone out there who has not installed Ubuntu yet? Ok, one person less out there because I installed it on my workstation at work. :-)

Ubuntu is a Linux distribution that starts with the breadth of Debian and adds regular releases (every six months), a clear focus on the user and usability (it should “Just Work”, TM) and a commitment to security updates with 18 months of support for every release. Ubuntu ships with the latest Gnome release as well as a selection of server and desktop software that makes for a comfortable desktop experience off a single installation CD.www.ubuntulinux.org/ubuntu/

Now I’m running a Gnome 2.8.1 desktop and a 2.6.8.1-3-386 kernel at work. As you maybe know I’m not a real friend of the Gnome desktop, but to be able to flamdiscuss about it I have to know it better. So I’ll use Gnome in the next few days at work.

DeMuDi

November 8th, 2004

DeMuDi is part of AGNULA:

AGNULA (acronym for «A GNU/Linux Audio distribution», pronounced with a strong g) is the name of a project funded by the European Commission (number of contract: IST-2001-34879; key action IV.3.3, Free Software: towards the critical mass).

After the end of the funded period, AGNULA is continuing as a volunteer based project, aiming to spread Libre Software in the professional audio/video arena.

AGNULA’s main task is the development of two reference distributions for the GNU/Linux operating system completely based on Free Software (i.e. under a FSF approved Free Software license) and completely devoted to professional and consumer audio applications and multimedia development. One distribution will be Debian-based (DeMuDi) and the other will be Red Hat-based (ReHMuDi).

I tried to install DeMuDi last week on the student computer at work and chose the kernel 2.6 option. But it just sucfailed – I think because of using an older version of d-i. Today I gave it another try with the default option using kernel 2.4. And it worked. I found many applications I’ve never heard of and found some apps I wanted to try but never had the possibility to. What I don’t like at DeMuDi is the look’n’feel of Gnome (I do know that it’s possible to switch to fluxbox). ;-) I personally never use a display manager like GDM or KDM but for people on my institute it’s a ‘must have feature’. The usability of GDM sucks IMO and setting it up to allow everyone to reboot the machine via GDM menu was pain for me (correlation of menu and gdm.conf did not work as I expected it to) . KDM wasn’t better: setting it up was much easier but it regularly crashed without any reasons. ;-)

Running Damn Small Linux on Windows

November 8th, 2004

No, that’s not a joke. Using the file dsl-embedded-0.8.3.zip from the DSL-project (Damn Small Linux) let’s you run Linux on your Windows box:

*

It’s running via qemu (QEMU CPU Emulator):

START qemu.exe -L . -m 128 -hda harddisk -cdrom dsl.iso -boot d -enable-audio -user-net -localtime

*

It’s not very fast (because of running in an emulation) and needs about 75MB of RAM but seems to work fine for giving it short try. See www.tuxs.org/dslwin.htm for more details.

*

convert: thumbnails

November 4th, 2004

*

I just discovered another useful feature of convert (part of imagemagick). Run:

$ convert 'vid:*.jpg' thumbnails.jpg

.. and you’ll get an overview of your jpgs in the file thumbnails.jpg. Also take a look at the examples-section of the convert manual page.

Happy birthday blog

November 4th, 2004

Happy birthday to my blog. One year of blogging is 250 postings (~0.68/day) and 127 comments by 39 different nicknames. The most commented posting was grml (6 comments). Most comments (besides myself ;-)) have been written by mp (16 comments) and ak (15 comments).

Quoting ak writing about his blog’s birthday: “(mostly) useless information that still a few people seem to be interested in.” – thanks for attending and I hope you enjoy my blog also for the next 365 days.

Enjoying the weekend

November 1st, 2004


*

I’m at home in Klagenfurt for the weekend. I haven’t been here for about one and a half month because I had too much to do. I’m enjoying these days a lot because it’s not everyday’s life.

In the mornings I’m working on grml. In the afternoons I’m playing with my brothers. They have Windows with some nice games on their computers. Especially some very small games took my attention, I think I’ll have to copy them to my usb-stick and test them at work. ;-) Because I didn’t want to stop playing on the computer of my brother I gave my laptop to him and started grml with moagg. About six hours my four brothers didn’t stop playing it. 8-)

Just in these seconds Thomas Volcan noticed me of the game supertux. I installed it on my laptop and gave it a try. Great! I think I know what my brothers will do in the afternoon. 8-)

kcheckgmail

October 27th, 2004

I just installed kcheckgmail. kcheckgmail is a KDE systray application to check GMail accounts. It’s useful for me because I don’t check my gmail-account that often due to it doesn’t work neither with opera nor with konqueror. A nice KDE-addon. :-)

backup-manager

October 27th, 2004

Today it was time to implement an automatic backup solution at work. I was searching for the right tool quite long but there were several problems. First of all I don’t like commercial software on my systems. I also don’t like bloat software which requires as much or even more harddisc space than my whole woody-system. Finally I like solutions which are extensible without having to learn another programing language. ;-)

grml provides the tool backup-manager by Alexis Sukrieh. It’s small and fits my needs perfectly. I added some stuff to backup-manager which I do need for the backup system at work and send a patch to Alexis. Alexis already applied my patch, he just released version 0.4.0 and set up a website for backup-manager. If you are a Debian developer and are interested in sponsoring Alexis and backup-manager please contact me or Alexis. Till now Alexis hasn’t had that much luck but I’d really like to see backup-manager as part of main debian pool because it’s easy to set up and works like a charme.

Together with samba and rsync/ssh backup-manager will do the job.[tm]

OS04 and grml (Update)

October 25th, 2004

*

OS04 has been done.[tm] IMO it was an great event. I met many friends and could talk to interesting people. The talks I’ve seen were great too. My pics are available online. Now I’m trying to catch up >2700 unread rss-feed entries. Reading >100 feeds is quite hard if you can’t read them every single day. ;-)

Feedback on grml is great, not a single flame-mail. ;-) Downloads of the grml os04 release produced a traffic of >68GB within one day on the main mirror. And grml can be found in the press:

* pro-linux.de
* symlink.ch

Update:
grml produced a traffic of >112 GB on the main mirror till now.
grml in the press can be found on grml.org/press/.

People writing about OS04/grml in their blogs:
* alfie (@debian)
* dkg
* jimmy
* niko

Jon “maddog” Hall

October 22nd, 2004

*

Yesterday evening I had lunch with John “maddog†Hall. Today I’ll meet many other nice guys at OS04 too. Hurray!

grml 0.1 done

October 20th, 2004

I’m that happy. Many weeks with lots of work but now it’s done: grml 0.1 is finished.

I burnt the master CD in the morning and brought it to the producer who will create 100 copies which will be available at OS04. I went there by bike and there does not exist a Triesterstraße only in Graz but also in Feldkirchen near Graz. More than one hour of riding by bike in the morning with a bike with little air in it’s wheels and on a bumpy street with cars driving with 70km/h. *d’oh*

BTW: Alfie (Gerfried Fuchs) just joined the grml-team and made Hackergotchis for us. :)

Now I’m veeery tired and nearly fall asleep while sitting at work. ;-(

Paper: Stream Ciphers + Book: Computer Security

October 19th, 2004

*

Till yesterday (18th of october) I had to finish my essay on stream ciphers for IPICS04. It is available online (PDF, 141kb) .

It has been the first time I was using BibTex “productive”. Whereas I was using Vim for editing literature.bib in the beginning I took a short look at gBibg (thanks for the hint – Stefan Sollerer!). I do not really like Gnome/GTK applications but gBib seems to work fine, especially if you don’t use an “LaTeX-IDE” like Kile. Finally I switched back to Vim because of my lazyness. ;-) Which BibTex editors are you guys using?

Very useful for me while writing the essay has been Wikipedia, of course Google and the book Computer Security by Matthew A. Bishop (ISBN: 0201440997).

The book is quite expensive but the content on the 1084 pages is really great. I couldn’t find any better books covering computer security on the theoretical layer than the one by Matthew Bishop.

grml: coming closer to 0.1

October 17th, 2004

*

$ irssi
/server VCG
/join #vc-graz

.. and you can talk on Worfs IRC server in VC Graz. Of course some other IRC servers are available too. Or run:

$ VPNUSERNAME=123 VPNPASSWORD=abc grml-pptp-vcgraz

and you have a PPTP connection in VC Graz. Run:

$ grml-x =wmi

and you’ll get a XF86Config-4 and WMI starts up. Of course you can choose between ion (ion2 and ion3), wmaker, fluxbox, twm and wmi as a window manager. More than 1600 packages will be included in release 0.1. Some screenshots are available online too.

I’m still alive

October 16th, 2004

No, I’m not dead. I’ve had a high load in the last few days, especially because of the upcoming grml-release 0.1. The todo list was quite long and most of it has been done now. Just some annoying bugs are left and I’ll try to fix them till monday (then the CD for OS04 will be burned). Besides that I’ve to finish my essay on stream ciphers for university till monday. And finally many new people in dormitory are asking for computer support. ;-(

Together with my girlfriend I’m attending to USI Graz (institut for sports at university) this semester . We’re playing table tennis and jumping trampoline once a week. (Achtung: Trampolin Springen und nicht Trampolin Hupfen! ;-)) Table tennis sucks a little bit – too many people and till now we even did not play with any trainer – grml. Jumping trampoline is much more fun. Nice people (many girls!;-)) and jumping is just fun. I hope my back is still alive after this semester. ;-)

BTW: You might have noticed the downtimes of my server. Sorry for that. The provider (domke) of my provider (pronet) is part of a fusion with Plusserver. And to keep it short: it just sucks. AFAIK my provider will leave Domke/Plusserver in the next few days and as it looks like I’ll get my very own rootserver. Hurray!

I’ll show you my desktop wallpaper too

October 10th, 2004

*

Martin started showing his wallpaper in his blog, AK, Niko and Thomas already replied so it’s time for me.

My current wallpaper isn’t very spectacular but I like it. It’s the grml-wallpaper created by Wolfgang Scheicher and me. Of course it’s included in the grml-release.

When I’m searching for new eye candies I usually take a look at www.kde-look.org, art.gnome.org and images.google.com and of course my local harddisc. :-)