X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=25973730615ddc7aa36cb2c587673a8e59e479ae;hb=d15fdf23c80d7e2bee17ed539658d3ae1b9fab27;hp=4fa526361d41e0573e0c2fbaf905600fa4fb113c;hpb=4c8e7332cd1a7b92a85de64d90273ad5845821df;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 4fa5263..2597373 100644 --- a/grml_tips +++ b/grml_tips @@ -573,11 +573,15 @@ echo -e "s/\r//g" > dos2unix.sed; sed -f dos2unix.sed < dosfile > unixfile -- Save live audio stream to file: -% mplayer -ao pcm:file=$FILE +% mplayer -ao pcm:file=$FILE $URL +-- +Save live stream to file: + +% mplayer -dumpfile $FILE -dumpstream $STREAM or -% mencoder mms://file.wmv -o $FILE -ovc copy -oac copy +% mencoder mms://$URL -o $FILE -ovc copy -oac copy or @@ -2719,7 +2723,7 @@ Enable shadow passwords: # shadowconfig on -- -Set up an IPv6 tunneln on grml: +Set up an IPv6 tunnel on grml: # ipv6-tunnel start -- @@ -3088,3 +3092,37 @@ See http://grml.org/faq/#fdisk => * use parted's mklabel command (but please read the parted manual before executing this command) -- +dmraid - support for SW-RAID / FakeRAID controllers +like Highpoint HPT and Promise FastTrack + +Activate all software RAID sets discovered: +# dmraid -ay + +Deactivates all active software RAID sets: +# dmraid -an + +Discover all software RAID devices supported on the system: +# dmraid -r +-- +Extract winmail.dat: + +List content: +% ytnef winmail.dat + +Extract files to current directory: +% ytnef -f . winmail.dat +-- +Approx - Debian package proxy/cacher howto + +% apt-get install approx +% echo 'debian http://ftp.de.debian.org/debian' >>/etc/approx/approx.conf +% Restart approx + +Add your new approx to sources.list + +eg. +deb http://localhost:9999/debian unstable main contrib non-free + +use approx in grml-debootstrap like: +% grml-debootstrap -r lenny -t /dev/sda1 -m http://127.0.0.1:9999/debian +--