projects
/
grml-tips.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add extract mp3 from flash file.
[grml-tips.git]
/
grml_tips
diff --git
a/grml_tips
b/grml_tips
index
47ba348
..
2b9e324
100644
(file)
--- a/
grml_tips
+++ b/
grml_tips
@@
-1288,19
+1288,22
@@
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) has been created. If so run:
Plug in your vodafone card and check in syslog whether the appropriate
(probably /dev/ttyUSB0 or /dev/noz0) has been created. If so run:
-#
gcom
-d $DEVICE
+#
comgt
-d $DEVICE
# wvdial --config /etc/wvdial.conf.umts $PROFILE
Usage examples:
# wvdial --config /etc/wvdial.conf.umts $PROFILE
Usage examples:
-#
gcom
-d /dev/ttyUSB0
+#
comgt
-d /dev/ttyUSB0
# wvdial --config /etc/wvdial.conf.umts a1usb
# wvdial --config /etc/wvdial.conf.umts a1usb
-#
gcom
-d /dev/noz0
+#
comgt
-d /dev/noz0
# wvdial --config /etc/wvdial.conf.umts tmnozomi
# wvdial --config /etc/wvdial.conf.umts tmnozomi
-#
gcom
-d /dev/noz0
+#
comgt
-d /dev/noz0
# wvdial --config /etc/wvdial.conf.umts dreiusb
# wvdial --config /etc/wvdial.conf.umts dreiusb
+# comgt -d /dev/ttyACM0
+# wvdial --config /etc/wvdial.conf.umts yesss
+
If you receive invalid DNS nameservers when connecting, like:
[...]
If you receive invalid DNS nameservers when connecting, like:
[...]
@@
-1326,7
+1329,7
@@
Bus 004 Device 008: ID 1199:6813 Sierra Wireless, Inc.
To get a list of available providers execute:
To get a list of available providers execute:
-#
gcom -s -d /dev/ttyUSB0 /usr/share/doc/gcom/examples
/operator
+#
comgt -s -d /dev/ttyUSB0 /etc/comgt
/operator
--
hdparm - get/set hard disk parameters
--
hdparm - get/set hard disk parameters
@@
-2103,38
+2106,38
@@
See also: http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html
Check filesystem's LABEL:
generic way:
Check filesystem's LABEL:
generic way:
-#
vol_id -l
/dev/sda1
+#
blkid
/dev/sda1
-ext2/3 without
vol_
id:
+ext2/3 without
blk
id:
# dumpe2fs /dev/sda1 | grep "Filesystem volume name"
# dumpe2fs /dev/sda1 | grep "Filesystem volume name"
-xfs without
vol_
id:
+xfs without
blk
id:
# xfs_admin -l /dev/sda1
# xfs_admin -l /dev/sda1
-reiserfs without
vol_
id:
+reiserfs without
blk
id:
# debugreiserfs /dev/sda1 | grep -i label
# debugreiserfs /dev/sda1 | grep -i label
-jfs without
vol_
id:
+jfs without
blk
id:
# jfs_tune -l /dev/sda1 | grep -i label
# jfs_tune -l /dev/sda1 | grep -i label
-reiser4 without
vol_
id:
+reiser4 without
blk
id:
# debugfs.reiser4 /dev/sda1 | grep -i label
--
Check filesystem's UUID:
generic way:
# debugfs.reiser4 /dev/sda1 | grep -i label
--
Check filesystem's UUID:
generic way:
-#
vol_id -u
/dev/sda1
+#
blkid
/dev/sda1
-ext2/3 without
vol_
id:
+ext2/3 without
blk
id:
# dumpe2fs /dev/sda1 | grep -i UUID
# dumpe2fs /dev/sda1 | grep -i UUID
-xfs without
vol_
id:
+xfs without
blk
id:
# xfs_admin -u /dev/sda1
# xfs_admin -u /dev/sda1
-reiserfs without
vol_
id:
+reiserfs without
blk
id:
# debugreiserfs /dev/sda1 | grep -i UUID
# debugreiserfs /dev/sda1 | grep -i UUID
-reiser4 without
vol_
id:
+reiser4 without
blk
id:
# debugfs.reiser4 /dev/sda1 | grep -i UUID
--
Change a filesystem's LABEL:
# debugfs.reiser4 /dev/sda1 | grep -i UUID
--
Change a filesystem's LABEL:
@@
-2590,7
+2593,7
@@
Recorder shellscript session using script:
--
Test UTF-8 capabilities of terminal:
--
Test UTF-8 capabilities of terminal:
-wget http://
melkor.dnp.fmph.uniba.sk/~garabik/debian-utf8/download
/UTF-8-demo.txt.gz
+wget http://
www.linux-cjk.net/Console/garabik
/UTF-8-demo.txt.gz
zcat UTF-8-demo.txt.gz
or:
zcat UTF-8-demo.txt.gz
or:
@@
-2860,7
+2863,7
@@
language at the bottom of the file /etc/nanorc
--
Create netboot package for grml-terminalserver:
--
Create netboot package for grml-terminalserver:
-# sh /usr/share/doc/grml-terminalserver/examples/create-netboot
+#
ba
sh /usr/share/doc/grml-terminalserver/examples/create-netboot
--
To boot grml via network (PXE) check out grml-terminalserver:
--
To boot grml via network (PXE) check out grml-terminalserver:
@@
-3078,6
+3081,10
@@
btrace /dev/sda0
Convert Flash to Avi:
% ffmpeg -i input.flv output.avi
Convert Flash to Avi:
% ffmpeg -i input.flv output.avi
+
+Extract MP3 from Flash file:
+
+% for i in *.flv; do ffmpeg -i $i -acodec copy ${i%.flv}.mp3 ; done
--
Usage example for cryptsetup / -luks encrypted partition on LVM:
--
Usage example for cryptsetup / -luks encrypted partition on LVM:
@@
-3165,3
+3172,11
@@
Start openvas server (takes a while):
Invoke client as user:
% OpenVAS-Client
--
Invoke client as user:
% OpenVAS-Client
--
+Find packages not available from any active apt repository:
+
+% apt-show-versions | awk '/No available version in archive/{print $1}'
+--
+Simple mailserver with python:
+
+% python -m smtpd -n -c DebuggingServer localhost:1025
+--