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ésIP 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: connection, iptables, mangle, packet
Category: Debian, pense-bête | Commentaires fermésPour 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 [...]
Category: Debian, pense-bête | Commentaires fermésChroot 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 [...]
Category: Debian, pense-bête | Commentaires fermésSous /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: cgp, collectd, ipmi, sensors
Category: Debian, pense-bête | Commentaires fermésCreating 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: 4-disk-soft-raid-debian6, administrateur-systme-freelance, blog-administrateur, chef-raid10, chunk, creating-a-raid-10-array-in-linux, debian-6-0-raid-10, debian-create-raid-10, debian-create-raid10, debian-mdadm-raid10, depot-debian-4, mdadm, mdadm-6-drive-raid10, mdadm-create-raid10-2-disk-in-stripe, mdadm-raid-10-fdisk, mdadm-raid10, raid10-hot-spare-mdadm, raid10-linux, squeeze-h700, ubuntu-mdadm-raid10
Category: Debian, pense-bête | Commentaires fermésFail 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: centos-mdadm-delete-array, debian-mdadm-remove-raid, debian-raid, debian-remove-raid-md, debian-removing-raid, del-a-raid-linux, linux, linux-debian-raid, linux-md-df-error, mdadm, mdadm-remove-an-array, mdadm-remove-array, mdadm-remove-device-from-raid, mdadm-remove-raid, mdadm-zero-superblock-remove, mdam-bsd, raid, remove-raid-debian, stop-delete-raid-mdadm, zero-superblock
Category: Debian, pense-bête | Commentaires fermésSo, 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: actionscrip-remove-array-from-memory, comment-configurer-raid-sur-serveur-dell-r710, create-array-will-destroy-all-data, dd-devzero-erase, debian-mdadm-check-md0, destroy, destroy-mdadm-array, kogitae, linux-mdadm-suppress-md0, mdadm, mdadm-add, mdadm-debian, mdadm-delete, mdadm-delete-array, mdadm-delete-raid5, mdadm-destroy, mdadm-destroy-an-array, mdadm-destroy-array, mdadm-detail-devmd0, www-kogitae-fr
Category: Debian, pense-bête | Commentaires fermésAprè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: david-mercereau, doc-administrateur-systemme-linux, doc-debian, doc-debian-6-0-1, doc-linux-fr-txt, f, mercereau-david, realtek-audio-4-06-debian
Category: Debian, pense-bête | Commentaires fermésArticle 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: blog-administrateur-systeme, bon-cv-administrateur-systeme-2011, centos-effacer-log-connections, cv-administrateur-systme-2011-doc, cv-blog-administrateur-systeme, debian-historique-de-connexion, debian-historique-skype, effacer-journal-des-connexions-linux-last, fichier-historique-de-connexion-sous-linux, historique-des-connexion-sous-linux, historique-session-linux, infogrance-debian, kogitae, lancement-dun-os, linux-attitude, linux-historique-connexion, linux-last-supprimer-historique-connexion, linux-ne-pas-laisser-de-traces, purge-mdadm, skype-historique-linux
Category: Debian, pense-bête | Commentaires fermés