Archive for the 'English' Category
Monday, February 26th, 2007
A problem everyone stumbles across (at least) once: % tar zcf stats_2005.tar.gz stats_2005* zsh: argument list too long: tar The reason? Too many files for the ARG_MAX limit. ARG_MAX defines the maximum length of arguments to the exec function (more precise: bytes of args plus environment for exec), defined in /usr/include/linux/limits.h on your Linux system: […]
Posted in Computer, Debian, English | 2 Comments »
Saturday, February 24th, 2007
Ever wanted to insert a character in your terminal but don’t have a keybinding for that character? zsh provides a nifty feature called insert-unicode-char: autoload insert-unicode-char zle -N insert-unicode-char bindkey ‘^Xi’ insert-unicode-char Figure out the character’s code (take a look at unicode.org/charts/ for example) and press ‘ctrl-x i’, followed by the character’s code and press […]
Posted in Computer, Debian, English | 4 Comments »
Saturday, February 10th, 2007
I’ve the Asus WL-500G Premium access point since more than 2 month at home. I bought it for being able to play with OpenWrt without touching my productive setup. Now I finally found the time to install OpenWrt on it. There’s documentation available in the openwrt-wiki, but again JFTR (for myself) I document the relevant […]
Posted in Computer, English, Hardware | Comments Off on OpenWRT on Asus WL-500G Premium
Friday, February 9th, 2007
I recently bought a NSLU2 featuring 1x ethernet port and 2x USB 2.0 ports – available for about 80 euro. My plan is to integrate the device in my network as backup system. The original firmware might be nice for John Doe User but I’d like to use Debian featuring stuff like rsync, dirvish,… on […]
Posted in Computer, English, Hardware, Links | Comments Off on Debian on the NSLU2
Sunday, January 21st, 2007
As my ppc-based efika system is quite slow at building kernel packages I decided to cross compile the kernel on my x86 box. JFTR the necessary steps on a Debian system: Adjust $KERNELSOURCE/Makefile to: ARCH = powerpc CROSS_COMPILE = powerpc-linux-gnu- Thanks to the Embedded Debian project you can easily get the necessary gcc as Debian […]
Posted in Computer, English | Comments Off on Cross compile the Linux kernel on Debian
Wednesday, January 17th, 2007
I received an efika board at the end of 2006. Now I had some time to investigate on that. I want to use Debian on the board of course to be able to work on grml-ppc. My setup involves the following hardware: the efika board ;) a 2.5" western digital harddisk an ATX power supply […]
Posted in Computer, English, Hardware | Comments Off on Debian on the Efika-Board
Friday, January 12th, 2007
At last meeting of Security Treff Graz I brought up the question whether rsync is capable of handling extended ACLs (the Access Control Lists you handle with setfacl and getfacl on your Linux system). That’s very important for me when backing up running systems because I’m using ACLs on some systems but only a few […]
Posted in Computer, English | 2 Comments »
Thursday, January 11th, 2007
Get Google Suggest on the commandline: cd /tmp dh-make-perl –cpan WebService::Google::Suggest –build sudo dpkg -i libwebservice-google-suggest-perl_0.01-1_all.deb wget http://hg.grml.org/grml-scripts/raw-file/tip/usr_bin/gsuggest.pl chmod +x ./gsuggest.pl % ./gsuggest grml grml: 175000 results grmlins: 286 results grmlin: 816 results grml linux: 76200 results grmls: 566 results grmln: 192 results grml.ca: 57 results grmlive: 7 results
Posted in Computer, English, Links | Comments Off on Google Suggest on the commandline
Wednesday, January 10th, 2007
Thanks to maxx and oliver for reporting a problem with the feed of my blog. rss2email displayed the following warning: % e2run W: looks like HTML http://michael-prokop.at/blog/feed/ and whereas bloglines.com, Firefox, Internet Explorer, Awasu and even dog and wget worked without any noticeable problems there also was a problem with rss-reader akregator. Finally I could […]
Posted in Computer, English, Rants | Comments Off on Broken feed with WordPress 2.0.6
Monday, January 8th, 2007
Thanks to schula for writing down the necessary steps how to set up a router with grml in less than 1 minute. JFTR the steps in english (will become part of grml-tips as well): Execute ‘grml-router’ Install dnsmasq if not already present: apt-get update ; apt-get install dnsmasq Adjust /etc/dnsmasq.conf according to your needs: domain-needed […]
Posted in Computer, English | Comments Off on Set up a router with grml within 1 minute
Monday, January 8th, 2007
As I usually forgot how to do it ;-) JFTR a cmdline to reset the password of a user in dokuwiki: # usr=’myuser’; passwd=’secret_password’ # sed -i “s#$usr:[[:alnum:]$]*:#$usr:`printf ${passwd} | md5`:#” /var/lib/dokuwiki/acl/users.auth.php
Posted in Computer, English | Comments Off on Reset password of a user in dokuwiki from the commandline
Sunday, January 7th, 2007
You might know of moreutils‘s existence already, but in case you do not use them so far please give it a try as it’s definitely worth a look: Description: additional unix utilities This is a growing collection of the unix tools that nobody thought to write thirty years ago. . So far, it includes the […]
Posted in Computer, English, Links | Comments Off on moreutils
Wednesday, November 29th, 2006
My notes/slides from the zsh-workshop I held yesterday at Medienkunstlabor Graz are available online: zsh-workshop notes
Posted in Computer, English, Events, Links | Comments Off on Notes from zsh-workshop
Sunday, November 19th, 2006
Thanks to ‘T’ for pointing to histring on the grml user mailinglist. histring simply highlights strings using ANSI terminal escape codes. It is very useful e.g. for parsing output of grep and diff. I really like the tool because it simplifies recognition of important patterns to me. I use it for example in highlighting important […]
Posted in Computer, English | 1 Comment »
Tuesday, November 7th, 2006
aamath is a program that reads mathematical expressions in infix notation and renders them as ASCII art. It may be useful to send mathematics through text-only media, such as e-mail or newsgroups: mika@grml ~ % aamath aamath version 0.3 aamath> grml = sqrt(42*23)/11^pi _____ \/42 23 grml = ——- __ || 11 aamath> I created […]
Posted in Computer, English, Links | Comments Off on aamath – ASCII art mathematics renderer
Thursday, October 26th, 2006
ruby-prof just hit Debian unstable: % apt-cache show ruby-prof | sed -ne “/^Description/,/^$/p” Description: A fast code profiler for Ruby ruby-prof is runs a ruby program and keeps track of the amount of time spent in each method. At the end of execution it displays collected information. Its features include: * Speed – it is […]
Posted in Computer, English, Links | 1 Comment »
Thursday, October 26th, 2006
% apt-cache show xserver-xorg-input-vmmouse | sed -ne “/^Description/,/^$/p” Description: X.Org X server — VMMouse input driver to use with VMWare This package provides the driver for the X11 vmmouse input device. . The VMMouse driver enables support for the special VMMouse protocol that is provided by VMware virtual machines to give absolute pointer positioning. . […]
Posted in Computer, English, Links | Comments Off on xserver-xorg-input-vmmouse – VMMouse input driver to use with VMWare
Wednesday, October 11th, 2006
% apt-cache show mathomatic: Mathomatic implements most of the rules of algebra for the mathematical operators +, -, *, /, and power (including roots). . Mathomatic can symbolically: – Solve equations; – Completely simplify equations; – Differentiate; – Do sensitivity and finite series analysis; – Combine and solve simultaneous algebraic equations; – Do complex number […]
Posted in Computer, English, Links | Comments Off on mathomatic – Portable Computer Algebra System (CAS)
Monday, September 25th, 2006
Just feeding google in case someone has same problems… Today I once more installed Debian (etch, kernel 2.6.17-2-686) via debootstrap using grml. The system has a ‘MegaRAID Model: LD 0 RAID1 19G Rev: 6.61’ inside and whereas grml booted without any problems, Debian failed with some timeout and FW messages during bootup, like: megaraid mailbox: […]
Posted in Computer, English | Comments Off on ‘megaraid mailbox: wait for FW to boot’
Monday, September 25th, 2006
Unable to change virtual machine power state: The process exited with an error: End of error message. Thanks, VMware!
Posted in Computer, English, Rants | 2 Comments »