From 585bb5a7b0fc854a11d0b74f264491305d2817be Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 11 Nov 2006 19:29:59 +0100 Subject: [PATCH] * Updated grml-tips. * Use "Architecture: all" in debian/control to support architectures not running on x86 as well. * Bumb Standard Version to 3.7.2 (no further changes). --- debian/changelog | 9 +++++++++ debian/control | 6 +++--- grml-tips | 5 ++++- grml_tips | 35 +++++++++++++++++++++++++++++++++-- 4 files changed, 49 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index fde4381..ec41127 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +grml-tips (0.3-9) unstable; urgency=low + + * Updated grml-tips. + * Use "Architecture: all" in debian/control to support architectures + not running on x86 as well. + * Bumb Standard Version to 3.7.2 (no further changes). + + -- Michael Prokop Wed, 1 Nov 2006 11:29:56 +0100 + grml-tips (0.3-8) unstable; urgency=low * Fix 'grml-tips etch': it's /usr/lib/grub/i386-pc/ and not diff --git a/debian/control b/debian/control index d0d0b05..9cc2931 100644 --- a/debian/control +++ b/debian/control @@ -3,14 +3,14 @@ Section: grml Priority: optional Maintainer: Michael Prokop Build-Depends: debhelper (>= 4.0.0) -Standards-Version: 3.6.2 +Standards-Version: 3.7.2 Package: grml-tips -Architecture: any +Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, agrep Description: search for tips and hints via a keyword The provided script grml-tips queries a signature file with agrep for a specific keyword and displays results on stdout. . - Homepage: http://grml.org/ + Homepage: http://grml.org/ diff --git a/grml-tips b/grml-tips index e4572dc..8d5e91a 100755 --- a/grml-tips +++ b/grml-tips @@ -4,11 +4,14 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Sat Mar 25 17:59:52 CET 2006 [mika] +# Latest change: Mit Nov 01 12:02:06 CET 2006 [mika] ################################################################################ TIPSFILE='/usr/share/grml-tips/grml_tips' +# another approach: +# awk 'BEGIN { RS = "-- " } /$1/' $TIPSFILE + if [ -r "$TIPSFILE" ] ; then if [ -n "$1" ] ; then agrep -d "^-- $" -i "$1" $TIPSFILE && echo "" || \ diff --git a/grml_tips b/grml_tips index d5ef78d..1cb21fb 100644 --- a/grml_tips +++ b/grml_tips @@ -1509,6 +1509,10 @@ You can even activate the port forwarding by default globally: Host * RemoteForward 1234 127.0.0.1:1234 ForwardAgent yes + +Notice: if you get 'ABORT: Requested font not found' make sure the +requested font is available, running 'LANG=C LC_ALL=C osd_server.py...' +might help as well. -- Avoid automatical startup of init scripts via invoke-rc.d: @@ -1738,7 +1742,7 @@ which handles block_dump on its own. -- Install initrd via initramfs-tools for currently running kernel: -# update-initramfs -u -t -k $(uname -r) +# update-initramfs -c -t -k $(uname -r) -- Install initrd via yaird for currently running kernel: @@ -1914,11 +1918,26 @@ Resync: Stop and rebuild: # mdadm --stop --scan -# mdadm --assemble /dev/md0 --auto --scan --update=summaries --verbose + +Scan for and setup arrays automatically: +# mdadm --assemble --scan --auto=yes --verbose + +Notice: If the above does not work make sure /etc/mdadm/mdadm.conf contains: +DEVICE partitions +CREATE owner=root group=disk mode=0660 auto=yes +HOMEHOST +MAILADDR root + +Running +# /usr/share/mdadm/mkconf > /etc/mdadm/mdadm.conf +might help as well. Monitoring the sw raid # nohup mdadm --monitor --mail=root@localhost --delay=300 /dev/md0 +Producing /etc/mdadm/mdadm.conf: +# mdadm --detail --scan > /etc/mdadm/mdadm.conf + See also: man mdadm | less -p "^EXAMPLES" http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html -- @@ -2219,4 +2238,16 @@ To play encrypted DVDs and if you are living in a country where using libdvdcss code is not illegal can install Debian package libdvdread3 and use the script /usr/share/doc/libdvdread3/install-css.sh. -- +Read manpages of uninstalled packages with debman: + +% debman -p git-core git +-- +Test network performance using netperf: + +Server: +# netserver + +Client: +# netperf -t TCP_STREAM -H 192.168.0.41 +-- -- 2.1.4