Did You Know 3.0
22.11.2008
Abgesehen von irgendwelchen Zukunftserahnungen ist das Video nett anzusehen und sehr gut gemacht. Die Musik stammt von Fatboy Slim - Right Here, Right Now.
Just another blog from just another blogger.
22.11.2008
Abgesehen von irgendwelchen Zukunftserahnungen ist das Video nett anzusehen und sehr gut gemacht. Die Musik stammt von Fatboy Slim - Right Here, Right Now.
10.11.2008
Endlich! Nach über 2 Jahren closed-Source Treibern für die Creative X-Fi Reihe gibt nun Creative die Sourcen für die Treiber heraus und lizensiert diese unter GPL v2, wie gulli berichtet.
Die offizielle Nachricht findet sich im Creative-Board.
06.11.2008
mdadm --add /dev/md0 /dev/sde1 /dev/sdf1 mdadm --grow /dev/md0 --raid-devices=6 resize2fs /dev/md0
03.11.2008
Ich habe bei Thunderbird mit GoogleMail das Problem, das nicht alle Ordner / Labels auf neue Nachrichten geprüft werden. Mit folgender Konfigurationsänderung prüft Thunderbird absofort alle Ordner / Label auf neue Nachrichten:
Extras -> Einstellungen -> Erweitert -> Konfiguration bearbeiten
mail.check_all_imap_folders_for_new = true
02.11.2008
Unter Windows gibt es das Freeware Server-Client Programm netcps (Download) das eine normale TCP/IP-Verbindung nutzt um ohne Festplattenzugriff Daten zu versenden und empfangen.
Auf dem Server starten wir das Programm mit folgendem Parameter:
netcps.exe -server
Auf dem Client starten wir das Programm ebenfalls, übergeben aber mit “-m500″ die Anzahl der zu übertragenen Daten in Megabyte an. Der zweite Parameter ist die IP des Servers, der auf dem Standardport 4455 lauscht:
netcps.exe -m500 192.168.0.40
In meinem 1Gbit-Netzwerk erziele ich dabei im Durchschnitt 90MB/s:

Für Linux gibt es das freie Programm iperf, das von der Anwendung her fast gleich ist.
iperf -s
iperf -c 192.168.0.4
23.10.2008
Sollte folgende Fehlermeldung beim Versuch eine domU zu starten auftreten, sicherstellen ob brctl installiert ist und gegebenenfalls nach installieren!
Device 0 (vif) could not be connected. Backend device not found.
Falls brctl fehlt:
apt-get install bridge-utils
Auf meiner neuen Hetzner DS5000 Kiste wird bei meinem 2.6.18-6-xen-686 Kernel-Image (aus den Debian Repositorys) die 4GB Ram nicht vollständig erkannt.
Abhilfe schafft ein modifizierter Grub.
Nach einer Debian Installation passt man meist als erstes die Arbeitsumgebung an, d.h. installiert nützliche Pakete, Konfiguriert das Aussehen der Bash-Shell, installiert Crontabs und Konfiguriert Pakete nach eigenem Wunsch.
Mein Basis-Setup, was ich grundsätzlich nach jeder Debian-Installation durchführe, findet hier ihr:
#!/bin/bash # install packages apt-get install vim screen mc vnstat ntpdate ssh # add crontabs cat >> /etc/crontab <<EOF # vnstat * * * * * root /usr/bin/vnstat -u -i eth0 # time 5 1 * * * root /usr/sbin/ntpdate ntp.fhg.de EOF # add .bashrc cat > /root/.bashrc <<EOF umask 022 export LS_OPTIONS=' --color=auto' eval \$(dircolors) alias ls='ls \$LS_OPTIONS -l' alias ll='ls \$LS_OPTIONS -l' alias l='ls \$LS_OPTIONS -lA' alias t-sys='tail -f /var/log/syslog' BLACK="\[\033[0;30m\]" BLUE="\[\033[0;34m\]" GREEN="\[\033[0;32m\]" CYAN="\[\033[0;36m\]" RED="\[\033[0;31m\]" PURPLE="\[\033[0;35m\]" BROWN="\[\033[0;33m\]" LIGHT_GRAY="\[\033[0;37m\]" DARK_GRAY="\[\033[1;30m\]" LIGHT_BLUE="\[\033[1;34m\]" LIGHT_GREEN="\[\033[1;32m\]" LIGHT_CYAN="\[\033[1;36m\]" LIGHT_RED="\[\033[1;31m\]" LIGHT_PURPLE="\[\033[1;35m\]" YELLOW="\[\033[1;33m\]" WHITE="\[\033[1;37m\]" NO_COLOUR="\[\033[0m\]" export PS1="\u\$DARK_GRAY@\$NO_COLOUR\h\$DARK_GRAY:\$NO_COLOUR\w\$GREEN\\\$\$NO_COLOUR " EOF # edit vimrc to enable syntax highlighting sed -e 's/\"syntax/syntax/g' -i /etc/vim/vimrc
22.10.2008
This howto describes how to install debian etch on a usb-stick. The usb-stick will be bootable and your debian system runs directly on it (for example as emergency system).
/dev/sdb = usb-device
/mnt/usb = mountpoint for usb-device
_ = in the chrooted-system
deletes mbr, all partitons and all data:
shred -n 0 -v -z /dev/sdb
or
dd if=/dev/zero of=/dev/sdb
create one primary partiton with type 83 and no swap (swap = faster dead for usb-device):
cfdisk /dev/sdb
format as ext2 (ext2 is like ext3, but without journaling = no faster dead for the usb-device):
mkfs.ext2 /dev/sdb1
mount usb-device:
mount /dev/sdb1 /mnt/usb
install debian system with debootstrap:
debootstrap --arch i386 etch /mnt/usb http://ftp.us.debian.org/debian
get UUID from usb-device (save it for later):
blkid /dev/sdb1 Output: /dev/sdb1: UUID="e659faf9-c042-4c1b-b831-469c30392a3c" TYPE="ext2"
install grub on usb-device:
grub-install --recheck --root-directory=/mnt/usb /dev/sdb
mount --bind /dev /mnt/usb/dev
chroot into new system:
chroot /mnt/usb
Notice: Do not abort the installation of the kernel!
apt-get install locales linux-image-2.6.18-6-686 grub
set it to ‘en_US.UTF-8′:
dpkg-reconfigure locales
grub-install didnt create it (dont know why):
update-grub
/etc/network/interfaces
/etc/hostname
/etc/hosts
/etc/fstab
Use ‘UUID=“YOUR_USB_BLKID”‘ for the device (instead /dev/sdb1), cause the uuid is a permanent identifier of your usb-device and will not change.
Example:
proc /proc proc defaults 0 0 UUID="e659faf9-c042-4c1b-b831-469c30392a3c" / ext2 defaults,errors=remount-ro 0 1
/boot/grub/menu.lst
Go to this line: ‘# kopt=root=/dev/hda1 ro’ and change it to:
# kopt=root=UUID=YOUR_UUID_FROM_BLKID ro rootdelay=10
rootdelay = 10 waits for the usb-device to come up.
Example:
# kopt=root=UUID=e659faf9-c042-4c1b-b831-469c30392a3c ro rootdelay=10
grup update:
update-grub
update-initramfs -u all
exit
umount /mnt/usb/dev umount /mnt/usb
Finish :-). Now you can boot your new debian system on your usb-device!