Emulating a high latency network connection using Linux and TC

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 Read more about Emulating a high latency network connection using Linux and TC[…]

Emulating a network connection with packet drop

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 Read more about Emulating a network connection with packet drop[…]

ShrimpWorks » Change your console resolution and colour depth

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 Read more about ShrimpWorks » Change your console resolution and colour depth[…]

Load Testing and Benchmarking With Siege

Siege is a fantastic utility for helping with Linux server management by exposing problems before they go into production. It’s open source software (GPLv2 or later) and easy to get started with. Siege is packaged for Debian and Ubuntu, but it doesn’t look to be packaged for Fedora and openSUSE (at least in the default Read more about Load Testing and Benchmarking With Siege[…]

Build cross-compiled kernel debian package – Sysmic.org

Build cross-compiled kernel debian package Par Jérôme Pouiller le vendredi, octobre 29 2010, 09:37 – Lien permanent As you may know, you have juste to add options ARCH and if necessary CROSS_COMPILE to command line: make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- XXX_defconfig make ARCH=powerpc CROSS_COMPILE=ppc-linux-gnu- XImage My primary concern is to compile an x86 32bits kernel in 64bits Read more about Build cross-compiled kernel debian package – Sysmic.org[…]

Run PHP with a light weight webserver | box.matto.nl

Multiple light-weight httpd server In search for a lightweight solution to run some php pages on my Debian diskless shellserver it appears there are several lightweight httpd daemons in Debian that can do php. I created some virtual machines on KVM to do some testing. Here follows a short howto to get the different httpd Read more about Run PHP with a light weight webserver | box.matto.nl[…]

Debian Linux: Set a Serial Console

Debian Linux: Set a Serial Console by Vivek Gite on January 22, 2011 · 2 comments How do I set up a serial console on Debian Linux HP server for troubleshooting and login purpose? To setup a serial console you need to edit the following files under Debian Linux: /boot/grub/menu.lst or /etc/default/grub (recommended for grub2) Read more about Debian Linux: Set a Serial Console[…]