pense-bête

Jeudi, den 26. janvier 2012

Often it is necessary for testing purposes to recreate the networking conditions found in a high latency network, such as a satellite link. Firstly create a network bridge that can be placed inbetween the test network and its router. To increase network latency use the following command: tc qdisc add dev eth0 root netem delay [...]

Category: Debian, pense-bête | Commentaires fermés
Jeudi, den 26. janvier 2012

IP packet drop can be easily emulated on any section of network using a Linux Bridge and a single iptables command: iptables -t mangle -A FORWARD -m statistic –mode random –probability 0.01 -j DROP (where probability is expressed as a value between 0 and 1) If the intention is to emulate packet drop to the [...]

Tags: , , ,

Category: Debian, pense-bête | Commentaires fermés
Vendredi, den 13. janvier 2012

Pour la console système kernel : vga= Colors ( depth) 640×480 800×600 1024×768 1280×1024 1600×1200 —————+——-+——-+——–+———+——— 256 ( 8 bit)| 769 771 773 775 796 32,768 (15 bit)| 784 787 790 793 797 65,536 (16 bit)| 785 788 791 794 798 16.8M (24 bit)| 786 789 792 795 799 viaShrimpWorks » Change your console resolution [...]

Tags: , ,

Category: Debian, pense-bête | Commentaires fermés

Vendredi, den 2. décembre 2011

Chroot SSH et PTY allocation avec Debian Lenny Pour mettre en place des serveurs de backup, j’utilise un script chroot-ssh.sh qui permet la construction d’un chroot minimal pour faire tourner un serveur SSH et faire du rsync. Avec la mise-à-jour vers Lenny, l’allocation PTY réalisée par SSHD change : il ne semble plus possible de [...]

Tags: , ,

Category: Debian, pense-bête | Commentaires fermés
Jeudi, den 27. octobre 2011

Sous /etc/rc.local modprobe ipmi_devintf modprobe ipmi_msghandler modprobe ipmi_si sous /etc/collectd/collectd/collectd.conf LoadPlugin ipmi plugin sensor.php devient ipmi.php  

Tags: , , ,

Category: Debian, pense-bête | Commentaires fermés
Lundi, den 21. mars 2011

Creating a 4-disk RAID10 using mdadm Since I can’t seem to find instructions on how to do this (yet)… I’m going to create a 4-disk RAID10 array using Linux Software RAID and mdadm. The old way is to create individual RAID1 volumes and then stripe a RAID0 volume over the RAID1 arrays. That requires creating [...]

Tags: , , , , , , , , , , , , , , , , , , ,

Category: Debian, pense-bête | Commentaires fermés
Lundi, den 21. mars 2011

Fail all the devices, then remove them, then stop the raid. eg mdadm –manage /dev/mdfoo –fail /dev/sdfoo mdadm –manage /dev/mdfoo –remove /dev/sdfoo mdadm –manage –stop /dev/mdfoo mdadm –zero-superblock /dev/mdfoo viamdadm delete linux raid – Linux/BSD.

Tags: , , , , , , , , , , , , , , , , , , ,

Category: Debian, pense-bête | Commentaires fermés
Lundi, den 21. mars 2011

So, you created an array and you messed up something? Now you would like to delete it? Please note: all data will be lost with this operation! 1. Stop the array Code: Select all # mdadm -S /dev/md0 2. Remove the disks from the array (in my example md0 is a raid5 array with 3 [...]

Tags: , , , , , , , , , , , , , , , , , , ,

Category: Debian, pense-bête | Commentaires fermés
Lundi, den 21. mars 2011

Après installation d’une debian sur un linutop2 il s’avère que la carte flash de 1Go est un peu petite.. Un peut de ménage s’impose donc parmi les docs, man, langue et autres choses non vitale du système aptitude purge man man-db doc-debian doc-debian-fr doc-linux-fr-text doc-linux-text xorg-docs debian-faq info manpages manpages-fr manpages-fr-extra viadebian | David Mercereau.

Tags: , , , , , , ,

Category: Debian, pense-bête | Commentaires fermés
Dimanche, den 20. mars 2011

Article court mais efficace. Supposons que vous soyez en train de triturer une machine et que vous ne vouliez pas qu’on sache ce que vous faites. Vous voudriez évidemment ne pas laisser de traces. Malheureusement, tout ce que vous faites est enregistré dans le fichier de log du shell. Ce fichier étant enregistré uniquement à [...]

Tags: , , , , , , , , , , , , , , , , , , ,

Category: Debian, pense-bête | Commentaires fermés
« Vorherige Einträge