* Updated grml-tips.
[grml-tips.git] / grml_tips
index d5ef78d..1cb21fb 100644 (file)
--- 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 <system>
+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
+--