Montag, 28. September 2009
BelWue und KabelBW
http://cdimage.debian.org/debian-cd/5.0.3/i386/iso-cd/debian-503-i386-netinst.iso
--14:27:56--
http://cdimage.debian.org/debian-cd/5.0.3/i386/iso-cd/debian-503-i386-netinst.iso
=> `debian-503-i386-netinst.iso'
Auflösen des Hostnamen »cdimage.debian.org«.... 130.239.18.137,
130.239.18.173
Verbindungsaufbau zu cdimage.debian.org|130.239.18.137|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 302 Moved Temporarily
Platz:
http://chuangtzu.acc.umu.se/debian-cd/5.0.3/i386/iso-cd/debian-503-i386-netinst.iso [folge]
--14:27:56--
http://chuangtzu.acc.umu.se/debian-cd/5.0.3/i386/iso-cd/debian-503-i386-netinst.iso
=> `debian-503-i386-netinst.iso'
Auflösen des Hostnamen »chuangtzu.acc.umu.se«.... 130.239.18.159
Verbindungsaufbau zu chuangtzu.acc.umu.se|130.239.18.159|:80...
verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 157.255.680 (150M) [application/octet-stream]
100%[=============================================================================================>] 157.255.680 829.55K/s ETA 00:00
14:30:39 (943.77 KB/s) - »debian-503-i386-netinst.iso« gespeichert
[157255680/157255680]
Sonntag, 27. September 2009
Backup ServerG
insgesamt 67539812
drwxr-xr-x 3 root root 4096 2009-09-26 23:32 .
drwxr-xr-x 3 root root 4096 2009-09-26 18:46 ..
drwxr-xr-x 2 root root 4096 2009-09-26 23:31 cache
-rw-r--r-- 1 root root 13998080 2009-09-26 18:57 mondorescue.iso
-rw-r--r-- 1 root root 4632868864 2009-09-26 22:18 serverg-10.iso
-rw-r--r-- 1 root root 4632846336 2009-09-26 22:32 serverg-11.iso
-rw-r--r-- 1 root root 4626667520 2009-09-26 22:47 serverg-12.iso
-rw-r--r-- 1 root root 4628602880 2009-09-26 23:01 serverg-13.iso
-rw-r--r-- 1 root root 4625641472 2009-09-26 23:15 serverg-14.iso
-rw-r--r-- 1 root root 4280430592 2009-09-26 23:28 serverg-15.iso
-rw-r--r-- 1 root root 4632406016 2009-09-26 19:08 serverg-1.iso
-rw-r--r-- 1 root root 4627556352 2009-09-26 19:29 serverg-2.iso
-rw-r--r-- 1 root root 4633700352 2009-09-26 19:54 serverg-3.iso
-rw-r--r-- 1 root root 4622669824 2009-09-26 20:19 serverg-4.iso
-rw-r--r-- 1 root root 4631277568 2009-09-26 20:44 serverg-5.iso
-rw-r--r-- 1 root root 4599631872 2009-09-26 21:09 serverg-6.iso
-rw-r--r-- 1 root root 4640522240 2009-09-26 21:30 serverg-7.iso
-rw-r--r-- 1 root root 4630493184 2009-09-26 21:49 serverg-8.iso
-rw-r--r-- 1 root root 4633737216 2009-09-26 22:04 serverg-9.iso
karl@orange:~/backup/serverg$ du -hc 090926-184354_full/
104K 090926-184354_full/cache
65G 090926-184354_full/
65G insgesamt
5 Stunden für ein Backup von 65GB (komprimiert) übers Netz.
Donnerstag, 24. September 2009
icpcon
/proc/scsi/gdth/0:Driver Parameters:
/proc/scsi/gdth/0: Driver Ver.: 3.05 Firmware Ver.:
2.39.05-R065
Übereinstimmungen in Binärdatei icpcon-2.17.1.
Serverplatten
Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: WDC WD3202ABYS-01B7A0
Serial Number: WD-WCAT18552596
Firmware Version: 02.03B02
User Capacity: 320.072.933.376 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Thu Sep 24 14:42:46 2009 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine
completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (6180) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 75) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always
- 0
3 Spin_Up_Time 0x0027 200 199 021 Pre-fail Always
- 975
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always
- 201
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always
- 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always
- 0
9 Power_On_Hours 0x0032 099 099 000 Old_age Always
- 1022
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always
- 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always
- 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always
- 199
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always
- 57
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always
- 201
194 Temperature_Celsius 0x0022 113 106 000 Old_age Always
- 30
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always
- 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always
- 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always
- 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age
Offline - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute
delay.
smartctl version 5.37 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6
Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: WDC WD3202ABYS-01B7A0
Serial Number: WD-WCAT18578143
Firmware Version: 02.03B02
User Capacity: 320.072.933.376 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Thu Sep 24 14:42:51 2009 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine
completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (6180) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 75) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always
- 0
3 Spin_Up_Time 0x0027 200 199 021 Pre-fail Always
- 1000
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always
- 199
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always
- 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always
- 0
9 Power_On_Hours 0x0032 099 099 000 Old_age Always
- 1022
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always
- 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always
- 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always
- 197
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always
- 57
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always
- 199
194 Temperature_Celsius 0x0022 112 107 000 Old_age Always
- 31
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always
- 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always
- 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always
- 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age
Offline - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute
delay.
Dienstag, 22. September 2009
.gvfs
d????????? ? ? ? ? ? .gvfs
Aus der Perspektive vom Besitzer des Homes:
dr-x------ 2 dirk dirk 0 2009-09-22 08:56 .gvfs
Was geht denn da?
Sonntag, 20. September 2009
openVPN
Konfigurationsdateien folgende Zeilen angehängt werden müssen:
#Modifizierung für Windows Vista/Windows7
route-method exe
route-delay 2
Beispiel:
#OpenVPN Server conf
tls-client
client
dev tun
proto udp
tun-mtu 1400
remote <IP des Servers oder Adresse> 1194
pkcs12 administrator.p12
cipher BF-CBC
comp-lzo
verb 3
ns-cert-type server
route-method exe
route-delay 2
Quelle: http://www.linuxmuster.net/version3:openvpn_vistawin7
Freitag, 18. September 2009
ffmpeg
libmp3lame -ab 160k -ar 22050 -ac 1 -b 320k -vcodec flv -padcolor 000000
-padtop 0 -padbottom 0 -s 450x360 '/media/out.flv'
Donnerstag, 17. September 2009
Flowplayer
clip: {
autoPlay: false,
autoBuffering: true
}
});
Sonntag, 13. September 2009
schueler.txt
# XLS nach ODS
# Spalten richtig sortieren und äöü etc. ersetzen
# im Texteditor unter Linux nochmal checken
# aus Sicherheitsgründen den folgenden Befehl auf die schueler.txt
loslassen:
cat schueler.txt | tr '\204\224\201\216\231\232\341\202\225' 'äöüÄÖÜße'|
sed -e s/ä/ae/g |sed -e s/ö/oe/g |sed -e s/ü/'ue'/g | sed -e s/Ä/Ae/g |
sed -e s/Ö/Oe/g |sed -e s/Ü/'Ue'/g |sed -e s/ß/ss/g |sed -e s/\ //g | tr
-cd '\11\12\55\56\60-\73\101-\132\141-\172'|sed -e s/13\;/13J\;/g|sed -e
s/12\;/12J\;/g > schueler2.txt
# schueler2.txt über Schulkonsole hochladen
# Benutzerdatenübernahme in der Schulkonsole testen - im Fehlerfall
nicht stundenlang wurschteln!
#
# Die shell ist die Lösung
sophomorix-check | less
# Nach Fehlern suchen und diese in der hochgeladenen Datei über die
Schulkonsole korrigieren
# Schritt wiederholen, bis keine Fehler mehr gefunden werden
sophomorix-move > move.txt
# Ausgaben kontrollieren mit less move.txt
sophomorix-add > add.txt
# Ausgaben kontrollieren mit less.add.txt
# Bei Bedarf (geht aber komfortabler über die Schulkonsole)
sophomorix-print -a
# PDFs landen in /var/lib/sophomorix/print-data
#
# Notfallbeile - nur anwenden, wenn man weiß was man tut!
# Nur ausführen wenn keine User angemeldet sind
sophomorix-check --unlock
sophomorix-dumppg2ldap
Freitag, 4. September 2009
MAC
[sudo] password for dirk:
dirk@delluntu:~$ sudo ifconfig wlan0 hw ether 00:1d:e0:36:97:d5
dirk@delluntu:~$ sudo ifconfig wlan0 up
dirk@delluntu:~$ ifconfig wlan0
wlan0 Link encap:Ethernet Hardware Adresse 00:1d:e0:36:97:d5
inet Adresse:192.168.3.242 Bcast:192.168.3.255
Maske:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX packets:65 errors:0 dropped:0 overruns:0 frame:0
TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:10448 (10.4 KB) TX bytes:8893 (8.8 KB)