X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=df23ee844a447b48186acf32c1ec066d701d45bd;hb=cc3193940c320358f05813b8cdf93512b568072f;hp=641eb8bdebf538488703047676bf2a34dac4fb54;hpb=9d8de651b98a6a06cc2a9695e146b7a2f9dcc7d0;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 641eb8b..df23ee8 100644 --- a/grml_tips +++ b/grml_tips @@ -1094,7 +1094,7 @@ Avoid all of the above steps - use grml-debootstrap(8) instead! -- Convert files from Unicode / UTF-8 to ISO: -% iconv -f utf8 -t iso-8859-15 < utffile > isofile +% iconv -c -f utf8 -t iso-8859-15 < utffile > isofile and vice versa: @@ -1278,8 +1278,7 @@ Write a Windows 2000/XP/2003 MBR to device: Use a Vodafone 3G Datacard (UMTS) with Linux: Plug in your vodafone card and check in syslog whether the appropriate -(probably /dev/ttyUSB0 or /dev/noz0 when using newer vodafone cards) has -been created. If so run: +(probably /dev/ttyUSB0 or /dev/noz0) has been created. If so run: # gcom -d $DEVICE # wvdial --config /etc/wvdial.conf.umts $PROFILE @@ -1294,8 +1293,28 @@ Usage examples: # gcom -d /dev/noz0 # wvdial --config /etc/wvdial.conf.umts dreiusb -Notice: newer vodafone cards require the nozomi driver. Run 'modprobe nozomi' on -your grml system. +If you receive invalid DNS nameservers when connecting, like: + +[...] +--> primary DNS address 10.11.12.13 +--> secondary DNS address 10.11.12.14 + +just provide a working nameserver to resolvconf via: + +# echo "nameserver 80.120.17.70" | resolvconf -a ppp0 + +Notice: some vodafone cards require the nozomi driver (run 'modprobe nozomi' on +your grml system), some other ones require the sierra driver (run +'modprobe sierra'). + +If your device isn't supported by usbserial yet, manually provide vendor and +product ID when loading the usbserial module. Usage example: + +% lsusb +[...] +Bus 004 Device 008: ID 1199:6813 Sierra Wireless, Inc. + +# modprobe usbserial vendor=0x1199 product=0x6813 -- hdparm - get/set hard disk parameters @@ -2811,3 +2830,9 @@ Bypass the password of a PDF file: % gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf -c quit -- +Record sound: + +% rec test.aiff + +This will record a AIFF audio file. +--