Category Archives: Network

How to clone a running Linux system over network using netcat

This is a short but potentially extremely handy guide to ghosting one Linux box to another (or simply making a full backup of a desktop/server). On the target machine: On the source machine: Note: please be VERY careful about IPs, devices and ports. after completion of dd command you have to run fsck on target … Continue reading How to clone a running Linux system over network using netcat

How to setup a NIS Slave server on Debian Squeeze

Assumptions I am assuming that we have two networks linked with a vpn connection (net1: 10.99.0.0/24 and net2: 10.34.132.0/24). Also I am assuming that on net1 is a functional NIS master server. NIS MASTER: nis1.test.org 10.99.0.10 NIS SERVER: nis2.test.org 10.34.132.195 How to setup a NIS client If you put a servername in /etc/yp.conf, make sure … Continue reading How to setup a NIS Slave server on Debian Squeeze

Automatically set the hostname during Kickstart Installation

When you want to install linux on a large number of servers kickstart approach is a very good one. But what about hostname?! You have many choices: A kickstart file for each server, but come on… what kind the choice is this?! A kickstart file for all servers and set hostname after installation (manually on … Continue reading Automatically set the hostname during Kickstart Installation

How to install dhcp, dns, pxe on debian squeeze

Introduction This document describes how to install DHCP, DNS and PXE network services on a debian squeeze. For this tutorial I use a machine that has two network interfaces: eth0: 10.34.132.149/255.255.254.0 (WAN interface) eth1: 172.20.30.1/255.255.255.0 (LAN interface) To install a PXE server, you will need the following components: DHCP Server TFTP Server NFS/FTP/HTTPD server (to … Continue reading How to install dhcp, dns, pxe on debian squeeze

How to configure bind on CentOS 6.3

DNS stands for Domain Name System and is a a hierarchical distributed naming system for computers, services, or any resource connected to the Internet or a private network. In other words DNS translate human readable hostnames such as test.org into machine readable ip addresses such as 89.36.25.239. Preliminary notes – Server Name: ns.test.org – Server … Continue reading How to configure bind on CentOS 6.3

PXE boot/Kickstart CentOS 6.3 Install

A PXE install server allows your client computers to boot and install a Linux distribution over the network, without the need of burning Linux iso images, or human interaction. For this tutorial I use a machine that has two network interfaces: eth0: 10.34.132.149/255.255.254.0 (WAN interface) eth1: 172.20.30.1/255.255.255.0 (LAN interface) To install a PXE server, you … Continue reading PXE boot/Kickstart CentOS 6.3 Install

How to install a PPTP server on debian squeeze

This document describes the required steps to make a fully functional PPTP server on debian squeeze and how to configure Arno iptables firewall to accept incoming connections to PPTP server (in case you use this great firewall script). If you don’t use Arno iptables firewall but you still want to share internet connection with PPTP … Continue reading How to install a PPTP server on debian squeeze

Common commands for Foundry switches and load balancers

General Commands show run – shows the current (running) configuration show config – shows the saved (startup) configuration show int bri – quick status of all interfaces show int eth 18 – detailed information on interface ethernet 18 show vlan – shows VLAN information and port association show log – shows the log show mac-address … Continue reading Common commands for Foundry switches and load balancers

How to authenticate on a machine with ssh (protocol 1) without password

This document describes the necessary steps to be carried out in order to authenticate with ssh protocol 1 without password. 1. Generate private/public pair of keys on client computer (let’s say desktop) 2. Copy the public key to the server 3. Try to authenticate on server Note: If authenticate on step 3 fails with the … Continue reading How to authenticate on a machine with ssh (protocol 1) without password

How to use auto config Proxy PAC file for specific domain/url

Why would you need such a thing? I would like to use the squid proxy server only for one domain and connect to everything else directly. A PAC file is nothing but proxy auto-configuration file. This is a specialized JavaScript function definition that a browser calls to determine how requests are handled. So how a PAC … Continue reading How to use auto config Proxy PAC file for specific domain/url