Wednesday, January 9, 2008

Sending Files as Email Attachments

The following article describes various methods of sending files as email attachment in Linux command line:

http://www.shelldorado.com/articles/mailattachments.html

Sunday, January 6, 2008

Asterisk: The Future of Telephony, Second Edition ebook


http://downloads.oreilly.com/books/9780596510480.pdf

Ethernet Bridge

A bridge is a way to connect two Ethernet segments together in a protocol independent way. Packets are forwarded based on Ethernet address, rather than IP address (like a router). Since forwarding is done at Layer 2, all protocols can go transparently through a bridge.

Bridging is supported in the current Linux kernels (2.4 and 2.6) from all the major distributions. The required administration utilities are in the bridge-utils package in most distributions.

Setup an Ethernet bridge in Debian

  1. Install two Ethernet LAN cards in a PC with Debian installed. The original LAN card is named "eth0" and the newly installed LAN cards are named "eth1" and "eth2".
  2. Install the bridge administration tools:
    # apt-get install bridge-utils
  3. Setup a bridge between eth1 and eth2 by the following commands:
    # ifconfig eth1 0.0.0.0
    # ifconfig eth2 0.0.0.0
    # brctl addbr br0
    # brctl addif br0 eth1
    # brctl addif br0 eth2
    # ifconfig br0 up
http://www.linux-foundation.org/en/Net:Bridge

Network Emulation

"Netem"provides network emulation functionality for testing protocols by emulating the properties of wide area networks. The current version emulates variable delay, loss, duplication and re-ordering.

Netem is already enabled in Linux kernel 2.6 and it is controlled by the command line tool "tc" which is part of the iproute or iproute2 package of tools.

http://www.linux-foundation.org/en/Net:Netem

In Debian, we need to install the iproute package in order to use "tc":
# apt-get install iproute

Another famous network emulation tool is "NIST Net":
http://www-x.antd.nist.gov/nistnet/

How To Set Up A Debian Linux Fax Server?

http://www.aboutdebian.com/fax.htm