Search Results

How to schedule and run script on specified time and date – Crontab

Linux systems are capable of running scheduled jobs. Server administrative task are done on regular basis even while sysads are away or during sleeping hours. This keeps a fully working production server do unattended jobs on periodical basis. cron is a linux utility that schedules and automates jobs. This blog entry covers how to do [...]

How to display linux memory information

Issue these commands to get more details of your hardware memory. # cat /proc/meminfo # free -l Here’s what I have: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MemTotal: 1034748 kB MemFree: 105860 kB Buffers: 162688 kB Cached: 132020 kB SwapCached: 18908 kB Active: 709068 kB Inactive: 160420 kB HighTotal: 130848 kB HighFree: 260 kB LowTotal: 903900 kB LowFree: 105600 kB [...]

How to Extremely Powerful Linux Password Sniffer

Password Sniffer on Linux? Yep, we all need to be informed of passwords being sniffed out! I would not entail those details and cover specific issues of identifying your network securities as that would be large enough to be covered here and case to case basis. However, those two words are being mentioned here and [...]

How to Monitor Your Laptop’s Remaining Battery Time and Usage

Another dockable application that keeps track of your laptop’s battery usage. Most common feature in windows world is keeping track of laptop’s battery usage. This is also supported in Fedora Linux and comes with more feature. WmACPI also supports how long your laptop is running on battery mode, including the remaining batter charges shown time [...]

How to Choose One Linux Distributions

While there are certainly many versions (“distributions”) of Linux to choose from, picking one that is right for you can be straightforward as long as you know your needs and are willing to do some research. – The balance act: Ubuntu Linux, Red Hat and Fedora Linux, Mandriva Linux, and SuSE Linux offer reliability, flexibility, [...]

How to configure policy nat on ASA 5520

To gain access from one internal segment to the Demilitarized Zone (DMZ ), configure the Adaptive Security Appliance (ASA) for natting. To preserve the packet and assure that natting is bypassed, a no nat statement with an Access Control List (ACL) must be configured. This is performed when the administrator does not want natting to [...]

How to configure inbound connections to multiple servers using only a single global address- Cisco Pix.

Configure static Port Address Translation (PAT) on the PIX. Starting with PIX Software version 6.0, the PIX can be configured to translate ports destined to a single global IP address to multiple internal servers. One place this would be useful is if you only have a single IP address available from your ISP, but your [...]

How to configure MS-Exchange connectivity through a PIX/ASA

To configure MS-Exchange connectivity through a PIX Firewall, perform the following steps: 1. Create the static translation for the MS-Exchange server inside address so it can be seen by its public routable address from the outside. Traffic received by the PIX on the outside address of the MS-Exchange server is translated by the PIX and [...]

How to configure the hairpinning feature on the PIX/ASA

With PIX/ASA version 7.0 and later, a new feature is introduced that allows the PIX to support hairpinning in a VPN environment. When the PIX/ASA is the hub in a VPN environment, this feature supports spoke-to-spoke VPN communications as it provides the ability for encrypted traffic to enter and leave the same interface. If the [...]

How to configure the PIX Firewall to pass traffic without NAT

There are the two ways to allow traffic to pass through the PIX Firewall without translating the source address: * Issue the no nat command. The nat (inside) 0 0.0.0.0 0.0.0.0 command allows traffic to pass from the inside to the outside without translating the source addresses, but this version of the nat 0 command [...]

How to configure the PIX Firewall to allow traceroutes through it

The PIX Firewall does not support the initiation of the traceroute command as it is not part of the PIX command set. However, it can be configured to allow traceroute through it. When a traceroute command is issued from the outside, the PIX does not display its own interface IP address nor does it display [...]

How to configure bonding in Fedora

First create a configuration file for your bond interface, like /etc/sysconfig/network-scripts/ifcfg-bond0. Remember that these files have a strict naming convention–they must say ifcfg- followed by the interface’s kernel name. Configure it as you would any interface: DEVICE=bond0 BOOTPROTO=none ONBOOT=yes NETWORK=192.168.1.0 NETMASK=255.255.255.0 IPADDR=192.168.1.101 USERCTL=yes Then create files for each of your slaves: # ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none [...]

Bonding Options

balance-rr or 0 This is the default, transmitting packets in order from the first available slave through the last, for load balancing and fault tolerance. active-backup or 1 Only one of the bond slaves is used, and the others sit idle until the active slave fails. balance-xor or 2 This has two possible behaviors, which [...]

How to Configure and build bonding in Linux

Most popular distro kernels ship with the bonding driver already available as a module and the ifenslave user level control program installed and ready for use. If your distro does not, or you have need to compile bonding from source (e.g., configuring and installing a mainline kernel from kernel.org), you’ll need to perform the following [...]

HOWTo replace AD+Exchange with Samba+Zimbra

This HOWTo describes how to configure Zimbra Collaboration Server (ZCS) and Samba to act as a primary domain controller (PDC) that uses LDAP (Lightweight Directory Access Protocol) as a central password database for authenticating users on Linux and Windows desktops. The motivation behind this document is the need to seamlessly integrate ZCS into corporate network [...]