<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4607477942582165462</id><updated>2012-01-23T07:00:09.861-08:00</updated><category term='G'/><title type='text'>Networks &amp; System Administration</title><subtitle type='html'>Networks and System Administration related stuff. Linux and Windows servers administration material and tutorials.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>58</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-8238025528130654004</id><published>2010-08-31T02:20:00.000-07:00</published><updated>2010-08-31T03:27:24.904-07:00</updated><title type='text'>Intrusion Detection and Prevention Using OSSEC</title><content type='html'>&lt;span style="font-weight: bold;"&gt;What is OSSEC?&lt;/span&gt;&lt;br /&gt;According to OSSEC "It is an Open Source Host-based Intrusion Detection System. It  performs log analysis, file integrity checking, policy monitoring,  rootkit detection, real-time alerting and active response."&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Installation on Debian Server&lt;/span&gt;&lt;br /&gt;I installed on Debian .6.24-19-server, already running web service.&lt;br /&gt;Install environment&lt;br /&gt;Make sure you have compiler e.g  gcc or cc and 'make' already installed in your system, otherwise you will get error message and abort the installation process.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;root@www:/usr/local/src/ossec-hids-2.4.1# apt-get install gcc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;Dwonload the latest build from &lt;a href="http://www.ossec.net/main/downloads/"&gt;www.ossec.net&lt;/a&gt; website&lt;br /&gt;&lt;br /&gt;Extract into folder and start installation&lt;br /&gt;&lt;/span&gt;imran@web:~/ossec-hids-2.4.1$ tar  -zxvf ossec-hids-2.4.1.tar.gz&lt;br /&gt;imran@web:~/ossec-hids-2.4.1$ cd ossec-hids-2.4.1/&lt;br /&gt;&lt;br /&gt;Run the installation script;&lt;br /&gt;&lt;br /&gt;root@web:~/ossec-hids-2.4.1# ./install.sh&lt;br /&gt;** Para instalação em português, escolha [br].&lt;br /&gt;** 要使用中文进行安装, 请选择 [cn].&lt;br /&gt;** Fur eine deutsche Installation wohlen Sie [de].&lt;br /&gt;** Για εγκατάσταση στα Ελληνικά, επιλέξτε [el].&lt;br /&gt;** For installation in English, choose [en].&lt;br /&gt;** Para instalar en Español , eliga [es].&lt;br /&gt;** Pour une installation en français, choisissez [fr]&lt;br /&gt;** Per l'installazione in Italiano, scegli [it].&lt;br /&gt;** 日本語でインストールします．選択して下さい．[jp].&lt;br /&gt;** Voor installatie in het Nederlands, kies [nl].&lt;br /&gt;** Aby instalować w języku Polskim, wybierz [pl].&lt;br /&gt;** Для инструкций по установке на русском ,введите [ru].&lt;br /&gt;** Za instalaciju na srpskom, izaberi [sr].&lt;br /&gt;** Türkçe kurulum için seçin [tr].&lt;br /&gt;(en/br/cn/de/el/es/fr/it/jp/nl/pl/ru/sr/tr) [en]: en&lt;br /&gt;&lt;br /&gt;-- Press ENTER to continue or Ctrl-C to abort. --&lt;br /&gt;1- What kind of installation do you want (server, agent, local or help)?&lt;span style="font-weight: bold;"&gt; local&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- Local installation chosen.&lt;br /&gt;&lt;br /&gt;2- Setting up the installation environment.&lt;br /&gt;&lt;br /&gt;- Choose where to install the OSSEC HIDS [/var/ossec]: &lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;/var/ossec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;  - Installation will be made at  /var/ossec .&lt;br /&gt;&lt;br /&gt;3- Configuring the OSSEC HIDS.&lt;br /&gt;&lt;br /&gt;3.1- Do you want e-mail notification? (y/n) [y]: &lt;span style="font-weight: bold;"&gt;y&lt;/span&gt;&lt;br /&gt; - What's your e-mail address? imran@pingcom.net&lt;br /&gt;&lt;br /&gt; - We found your SMTP server as: ASPMX4.GOOGLEMAIL.COM.&lt;br /&gt; - Do you want to use it? (y/n) [y]: &lt;span style="font-weight: bold;"&gt;y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; --- Using SMTP server:  ASPMX4.GOOGLEMAIL.COM.&lt;br /&gt;&lt;br /&gt;3.2- Do you want to run the integrity check daemon? (y/n) [y]: &lt;span style="font-weight: bold;"&gt;y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; - Running syscheck (integrity check daemon).&lt;br /&gt;&lt;br /&gt;3.3- Do you want to run the rootkit detection engine? (y/n) [y]: &lt;span style="font-weight: bold;"&gt;y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; - Running rootcheck (rootkit detection).&lt;br /&gt;&lt;br /&gt;3.4- Active response allows you to execute a specific&lt;br /&gt;     command based on the events received. For example,&lt;br /&gt;     you can block an IP address or disable access for&lt;br /&gt;     a specific user.&lt;br /&gt;     More information at:&lt;br /&gt;     http://www.ossec.net/en/manual.html#active-response&lt;br /&gt;  &lt;br /&gt; - Do you want to enable active response? (y/n) [y]: &lt;span style="font-weight: bold;"&gt;y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   - Active response enabled.&lt;br /&gt;&lt;br /&gt; - By default, we can enable the host-deny and the&lt;br /&gt;   firewall-drop responses. The first one will add&lt;br /&gt;   a host to the /etc/hosts.deny and the second one&lt;br /&gt;   will block the host on iptables (if linux) or on&lt;br /&gt;   ipfilter (if Solaris, FreeBSD or NetBSD).&lt;br /&gt; - They can be used to stop SSHD brute force scans,&lt;br /&gt;   portscans and some other forms of attacks. You can&lt;br /&gt;   also add them to block on snort events, for example.&lt;br /&gt;&lt;br /&gt; - Do you want to enable the firewall-drop response? (y/n) [y]: &lt;span style="font-weight: bold;"&gt;y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   - firewall-drop enabled (local) for levels &gt;= 6&lt;br /&gt;&lt;br /&gt; - Default white list for the active response:&lt;br /&gt;    - xx.xx.xx.xx&lt;br /&gt;    - xx.xx.xx.xx&lt;br /&gt;&lt;br /&gt; - Do you want to add more IPs to the white list? (y/n)? [n]: &lt;span style="font-weight: bold;"&gt;y&lt;/span&gt;&lt;br /&gt; - IPs (space separated): xx.xx.xx.xx&lt;br /&gt;&lt;br /&gt;3.6- Setting the configuration to analyze the following logs:&lt;br /&gt;  -- /var/log/messages&lt;br /&gt;  -- /var/log/auth.log&lt;br /&gt;  -- /var/log/syslog&lt;br /&gt;  -- /var/log/mail.info&lt;br /&gt;  -- /var/log/dpkg.log&lt;br /&gt;  -- /var/log/apache2/error.log (apache log)&lt;br /&gt;  -- /var/log/apache2/access.log (apache log)&lt;br /&gt;&lt;br /&gt;- If you want to monitor any other file, just change&lt;br /&gt; the ossec.conf and add a new localfile entry.&lt;br /&gt; Any questions about the configuration can be answered&lt;br /&gt; by visiting us online at http://www.ossec.net .&lt;br /&gt;&lt;br /&gt;    --- Press ENTER to continue ---&lt;br /&gt;                       &lt;br /&gt;Error&lt;br /&gt;Error Making os_xml&lt;br /&gt;make: *** [all] Error 1&lt;br /&gt;&lt;br /&gt;Error 0x5.&lt;br /&gt;Building error. Unable to finish the installation.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution for above Error&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;root@web:# apt-get install libc6-dev &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;- System is Debian (Ubuntu or derivative).&lt;br /&gt;- Init script modified to start OSSEC HIDS during boot.&lt;br /&gt;&lt;br /&gt;- Configuration finished properly.&lt;br /&gt;&lt;br /&gt;  ---  Press ENTER to finish (maybe more information below). ---&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Configuration File is stored at &lt;/span&gt;&lt;br /&gt;root@web:# nano /var/ossec/etc/ossec.conf&lt;br /&gt;It contains the configrations&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to Start &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      root@web:#/var/ossec/bin/ossec-control start&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to  Stop&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      root@web:#/var/ossec/bin/ossec-control stop&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;References:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.ossec.net/main/manual/manual-installation"&gt;http://www.ossec.net/main/manual/manual-installation&lt;/a&gt;&lt;br /&gt;&lt;a href="http://newyork.ubuntuforums.org/showthread.php?t=905034"&gt;http://newyork.ubuntuforums.org/showthread.php?t=905034&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-8238025528130654004?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/8238025528130654004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=8238025528130654004' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8238025528130654004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8238025528130654004'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2010/08/what-is-ossec-according-to-ossec-it-is.html' title='Intrusion Detection and Prevention Using OSSEC'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-7240581531754558229</id><published>2010-08-25T07:50:00.000-07:00</published><updated>2010-08-25T10:01:56.696-07:00</updated><title type='text'>Intrusion Detection Service in IPCOP</title><content type='html'>Intrusion Detection was stopped in my IPCoP, version 1.4.1, a while a go, I tried to start them all three through GUI but Got message fail to start.&lt;br /&gt;I loged in in console of Ipcop.&lt;br /&gt;I checked the existing version of snort, which was older than latest.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;r&lt;span style="font-size:85%;"&gt;oot@firewall:/etc/snort/rules # snort --version&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;snort: unrecognized option `--version'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;   ,,_     -*&gt; Snort! &lt;*-&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  o"  )~   Version 2.6.1.5 (Build 59)  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;   ''''    By Martin Roesch &amp;amp; The Snort Team: http://www.snort.org/team.html&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;           (C) Copyright 1998-2007 Sourcefire Inc., et al.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;And when tried to start the snort using this command&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;root@firewall:~ # snort -c /etc/snort/snort.conf -l /var/log/snort/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I got error that there is error in line # 38 in exploit.rules file located in /etc/snort/rules/ folder.&lt;br /&gt;When I tried to comment the line it gives error on line#39.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution&lt;/span&gt;&lt;br /&gt;Replace the existing rules folder with working one.&lt;br /&gt;For that I installed the latest snort in my laptop, and check the version.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;imran@imran-laptop~ $ sudo apt-get install snort-mysql&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;imran@imran-laptop~ $ snort --version&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;   ,,_     -*&gt; Snort! &lt;*-&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  o"  )~   Version 2.8.5.2 (Build 121)  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;   ''''    By Martin Roesch &amp;amp; The Snort Team: http://www.snort.org/snort/snort-team&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;           Copyright (C) 1998-2009 Sourcefire, Inc., et al.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;           Using PCRE version: 7.8 2008-09-05&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; and copied the rules folder in to IPcop&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;imran@imran-laptop~ $ scp '-P 22' exploit.rules root@10.10.0.1:/root&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then I make .tar of existing rules folder in IPCoP&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;root@firewall:/etc/snort/rules # tar -cvf rules.tar  .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; and replaced the one copied from my laptop and changed the permission to user nobody:nobody&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;root@firewall:/etc/snort/rules # chown -R nobody:nobody rules&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now IP cop has new rules list, although these rules were from new version of Snort 2.8.6&lt;br /&gt;When I restarted snort again from console with above command, this time no error and it started straight away.&lt;br /&gt;Then I can start and stop from GUI successfully.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-7240581531754558229?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/7240581531754558229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=7240581531754558229' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7240581531754558229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7240581531754558229'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2010/08/intrusion-detection-service-in-ipcop.html' title='Intrusion Detection Service in IPCOP'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-5971296813468505877</id><published>2010-05-19T03:51:00.000-07:00</published><updated>2010-05-19T05:22:21.070-07:00</updated><title type='text'>MyCRM Connector Tool for Google Calendar Error</title><content type='html'>After installation of &lt;span style="font-weight: bold;"&gt;"&lt;/span&gt;MyCRM Connector Tool", followed the procedure described in manual.&lt;br /&gt;The test machine shows successful result when configured Google calander under My Account.&lt;br /&gt;But production CRM gives following error.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;"Fatal error&lt;/b&gt;:  Call to undefined function curl_init() in &lt;b&gt;/home/path/googlecal/MyCurl.php&lt;/b&gt;  on line &lt;b&gt;32"&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The solution is install php5-curl libraries.&lt;br /&gt;root@server:~# sudo apt-get install curl libcurl3&lt;br /&gt;root@server:~# sudo apt-get install php5-curl&lt;br /&gt;root@server:~# apt-get install php5&lt;br /&gt;&lt;br /&gt;I also restarted the mysql server and apache2 just for precaution, not necessary.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Recheck settings after entering my Google email address it  worked.&lt;br /&gt;Got this message.&lt;br /&gt;&lt;br /&gt;****** Get events from meetings&lt;br /&gt;Synced successfully.&lt;br /&gt;****** Get  events from calls&lt;br /&gt;Synced successfully.&lt;br /&gt;****** Get events from  tasks&lt;br /&gt;Synced successfully.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-5971296813468505877?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/5971296813468505877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=5971296813468505877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5971296813468505877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5971296813468505877'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2010/05/mycrm-connector-tool-for-google.html' title='MyCRM Connector Tool for Google Calendar Error'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-7161071269710897204</id><published>2010-02-12T11:52:00.000-08:00</published><updated>2010-03-12T12:46:47.232-08:00</updated><title type='text'>Daily Backup Using RSYNC</title><content type='html'>Using these steps your system backup automatically using rsync&lt;span style="font-weight: bold;"&gt;.&lt;br /&gt;&lt;br /&gt;Step 1: Generate a Public Key using ssh-keygen at Host machine.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;root@home:~# ssh-keygen -t rsa&lt;br /&gt;Generating public/private rsa key pair.&lt;br /&gt;Enter file in which to save the key (/root/.ssh/id_rsa):&lt;br /&gt;Enter passphrase (empty for no passphrase):&lt;br /&gt;Enter same passphrase again:&lt;br /&gt;Your identification has been saved in /root/.ssh/id_rsa.&lt;br /&gt;Your public key has been saved in /root/.ssh/id_rsa.pub.&lt;br /&gt;The key fingerprint is:&lt;br /&gt;19:44:5f:1c:92:27:26:25:9b:13:df:dc:89:71:f0:c1 root@home&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2: Insert the key to authorized_key&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;at host machine&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;root@home:~# cd /root/.ssh/&lt;br /&gt;root@home:/root/.ssh# ls&lt;br /&gt;id_rsa  id_rsa.pub  known_hosts&lt;br /&gt;root@home:/root/.ssh# cp id_rsa.pub authorized_keys&lt;br /&gt;root@home:/root/.ssh# ls&lt;br /&gt;authorized_keys  id_rsa  id_rsa.pub  known_hosts&lt;br /&gt;root@home:/root/.ssh#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 3: Copy the ~/.ssh/authorized_keys file to the remote(back) machine&lt;/span&gt;&lt;br /&gt;As the backup machine storing backup of several machines, authorized_keys file already exits, just copy the line whole string from  ~/.ssh/authorized_keys from host machine  and append to the file at backup machine.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 4: Change permission of &lt;span style="font-weight: bold;"&gt;~/.ssh/authorized_keys file, if needed.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;#chmod 644 /.ssh/authorized_keys &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 5: Create a script e.g backup and place in /etc/cron.daily/&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;and change permission to execute.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This will backup the whole machine, you can add specific files instead of /&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;#!/bin/sh&lt;br /&gt;#&lt;br /&gt;# backup&lt;br /&gt;#&lt;br /&gt;DEST=root@backup.yourdomain.com&lt;br /&gt;RSYNC="rsync -aqP --delete -e ssh"&lt;br /&gt;&lt;br /&gt;dpkg -l | cut -d' ' -f3 &gt; /etc/deblist&lt;br /&gt;&lt;br /&gt;$RSYNC /       $DEST:/var/backups/.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;(Optional)Step6: Change the time of /cron.daily from /etc/crontab file&lt;/span&gt;&lt;br /&gt;So that your machines start syncing different time.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;/etc/crontab&lt;br /&gt;# m h dom mon dow user  command&lt;br /&gt;17 *    * * *   root    cd / &amp;amp;&amp;amp; run-parts --report /etc/cron.hourly&lt;br /&gt;30 4    * * *   root    test -x /usr/sbin/anacron || ( cd / &amp;amp;&amp;amp; run-parts --report /etc/cron.daily )&lt;br /&gt;47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / &amp;amp;&amp;amp; run-parts --report /etc/cron.weekly )&lt;br /&gt;52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / &amp;amp;&amp;amp; run-parts --report /etc/cron.monthly )&lt;/span&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Readings&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.scrounge.org/linux/rsync.html"&gt;http://www.scrounge.org/linux/rsync.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-7161071269710897204?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/7161071269710897204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=7161071269710897204' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7161071269710897204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7161071269710897204'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2010/03/backup-using-rsync.html' title='Daily Backup Using RSYNC'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-8275819175231172446</id><published>2010-01-11T04:25:00.000-08:00</published><updated>2010-01-14T14:45:01.438-08:00</updated><title type='text'>Cloning SugarCRM</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Step 1: Clone the sugarcrm Directory&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;There is a script &lt;a href="http://www.sugarcrm.com/wiki/index.php?title=Clone_Sugar_Installation"&gt;"CopySugarFile.sh"&lt;/a&gt;, see script also in bottom.&lt;br /&gt;Running the Script, remember you have to provide the paths both source directory and clone directory.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;root@imran:~# ./sugarclone&lt;br /&gt;Missing First Argument:&lt;br /&gt;Syntax: copySugarFiles.sh /var/www/html/FROM_SUGAR_DIR /var/www/html/TO_SUGAR_DIR&lt;br /&gt;exited with status -1&lt;br /&gt;&lt;br /&gt;root@imran:~# ./sugarclone /var/www/sugar /var/www/clone&lt;br /&gt;Compressing /var/www/sugar Sugar and saving to /home/imran/sugarFilesFromBackup201001111322.tgz&lt;br /&gt;Compressing /var/www/clone Sugar and saving to /home/imran/sugarFilesToBackup201001111322.tgz&lt;br /&gt;tar: Cowardly refusing to create an empty archive&lt;br /&gt;Try `tar --help' or `tar --usage' for more information.&lt;br /&gt;Extracting the /var/www/sugar Sugar tgz to /var/www/clone Sugar directory&lt;br /&gt;Script complete.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step2: Clone the Database&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;First &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Create a new database for Cloning &lt;/span&gt;&lt;span style="font-size:100%;"&gt;e.g clone&lt;/span&gt;&lt;br /&gt;Export the sugarcrm database using PHPMyAdmin tool e.g sugarcrm.sql&lt;br /&gt;Import the sugarcrm.sql data into clone database.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;root@imran:/srv/mysql# mysql -u root -p&lt;br /&gt;Enter password:&lt;br /&gt;Welcome to the MySQL monitor.  Commands end with ; or \g.&lt;br /&gt;Your MySQL connection id is 15595&lt;br /&gt;Server version: 5.1.37-1ubuntu5 (Ubuntu)&lt;br /&gt;Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.&lt;br /&gt;mysql&gt; create database clone&lt;br /&gt; -&gt; ;&lt;br /&gt;Query OK, 1 row affected (0.18 sec)&lt;br /&gt;mysql&gt; GRANT ALL ON clone.* TO clone@localhost IDENTIFIED BY "clone";&lt;br /&gt;Query OK, 0 rows affected (1.24 sec)&lt;br /&gt;mysql&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Script&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size:78%;"&gt;#!/bin/bash&lt;br /&gt;# copySugarFiles.sh&lt;br /&gt;&lt;br /&gt;exitcode=0&lt;br /&gt;# insert the path to your production directory here to ensure nobody copies to it by mistake&lt;br /&gt;blockdirprefix="/path/to/production/directory"&lt;br /&gt;&lt;br /&gt;if [ -z "$1" ]&lt;br /&gt;then&lt;br /&gt;     echo -e "\nMissing First Argument:"&lt;br /&gt;exitcode=-1;&lt;br /&gt;elif [ "$1" = "--help" ] || [ "$1" = "-h" ]&lt;br /&gt;then&lt;br /&gt;exitcode=1;&lt;br /&gt;elif [ -z "$2" ]&lt;br /&gt;then&lt;br /&gt;     echo -e "\nMissing Second Argument:"&lt;br /&gt;exitcode=-2;&lt;br /&gt;elif [ "$#" != "2" ] &amp;amp;&amp;amp; [ "$#" != "3" ]&lt;br /&gt;then&lt;br /&gt;echo -e "\nInvalid number of arguments:"&lt;br /&gt;exitcode=-3;&lt;br /&gt;elif [ ! -d "$1" ]&lt;br /&gt;then&lt;br /&gt;echo -e "\nThe directory $1 doesn't exist."&lt;br /&gt;exitcode=-7;&lt;br /&gt;elif [ ! -d "$2" ]&lt;br /&gt;then&lt;br /&gt;echo -e "\nThe directory $2 doesn't exist:"&lt;br /&gt;exitcode=-8;&lt;br /&gt;elif [ "$1" = "$2" ]&lt;br /&gt;then&lt;br /&gt;echo -e "\nThe 'from' directory must be different than the 'to' directory:"&lt;br /&gt;exitcode=-4;&lt;br /&gt;# this checks that the blockdirprefix above is not being copied to&lt;br /&gt;elif [ "${2:0:${#blockdirprefix}}" = "${blockdirprefix:0:${#blockdirprefix}}" ] &amp;amp;&amp;amp; [ "$3" != "iamsure" ]&lt;br /&gt;then&lt;br /&gt;echo -e "\nCan't copy to production ($blockdirprefix) without third parameter of \"iamsure\""&lt;br /&gt;exitcode=-10;&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;if [ "$exitcode" -lt "0" ]&lt;br /&gt;then&lt;br /&gt;echo -e "Syntax: copySugarFiles.sh /var/www/html/FROM_SUGAR_DIR /var/www/html/TO_SUGAR_DIR\nexited with status $exitcode\n"&lt;br /&gt;exit $exitcode;&lt;br /&gt;elif [ "$exitcode" -gt "0" ]&lt;br /&gt;then&lt;br /&gt;echo -e "The first parameter should be the sugar directory you are copying from."&lt;br /&gt;echo -e "The second parameter should be the sugar directory you are copying to."&lt;br /&gt;echo -e "\nThis script will skip the following directories and files:"&lt;br /&gt;echo -e "./cache\n./custom\n./config.php\n./config_override.php\n./*.log*"&lt;br /&gt;exit $exitcode;&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;date=$(date +%Y%m%d%H%M);&lt;br /&gt;&lt;br /&gt;# Backing up the from sugar directory and saving to the user's home directory&lt;br /&gt;echo -e "\nCompressing $1 Sugar and saving to $HOME/sugarFilesFromBackup$date.tgz\n"&lt;br /&gt;cd "$1"&lt;br /&gt;filelist=$(find . -maxdepth 1 ! -name "." ! -name "cache" ! -name "custom" ! -name "config.php" ! -name "config_override.php" ! -name "*.log*" -exec echo "{}" \;)&lt;br /&gt;tarcommand="tar cfz $HOME/sugarFilesFromBackup$date.tgz $filelist"&lt;br /&gt;$tarcommand;&lt;br /&gt;&lt;br /&gt;# Backing up the from sugar directory and saving to the user's home directory&lt;br /&gt;echo -e "\nCompressing $2 Sugar and saving to $HOME/sugarFilesToBackup$date.tgz\n"&lt;br /&gt;cd "$2"&lt;br /&gt;filelist=$(find . -maxdepth 1 ! -name "." ! -name "cache" ! -name "custom" ! -name "config.php" ! -name "config_override.php" ! -name "*.log*" -exec echo "{}" \;)&lt;br /&gt;tarcommand="tar cfz $HOME/sugarFilesToBackup$date.tgz $filelist"&lt;br /&gt;$tarcommand;&lt;br /&gt;&lt;br /&gt;cd "$HOME"&lt;br /&gt;# Extracting the from sugar directory to the to sugar directory&lt;br /&gt;echo -e "\nExtracting the $1 Sugar tgz to $2 Sugar directory\n"&lt;br /&gt;cp $HOME/sugarFilesFromBackup$date.tgz "$2"&lt;br /&gt;cd "$2"&lt;br /&gt;tarcommand="tar xf ./sugarFilesFromBackup$date.tgz"&lt;br /&gt;$tarcommand;&lt;br /&gt;rm "./sugarFilesFromBackup$date.tgz"&lt;br /&gt;&lt;br /&gt;echo -e "\nScript complete."&lt;/span&gt;&lt;br /&gt;exit 0&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;Readings&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.sugarcrm.com/wiki/index.php?title=Clone_Sugar_Installation"&gt;Cloning SugarCRM document&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.softhorizon.com/how-to-move-a-database-from-one-host-to-another-using-phpmyadmin/"&gt;Exporting data using PHPMyAdmin&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-8275819175231172446?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/8275819175231172446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=8275819175231172446' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8275819175231172446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8275819175231172446'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2010/01/cloning-sugarcrm.html' title='Cloning SugarCRM'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-1448035709017406345</id><published>2010-01-08T06:14:00.000-08:00</published><updated>2010-01-14T14:46:40.627-08:00</updated><title type='text'>SugarCRM Changing Max file Upload Limit</title><content type='html'>In sugar while uploading a file as attachment to e.g Marketing-&gt;Accounts-&gt;youraccount-&gt;Create Note or Attachment.&lt;br /&gt;I tried to upload a file size 20M, it did not attached and no error message as well. Here is to fix this.After doing the following changes, performance of site also improves.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 1: Change in SugarCRM&lt;/span&gt;&lt;br /&gt;Go to Admin-&gt;System Settings-&gt;Advanced&lt;br /&gt;change Maximum upload size e.g 41943040 (40M) default was 3000000 (3M)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2: Change in php.ini file&lt;/span&gt;&lt;br /&gt;Login to your server hosting the site,&lt;br /&gt;Go to /etc/php5/apache2/php.ini and change the following, Max, limit 40M&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;       post_max_size = 40M&lt;br /&gt;   upload_max_size = 40M&lt;br /&gt;&lt;br /&gt;   max_execution_time = 1000&lt;br /&gt;   max_input_time = 60&lt;br /&gt;   memory_limit = 128M&lt;/pre&gt;&lt;br /&gt;imran@venus:/var/www/sugar$ sudo nano /etc/php5/apache2/php.ini&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;; Resource Limits ;&lt;br /&gt;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;&lt;br /&gt;max_execution_time = 100     ; Maximum execution time of each script, in seconds, 30s default&lt;br /&gt;max_input_time = 60 ; Maximum amount of time each script may spend parsing request data&lt;br /&gt;;max_input_nesting_level = 64 ; Maximum input variable nesting level&lt;br /&gt;memory_limit = 128M      ; Maximum amount of memory a script may consume (16MB), change to 50M, 50M defau$&lt;br /&gt;&lt;br /&gt;;;;;;;;;;;;;;;;;;&lt;br /&gt;; Data Handling ;&lt;br /&gt;;;;;;;;;;;;;;;;;;&lt;br /&gt;;&lt;br /&gt;&lt;br /&gt;; Maximum size of POST data that PHP will accept, 8M default&lt;br /&gt;post_max_size = 40M&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;;;;;;;;;;;;;;;;;&lt;br /&gt;; File Uploads ;&lt;br /&gt;;;;;;;;;;;;;;;;;&lt;br /&gt;&lt;br /&gt;; Maximum allowed size for uploaded files. change sizd 2M to 10M, 10M default&lt;br /&gt;upload_max_filesize = 40M&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Save the file and exit.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 3: Restart the apache2 web server&lt;/span&gt;&lt;br /&gt;imran@venus:/var/www/sugar$ sudo nano /etc/php5/apache2/php.ini&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 4: Test the upload Limit&lt;/span&gt;&lt;br /&gt;Go to Marketing-&gt;Accounts-&gt;youraccount-&gt;Create Note or Attachment.&lt;br /&gt;and attach a file e.g 20 M, it should be attached now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-1448035709017406345?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/1448035709017406345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=1448035709017406345' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/1448035709017406345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/1448035709017406345'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2010/01/sugarcrm-chaning-max-file-upload-size.html' title='SugarCRM Changing Max file Upload Limit'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-5084383237688920309</id><published>2009-11-20T04:22:00.000-08:00</published><updated>2009-11-20T04:45:50.519-08:00</updated><title type='text'>NFS on Debian/Ubuntu</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Installation of NFS on server&lt;br /&gt;&lt;/span&gt;&lt;p&gt;Considering how powerful NFS is and the flexibility it gives you it is amazingly simple to set up. I expected it to be on a par with setting up Samba which can be a complete nightmare. Typically when setting up Samba one would use Swat or another configuration tool. With NFS set us is as easy as entering the paths you want exported into /etc/exports and making sure the correct packages are installed.&lt;/p&gt;  &lt;p&gt;There are two implementations of NFS one runs in kernel space (nfs-kernel-server) the other in user space (nfs-user-server). The kernel space implementation is faster and more stable but if something goes wrong it &lt;i&gt;could&lt;/i&gt; bring your box down. In reality the kernel space NFS implementation very rarely fails. I have been running it for years (and on at least one occasion for 150 days straight) and have had it fail only a couple of times. The times it did fail it simply needed restarting. In fact the only way I have even managed to get it to make a noise is when I had a box with a network card that was on the way out. The port on the card was bad which caused it to repeatedly drop and re-aquire the network sometimes several times a minute. After a few hours of that NFS would sometimes start to refuse new connections.&lt;/p&gt;  &lt;p&gt;As well as the server you will need portmap. Fortunately if you chose NFS when you first installed the server you will have all the required packages already installed, configured and running.&lt;/p&gt;  &lt;p&gt;One important point to remember when setting up NFS is to make sure that the user id (uid) of the user on the server matches the uid of the user on the local machine. NFS has no way of mapping "fred" on the local machine to "fred" on the server other than by relying on the uids being the same. Typically when you create a user the uid given is just the next one available but you can specify it explicitly.&lt;/p&gt;  &lt;p&gt;Once you have made the required entries in /etc/exports you need to tell the NFS server about them. Typically I restart all three required utilities (portmap, nfs-kernel-server and nfs-common) as it is generally the best way to make sure everything is working correctly. See the section below on restarting NFS.&lt;/p&gt;&lt;span style="font-weight: bold;"&gt;Step 0: Installation of NFS-server and NFS-client&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Server:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:Verdana;font-size:78%;"  &gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span lang="en-us"&gt;&lt;i&gt;# apt-get install nfs-kernel-server nfs-common      portmap&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Client&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:78%;"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;span lang="en-us"&gt;&lt;i&gt;&lt;span style="color:#cc0066;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; apt-get install nfs-common portmap&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Step 1: Export directories  on server&lt;/span&gt;&lt;br /&gt;At server machine, export the directory in /etc/export file&lt;br /&gt;&lt;span style="font-size:85%;"&gt;# /etc/exports: the access control list for filesystems which may be exported&lt;br /&gt;#               to NFS clients.  See exports(5).&lt;br /&gt;/home   192.168.0.0/26(rw,sync)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2: Restarting NFS on server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-style: italic;"&gt;nfs-server:/samba#/etc/init.d/portmap start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;nfs-server:/samba#/etc/init.d/nfs-kernel-server start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;nfs-server:/samba#/etc/init.d/nfs-common start&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Verify NFS is runnning&lt;/span&gt;&lt;br /&gt;nfs-server:/samba# rpcinfo -p&lt;br /&gt;  program vers proto   port&lt;br /&gt;   100000    2   tcp    111  portmapper&lt;br /&gt;   100000    2   udp    111  portmapper&lt;br /&gt;   100004    2   udp    878  ypserv&lt;br /&gt;   100004    1   udp    878  ypserv&lt;br /&gt;   100004    2   tcp    881  ypserv&lt;br /&gt;   100004    1   tcp    881  ypserv&lt;br /&gt;   100009    1   udp    880  yppasswdd&lt;br /&gt;600100069    1   udp    883  fypxfrd&lt;br /&gt;600100069    1   tcp    885  fypxfrd&lt;br /&gt;   100007    2   udp    892  ypbind&lt;br /&gt;   100007    1   udp    892  ypbind&lt;br /&gt;   100007    2   tcp    895  ypbind&lt;br /&gt;   100007    1   tcp    895  ypbind&lt;br /&gt;   100003    2   udp   2049  nfs&lt;br /&gt;   100003    3   udp   2049  nfs&lt;br /&gt;   100021    1   udp  32868  nlockmgr&lt;br /&gt;   100021    3   udp  32868  nlockmgr&lt;br /&gt;   100021    4   udp  32868  nlockmgr&lt;br /&gt;   100005    1   udp    709  mountd&lt;br /&gt;   100005    1   tcp    712  mountd&lt;br /&gt;   100005    2   udp    709  mountd&lt;br /&gt;   100005    2   tcp    712  mountd&lt;br /&gt;   100005    3   udp    709  mountd&lt;br /&gt;   100005    3   tcp    712  mountd&lt;br /&gt;   100024    1   udp  32869  status&lt;br /&gt;   100024    1   tcp  58711  status&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;Step3: Mounting NFS drives on Client&lt;/span&gt;&lt;br /&gt;Add location with drive and options.&lt;br /&gt;&lt;pre&gt;&lt;server&gt;:&lt;drive&gt; &lt;mount-point&gt; nfs &lt;options&gt; 0 0&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;# Mounts from other hosts&lt;br /&gt;&lt;br /&gt;nfs-server:/home           /home           nfs     rw,rsize=32768,wsize=32768,hard,intr,async      0       2&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Mount also on command line&lt;br /&gt;client:/# mount -t nfs nfs-server:/home /home&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Verification of mounting the drive.&lt;/span&gt;&lt;br /&gt;On Client verify the mount point&lt;br /&gt;&lt;br /&gt;client:/# df -h&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/sda1             2.8G  2.1G  578M  79% /&lt;br /&gt;tmpfs                 126M     0  126M   0% /lib/init/rw&lt;br /&gt;udev                   10M   52K   10M   1% /dev&lt;br /&gt;tmpfs                 126M     0  126M   0% /dev/shm&lt;br /&gt;nfs-server:/home         123G  105G   12G  90% /home&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;Reference&lt;br /&gt;&lt;a href="http://www.crazysquirrel.com/computing/debian/servers/nfs.jspx"&gt;http://www.crazysquirrel.com/computing/debian/servers/nfs.jspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.debianhelp.co.uk/nfs.htm"&gt;http://www.debianhelp.co.uk/nfs.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-5084383237688920309?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/5084383237688920309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=5084383237688920309' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5084383237688920309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5084383237688920309'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/11/nfs-on-debianubuntu.html' title='NFS on Debian/Ubuntu'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-257032258765388979</id><published>2009-11-09T04:00:00.000-08:00</published><updated>2009-11-09T05:42:12.679-08:00</updated><title type='text'>Upgrading Subversion in Ubuntu 9.10 server</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Step 1:Install the subversion&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;apt-get install subversion libapache2-svn&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2: Create the repository&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;svnadmin create /svn&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Configuration&lt;/span&gt;&lt;br /&gt;Edit the directory&lt;br /&gt;/etc/apache2/mods-enabled/dav_svn.conf&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;location&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;# Uncomment this to enable the repository,&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;DAV svn &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;# Set this to the path to your repository&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;SVNPath /svn &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;# Uncomment the following 3 lines to enable Basic Authentication&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;AuthType Basic&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;AuthName “Subversion Repository”&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;AuthUserFile /etc/apache2/dav_svn.passwd &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Require valid-user&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Save and exit the file&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Creation of user&lt;/span&gt;&lt;br /&gt;htpasswd -cm /etc/apache2/dav_svn.passwd imran&lt;br /&gt;New password:&lt;br /&gt;Re-type new password:&lt;br /&gt;Adding password for user imran&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Enable ssl (if required)&lt;/span&gt;&lt;br /&gt;#a2enmod ssl&lt;br /&gt;&lt;br /&gt;This will enable the ssl if you have problem to set it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Migration&lt;/span&gt;&lt;br /&gt;Export by :Dumping the existing repository&lt;br /&gt;root@jupiter:/svn# svnadmin dump svn &gt; reposdump.dmp&lt;br /&gt;Import by:&lt;br /&gt;root@saturn:/srv# svnadmin load srv-jupiter &lt; /home/imran/reposdump.dmp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-257032258765388979?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/257032258765388979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=257032258765388979' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/257032258765388979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/257032258765388979'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/11/upgrading-subversion-in-ubuntu-910.html' title='Upgrading Subversion in Ubuntu 9.10 server'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-6674526711127572573</id><published>2009-11-03T02:22:00.000-08:00</published><updated>2009-11-03T03:20:09.011-08:00</updated><title type='text'>Intrusion Detection (Snort) fixation in IPCOP Firewall 1.4.21</title><content type='html'>After installing the IPcop got the following error messages&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;When running update the Error is: &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;HTTP::Response=HASH(0x82a3c14)-&gt;code registered md5&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;When running download the Error is: &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;HTTP::Response=HASH(0x82a3c68)-&gt;code&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The reason is that now snort.org publish rules now on &lt;b&gt;current&lt;/b&gt; branch that are no more compatible with snort-2.6.1.5&lt;br /&gt;We have manually add the current branch, to - date it is 2. You can find on snort if you have your account on &lt;a href="https://www.snort.org/account/oinkcode"&gt;snort.org&lt;/a&gt; under My Account--&gt;My Oinkcodes&lt;span style="font-weight: bold;"&gt; &lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;along with the code (You must have account at snort to access code and use snort in IPCOP).&lt;br /&gt;&lt;br /&gt;Here is a solution, it is a manual fixation in the code.&lt;br /&gt;&lt;br /&gt;Open the /usr/local/bin/snortrules.pl in and editor.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;root@firewall:/etc/snort # nano /usr/local/bin/snortrules.pl&lt;/span&gt;&lt;br /&gt;Change the value to 2.8 at line no 55.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;my $rulesbranch=&lt;span style="color: rgb(0, 0, 153);"&gt;"2.8"&lt;/span&gt;; # version should match snort branch version&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Save the change.&lt;br /&gt;Remember you must have to add the oink code in IPCOP--&gt; Services--&gt;INTRUSION DETECTION.&lt;br /&gt;Save-Apply-Refresh update list-Download Rullset.&lt;br /&gt;&lt;br /&gt;It should work, no update rull-set failure or MD5 checksum error.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.snort.org/"&gt;https://www.snort.org/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.howtoforge.com/perfect_linux_firewall_ipcop"&gt;http://www.howtoforge.com/perfect_linux_firewall_ipcop&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-6674526711127572573?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/6674526711127572573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=6674526711127572573' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6674526711127572573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6674526711127572573'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/11/intrusion-detection-snort-fixation-in.html' title='Intrusion Detection (Snort) fixation in IPCOP Firewall 1.4.21'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-1481952898627042931</id><published>2009-09-25T01:46:00.000-07:00</published><updated>2009-09-25T02:28:28.258-07:00</updated><title type='text'>Wireless Chanel list in Ubuntu</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Step 1: Install/Enable your Wireless Card&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2: Scan the media using 'iwlist scan'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;root@imran-laptop:~/Desktop# iwlist scan&lt;br /&gt;lo        Interface doesn't support scanning.&lt;br /&gt;eth0      Interface doesn't support scanning.&lt;br /&gt;wlan0     Scan completed :&lt;br /&gt;       Cell 01 - Address: 00:1B:11:5A:BC:48&lt;br /&gt;                 Channel:1&lt;br /&gt;                 Frequency:2.412 GHz (Channel 1)&lt;br /&gt;                 Quality=43/70  Signal level=-67 dBm&lt;br /&gt;                 Encryption key:on&lt;br /&gt;                 ESSID:"pingcom"&lt;br /&gt;                 Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s&lt;br /&gt;                 Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s&lt;br /&gt;                           36 Mb/s; 48 Mb/s; 54 Mb/s&lt;br /&gt;                 Mode:Master&lt;br /&gt;                 Extra:tsf=000008f601582180&lt;br /&gt;                 Extra: Last beacon: 2732ms ago&lt;br /&gt;                 IE: Unknown: 000770696E67636F6D&lt;br /&gt;                 IE: Unknown: 010482848B96&lt;br /&gt;                 IE: Unknown: 030101&lt;br /&gt;                 IE: Unknown: 2A0100&lt;br /&gt;                 IE: Unknown: 32088C129824B048606C&lt;br /&gt;                 IE: IEEE 802.11i/WPA2 Version 1&lt;br /&gt;                     Group Cipher : TKIP&lt;br /&gt;                     Pairwise Ciphers (2) : TKIP CCMP&lt;br /&gt;                     Authentication Suites (1) : PSK&lt;br /&gt;                 IE: WPA Version 1&lt;br /&gt;                     Group Cipher : TKIP&lt;br /&gt;                     Pairwise Ciphers (2) : TKIP CCMP&lt;br /&gt;                     Authentication Suites (1) : PSK&lt;br /&gt;                 IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00&lt;br /&gt;                 IE: Unknown: DD1E00904C334E101FFFFF000000000000000000000000000000000000000000&lt;br /&gt;                 IE: Unknown: DD1A00904C340105070000000F000000000000000000000000000000&lt;br /&gt;                 IE: Unknown: 2D1A4E101FFFFF000000000000000000000000000004000000000000&lt;br /&gt;                 IE: Unknown: 3D160105030000000F000000000000000000000000000000&lt;br /&gt;       Cell 02 - Address: 00:19:5B:47:45:E5&lt;br /&gt;                 Channel:2&lt;br /&gt;                 Frequency:2.417 GHz (Channel 2)&lt;br /&gt;                 Quality=57/70  Signal level=-53 dBm&lt;br /&gt;                 Encryption key:on&lt;br /&gt;                 ESSID:"Owera-Guest"&lt;br /&gt;                 Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s&lt;br /&gt;                           12 Mb/s; 24 Mb/s; 36 Mb/s&lt;br /&gt;                 Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s&lt;br /&gt;                 Mode:Master&lt;br /&gt;                 Extra:tsf=000000079c93363a&lt;br /&gt;                 Extra: Last beacon: 2776ms ago&lt;br /&gt;                 IE: Unknown: 000B4F776572612D4775657374&lt;br /&gt;                 IE: Unknown: 010882848B960C183048&lt;br /&gt;                 IE: Unknown: 030102&lt;br /&gt;                 IE: Unknown: 2A0100&lt;br /&gt;                 IE: Unknown: 32041224606C&lt;br /&gt;                 IE: WPA Version 1&lt;br /&gt;                     Group Cipher : TKIP&lt;br /&gt;                     Pairwise Ciphers (2) : TKIP CCMP&lt;br /&gt;                     Authentication Suites (1) : PSK&lt;br /&gt;                 IE: Unknown: DD0900037F01010006FF7F&lt;br /&gt;                 IE: Unknown: DD0C00037F020101000002A34000&lt;br /&gt;   &lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Step3: Change permission of script to execute &lt;/span&gt;, &lt;span style="font-weight: bold;"&gt;Script is at the bottom.&lt;/span&gt;&lt;br /&gt;root@imran-laptop:~/Desktop# chmod -R +x wiscan.pl&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 4: Run the Script&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:78%;" &gt;root@imran-laptop:~/Desktop# ./wiscan.pl&lt;br /&gt;+ --- + ------------------------------ + ------- + -------- + --- + ------ + --------- + ---------------------- + ----------------- +&lt;br /&gt;| #   | Name                           | Quality | Sig Lvl  | Enc | Enc T. | Auth T.   | Channel                | AP MAC            |&lt;br /&gt;+ --- + ------------------------------ + ------- + -------- + --- + ------ + --------- + ---------------------- + ----------------- +&lt;br /&gt;| 1   | "pingcom"                      | 55/70   | -55 dBm  | on  | WPA v1 | PSK       | 2.412 GHz (Channel 1)  | 00:1B:11:5A:BC:48 |&lt;br /&gt;| 2   | "Owera-Guest"                  | 57/70   | -53 dBm  | on  | WPA v1 | PSK       | 2.417 GHz (Channel 2)  | 00:19:5B:47:45:E5 |&lt;br /&gt;| 3   | "Difi-Gjestenett"              | 50/70   | -60 dBm  | off | WEP    | N/A       | 2.412 GHz (Channel 1)  | 00:13:F7:CA:25:D9 |&lt;br /&gt;| 4   | "DVG-5802S"                    | 53/70   | -57 dBm  | on  | WPA v1 | PSK       | 2.427 GHz (Channel 4)  | 06:21:94:00:54:D4 |&lt;br /&gt;| 5   | "Difi-Gjestenett"              | 38/70   | -72 dBm  | off | WEP    | N/A       | 2.437 GHz (Channel 6)  | 00:13:F7:CA:25:D4 |&lt;br /&gt;| 6   | "ft-test"                      | 53/70   | -57 dBm  | on  | WPA v1 | PSK       | 2.447 GHz (Channel 8)  | 0E:21:94:00:54:D4 |&lt;br /&gt;| 7   | "Einar Aaland's Network"       | 44/70   | -66 dBm  | on  | WPA v1 | PSK       | 2.457 GHz (Channel 10) | 00:1F:5B:88:54:13 |&lt;br /&gt;| 8   | "ap2"                          | 43/70   | -67 dBm  | on  | WEP    | N/A       | 2.422 GHz (Channel 3)  | 00:19:5B:47:65:F3 |&lt;br /&gt;| 9   | "pingcom"                      | 43/70   | -67 dBm  | on  | WPA v1 | PSK       | 2.432 GHz (Channel 5)  | 00:1B:11:5C:82:01 |&lt;br /&gt;| 10  | "Difi_Adm"                     | 31/70   | -79 dBm  | on  | WPA v1 | 802.1x    | 5.54 GHz (Channel 108) | 00:24:C4:F9:16:3F |&lt;br /&gt;| 11  | "Difi_Adm"                     | 32/70   | -78 dBm  | on  | WPA v1 | 802.1x    | 2.437 GHz (Channel 6)  | 00:24:C4:F9:16:30 |&lt;br /&gt;+ --- + ------------------------------ + ------- + -------- + --- + ------ + --------- + ---------------------- + ----------------- +&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Her is the script&lt;/span&gt;, this is written by Timothy Mills, downloaded from Internet, thanks to Timothy Mills, we just did some changes to have MAC addresses or APs. You can copy this and save it as 'wiscan.pl' and change permission to execute..&lt;br /&gt;#!/usr/bin/perl&lt;br /&gt;#############################################################################&lt;br /&gt;# Author: Timothy Mills&lt;br /&gt;# Date  : 8 - 4 - 08&lt;br /&gt;# File  : wiscan.pl&lt;br /&gt;#&lt;br /&gt;# wiscan.pl takes the output of 'iwlist scan' and makes it in an easier&lt;br /&gt;# to read format for those of us who still deal with the terminal :)&lt;br /&gt;#############################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;helpCheck();&lt;br /&gt;&lt;br /&gt;#Run the command and suppress error output&lt;br /&gt;$iwlistOut = `iwlist scan 2&gt; /dev/null`;&lt;br /&gt;&lt;br /&gt;@myLines = split("\n", $iwlistOut);&lt;br /&gt;@cellArr = [];&lt;br /&gt;&lt;br /&gt;printHeading();&lt;br /&gt;printFin("#", "Name", "Quality","Sig Lvl", "Enc", "Enc T.", "Auth T.", "Channel", "AP MAC");&lt;br /&gt;printHeading();&lt;br /&gt;&lt;br /&gt;$currNum = 0;&lt;br /&gt;varInit();&lt;br /&gt;&lt;br /&gt;foreach (@myLines)&lt;br /&gt;{&lt;br /&gt; if ($_ =~ "Cell [0-9][0-9]")&lt;br /&gt; {&lt;br /&gt; if ($currNum &gt; 0)&lt;br /&gt; {&lt;br /&gt;     printFin($currNum, $name, $quality, $sigLvl, $enc, $encType,&lt;br /&gt;     $authType, $chn, $mac);&lt;br /&gt;&lt;br /&gt;     varInit();&lt;br /&gt; }&lt;br /&gt; $currNum++;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; $cellArr[$currNum] = $cellArr[$currNum]."$_"."\n";&lt;br /&gt;&lt;br /&gt; if ($_ =~ "ESSID")&lt;br /&gt; {&lt;br /&gt; handleName($_);&lt;br /&gt; }&lt;br /&gt; elsif($_ =~ "Frequency")&lt;br /&gt; {&lt;br /&gt; handleChn($_);&lt;br /&gt; }&lt;br /&gt; elsif($_ =~ "Address:")&lt;br /&gt; {&lt;br /&gt; handleMAC($_);&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; elsif($_ =~ "Encryption key")&lt;br /&gt; {&lt;br /&gt; handleKey($_);&lt;br /&gt; }&lt;br /&gt; elsif($_ =~ "Quality=[0-9]+/[0-9]+")&lt;br /&gt; {&lt;br /&gt; handleQuality($_);&lt;br /&gt; }&lt;br /&gt; elsif($_ =~ "IE: WPA .+ [0-9]")&lt;br /&gt; {&lt;br /&gt; handleEncType($_);&lt;br /&gt; }&lt;br /&gt; elsif($_ =~ "Authentication Suites")&lt;br /&gt; {&lt;br /&gt; handleAuthType($_);&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if ($currNum &gt; 0)&lt;br /&gt;{&lt;br /&gt; printFin($currNum, $name, $quality, $sigLvl, $enc, $encType, $authType, $chn, $mac);&lt;br /&gt; printHeading();&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt; print("No scan results :'( \n");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if (scalar @ARGV == 1)&lt;br /&gt;{&lt;br /&gt; $myNum = ($ARGV[0] =~ "[0-9]+");&lt;br /&gt;&lt;br /&gt; print $cellArr[$ARGV[0]] if($myNum &amp;amp;&amp;amp; ($ARGV[0]&gt;0 &amp;amp;&amp;amp; $ARGV[0] &lt;= $currNum));     }  sub helpCheck () {     foreach(@ARGV)     {     helpMsg() if ($_ =~ "--help");     }      if (scalar @ARGV == 1 &amp;amp;&amp;amp; !($ARGV[0] =~ "[0-9]+"))     {     helpMsg();     }     elsif (scalar @ARGV &gt; 1)&lt;br /&gt; {&lt;br /&gt; helpMsg();&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub helpMsg ()&lt;br /&gt;{&lt;br /&gt; printf("Usage: wiscan.pl [network number] \n\n");&lt;br /&gt; printf("wiscan is used to make the output of 'iwlist scan' be more readable"&lt;br /&gt;    ."\n");&lt;br /&gt;&lt;br /&gt; printf("from within a terminal. By using the optional argument you may \n");&lt;br /&gt; printf("get the full output for a network from 'iwlist scan'\n\n");&lt;br /&gt;&lt;br /&gt; printf("EXAMPLES: \n");&lt;br /&gt; printf("1: ./wiscan.pl   -- Lists all wireless networks within range\n");&lt;br /&gt; printf("2: ./wiscan.pl 2 -- Shows full output for second wireless network entry \n                    in the output of wiscan.pl\n");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; exit(0);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sub printFin()&lt;br /&gt;{&lt;br /&gt; printf("| %-3s | %-30s | %-7s | %-8s | %-3s | %-6s | %-9s | %-22s | %-17s |\n", $_[0],&lt;br /&gt;    $_[1], $_[2], $_[3], $_[4], $_[5], $_[6], $_[7],$_[8]);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub printHeading()&lt;br /&gt;{&lt;br /&gt; printf("+ %-3s + %-30s + %-7s + %-8s + %-3s + %-6s + %-9s + %-22s + %-17s +",&lt;br /&gt; "---", "------------------------------", "-------", "--------", "---", "------", "---------","----------------------","-----------------");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; printf("\n");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub varInit()&lt;br /&gt;{&lt;br /&gt; $name = "";&lt;br /&gt; $quality = "";&lt;br /&gt; $sigLvl = "";&lt;br /&gt; $enc = "";&lt;br /&gt; $chn = "";&lt;br /&gt; $mac = "";&lt;br /&gt; $encType = "WEP";&lt;br /&gt; $authType = "N/A";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub handleEncType ()&lt;br /&gt;{&lt;br /&gt; $encType = "WPA v".($_ =~ ".*[0-9]");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub handleQuality ()&lt;br /&gt;{&lt;br /&gt; $qual = $_[0];&lt;br /&gt;&lt;br /&gt; @qualArr = split(" ", $qual);&lt;br /&gt;&lt;br /&gt; $quality = (split("=", $qualArr[0]))[1];&lt;br /&gt; $sigLvl = (split("=", $qualArr[2]))[1]." dBm";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub handleChn ()&lt;br /&gt;{&lt;br /&gt; $chn = (split(":", $_[0]))[1];&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub handleMAC ()&lt;br /&gt;{&lt;br /&gt; $mac = (split(": ", $_[0]))[1];&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub handleKey ()&lt;br /&gt;{&lt;br /&gt; $enc = (split(":", $_[0]))[1];&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub handleName ()&lt;br /&gt;{&lt;br /&gt; $name = (split(":", $_[0]))[1];&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub handleAuthType ()&lt;br /&gt;{&lt;br /&gt; $authType = (split(" ", $_[0]))[4];&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-1481952898627042931?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/1481952898627042931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=1481952898627042931' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/1481952898627042931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/1481952898627042931'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/09/wireless-chanel-list-in-ubuntu.html' title='Wireless Chanel list in Ubuntu'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-5698188002684684355</id><published>2009-09-15T05:28:00.000-07:00</published><updated>2009-09-17T07:24:16.119-07:00</updated><title type='text'>DHCP-RELAY Agent in Ubunt 8.04 hardy</title><content type='html'>I am using I386 Machine with fresh install of ubuntu 8.04 Server and two interfaces.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;eth0----Internet&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;eth2----use to listen dhcp request&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 1: Install the dhcp3-package &lt;/span&gt;&lt;br /&gt;First add following in /etc/apt/sources.list&lt;br /&gt;&lt;span style="font-style: italic;"&gt;root@ubuntu:~# nano /etc/apt/sources.list&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;deb http://security.ubuntu.com/ubuntu hardy-security main universe&lt;br /&gt;&lt;br /&gt;add and exit,then&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;root@ubuntu:~# apt-get install dhcp3-relay&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Reading package lists... Done&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Building dependency tree       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Reading state information... Done&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;The following NEW packages will be installed:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  dhcp3-relay&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Need to get 103kB of archives.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;After this operation, 274kB of additional disk space will be used.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;During Installation it will ask you,&lt;br /&gt;a) DHCP server IP address e.g your dhcp server address and&lt;br /&gt;b) Interface which you will listen for dhcp requests e.g eth2.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2: Enable forwarding.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;root@ubuntu:~# echo 1 &gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;root@ubuntu:~# echo 1 &gt; /proc/sys/net/ipv4/tcp_syncookies&lt;br /&gt;root@ubuntu:~# echo 1 &gt; /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Step 3: Testing&lt;br /&gt;&lt;br /&gt;Attach cable on eth2 to a pc and wait for responce&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-5698188002684684355?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/5698188002684684355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=5698188002684684355' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5698188002684684355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5698188002684684355'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/09/dhcp-relay-agent-in-ubunt-804-hardy.html' title='DHCP-RELAY Agent in Ubunt 8.04 hardy'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-6104919712788160050</id><published>2009-09-10T04:35:00.000-07:00</published><updated>2009-09-10T04:49:13.012-07:00</updated><title type='text'>Setup ITERATIVE DNS in Ubuntu 8.04 Server</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Step 1: Fresh Install the Ubuntu server with option of DNS server during installation or you can install DNS latter in step 2.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2: Install DNS if not installed before&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;root@ins# apt-get install bind9&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 3: Edit /etc/bind/named.conf.options to disable recursion.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span&gt;&lt;br /&gt;By default the recursion is enables(yes), you can add /uncomment the follwoing line in option field.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;//recursion yes; //default&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;recursion no;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;root@ins:/etc/bind# nano named.conf.options&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;options {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        directory "/var/cache/bind";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        // If there is a firewall between you and nameservers you want&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        // to talk to, you might need to uncomment the query-source&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        // directive below.  Previous versions of BIND always asked&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        // questions using port 53, but BIND 8.1 and later use an unprivileged&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        // port by default.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        // query-source address * port 53;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        // If your ISP provided one or more IP addresses for stable&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        // nameservers, you probably want to use them as forwarders.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        // Uncomment the following block, and insert the addresses replacing&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        // the all-0's placeholder.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        // forwarders {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        //      0.0.0.0;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        // };&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;       &lt;span style="font-weight: bold;"&gt; recursion no;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        auth-nxdomain no;    # conform to RFC1035&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        listen-on-v6 { any; };&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 4: Restart the bind&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;root@ins:/etc/bind# /etc/init.d/bind9 restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 5: Testing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can run wireshark in your machine and try to ping a host e.g ping www.google.com&lt;br /&gt;&lt;br /&gt;In trace you will see the response from dns server, expand the Domain Name System, Flags and Authoritative Server list can be seen.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-6104919712788160050?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/6104919712788160050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=6104919712788160050' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6104919712788160050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6104919712788160050'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/09/setup-iterative-dns-in-ubuntu-804.html' title='Setup ITERATIVE DNS in Ubuntu 8.04 Server'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-5128936755013264409</id><published>2009-09-09T02:25:00.000-07:00</published><updated>2009-09-10T06:39:18.306-07:00</updated><title type='text'>iRED Mail Installation on Ubuntu Server 8.04</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Installation of useful tools.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;root@redmail:~# apt-get install acl wget dialog&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Copy following to /etc/apt/sources.list&lt;/span&gt;&lt;br /&gt;root@redmail:~# nano /etc/apt/sources.list&lt;br /&gt;&lt;br /&gt;&lt;pre id="sources-list-entries" class="wrap"&gt;deb &lt;a href="http://ppa.launchpad.net/lidaobing/iredmail-804/ubuntu"&gt;http://ppa.launchpad.net/lidaobing/iredmail-804/ubuntu&lt;/a&gt; &lt;span id="series-deb"&gt;hardy&lt;/span&gt; main&lt;br /&gt;deb-src &lt;a href="http://ppa.launchpad.net/lidaobing/iredmail-804/ubuntu"&gt;http://ppa.launchpad.net/lidaobing/iredmail-804/ubuntu&lt;/a&gt; &lt;span id="series-deb-src"&gt;hardy&lt;/span&gt; main &lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;Add key, you can replace your key, I used this "61270A939E324B12" and update.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;root@redmail:~#apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 61270A939E324B12&lt;br /&gt;Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 61270A939E324B12&lt;br /&gt;gpg: requesting key 9E324B12 from hkp server keyserver.ubuntu.com&lt;br /&gt;gpg: key 9E324B12: public key "Launchpad PPA for LI Daobing" imported&lt;br /&gt;gpg: Total number processed: 1&lt;br /&gt;gpg:               imported: 1  (RSA: 1)&lt;br /&gt;root@redmail:~# apt-get update&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Add mount option 'acl' in /etc/fstab&lt;/span&gt;&lt;br /&gt; which contains '/etc/' directory if it doesn't there yet. Copy it as a new line, and comment the old one, add 'acl' like below. &lt;ul&gt;&lt;pre class="prettyprint"&gt;&lt;span class="com"&gt;# /dev/sda1&lt;br /&gt;UUID=63b655fe-5959-46bc-b9db-09ad2d746b78 /               ext3    relatime,errors=remount-ro 0       1&lt;br /&gt;&lt;/span&gt;&lt;span class="lit"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;blockquote&gt;Note: It seems you don't need to add this 'acl' option in /etc/fstab if you use VPS which hosted by OpenVZ, because you can't edit /etc/fstab file, and it already supports acl.&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Remount the mount point which contains '/etc/' directory. e.g. '/': &lt;/span&gt;&lt;ul&gt;&lt;pre class="prettyprint"&gt;&lt;span class="com"&gt;root@iredmail:/var/tmp/iRedMail-0.5.0# mount -o remount,rw,acl /&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Download the package  " iRedMail-0.5.0.tar.bz2 " from &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;http://code.google.com/p/iredmail/downloads/list&lt;/span&gt;&lt;br /&gt;and move it to /var/tmp directory.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#cd /var/tmp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#tar -xvf iRedMail-0.5.0.tar.bz2 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#cd iRedMail-0.5.0/pkgs&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Run the script get_all.sh&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This will fetch the required packages from source, please make sure that your Internet is working ok.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;root@redmail:/var/tmp/iRedMail-0.5.0/pkgs# bash get_all.sh &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; Creating necessary directories ...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; ==================== Fetching Source Tarballs ====================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 1/16: http://www.iredmail.org/apt/misc/postfixadmin-2.2.1.1.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 2/16: http://www.iredmail.org/apt/misc/phpMyAdmin-2.11.9.5-all-languages.tar.bz2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 3/16: http://www.iredmail.org/apt/misc/roundcubemail-0.2.1.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 4/16: http://www.iredmail.org/apt/misc/phpldapadmin-1.1.0.7.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 5/16: http://www.iredmail.org/apt/misc/squirrelmail-1.4.19.tar.bz2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 6/16: http://www.iredmail.org/apt/misc/change_ldappass-2.2-1.4.0.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 7/16: http://www.iredmail.org/apt/misc/change_sqlpass-3.3-1.2.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 8/16: http://www.iredmail.org/apt/misc/compatibility-2.0.14-1.0.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 9/16: http://www.iredmail.org/apt/misc/check_quota-2.2-1.4.0.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 10/16: http://www.iredmail.org/apt/misc/select_language-1.1-1.4.0.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 11/16: http://www.iredmail.org/apt/misc/autosubscribe-1.1-1.4.2.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 12/16: http://www.iredmail.org/apt/misc/email_footer-0.5-1.4.2.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 13/16: http://www.iredmail.org/apt/misc/login_auto-1.1-1.2.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 14/16: http://www.iredmail.org/apt/misc/avelsieve-1.0.1.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 15/16: http://www.iredmail.org/apt/misc/all_locales-1.4.13-20071220.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; * 16/16: http://www.iredmail.org/apt/misc/add_address-1.0.1-1.4.0.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; Validate Packages via md5sum ...    [ OK ]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; Checking necessary command/package: dialog/dialog ...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;&gt; Checking necessary command/package: setfacl/acl ...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;********************************************************&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;* All tasks had been finished Successfully. Next step:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;*&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;*   # cd ..&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;*   # bash iRedMail.sh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;*&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;********************************************************&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Make Sure devcot is installted&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;root@redmail:/var/tmp/iRedMail-0.5.0/pkgs# apt-cache policy dovecot-common dovecot-pop3d dovecot-imapd | grep 'Candidate'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  Candidate: 1:1.1.11-0ubuntu4~hardy2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  Candidate: 1:1.1.11-0ubuntu4~hardy2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  Candidate: 1:1.1.11-0ubuntu4~hardy2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Start Installation&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;root@redmail:/var/tmp/iRedMail-0.5.0# bash iRedMail.sh &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It will ask question about path of directory, options, etc.... press next next and Y at the end.&lt;br /&gt;&lt;br /&gt;It will installed every thing you need with options you select.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;a name="Access_webmail_and_other_web-based_programs"&gt;  &lt;/a&gt;&lt;/blockquote&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; &lt;strong&gt;Component&lt;/strong&gt; &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; &lt;strong&gt;URL&lt;/strong&gt; &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; Access via &lt;strong&gt;HTTP&lt;/strong&gt; &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; Access via &lt;strong&gt;HTTPS&lt;/strong&gt; &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; Roundcube webmail &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; &lt;a href="http://your_server/mail/" rel="nofollow"&gt;http://your_server/mail/&lt;/a&gt; (or /webmail, /roundcube) &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; YES &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; YES &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; SquirrelMail webmail &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; &lt;a href="http://your_server/squirrelmail/" rel="nofollow"&gt;http://your_server/squirrelmail/&lt;/a&gt; (or /squirrel) &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; YES &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; YES &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; PostfixAdmin &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; &lt;a href="https://your_server/postfixadmin/" rel="nofollow"&gt;https://your_server/postfixadmin/&lt;/a&gt; &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; NO &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; YES &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; phpMyAdmin &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; &lt;a href="https://your_server/phpmyadmin/" rel="nofollow"&gt;https://your_server/phpmyadmin/&lt;/a&gt; (or /mysql)&lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; NO &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; YES &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; phpLDAPAdmin &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; &lt;a href="https://your_server/ldap/" rel="nofollow"&gt;https://your_server/ldap/&lt;/a&gt; (or /phpldapadmin)&lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; NO &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; YES &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; Awstats &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; &lt;a href="https://your_server/awstats/awstats.pl" rel="nofollow"&gt;https://your_server/awstats/awstats.pl&lt;/a&gt; &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; NO &lt;/td&gt;&lt;td style="border: 1px solid rgb(170, 170, 170); padding: 5px;"&gt; YES &lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;h1&gt;&lt;a name="Trouble_Shooting"&gt;&lt;/a&gt;&lt;/h1&gt;Now you can login and send your first mail to any other account for testing.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;References&lt;/span&gt;&lt;br /&gt;&lt;a href="http://code.google.com/p/iredmail/wiki/Installation_on_Debian"&gt;http://code.google.com/p/iredmail/wiki/Installation_on_Debian&lt;/a&gt;&lt;br /&gt;&lt;a href="http://code.google.com/p/iredmail/downloads/list"&gt;http://code.google.com/p/iredmail/downloads/list&lt;/a&gt;&lt;br /&gt;&lt;a href="http://code.google.com/p/iredmail/wiki/Admin_Guide"&gt;http://code.google.com/p/iredmail/wiki/Admin_Guide&lt;/a&gt;&lt;br /&gt;&lt;a href="http://code.google.com/p/iredmail/wiki/DNS_SPF"&gt;http://code.google.com/p/iredmail/wiki/DNS_SPF&lt;/a&gt;&lt;br /&gt;&lt;a href="http://code.google.com/p/iredmail/wiki/DNS_DKIM"&gt;http://code.google.com/p/iredmail/wiki/DNS_DKIM&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-5128936755013264409?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/5128936755013264409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=5128936755013264409' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5128936755013264409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5128936755013264409'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/09/ired-mail-installation-on-ubuntu-server.html' title='iRED Mail Installation on Ubuntu Server 8.04'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-5654463967629889684</id><published>2009-09-01T06:58:00.000-07:00</published><updated>2009-09-02T01:15:30.124-07:00</updated><title type='text'>How to make Ubuntu/Debian as a router</title><content type='html'>Here is your Ubuntu serve box with two interfaces,&lt;br /&gt;eth0-------------Internet&lt;br /&gt;eth2-------------Internal&lt;br /&gt;Note: Your Internet is running using eth0.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step1: Install DHCP Server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#apt-get install dhcp3-server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2: Configure the DHCP server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Edit the /etc/dhcp3/dhcpd.conf file and add your domain, dns, ip range and other options.&lt;br /&gt;&lt;br /&gt;option domain-name "oslohosting.com";&lt;br /&gt;option domain-name-servers ns1.yourdns.com, xx.xx.xx.xx;&lt;br /&gt;#&lt;br /&gt;# Internal network&lt;br /&gt;#&lt;br /&gt;subnet 192.168.50.0 netmask 255.255.255.0 {&lt;br /&gt;range 192.168.50.100 192.168.50.200;&lt;br /&gt;option broadcast-address 192.168.50.255;&lt;br /&gt;option routers 192.168.50.1;&lt;br /&gt; default-lease-time 600;&lt;br /&gt;max-lease-time 7200;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 3: Configure the Internal interface (eth2) with static IP.&lt;/span&gt;&lt;br /&gt;Edit the /etc/network/interfaces file and add following&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;iface eth2 inet static&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        address 192.168.50.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        netmask 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        network 192.168.50.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        broadcast 192.168.50.255&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        gateway 192.168.50.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 4: Restart network and verify the eth2 interface's IP.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#/etc/init.d/network restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;check ip by ifconfig eth2, it will have 192.168.50.1 ip, if not please restart the interface/netwrok service, you can also restart your machine if it is not in production environment.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 5: Restart the DHCP server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#/etc/init.d/dhcp3-server restart &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If every thing is ok, it should run successfully,&lt;br /&gt;Note: If your interface does not have any IP it might give error and does not restart, first configure you internal interface.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 6: Test the DHCP server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;connect the cable on interface eth2 and other side to your second pc, you will get the IP from 192.168.50.x range.&lt;br /&gt;Open the syslog messeges with&lt;br /&gt;#tail -f /var/log/syslog&lt;br /&gt;of your debian box, it will also notify with leased ip and detail of requested machine.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 7: Enable forwarding&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;# cat /proc/sys/net/ipv4/ip_forward&lt;br /&gt;0&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;# echo 1 &gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;&lt;br /&gt;or open the file manually and uncomment&lt;br /&gt;&lt;/code&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;code&gt;# nano /etc/sysctl.conf&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;net.ipv4.ip_forward = 1&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 8: Add IPTABLES rule for NAT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Type following at command line&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 9: Final Testing &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Your second Pc attached to LAN have internal ip, ping to www.google.com, it should get reply, if not review and trouble shoot carefully.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;imran@imran-laptop:~$ ping www.google.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;PING www.l.google.com (74.125.77.103) 56(84) bytes of data.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;64 bytes from ew-in-f103.google.com (74.125.77.103): icmp_seq=1 ttl=52 time=30.7 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;64 bytes from ew-in-f103.google.com (74.125.77.103): icmp_seq=2 ttl=52 time=30.2 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;64 bytes from ew-in-f103.google.com (74.125.77.103): icmp_seq=3 ttl=52 time=30.3 ms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;^C&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;--- www.l.google.com ping statistics ---&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;3 packets transmitted, 3 received, 0% packet loss, time 2003ms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;rtt min/avg/max/mdev = 30.298/30.451/30.729/0.242 ms&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Huraaaa!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-5654463967629889684?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/5654463967629889684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=5654463967629889684' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5654463967629889684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5654463967629889684'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/09/how-to-make-ubuntudebian-as-router.html' title='How to make Ubuntu/Debian as a router'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-3855211363390339200</id><published>2009-08-06T06:01:00.000-07:00</published><updated>2009-08-07T08:39:53.900-07:00</updated><title type='text'>Network+ Cram Sheet</title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;MEDIA AND TOPOLOGIES  &lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Peer-to-peer networks are useful for only relatively small networks. They are often used in small offices or home environments.   &lt;/li&gt;&lt;li&gt;Client/server networks, also called server-centric networks, have clients and servers. Servers pro video centralized administration, data storage, and security. The client system requests data from the server and displays the data to the end user.                                                 &lt;/li&gt;&lt;li&gt;The bus network topology is also known as a linear bus because the computers in such a network are linked together using a single cable called a trunk, or backbone.&lt;/li&gt;&lt;li&gt;If a terminator on a bus network is loose, data communications might be disrupted. Any other  break in the cable will cause the entire network segment to fail.&lt;/li&gt;&lt;li&gt;In a start configuration, all devices on the network connect to a central devices, and this central devices creates a single point of failure on the network.&lt;/li&gt;&lt;li&gt;In the ring topology, the  network layout forms a complete ring. computers connect to the network cable directly or. more commonly, through a specialized network device.&lt;/li&gt;&lt;li&gt;Breaking the loop of a ring network disrupts the entire network.&lt;/li&gt;&lt;li&gt;The mesh topology requires each computer on the network to be individually connected to every other device. This configuration provides maximum reliability and redundancy for the network.&lt;/li&gt;&lt;li&gt;Wireless networks use centralized device known as wireless access point (WAP). &lt;/li&gt;&lt;li&gt;802.2, the LLC sublayer, defines specifications for the Logical Link Control (LLC)  sublayer in the 802 standard series.&lt;/li&gt;&lt;li&gt; 802.3 defines the carrier-sense multiple-access with collision detection (CSMA/CD) media access method used in Ethernet networks. This is the most popular networking standard used today.&lt;/li&gt;&lt;li&gt;802.5 defines Token Ring networking.&lt;/li&gt;&lt;li&gt;802.11 defines standards for wireless LAN communication.&lt;/li&gt;&lt;li&gt;Many factors cause EMI, including computer monitors and fluorescent lighting fixtures.&lt;/li&gt;&lt;li&gt;Copper-based media are prone to EMI whereas fiber-optic cable is resistant to it.&lt;/li&gt;&lt;li&gt;Data signals may also be subjected to something commonly referred to a crosstalk. which occurs when signals from two cables, or from wires within a single cable, interfere with each other.&lt;/li&gt;&lt;li&gt;The weakening of data signals as they traverse the media is referred to a attenuation.&lt;/li&gt;&lt;li&gt;Half-duplex mode allows each device to both transmit ans receive, but only on of these processes can occur at a time.&lt;/li&gt;&lt;li&gt;Full-duplex  mode allow devices to receive and transmit simultaneously. A100 Mbps network card in full-duplex mode can operate at 200Mbps.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;CABLES AND CONNECTIONS&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Thin coax is only .25 inches in diameter and has a maximum cable length of 185 meters (600 feet approx.)&lt;/li&gt;&lt;li&gt;Thick coax networks use a device called a tap to connect a smaller cable to the thick coax back-bone. This coax has a 500-meter cable length.&lt;/li&gt;&lt;li&gt;Attachment unit interface AUI ports are network interface ports that are often associated with thick coax (10Base5) networks. The AUI port is a 15-pin socket to which a transceiver is connected. &lt;/li&gt;&lt;li&gt;SC and ST connectors are associated with fiber cabling. ST connectors offer a twist-type attachment and SC connectors are push-on connectors.&lt;/li&gt;&lt;li&gt;RJ-45 connectors are used with UTP cable.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;b&gt;10BASEX, 100BASEX, AND 1000BASEX  &lt;/b&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;10Base2, sometimes called Thinnet or Thin Ethernet, is the 802.3 specification for a network that uses thin coaxial cable (that is , RG-58 cable).&lt;/li&gt;&lt;li&gt;10Base2 specifies a maximum speed of 10Mbps ans uses BNC barrel and BNC T connectors to connect the cable and computers. At the physical ends of each cable segment, a 50-ohm terminator absorbs the signal, thus preventing signal reflection.&lt;/li&gt;&lt;li&gt;The 10Base2 standard specifies a limit of 185 meters per segment (600 feet approx.)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;NETWORK DEVICES&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Token Ring Networks use special devices called multi-station access units MSAUs to create the network.&lt;/li&gt;&lt;li&gt;A straight-through cable is used to connect systems to the switch or hub using the MDI-X ports.&lt;/li&gt;&lt;li&gt;In a crossover cable, Wires 1 and 3 Wires 2 and 6(1326) are crossed.&lt;/li&gt;&lt;li&gt;Bridges are used to divide networks and thus reduce the amount of traffic on each network.&lt;/li&gt;&lt;li&gt;RIP is distance vector dynamic routing protocol for both TCP and IPX.&lt;/li&gt;&lt;li&gt;A MAC address is 6-byte(48bits) hexadecimal address that lets a NIC be uniquely identified on the network. The first three bytes (00:D0:59) represent to manufacturer, last three are Universal LAN MAC address, which makes interface unique.&lt;/li&gt;&lt;/ul&gt;Mapping network devices to the OSI model:&lt;ul&gt;&lt;li&gt;HUB-------Physical (Layer 1)&lt;/li&gt;&lt;li&gt;SWITCH--Data-Link (Layer 2) &lt;/li&gt;&lt;li&gt;BRIDGE--Data-Link (Layer 2)&lt;/li&gt;&lt;li&gt;ROUTER-Network (Layer 3)&lt;/li&gt;&lt;li&gt;NIC--------Data-Link  (Layer 2)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;OSI MODEL&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;As data is passed up or down through the OSI model structure, headers are added,encapsulation (going down) or removed,de-capsulation (going up), at each layer.&lt;/li&gt;&lt;li&gt;The Application Layer provides access to the network for applications and certain end-user functions. It displays incoming information and prepares outgoing information for network access.&lt;/li&gt;&lt;li&gt;The Presentation Layer converts data from the Application Layer into a format that can be sent over the network. It converts data from the Session Layer into a format that can be understood by the Application Layer. It also handles encryption and decryption of data and provides compression and decompression functionalities.&lt;/li&gt;&lt;li&gt;The Session Layer synchronizes the data exchange between applications on separate devices. It handles error detection and notification to the peer layer on the other device.&lt;/li&gt;&lt;li&gt;The Transport layer establishes, maintain, and breaks connections between two devices. It determines the ordering and priorities of data. It also performs error checking and verification and handles retransmissions, if necessary.&lt;/li&gt;&lt;li&gt;The Network Layer provides mechanisms for the routing of data between devices across single or multiple network segments and handles the discovery of destination systems and addressing.&lt;/li&gt;&lt;li&gt;The Data-Link Layer has two distinct sub-layers: LLC and MAC. It performs error detection and handling for the transmitted signals. It also defines the method by which the medium is accessed and defines hardware addressing through the MAC sublayer.&lt;/li&gt;&lt;li&gt;The Physical Layer defines the physical structure of the network. It also defines voltage/signal rates and the physical connection method, as well as the physical topology.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;b&gt;&lt;u&gt;PROTOCOLS&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;CLASS A uses first octet for network rest three for hosts. Class B uses two octet for Network and 2 for hosts and Class C uses first three for network and last 1 for hosts.&lt;/li&gt;&lt;li&gt;Class A  from 1 to 126 with default subnet 255.0.0.0.&lt;/li&gt;&lt;li&gt;Class B from 128 to 191 with default subnet mask 255.255.0.0.&lt;/li&gt;&lt;li&gt;Class C from 192 to 223 with default subnet mask of 255.255.255.0.&lt;/li&gt;&lt;li&gt;The 127 network ID is reserved for local loopback.&lt;/li&gt;&lt;li&gt;Application protocol maps to the application presentation, and session layers of OSI model. Application protocols include AFT,FTP,TFTP,NCP and SNMP.&lt;/li&gt;&lt;li&gt;Transport protocols map to the Transport layer of the OSI model and are responsible for transporting data across the network. Transport protocols include ATP, NetBEUI, SPX, TCP and UDP.&lt;/li&gt;&lt;li&gt;The NetBEUI protocol uses names as addresses.&lt;/li&gt;&lt;li&gt;Network protocols are responsible for providing the addressing and routing information. Network protocols include IP. IPX and DP. &lt;/li&gt;&lt;li&gt;The TCP/IP protocol suite is used by all major operating systems and is route-able protocol.&lt;/li&gt;&lt;li&gt;IPX/SPX protocol is associated with NetWare network and is route-able.&lt;/li&gt;&lt;li&gt;NETBEUI is used on Windows networks and is not route-able. &lt;/li&gt;&lt;li&gt;DHCP/BOOTP automatically assign IP addressing information.&lt;/li&gt;&lt;li&gt;DNS resolves host names to IP addresses.&lt;/li&gt;&lt;li&gt;NAT/ICS translates private network addresses into public network address.&lt;/li&gt;&lt;li&gt;WINS resolves NetBIOS names to IP addresses.&lt;/li&gt;&lt;li&gt;SNMP provides network management facilities on TCP/IP based networks.&lt;/li&gt;&lt;li&gt;In a network that does not use DHCP, you need to watch for duplicate IP addresses that prevent a user from logging onto the network.&lt;/li&gt;&lt;li&gt;Class A  address uses only the first octet to represent the network portion.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;REMOTE ACCESS AND SECURITY PROTOCOLS&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;The underlying technologies that enable the RAS process are dial-up protocols such as PPP and SLIP.&lt;/li&gt;&lt;li&gt;SLIP also does not provide error checking or packet addressing, so it can be used only in serial communications.&lt;/li&gt;&lt;li&gt;PPP provides several security enhancements compared to SLIP. The most important of these is the encryption of user names and password during the authentication process.&lt;/li&gt;&lt;li&gt;ICA protocol allows client systems to access and run application on a server, using the resources of the server, with only the user interface, key-strokes, an mouse movement being transferred between the client and server computers.&lt;/li&gt;&lt;li&gt;IPSec is designed to encrypt data during communication between two computers. IPSec operates at the Network layer of the OSI model and provides security for protocols that operate at higher layers.&lt;/li&gt;&lt;li&gt;SSL is a security protocol used on the Internet. Secure Web site URLs defing with https:// instead of http://. HTTPS connections require a browser to establish a secure connection. Secure SSL connections for Web pages are made through port 443 by default.&lt;/li&gt;&lt;li&gt;The security tokens used in Kerberos are knows as tickets.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;RAID AND BACKUPS&lt;/b&gt;&lt;/u&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;RAID 0 offers no fault tolerance and improves I/O performance. It requires a minimum of two disks.&lt;/li&gt;&lt;li&gt;RAID 1, disk mirroring provides fault tolerance and requires two hard disks. Seprate disk controllers can be used as disk duplexing.&lt;/li&gt;&lt;li&gt;RAID 5, disk striping with distributed parity requires a minimum of three disks. The total size of a single disk being used for parity calculation.&lt;/li&gt;&lt;li&gt; In a full back all data is backed up. Full backups do not use the archive bit but do clear it.&lt;/li&gt;&lt;li&gt;Incremental backups back up all data that has changed since the last full or incremental backup. Uses and clears the archive bit.&lt;/li&gt;&lt;li&gt;Differential backups backup all data since the last differential backup. They use the archive bit but do not clear it.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;VLAN AND NAS&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;VLANs are used to segment networks. This is often done for oranization of security puposes. &lt;/li&gt;&lt;li&gt;NAS is usedto offload data storage from traditional file servers. NAS devices are connected directly to the network and use the SMB and NFS application protocols.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt; CLIENT CONNECTIVITY&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;To log on to a NetWare server, you might need a username, password, tree, and context.&lt;/li&gt;&lt;li&gt;Unix and Linux use the Network File System (NFS) protocol to provide file sharing capibilites between computers.&lt;/li&gt;&lt;li&gt;SECURITY: PHYSICAL, LOGICAL PASSWORDS AND FIREWALLS&lt;/li&gt;&lt;li&gt;A password that uses eight case-sensitive characters with letters, numbers and special characters often makes a strong password.&lt;/li&gt;&lt;li&gt;Windows 2000 permissions include full control, modify, read and execute list folder contents read and write.&lt;/li&gt;&lt;li&gt;When a user can't access files that other users can, verify that correct permissions are set. &lt;/li&gt;&lt;li&gt;A firewall is a system or group of systems that controls the flow of traffic between two networks. A firewall often provides such services as NAT, proxy services and packet filtering.&lt;/li&gt;&lt;li&gt;A proxy server allows Internet access to be controlled. Having a centralized point of access allows for a great deal of contrl over the use of Internet. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;NETWORK SUPPORT&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt; You can &lt;b&gt;&lt;i&gt;PING&lt;/i&gt;&lt;/b&gt; the IP address of the local loop-back adapter by using the command ping 127.0.0.1.If this command is successful, you know that the TCP/IP protocol suite is installed correctly on you system and functioning.&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;tracert&lt;/i&gt;&lt;/b&gt; reports the amount of time it takes to reach each router in the path. It is useful tool for isolating bottlenecks in a  network. ARP is the part of the TCP/IP suite whose function is to resolve IP &lt;p&gt;&lt;b&gt; MEDIA TOOLS AND LEAD&lt;/b&gt;&lt;/p&gt; addresses to the MAC address.&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;ARP&lt;/i&gt;&lt;/b&gt; operates at the Network layer of the OSI.&lt;/li&gt;&lt;li&gt;&lt;i&gt;&lt;b&gt;netstat&lt;/b&gt;&lt;/i&gt; is used to view both inbound and outbound TCP/IP network connections.&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;nbtstat&lt;/i&gt;&lt;/b&gt; is used to display protocol and statistical information for NetBIOS over TCP/IP connections.&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;ipconfig&lt;/i&gt;&lt;/b&gt;(Windows)&lt;b&gt;&lt;i&gt;/ifconfig(Linux)&lt;/i&gt;&lt;i&gt; &lt;/i&gt;&lt;/b&gt;shows the IP configiguration information of all NICs instaled.&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt; ipconfig /all&lt;/i&gt;&lt;/b&gt; is used to display detailed TCP/IP configuration information.&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;ipconfig /renew&lt;/i&gt;&lt;/b&gt; is used to refresh the IP.&lt;/li&gt;&lt;li&gt;When looking for client connectivity problems using ipconfig, you should ensure that the gateway is correctly set.&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;winipcfg&lt;/i&gt;&lt;/b&gt; is Windows95,98,Me equibalent of ipconfig command.&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;i&gt;nslookup&lt;/i&gt;&lt;/b&gt; command is TCP/IP diagnostic tool used to troubleshoot DNS problems.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt; MEDIA TOOLS AND LEAD&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;A wire crimer is a tool that you use to attach media connectors to the ends of cables.&lt;/li&gt;&lt;li&gt;Media testers, also called cable testers are used to test wheter a cable is working properly.&lt;/li&gt;&lt;li&gt;An optical cable tester performs the same basic function as a wire media tester, but on optical media.&lt;/li&gt;&lt;li&gt;The hardware loopback tests the outgoing signals of a device such as a network card.&lt;/li&gt;&lt;li&gt;If the LED on a network card is constantly lit, you might have chattering network card.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-3855211363390339200?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/3855211363390339200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=3855211363390339200' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/3855211363390339200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/3855211363390339200'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/08/network-cram-sheet.html' title='Network+ Cram Sheet'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-4560321814653361071</id><published>2009-08-06T03:45:00.000-07:00</published><updated>2009-08-06T03:48:54.471-07:00</updated><title type='text'>Common Networking Terms and Qustions</title><content type='html'>&lt;b&gt;1. What are 10Base2, 10Base5 and 10BaseT Ethernet LANs &lt;/b&gt;&lt;br /&gt;10Base2—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband signaling, with a contiguous cable segment length of 100 meters and a maximum of 2 segments.&lt;br /&gt;10Base5—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband &lt;!-- google_ad_client = "pub-3998637804056718"; /* PDF_MD_RECT_PHPpages_300x250, created 1/6/09 */ google_ad_slot = "5537357495"; google_ad_width = 300; google_ad_height = 250; //--&gt; google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad); signaling, with 5 continuous segments not exceeding 100meters per segment.&lt;br /&gt;10BaseT—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband signaling and twisted pair cabling.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;2. Explain the difference between an unspecified passive open and a fully specified passive open &lt;/b&gt;&lt;br /&gt;An unspecified passive open has the server waiting for a connection request from a client. A fully specified passive open has the server waiting for a connection from a pecific client.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;3. Explain the function of Transmission Control Block &lt;/b&gt;&lt;br /&gt;A TCB is a complex data structure that contains a considerable amount of information about each connection.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;4. Explain a Management Information Base (MIB) &lt;/b&gt;&lt;br /&gt;A Management Information Base is part of every SNMP-managed device. Each SNMP agent has the MIB database that contains information about the device's status, its erformance, connections, and configuration. The MIB is queried by SNMP.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;5. Explain anonymous FTP and why would you use it &lt;/b&gt;&lt;br /&gt;Anonymous FTP enables users to connect to a host without using a valid login and password. Usually, anonymous FTP uses a login called anonymous or guest, with the assword usually requesting the user's ID for tracking purposes only. Anonymous FTP is used to enable a large number of users to access files on the host without having to go to the trouble of setting up logins for them all. Anonymous FTP systems usually have strict controls over the areas an anonymous user can access.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;6. Explain a pseudo tty &lt;/b&gt;&lt;br /&gt;A pseudo tty or false terminal enables external machines to connect through Telnet or rlogin. Without a pseudo tty, no connection can take place.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;7. Explain REX &lt;/b&gt;&lt;br /&gt;What advantage does REX offer other similar utilities&lt;br /&gt;&lt;br /&gt;&lt;b&gt;8. What does the Mount protocol do &lt;/b&gt;&lt;br /&gt;The Mount protocol returns a file handle and the name of the&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;b&gt; &lt;span style="font-family:Georgia,Times New Roman,Times,serif;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: normal;"&gt;file system&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/b&gt;&lt;/span&gt;in which a requested file resides. The message is sent to the client from the server after reception of a client's request.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;9. Explain External Data Representation &lt;/b&gt;&lt;br /&gt;External Data Representation is a method of encoding data within an RPC message, used to ensure that the data is not system-dependent.&lt;br /&gt;&lt;b&gt;10. Explain the Network Time Protocol ? &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;11. BOOTP helps a diskless workstation boot. How does it get a message to the network looking for its IP address and the location of its operating system boot files &lt;/b&gt;&lt;br /&gt;BOOTP sends a UDP message with a subnetwork broadcast address and waits for a reply from a server that gives it the IP address. The same message might contain the name of the machine that has the boot files on it. If the boot image location is not specified, the workstation sends another UDP message to query the server.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;12. Explain a DNS resource record &lt;/b&gt;&lt;br /&gt;A resource record is an entry in a name server's database. There are several types of resource records used, including name-to-address resolution nformation. Resource records are maintained as ASCII files.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;13. What protocol is used by DNS name servers &lt;/b&gt;&lt;br /&gt;DNS uses UDP for communication between servers. It is a better choice than TCP because of the improved speed a connectionless protocol offers. Of course, transmission reliability suffers with UDP.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;14. Explain the difference between interior and exterior neighbor gateways &lt;/b&gt;&lt;br /&gt;Interior gateways connect LANs of one organization, whereas exterior gateways connect the organization to the outside world.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;15. Explain the HELLO protocol used for &lt;/b&gt;&lt;br /&gt;The HELLO protocol uses time instead of distance to determine optimal routing. It is an alternative to the Routing Information Protocol.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;16. What are the advantages and disadvantages of the three types of routing tables &lt;/b&gt;&lt;br /&gt;The three types of routing tables are fixed, dynamic, and fixed central. The fixed table must be manually modified every time there is a change. A dynamic table changes its information based on network traffic, reducing the amount of manual maintenance. A fixed central table lets a manager modify only one table, which is then read by other devices. The fixed central table reduces the need to update each machine's table, as with the fixed table. Usually a dynamic table causes the fewest problems for a network&lt;br /&gt;administrator, although the table's contents can change without the administrator being aware of the change.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;17. Explain a TCP connection table &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;18. Explain source route &lt;/b&gt;&lt;br /&gt;It is a sequence of IP addresses identifying the route a datagram must follow. A source route may&lt;br /&gt;optionally be included in an IP datagram header.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;19. Explain RIP (Routing Information Protocol) &lt;/b&gt;&lt;br /&gt;It is a simple protocol used to exchange information between router.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;20. Explain SLIP (Serial Line Interface Protocol) &lt;/b&gt;&lt;br /&gt;It is a very simple protocol used for transmission of IP datagrams across a serial line.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;21. Explain Proxy ARP &lt;/b&gt;&lt;br /&gt;It is using a router to answer ARP requests. This will be done when the originating host believes that a destination is local, when in fact is lies beyond router.&lt;br /&gt;&lt;b&gt;22. Explain OSPF &lt;/b&gt;&lt;br /&gt;It is an Internet routing protocol that scales well, can route traffic along multiple paths, and uses knowledge of an Internet's topology to make accurate routing decisions.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;23. Explain Kerberos &lt;/b&gt;&lt;br /&gt;It is an authentication service developed at the Massachusetts Institute of Technology. Kerberos uses encryption to prevent intruders from discovering passwords and gaining unauthorized access to files.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;24. Explain a Multi-homed Host &lt;/b&gt;&lt;br /&gt;It is a host that has a multiple network interfaces and that requires multiple IP addresses is called as a Multi-homed Host.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;25. Explain NVT (Network Virtual Terminal) &lt;/b&gt;&lt;br /&gt;It is a set of rules defining a very simple virtual terminal interaction. The NVT is used in the start of a Telnet session.&lt;br /&gt;26. Explain Gateway-to-Gateway protocol&lt;br /&gt;It is a protocol formerly used to exchange routing information between Internet core routers.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;27. Explain BGP (Border Gateway Protocol) &lt;/b&gt;&lt;br /&gt;It is a protocol used to advertise the set of networks that can be reached with in an autonomous system. BGP enables this information to be shared with the autonomous system. This is newer than EGP (Exterior Gateway Protocol).&lt;br /&gt;&lt;b&gt;28. Explain autonomous system &lt;/b&gt;&lt;br /&gt;It is a collection of routers under the control of a single administrative authority and that uses a common Interior Gateway Protocol.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;29. Explain EGP (Exterior Gateway Protocol) &lt;/b&gt;&lt;br /&gt;It is the protocol the routers in neighboring autonomous systems use to identify the set of networks that can be reached&lt;br /&gt;within or via each autonomous system.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;30. Explain IGP (Interior Gateway Protocol) &lt;/b&gt;&lt;br /&gt;It is any routing protocol used within an autonomous system.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;31. Explain Mail Gateway &lt;/b&gt;&lt;br /&gt;It is a system that performs a protocol translation between different electronic mail delivery protocols.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;32. Explain wide-mouth frog &lt;/b&gt;&lt;br /&gt;Wide-mouth frog is the simplest known key distribution center (KDC) authentication protocol.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;33. What are Digrams and Trigrams &lt;/b&gt;&lt;br /&gt;The most common two letter combinations are called as digrams. e.g. th, in, er, re and an. The most common three letter combinations are called as trigrams. e.g. the, ing, and, and ion.&lt;br /&gt;&lt;b&gt;34. Explain silly window syndrome &lt;/b&gt;&lt;br /&gt;It is a problem that can ruin TCP performance. This problem occurs when data are passed to the sending TCP entity in large blocks, but an interactive application on the receiving side reads 1 byte at a time.&lt;br /&gt;&lt;b&gt;35. Explain region &lt;/b&gt;&lt;br /&gt;When hierarchical routing is used, the routers are divided into what we call regions, with each router knowing all the details about how to route packets to destinations within its own region, but knowing nothing about the internal structure of other regions.&lt;br /&gt;&lt;b&gt;36. Explain multicast routing &lt;/b&gt;&lt;br /&gt;Sending a message to a group is called multicasting, and its routing algorithm is called multicast routing.&lt;br /&gt;&lt;b&gt;37. Explain traffic shaping &lt;/b&gt;&lt;br /&gt;One of the main causes of congestion is that traffic is often busy. If hosts could be made to transmit at a uniform rate, congestion would be less common. Another open loop method to help manage congestion is forcing the packet to be transmitted at a more predictable rate. This is called traffic shaping.&lt;br /&gt;&lt;b&gt;38. Explain packet filter &lt;/b&gt;&lt;br /&gt;Packet filter is a standard router equipped with some extra functionality. The extra functionality allows every incoming or outgoing packet to be inspected. Packets meeting some criterion are forwarded normally. Those that fail the test are dropped.&lt;br /&gt;&lt;b&gt;39. Explain virtual path &lt;/b&gt;&lt;br /&gt;Along any transmission path from a given source to a given destination, a group of virtual circuits can be grouped together into what is called path.&lt;br /&gt;&lt;b&gt;40. Explain virtual channel &lt;/b&gt;&lt;br /&gt;Virtual channel is normally a connection from one source to one destination, although multicast connections are also permitted. The other name for virtual channel is virtual circuit.&lt;br /&gt;&lt;b&gt;41. Explain logical link control &lt;/b&gt;&lt;br /&gt;One of two sublayers of the data link layer of OSI reference model, as defined by the IEEE 802 standard. This sublayer is responsible for maintaining the link between computers when they are sending data across the physical network connection.&lt;br /&gt;&lt;b&gt;42. Why should you care about the OSI Reference Model &lt;/b&gt;&lt;br /&gt;It provides a framework for discussing network operations and design.&lt;br /&gt;&lt;b&gt;43. Explain the difference between routable and non- routable protocols &lt;/b&gt;&lt;br /&gt;Routable protocols can work with a router and can be used to build large networks. Non-Routable protocols are designed to work on small, local networks and cannot be used with a router&lt;br /&gt;&lt;b&gt;44. Explain MAU &lt;/b&gt;&lt;br /&gt;In token Ring , hub is called Multistation Access Unit(MAU).&lt;br /&gt;&lt;b&gt;45. Explain 5-4-3 rule &lt;/b&gt;&lt;br /&gt;In a Ethernet network, between any two points on the network, there can be no more than five network segments or four repeaters, and of those five segments only three of segments can be populated.&lt;br /&gt;&lt;b&gt;46. Explain the difference between TFTP and FTP application layer protocols &lt;/b&gt;&lt;br /&gt;The Trivial File Transfer Protocol (TFTP) allows a local host to obtain files from a remote host but does not provide reliability or security. It uses the fundamental packet delivery services offered by UDP.&lt;br /&gt;The File Transfer Protocol (FTP) is the standard mechanism provided by TCP / IP for copying a file from one host to another. It uses the services offered by TCP and so is reliable and secure. It establishes two connections (virtual circuits) between the hosts, one for data transfer and another for control information.&lt;br /&gt;&lt;b&gt;47. Explain the range of addresses in the classes of internet addresses &lt;/b&gt;&lt;br /&gt;Class A 0.0.0.0 - 127.255.255.255&lt;br /&gt;Class B 128.0.0.0 - 191.255.255.255&lt;br /&gt;Class C 192.0.0.0 - 223.255.255.255&lt;br /&gt;Class D 224.0.0.0 - 239.255.255.255&lt;br /&gt;Class E 240.0.0.0 - 247.255.255.255&lt;br /&gt;&lt;b&gt;&lt;br /&gt;48. Explain the minimum and maximum length of the header in the TCP segment and IP datagram &lt;/b&gt;&lt;br /&gt;The header should have a minimum length of 20 bytes and can have a maximum length of 60 bytes.&lt;br /&gt;&lt;b&gt;49. Explain difference between ARP and RARP &lt;/b&gt;&lt;br /&gt;The address resolution protocol (ARP) is used to associate the 32 bit IP address with the 48 bit physical address, used by a host or a router to find the physical address of another host on its network by sending a ARP query packet that includes the IP address of the receiver. The reverse address resolution protocol (RARP) allows a host to discover its Internet address when it knows only its physical address.&lt;br /&gt;&lt;b&gt;50. Explain ICMP &lt;/b&gt;&lt;br /&gt;ICMP is Internet Control Message Protocol, a network layer protocol of the TCP/IP suite used by hosts and gateways to send notification of datagram problems back to the sender. It uses the echo test / reply to test whether a destination is reachable and responding. It also handles both control and error messages.&lt;br /&gt;&lt;b&gt;51. What are the data units at different layers of the TCP / IP protocol suite &lt;/b&gt;&lt;br /&gt;The data unit created at the application layer is called a message, at the transport layer the data unit created is called either a segment or an user datagram, at the network layer the data unit created is called the datagram, at the data link layer the datagram is encapsulated in to a frame and&lt;br /&gt;finally transmitted as signals along the transmission media.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;52. Explain Project 802 &lt;/b&gt;&lt;br /&gt;It is a project started by IEEE to set standards that enable intercommunication between equipment from a variety of manufacturers. It is a way for specifying functions of the physical layer, the data link layer and to some extent the network layer to allow for interconnectivity of major LAN protocols.&lt;br /&gt;It consists of the following:&lt;br /&gt;802.1 is an internetworking standard for compatibility of different LANs and MANs across protocols.&lt;br /&gt;802.2 Logical link control (LLC) is the upper sublayer of the data link layer which is non-architecture-specific, that is remains the same for all IEEE-defined LANs.&lt;br /&gt;Media access control (MAC) is the lower sublayer of the data link layer that contains some distinct modules each carrying proprietary information specific to the LAN product being used. The modules are Ethernet LAN (802.3), Token ring LAN (802.4), Token bus LAN (802.5).&lt;br /&gt;802.6 is distributed queue dual bus (DQDB) designed to be used in MANs.&lt;br /&gt;&lt;b&gt;53. Explain Bandwidth &lt;/b&gt;&lt;br /&gt;Every line has an upper limit and a lower limit on the frequency of signals it can carry. This limited range is called the bandwidth.&lt;br /&gt;&lt;b&gt;54. Difference between bit rate and baud rate. &lt;/b&gt;&lt;br /&gt;Bit rate is the number of bits transmitted during one second whereas baud rate refers to the number of signal units per second that are required to represent those bits. baud rate = bit rate / N where N is no-of-bits represented by each signal shift.&lt;br /&gt;&lt;b&gt;55. Explain MAC address &lt;/b&gt;&lt;br /&gt;The address for a device as it is identified at the Media Access Control (MAC) layer in the network architecture. MAC address is usually stored in ROM on the network adapter card and is unique.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;56. Explain attenuation &lt;/b&gt;&lt;br /&gt;The degeneration of a signal over distance on a network cable is called attenuation.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;57. Explain cladding &lt;/b&gt;&lt;br /&gt;A layer of a glass surrounding the center fiber of glass inside a fiber-optic cable.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;58. Explain RAID &lt;/b&gt;&lt;br /&gt;A method for providing fault tolerance by using multiple hard disk drives.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;59. Explain NETBIOS and NETBEUI &lt;/b&gt;&lt;br /&gt;NETBIOS is a programming &lt;a href="http://www.pdftutorials.com/FAQ/networking-interview-questions.html#" mce_href="http://www.pdftutorials.com/FAQ/networking-interview-questions.html#" target="undefined"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Georgia,Times New Roman,Times,serif;"&gt;&lt;span style="font-size:100%;"&gt;&lt;u&gt;&lt;span style="font-weight: normal;"&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;interface that allows I/O requests to be sent to and received from a remote computer and it hides the networking hardware from applications. NETBEUI is NetBIOS extended user interface. A transport protocol designed by microsoft and IBM for the use on small subnets.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;60. Explain redirector &lt;/b&gt;&lt;br /&gt;Redirector is software that intercepts file or prints I/O requests and translates them into network requests. This comes under presentation layer.&lt;br /&gt;&lt;b&gt;61. Explain Beaconing &lt;/b&gt;&lt;br /&gt;The process that allows a network to self-repair networks problems. The stations on the network notify the other stations on the ring when they are not receiving the transmissions. Beaconing is used in Token ring and FDDI networks.&lt;br /&gt;&lt;b&gt;62. Explain terminal emulation, in which layer it comes &lt;/b&gt;&lt;br /&gt;Telnet is also called as terminal emulation. It belongs to application layer.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;63. Explain frame relay, in which layer it comes &lt;/b&gt;&lt;br /&gt;Frame relay is a packet switching technology. It will operate in the data link layer.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;64. What do you meant by "triple X" in Networks &lt;/b&gt;&lt;br /&gt;The function of PAD (Packet Assembler Disassembler) is described in a document known as X.3. The standard protocol has been defined between the terminal and the PAD, called X.28; another standard protocol exists between hte PAD and the network, called X.29. Together, these three recommendations are often called "triple X"&lt;br /&gt;&lt;b&gt;65. Explain SAP &lt;/b&gt;&lt;br /&gt;Series of interface points that allow other computers to communicate with the other layers of network protocol stack.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;66. Explain subnet &lt;/b&gt;&lt;br /&gt;A generic term for section of a large networks usually separated by a bridge or router.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;67. Explain Brouter &lt;/b&gt;&lt;br /&gt;Hybrid devices that combine the features of both bridges and routers.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;68. How Gateway is different from Routers &lt;/b&gt;&lt;br /&gt;A gateway operates at the upper levels of the OSI model and translates information between two completely different network architectures or data formats.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;69. What are the different type of networking / internetworking devices &lt;/b&gt;&lt;br /&gt;Repeater: Also called a regenerator, it is an electronic device that operates only at physical layer. It receives the signal in the network before it becomes weak, regenerates the original bit pattern and puts the refreshed copy back in to the link.&lt;br /&gt;Bridges: These operate both in the physical and data link layers of LANs of same type. They divide a larger network in to smaller segments. They contain logic that allow them to keep the traffic for each segment separate and thus are repeaters that relay a frame only the side of the segment containing the intended recipent and control congestion.&lt;br /&gt;Routers: They relay packets among multiple interconnected networks (i.e. LANs of different type). They operate in the physical, data link and network layers. They contain software that enable them to determine which of the several possible paths is the best for a particular transmission.&lt;br /&gt;Gateways:&lt;br /&gt;They relay packets among networks that have different protocols (e.g. between a LAN and a WAN). They accept a packet formatted for one protocol and convert it to a packet formatted for another protocol before forwarding it. They operate in all seven layers of the OSI model.&lt;br /&gt;&lt;b&gt;70. Explain mesh network &lt;/b&gt;&lt;br /&gt;A network in which there are multiple network links between computers to provide multiple paths for data to travel.&lt;br /&gt;&lt;b&gt;71. Explain passive topology &lt;/b&gt;&lt;br /&gt;When the computers on the network simply listen and receive the signal, they are referred to as passive because they don’t amplify the signal in any way. Example for passive topology - linear bus.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;72. What are the important topologies for networks &lt;/b&gt;&lt;br /&gt;&lt;u&gt;BUS topology:&lt;/u&gt; :in this each computer is directly connected to primary network cable in a single line.&lt;br /&gt;Advantages: Inexpensive, easy to install, simple to understand, easy to extend.&lt;br /&gt;&lt;u&gt;STAR topology&lt;/u&gt;: In this all computers are connected using a central hub.&lt;br /&gt;Advantages: Can be inexpensive, easy to install and reconfigure and easy to trouble shoot physical problems.&lt;br /&gt;&lt;u&gt;RING topology:&lt;/u&gt;In this all computers are connected in loop.&lt;br /&gt;Advantages: ll computers have equal access to network media, installation can be simple, and signal does not degrade as much as&lt;br /&gt;in other topologies because each computer regenerates it.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;73. What are major types of networks and explain &lt;/b&gt;&lt;br /&gt;Peer-to-peer network, computers can act as both servers sharing resources and as clients using the resources.&lt;br /&gt;Server-based networks provide centralized control of network resources and rely on server computers to provide security and network administration&lt;br /&gt;&lt;br /&gt;&lt;b&gt;74. Explain Protocol Data Unit &lt;/b&gt;&lt;br /&gt;The data unit in the LLC level is called the protocol data unit (PDU). The PDU contains of four fields a destination service access point (DSAP), a source service access point (SSAP), a control field and an information field. DSAP, SSAP are addresses used by the LLC to identify the protocol stacks on the receiving and sending machines that are generating and using the data. The control field specifies whether the PDU frame is a information frame (I - frame) or a supervisory frame (S - frame) or a&lt;br /&gt;unnumbered frame (U - frame).&lt;br /&gt;&lt;b&gt;75. Explain difference between baseband and broadband transmission &lt;/b&gt;&lt;br /&gt;In a baseband transmission, the entire bandwidth of the cable is consumed by a single signal. In broadband transmission, signals are sent on multiple frequencies, allowing multiple signals to be sent simultaneously.&lt;br /&gt;&lt;b&gt;76. What are the possible ways of data exchange &lt;/b&gt;&lt;br /&gt;(i) Simplex (ii) Half-duplex (iii) Full-duplex.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;77. What are the types of Transmission media &lt;/b&gt;&lt;br /&gt;Signals are usually transmitted over some transmission media that are broadly classified in to two categories.&lt;br /&gt;Guided Media:&lt;br /&gt;These are those that provide a conduit from one device to another that include twisted-pair, coaxial cable and fiber-optic cable. A signal traveling along any of these media is directed and is contained by the physical limits of the medium. Twisted-pair and coaxial cable use metallic that accept&lt;br /&gt;and transport signals in the form of electrical current. Optical fiber is a glass or plastic cable that accepts and transports signals in the form of light.&lt;br /&gt;Unguided Media:&lt;br /&gt;This is the wireless media that transport electromagnetic waves without using a physical conductor. Signals are broadcast either through air. This is done through radio communication, satellite communication and cellular telephony.&lt;br /&gt;&lt;b&gt;78. Explain point-to-point protocol &lt;/b&gt;&lt;br /&gt;A communications protocol used to connect computers to remote networking services including Internet service providers.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;79. What are the two types of transmission technology available &lt;/b&gt;&lt;br /&gt;(i) Broadcast and (ii) point-to-point&lt;br /&gt;&lt;b&gt;&lt;br /&gt;80. Difference between the communication and transmission. &lt;/b&gt;&lt;br /&gt;Transmission is a physical movement of information and concern issues like bit polarity, synchronization, clock etc. Communication means the meaning full exchange of information between two communication media.&lt;br /&gt;&lt;br /&gt;Courtesy: &lt;a href="http://www.pdftutorials.com/" mce_href="http://www.pdftutorials.com/FAQ/networking-interview-questions.html" target="_blank"&gt;http://www.pdftutorials.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-4560321814653361071?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/4560321814653361071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=4560321814653361071' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4560321814653361071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4560321814653361071'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/08/common-networking-terms-and-qustions.html' title='Common Networking Terms and Qustions'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-7978744284138598740</id><published>2009-08-06T03:43:00.002-07:00</published><updated>2009-08-06T03:45:15.562-07:00</updated><title type='text'>Testing and Quality Assurance</title><content type='html'>&lt;p&gt;&lt;b&gt;What is Testing?&lt;/b&gt;&lt;br /&gt;The process of exercising software to verify that it satisfies specified requirements and to detect errors.&lt;br /&gt;The process of analyzing a software item to detect the differences between existing and required conditions (that is, bugs), and to evaluate the features of the software item (Ref. IEEE Std 829).&lt;br /&gt;The process of operating a system or component under specified conditions, observing or recording the results, and making an evaluation of some aspect of the system or component.&lt;br /&gt;What is Test Automation? It is the same as Automated Testing.&lt;/p&gt;&lt;p&gt;&lt;b&gt;What is Acceptance Testing?&lt;/b&gt;&lt;br /&gt;Testing conducted to enable a user/customer to determine whether to accept a software product. Normally performed to validate the software meets a set of agreed acceptance criteria.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Accessibility Testing?&lt;/b&gt; &lt;/p&gt;&lt;p&gt;Verifying a product is accessible to the people having disabilities (deaf, blind, mentally disabled etc.).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Ad Hoc Testing?&lt;/b&gt;&lt;br /&gt;A testing phase where the tester tries to 'break' the system by randomly trying the system's functionality. Can include negative testing as well. See also Monkey Testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Agile Testing?&lt;/b&gt;&lt;br /&gt;Testing practice for projects using agile methodologies, treating development as the customer of testing and emphasizing a test-first design paradigm. See also Test Driven Development.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Application Binary Interface (ABI)?&lt;/b&gt;&lt;br /&gt;A specification defining requirements for portability of applications in binary forms across defferent system platforms and environments.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Application Programming Interface (API)?&lt;/b&gt;&lt;br /&gt;A formalized set of software calls and routines that can be referenced by an application program in order to access supporting system or network services.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Automated Software Quality (ASQ)?&lt;/b&gt;&lt;br /&gt;The use of software tools, such as automated testing tools, to improve software quality.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Automated Testing? &lt;/b&gt;&lt;br /&gt;Testing employing software tools which execute tests without manual intervention. Can be applied in GUI, performance, API, etc. testing.&lt;br /&gt;The use of software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions.&lt;br /&gt;&lt;b&gt;What is Backus-Naur Form?&lt;/b&gt;&lt;br /&gt;A metalanguage used to formally describe the syntax of a language.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Basic Block? &lt;/b&gt;&lt;br /&gt;A sequence of one or more consecutive, executable statements containing no branches.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Basis Path Testing?&lt;/b&gt;&lt;br /&gt;A white box test case design technique that uses the algorithmic flow of the program to design tests.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Basis Set?&lt;/b&gt;&lt;br /&gt;The set of tests derived using basis path testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Baseline? &lt;/b&gt;&lt;br /&gt;The point at which some deliverable produced during the software engineering process is put under formal change control.&lt;br /&gt;What you will do during the first day of job?&lt;br /&gt;What would you like to do five years from now?&lt;br /&gt;&lt;br /&gt;Tell me about the worst boss you've ever had.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What are your greatest weaknesses?&lt;br /&gt;&lt;br /&gt;What are your strengths?&lt;br /&gt;&lt;br /&gt;What is a successful product?&lt;br /&gt;&lt;br /&gt;What do you like about Windows?&lt;br /&gt;&lt;br /&gt;What is good code?&lt;br /&gt;&lt;br /&gt;What are basic, core, practices for a QA specialist?&lt;br /&gt;&lt;br /&gt;What do you like about QA?&lt;br /&gt;&lt;br /&gt;What has not worked well in your previous QA experience and what would you change?&lt;br /&gt;&lt;br /&gt;How you will begin to improve the QA process?&lt;br /&gt;&lt;br /&gt;What is the difference between QA and QC?&lt;br /&gt;&lt;br /&gt;What is UML and how to use it for testing?&lt;br /&gt;What is Beta Testing? &lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Testing of a rerelease of a software product conducted by customers.&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Binary Portability Testing? &lt;/b&gt;&lt;br /&gt;Testing an executable application for portability across system platforms and environments, usually for conformation to an ABI specification.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Black Box Testing?&lt;/b&gt;&lt;br /&gt;Testing based on an analysis of the specification of a piece of software without reference to its internal workings. The goal is to test how well the component conforms to the published requirements for the component.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Bottom Up Testing? &lt;/b&gt;&lt;br /&gt;An approach to integration testing where the lowest level components are tested first, then used to facilitate the testing of higher level components. The process is repeated until the component at the top of the hierarchy is tested.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Boundary Testing? &lt;/b&gt;&lt;br /&gt;Test which focus on the boundary or limit conditions of the software being tested. (Some of these tests are stress tests).&lt;br /&gt;&lt;b&gt;What is Bug?&lt;/b&gt;&lt;br /&gt;A fault in a program which causes the program to perform in an unintended or unanticipated manner.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Boundary Value Analysis? &lt;/b&gt;&lt;br /&gt;BVA is similar to Equivalence Partitioning but focuses on "corner cases" or values that are usually out of range as defined by the specification. his means that if a function expects all values in range of negative 100 to positive 1000, test inputs would include negative 101 and positive 1001.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Branch Testing?&lt;br /&gt;&lt;/b&gt;Testing in which all branches in the program source code are tested at least once.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Breadth Testing? &lt;/b&gt;&lt;br /&gt;A test suite that exercises the full functionality of a product but does not test features in detail.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is CAST?&lt;/b&gt;&lt;br /&gt;Computer Aided Software Testing.&lt;br /&gt;&lt;b&gt;What is CMMI?&lt;/b&gt;&lt;br /&gt;&lt;b&gt;What do you like about computers?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Do you have a favourite QA book? More than one? Which ones? And why.&lt;br /&gt;&lt;br /&gt;What is the responsibility of programmers vs QA?&lt;br /&gt;&lt;br /&gt;What are the properties of a good requirement?&lt;br /&gt;&lt;br /&gt;Ho to do test if we have minimal or no documentation about the product?&lt;br /&gt;&lt;br /&gt;What are all the basic elements in a defect report?&lt;br /&gt;&lt;br /&gt;Is an "A fast database retrieval rate" a testable requirement?&lt;br /&gt;&lt;br /&gt;What is software quality assurance?&lt;br /&gt;&lt;br /&gt;What is the value of a testing group? How do you justify your work and budget?&lt;br /&gt;&lt;br /&gt;What is the role of the test group vis-à-vis documentation, tech support, and so forth?&lt;br /&gt;&lt;br /&gt;How much interaction with users should testers have, and why?&lt;br /&gt;&lt;br /&gt;How should you learn about problems discovered in the field, and what should you learn from those problems?&lt;br /&gt;&lt;br /&gt;What are the roles of glass-box and black-box testing tools?&lt;br /&gt;&lt;br /&gt;What issues come up in test automation, and how do you manage them?&lt;br /&gt;What is Capture/Replay Tool?&lt;br /&gt;&lt;/b&gt;A test tool that records test input as it is sent to the software under test. The input cases stored can then be used to reproduce the test at a later time. Most commonly applied to GUI test tools.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is CMM? &lt;/b&gt;&lt;br /&gt;The Capability Maturity Model for Software (CMM or SW-CMM) is a model for judging the maturity of the software processes of an organization and for identifying the key practices that are required to increase the maturity of these processes.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Cause Effect Graph?&lt;/b&gt;&lt;br /&gt;A graphical representation of inputs and the associated outputs effects which can be used to design test cases.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Code Complete?&lt;br /&gt;&lt;/b&gt;Phase of development where functionality is implemented in entirety; bug fixes are all that are left. All functions found in the Functional Specifications have been implemented.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Code Coverage?&lt;br /&gt;&lt;/b&gt;An analysis method that determines which parts of the software have been executed (covered) by the test case suite and which parts have not been executed and therefore may require additional attention.&lt;br /&gt;&lt;b&gt;What is Code Inspection?&lt;br /&gt;&lt;/b&gt;A formal testing technique where the programmer reviews source code with a group who ask questions analyzing the program logic, analyzing the code with respect to a checklist of historically common programming errors, and analyzing its compliance with coding standards.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Code Walkthrough?&lt;/b&gt;&lt;br /&gt;A formal testing technique where source code is traced by a group with a small set of test cases, while the state of program variables is manually monitored, to analyze the programmer's logic and assumptions.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Coding?&lt;/b&gt;&lt;br /&gt;The generation of source code.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Compatibility Testing? &lt;/b&gt;&lt;br /&gt;Testing whether software is compatible with other elements of a system with which it should operate, e.g. browsers, Operating Systems, or hardware.&lt;br /&gt;&lt;b&gt;What is Component?&lt;/b&gt;&lt;br /&gt;A minimal software item for which a separate specification is available.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Component Testing?&lt;br /&gt;&lt;/b&gt;See the question what is Unit Testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Concurrency Testing?&lt;br /&gt;&lt;/b&gt;Multi-user testing geared towards determining the effects of accessing the same application code, module or database records. Identifies and measures the level of locking, deadlocking and use of single-threaded code and locking semaphores.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Conformance Testing? &lt;/b&gt;&lt;br /&gt;The process of testing that an implementation conforms to the specification on which it is based. Usually applied to testing conformance to a formal standard.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Context Driven Testing?&lt;/b&gt;&lt;br /&gt;The context-driven school of software testing is flavor of Agile Testing that advocates continuous and creative evaluation of testing opportunities in light of the potential information revealed and the value of that information to the organization right now. &lt;/p&gt;&lt;p&gt;&lt;b&gt;What development model should programmers and the test group use? &lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;How do you get programmers to build testability support into their code?&lt;br /&gt;&lt;br /&gt;What is the role of a bug tracking system?&lt;br /&gt;&lt;br /&gt;What are the key challenges of testing?&lt;br /&gt;&lt;br /&gt;Have you ever completely tested any part of a product? How?&lt;br /&gt;&lt;br /&gt;Have you done exploratory or specification-driven testing?&lt;br /&gt;&lt;br /&gt;Should every business test its software the same way?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Discuss the economics of automation and the role of metrics in testing.&lt;br /&gt;&lt;br /&gt;Describe components of a typical test plan, such as tools for interactive products and for database products, as well as cause-and-effect graphs and data-flow diagrams.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;When have you had to focus on data intergrity&lt;/b&gt;&lt;b&gt;?&lt;br /&gt;&lt;br /&gt;What are some of the typical bugs you encountered in your last assignment?&lt;br /&gt;&lt;br /&gt;How do you prioritize testing tasks within a project?&lt;br /&gt;&lt;br /&gt;How do you develop a test plan and schedule? Describe bottom-up and top-down approaches.&lt;br /&gt;&lt;br /&gt;When should you begin test planning?&lt;br /&gt;&lt;br /&gt;When should you begin testing?&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;What is Conversion Testing?&lt;/b&gt;&lt;br /&gt;Testing of programs or procedures used to convert data from existing systems for use in replacement systems.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Cyclomatic Complexity?&lt;/b&gt;&lt;br /&gt;A measure of the logical complexity of an algorithm, used in white-box testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Data Dictionary?&lt;br /&gt;&lt;/b&gt;A database that contains definitions of all data items defined during analysis.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Data Flow Diagram? &lt;/b&gt;&lt;br /&gt;A modeling notation that represents a functional decomposition of a system.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Data Driven Testing?&lt;/b&gt;&lt;br /&gt;Testing in which the action of a test case is parameterized by externally defined data values, maintained as a file or spreadsheet. A common technique in Automated Testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Debugging?&lt;br /&gt;&lt;/b&gt;The process of finding and removing the causes of software failures.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Defect?&lt;/b&gt;&lt;br /&gt;Nonconformance to requirements or functional / program specification&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Dependency Testing?&lt;br /&gt;&lt;/b&gt;Examines an application's requirements for pre-existing software, initial states and configuration in order to maintain proper functionality.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Depth Testing?&lt;/b&gt;&lt;br /&gt;A test that exercises a feature of a product in full detail.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Dynamic Testing? &lt;/b&gt;&lt;br /&gt;Testing software through executing it. See also Static Testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Emulator?&lt;br /&gt;&lt;/b&gt;A device, computer program, or system that accepts the same inputs and produces the same outputs as a given system.&lt;br /&gt;&lt;b&gt; &lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;What is Endurance Testing?&lt;/b&gt;&lt;br /&gt;Checks for memory leaks or other problems that may occur with prolonged execution.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is End-to-End testing?&lt;/b&gt;&lt;br /&gt;Testing a complete application environment in a situation that mimics real-world use, such as interacting with a database, using network communications, or interacting with other hardware, applications, or systems if appropriate.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Equivalence Class? &lt;/b&gt;&lt;br /&gt;A portion of a component's input or output domains for which the component's behaviour is assumed to be the same from the component's specification.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Equivalence Partitioning? &lt;/b&gt;&lt;br /&gt;A test case design technique for a component in which test cases are designed to execute representatives from equivalence classes.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Exhaustive Testing?&lt;br /&gt;&lt;/b&gt;Testing which covers all combinations of input values and preconditions for an element of the software under test.&lt;br /&gt;&lt;b&gt;What is Functional Decomposition?&lt;/b&gt;&lt;br /&gt;A technique used during planning, analysis and design; creates a functional hierarchy for the software.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Functional Specification? &lt;/b&gt;&lt;br /&gt;A document that describes in detail the characteristics of the product with regard to its intended features.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Functional Testing?&lt;/b&gt;&lt;br /&gt;Testing the features and operational behavior of a product to ensure they correspond to its specifications.&lt;br /&gt;Testing that ignores the internal mechanism of a system or component and focuses solely on the outputs generated in response to selected inputs and execution conditions.&lt;br /&gt;See also What is Black Box Testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Glass Box Testing?&lt;/b&gt;&lt;br /&gt;A synonym for White Box Testing.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Do you know of metrics that help you estimate the size of the testing effort?&lt;br /&gt;How do you scope out the size of the testing effort?&lt;br /&gt;&lt;br /&gt;How many hours a week should a tester work?&lt;br /&gt;&lt;br /&gt;How should your staff be managed? How about your overtime?&lt;br /&gt;&lt;br /&gt;How do you estimate staff requirements?&lt;br /&gt;&lt;br /&gt;What do you do (with the project tasks) when the schedule fails?&lt;br /&gt;&lt;br /&gt;How do you handle conflict with programmers?&lt;br /&gt;&lt;br /&gt;How do you know when the product is tested well enough?&lt;br /&gt;&lt;br /&gt;What characteristics would you seek in a candidate for test-group manager?&lt;br /&gt;&lt;br /&gt;What do you think the role of test-group manager should be? Relative to senior management? Relative to other technical groups in the company? Relative to your staff?&lt;br /&gt;&lt;br /&gt;How do your characteristics compare to the profile of the ideal manager that you just described?&lt;br /&gt;&lt;br /&gt;How does your preferred work style work with the ideal test-manager role that you just described? What is different between the way you work and the role you described?&lt;br /&gt;&lt;br /&gt;Who should you hire in a testing group and why?&lt;br /&gt;What is Gorilla Testing?&lt;br /&gt;&lt;/b&gt;Testing one particular module, functionality heavily.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Gray Box Testing?&lt;/b&gt;&lt;br /&gt;A combination of Black Box and White Box testing methodologies? testing a piece of software against its specification but using some knowledge of its internal workings.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is High Order Tests?&lt;/b&gt;&lt;br /&gt;Black-box tests conducted once the software has been integrated.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Independent Test Group (ITG)? &lt;/b&gt;&lt;br /&gt;A group of people whose primary responsibility is software testing,&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Inspection?&lt;/b&gt;&lt;br /&gt;A group review quality improvement process for written material. It consists of two aspects; product (document itself) improvement and process improvement (of both document production and inspection).&lt;br /&gt;&lt;b&gt;What is Integration Testing?&lt;br /&gt;&lt;/b&gt;Testing of combined parts of an application to determine if they function together correctly. Usually performed after unit and functional testing. This type of testing is especially relevant to client/server and distributed systems.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Installation Testing?&lt;br /&gt;&lt;/b&gt;Confirms that the application under test recovers from expected or unexpected events without loss of data or functionality. Events can include shortage of disk space, unexpected loss of communication, or power out conditions.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Load Testing?&lt;/b&gt;&lt;br /&gt;See performance testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Localization Testing?&lt;br /&gt;&lt;/b&gt;This term refers to making software specifically designed for a specific locality.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Loop Testing?&lt;/b&gt;&lt;br /&gt;A white box testing technique that exercises program loops.&lt;br /&gt;&lt;b&gt;What is Metric?&lt;/b&gt;&lt;br /&gt;A standard of measurement. Software metrics are the statistics describing the structure or content of a program. A metric should be a real objective measurement of something such as number of bugs per lines of code.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Monkey Testing?&lt;/b&gt;&lt;br /&gt;Testing a system or an Application on the fly, i.e just few tests here and there to ensure the system or an application does not crash out.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Negative Testing?&lt;br /&gt;&lt;/b&gt;Testing aimed at showing software does not work. Also known as "test to fail". See also Positive Testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Path Testing?&lt;/b&gt;&lt;br /&gt;Testing in which all paths in the program source code are tested at least once.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Performance Testing?&lt;br /&gt;&lt;/b&gt;Testing conducted to evaluate the compliance of a system or component with specified performance requirements. Often this is performed using an automated test tool to simulate large number of users. Also know as "Load Testing". &lt;/p&gt;&lt;p&gt;&lt;b&gt;What is Positive Testing?&lt;br /&gt;&lt;/b&gt;Testing aimed at showing software works. Also known as "test to pass". See also Negative Testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Quality Assurance?&lt;br /&gt;&lt;/b&gt;All those planned or systematic actions necessary to provide adequate confidence that a product or service is of the type and quality needed and expected by the customer.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Quality audit&lt;/b&gt;&lt;b&gt;? &lt;/b&gt;&lt;br /&gt;A systematic and independent examination to determine whether quality activities and related results comply with planned arrangements and whether these arrangements are implemented effectively and are suitable to achieve objectives.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Quality Circle?&lt;br /&gt;&lt;/b&gt;A group of individuals with related interests that meet at regular intervals to consider problems or other matters related to the quality of outputs of a process and to the correction of problems or to the improvement of quality.&lt;/p&gt;&lt;p&gt;&lt;b&gt;What is Quality Control? &lt;/b&gt;&lt;br /&gt;The operational techniques and the activities used to fulfill and verify requirements of quality.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Quality Management?&lt;/b&gt;&lt;br /&gt;That aspect of the overall management function that determines and implements the quality policy.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Quality Policy?&lt;/b&gt;&lt;br /&gt;The overall intentions and direction of an organization as regards quality as formally expressed by top management.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Quality System?&lt;br /&gt;&lt;/b&gt;The organizational structure, responsibilities, procedures, processes, and resources for implementing quality management.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Race Condition?&lt;/b&gt;&lt;br /&gt;A cause of concurrency problems. Multiple accesses to a shared resource, at least one of which is a write, with no mechanism used by either to moderate simultaneous access.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Ramp Testing? &lt;/b&gt;&lt;br /&gt;Continuously raising an input signal until the system breaks down. &lt;/p&gt;&lt;p&gt;&lt;b&gt;What is Recovery Testing?&lt;/b&gt;&lt;br /&gt;Confirms that the program recovers from expected or unexpected events without loss of data or functionality. Events can include shortage of disk space, unexpected loss of communication, or power out conditions.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Regression Testing?&lt;/b&gt;&lt;br /&gt;Retesting a previously tested program following modification to ensure that faults have not been introduced or uncovered as a result of the changes made.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Release Candidate?&lt;br /&gt;&lt;/b&gt;A pre-release version, which contains the desired functionality of the final version, but which needs to be tested for bugs (which ideally should be removed before the final version is released).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Sanity Testing?&lt;br /&gt;&lt;/b&gt;Brief test of major functional elements of a piece of software to determine if its basically operational. See also Smoke Testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Scalability Testing?&lt;/b&gt;&lt;br /&gt;Performance testing focused on ensuring the application under test gracefully handles increases in work load.&lt;br /&gt;What is the role of metrics in comparing staff performance in human resources management?&lt;br /&gt;How do you estimate staff requirements?&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What do you do (with the project staff) when the schedule fails?&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;Describe some staff conflicts youÂ’ve handled.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Why did you ever become involved in QA/testing?&lt;br /&gt;&lt;br /&gt;What is the difference between testing and Quality Assurance?&lt;br /&gt;&lt;br /&gt;What was a problem you had in your previous assignment (testing if possible)? How did you resolve it?&lt;br /&gt;&lt;br /&gt;What are two of your strengths that you will bring to our QA/testing team?&lt;br /&gt;&lt;br /&gt;What do you like most about Quality Assurance/Testing?&lt;br /&gt;&lt;br /&gt;What do you like least about Quality Assurance/Testing?&lt;br /&gt;&lt;br /&gt;What is the Waterfall Development Method and do you agree with all the steps?&lt;br /&gt;&lt;br /&gt;What is the V-Model Development Method and do you agree with this model?&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;What is Security Testing?&lt;br /&gt;&lt;/b&gt;Testing which confirms that the program can restrict access to authorized personnel and that the authorized personnel can access the functions available to their security level.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Smoke Testing?&lt;br /&gt;&lt;/b&gt;A quick-and-dirty test that the major functions of a piece of software work. Originated in the hardware testing practice of turning on a new piece of hardware for the first time and considering it a success if it does not catch on fire.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Soak Testing?&lt;/b&gt;&lt;br /&gt;Running a system at high load for a prolonged period of time. For example, running several times more transactions in an entire day (or night) than would be expected in a busy day, to identify and performance problems that appear after a large number of transactions have been executed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Software Requirements Specification?&lt;/b&gt;&lt;br /&gt;A deliverable that describes all data, functional and behavioral requirements, all constraints, and all validation requirements for software/&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Software Testing?&lt;/b&gt;&lt;br /&gt;A set of activities conducted with the intent of finding errors in software.&lt;br /&gt;&lt;b&gt; &lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;What is Static Analysis?&lt;br /&gt;&lt;/b&gt;Analysis of a program carried out without executing the program.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Static Analyzer?&lt;br /&gt;&lt;/b&gt;A tool that carries out static analysis.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Static Testing?&lt;/b&gt;&lt;br /&gt;Analysis of a program carried out without executing the program.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Storage Testing?&lt;/b&gt;&lt;br /&gt;Testing that verifies the program under test stores data files in the correct directories and that it reserves sufficient space to prevent unexpected termination resulting from lack of space. This is external storage as opposed to internal storage.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Stress Testing?&lt;/b&gt;&lt;br /&gt;Testing conducted to evaluate a system or component at or beyond the limits of its specified requirements to determine the load under which it fails and how. Often this is performance testing using a very high level of simulated load. &lt;/p&gt;&lt;p&gt;&lt;b&gt;What is Structural Testing?&lt;/b&gt;&lt;br /&gt;Testing based on an analysis of internal workings and structure of a piece of software. See also White Box Testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is System Testing?&lt;br /&gt;&lt;/b&gt;Testing that attempts to discover defects that are properties of the entire system rather than of its individual components.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Testability?&lt;br /&gt;&lt;/b&gt;The degree to which a system or component facilitates the establishment of test criteria and the performance of tests to determine whether those criteria have been met.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Test Bed?&lt;/b&gt;&lt;br /&gt;An execution environment configured for testing. May consist of specific hardware, OS, network topology, configuration of the product under test, other application or system software, etc. The Test Plan for a project should enumerated the test beds(s) to be used.&lt;br /&gt;&lt;b&gt;What is Test Case?&lt;/b&gt;&lt;br /&gt;Test Case is a commonly used term for a specific test. This is usually the smallest unit of testing. A Test Case will consist of information such as requirements testing, test steps, verification steps, prerequisites, outputs, test environment, etc.&lt;br /&gt;A set of inputs, execution preconditions, and expected outcomes developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement.&lt;br /&gt;Test Driven Development? Testing methodology associated with Agile Programming in which every chunk of code is covered by unit tests, which must all pass all the time, in an effort to eliminate unit-level and regression bugs during development. Practitioners of TDD write a lot of tests, i.e. an equal number of lines of test code to the size of the production code.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Test Driver?&lt;br /&gt;&lt;/b&gt;A program or test tool used to execute a tests. Also known as a Test Harness.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Test Environment?&lt;/b&gt;&lt;br /&gt;The hardware and software environment in which tests will be run, and any other software with which the software under test interacts when under test including stubs and test drivers.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Test First Design?&lt;br /&gt;&lt;/b&gt;Test-first design is one of the mandatory practices of Extreme Programming (XP).It requires that programmers do not write any production code until they have first written a unit test.&lt;br /&gt;&lt;b&gt;What is a "Good Tester"?&lt;br /&gt;&lt;br /&gt;Could you tell me two things you did in your previous assignment (QA/Testing related hopefully) that you are proud of?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;List 5 words that best describe your strengths.&lt;br /&gt;&lt;br /&gt;What are two of your weaknesses?&lt;br /&gt;&lt;br /&gt;What methodologies have you used to develop test cases?&lt;br /&gt;&lt;br /&gt;In an application currently in production, one module of code is being modified. Is it necessary to re- test the whole application or is it enough to just test functionality associated with that module?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How do you go about going into a new organization? How do you assimilate?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Define the following and explain their usefulness:change management, Configuration Management, Version Control, and Defect Tracking.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is ISO 9000? Have you ever been in an ISO shop?&lt;br /&gt;&lt;br /&gt;When are you done testing?&lt;br /&gt;&lt;br /&gt;What is the difference between a test strategy and a test plan?&lt;br /&gt;&lt;br /&gt;What is ISO 9003? Why is it important&lt;br /&gt;What is Test Harness? &lt;/b&gt;&lt;br /&gt;A program or test tool used to execute a tests. Also known as a Test Driver.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Test Plan?&lt;/b&gt;&lt;br /&gt;A document describing the scope, approach, resources, and schedule of intended testing activities. It identifies test items, the features to be tested, the testing tasks, who will do each task, and any risks requiring contingency planning. Ref IEEE Std 829.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Test Procedure?&lt;/b&gt;&lt;br /&gt;A document providing detailed instructions for the execution of one or more test cases.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Test Script?&lt;/b&gt;&lt;br /&gt;Commonly used to refer to the instructions for a particular test that will be carried out by an automated test tool.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Test Specification?&lt;br /&gt;&lt;/b&gt;A document specifying the test approach for a software feature or combination or features and the inputs, predicted results and execution conditions for the associated tests.&lt;br /&gt;&lt;b&gt;What is Test Suite?&lt;/b&gt;&lt;br /&gt;A collection of tests used to validate the behavior of a product. The scope of a Test Suite varies from organization to organization. There may be several Test Suites for a particular product for example. In most cases however a Test Suite is a high level concept, grouping together hundreds or thousands of tests related by what they are intended to test.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Test Tools?&lt;br /&gt;&lt;/b&gt;Computer programs used in the testing of a system, a component of the system, or its documentation.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Thread Testing?&lt;br /&gt;&lt;/b&gt;A variation of top-down testing where the progressive integration of components follows the implementation of subsets of the requirements, as opposed to the integration of components by successively lower levels.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Top Down Testing?&lt;br /&gt;&lt;/b&gt;An approach to integration testing where the component at the top of the component hierarchy is tested first, with lower level components being simulated by stubs. Tested components are then used to test lower level components. The process is repeated until the lowest level components have been tested.&lt;br /&gt;&lt;b&gt;What is Total Quality Management?&lt;br /&gt;&lt;/b&gt;A company commitment to develop a process that achieves high quality product and customer satisfaction.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Traceability Matrix?&lt;br /&gt;&lt;/b&gt;A document showing the relationship between Test Requirements and Test Cases.&lt;br /&gt;&lt;br /&gt;What is Usability Testing?&lt;br /&gt;Testing the ease with which users can learn and use a product.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Use Case?&lt;br /&gt;&lt;/b&gt;The specification of tests that are conducted from the end-user perspective. Use cases tend to focus on operating software as an end-user would conduct their day-to-day activities.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Unit Testing?&lt;br /&gt;&lt;/b&gt;Testing of individual software components.&lt;br /&gt;What is Validation?&lt;br /&gt;The process of evaluating software at the end of the software development process to ensure compliance with software requirements. The techniques for validation is testing, inspection and reviewing&lt;br /&gt;&lt;b&gt;What is Verification?&lt;/b&gt;&lt;br /&gt;The process of determining whether of not the products of a given phase of the software development cycle meet the implementation steps and can be traced to the incoming objectives established during the previous phase. The techniques for verification are testing, inspection and reviewing.&lt;br /&gt;What is Volume Testing?&lt;br /&gt;Testing which confirms that any values that may become large over time (such as accumulated counts, logs, and data files), can be accommodated by the program and will not cause the program to stop working or degrade its operation in any manner.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Walkthrough?&lt;/b&gt;&lt;br /&gt;A review of requirements, designs or code characterized by the author of the material under review guiding the progression of the review.&lt;br /&gt;What is White Box Testing?&lt;br /&gt;Testing based on an analysis of internal workings and structure of a piece of software. Includes techniques such as Branch Testing and Path Testing. Also known as Structural Testing and Glass Box Testing. Contrast with Black Box Testing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is Workflow Testing?&lt;br /&gt;&lt;/b&gt;Scripted end-to-end testing which duplicates specific workflows which are expected to be utilized by the end-user.&lt;br /&gt;What are ISO standards? Why are they important?&lt;br /&gt;What is IEEE 829? (This standard is important for Software Test Documentation-Why?)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is IEEE? Why is it important?&lt;br /&gt;&lt;br /&gt;Do you support automated testing? Why?&lt;br /&gt;&lt;br /&gt;We have a testing assignment that is time-driven. Do you think automated tests are the best solution?&lt;br /&gt;&lt;br /&gt;What is your experience with change control? Our development team has only 10 members. Do you think managing change is such a big deal for us?&lt;br /&gt;&lt;br /&gt;Are reusable test cases a big plus of automated testing and explain why.&lt;br /&gt;&lt;br /&gt;Can you build a good audit trail using Compuware's QACenter products. Explain why.&lt;br /&gt;&lt;br /&gt;How important is Change Management in today's computing environments?&lt;br /&gt;&lt;br /&gt;Do you think tools are required for managing change. Explain and please list some tools/practices which can help you managing change.&lt;br /&gt;&lt;br /&gt;We believe in ad-hoc software processes for projects. Do you agree with this? Please explain your answer.&lt;br /&gt;&lt;br /&gt;When is a good time for system testing?&lt;br /&gt;Are regression tests required or do you feel there is a better use for resources?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Our software designers use UML for modeling applications. Based on their use cases, we would like to plan a test strategy. Do you agree with this approach or would this mean more effort for the testers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tell me about a difficult time you had at work and how you worked through it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Give me an example of something you tried at work but did not work out so you had to go at things another way.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How can one file compare future dated output files from a program which has change, against the baseline run which used current date for input. The client does not want to mask dates on the output files to allow compares&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;Test Automation&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;b&gt;What automating testing tools are you familiar with?&lt;br /&gt;How did you use automating testing tools in your job?&lt;br /&gt;&lt;br /&gt;Describe some problem that you had with automating testing tool.&lt;br /&gt;&lt;br /&gt;How do you plan test automation?&lt;br /&gt;&lt;br /&gt;Can test automation improve test effectiveness?&lt;br /&gt;&lt;br /&gt;What is data - driven automation?&lt;br /&gt;&lt;br /&gt;What are the main attributes of test automation?&lt;br /&gt;&lt;br /&gt;Does automation replace manual testing?&lt;br /&gt;&lt;br /&gt;How will you choose a tool for test automation?&lt;br /&gt;&lt;br /&gt;How you will evaluate the tool for test automation?&lt;br /&gt;&lt;br /&gt;What are main benefits of test automation?&lt;br /&gt;&lt;br /&gt;What could go wrong with test automation?&lt;br /&gt;&lt;br /&gt;How you will describe testing activities?&lt;br /&gt;&lt;br /&gt;What testing activities you may want to automate?&lt;/b&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-7978744284138598740?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/7978744284138598740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=7978744284138598740' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7978744284138598740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7978744284138598740'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/08/testing-and-quality-assurance.html' title='Testing and Quality Assurance'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-5802322867163960097</id><published>2009-08-06T03:43:00.001-07:00</published><updated>2009-08-06T03:43:55.204-07:00</updated><title type='text'>Networking+ Acronyms</title><content type='html'>&lt;p&gt;NETWORK+ ACRONYMS&lt;/p&gt;&lt;p&gt;AAA       Authentication Authorization and Accounting&lt;br /&gt;ACL       Access Control List&lt;br /&gt;ADF       Automatic Document Feeder&lt;br /&gt;ADSL      Asymmetric Digital Subscriber Line&lt;br /&gt;AES       Advanced Encryption Standard&lt;br /&gt;AEP       American Electric Power&lt;br /&gt;AFP       AppleTalk Filing Protocol&lt;br /&gt;AH        Authentication Header&lt;br /&gt;AM        Amplitude Modulation&lt;br /&gt;AMI       Alternate Mark Inversion&lt;br /&gt;APIPA     Automatic Private Internet Protocol Addressing&lt;br /&gt;ARIN      American Registry for Internet Numbers&lt;br /&gt;ARP       Address Resolution Protocol&lt;br /&gt;ASP       Application Service Provider&lt;br /&gt;ATM       Asynchronous Transfer Mode&lt;br /&gt;BDF       Building Distribution Frame&lt;br /&gt;BERT      Bit-Error Rate Test&lt;br /&gt;BGP       Border Gateway Protocol&lt;br /&gt;BNC       British Naval Connector / Bayonet Niell-Concelman&lt;br /&gt;BootP     Boot Protocol /Bootstrap Protocol&lt;br /&gt;BPDU      Bridge Protocol Data Unit&lt;br /&gt;BRI       Basic Rate Interface&lt;br /&gt;CHAP      Challenge Handshake Authentication Protocol&lt;br /&gt;CIDR      Classless inter domain routing&lt;br /&gt;CNAME     Canonical Name&lt;br /&gt;CRAM-MD5  Challenge-Response Authentication Mechanism – Message Digest 5&lt;br /&gt;CSMA / CA Carrier Sense Multiple Access / Collision Avoidance&lt;br /&gt;CSMA / CD Carrier Sense Multiple Access / Collision Detection&lt;br /&gt;CSU       Channel Service Unit&lt;br /&gt;dB        decibels&lt;br /&gt;DHCP      Dynamic Host Configuration Protocol&lt;br /&gt;DLC       Data Link Control&lt;br /&gt;DMZ       Demilitarized Zone&lt;br /&gt;DNS       Domain Name Service / Domain Name Server / Domain Name System&lt;br /&gt;DOCSIS    Data-Over-Cable Service Interface Specification&lt;br /&gt;DoS       Denial of Service&lt;br /&gt;DDoS      Distributed Denial of Service&lt;br /&gt;DSL       Digital Subscriber Line&lt;br /&gt;DSU       Data Service Unit&lt;br /&gt;DWDM      Dense Wavelength Division Multiplexing&lt;br /&gt;E1        E-Carrier Level 1&lt;br /&gt;EAP       Extensible Authentication Protocol&lt;br /&gt;EGP       Exterior Gateway Protocol&lt;br /&gt;EIGRP     Enhanced Interior Gateway Routing Protocol&lt;br /&gt;EMI       Electromagnetic Interference&lt;br /&gt;ESD       Electrostatic Discharge&lt;br /&gt;ESSID     Enhanced Service Set Identifier&lt;br /&gt;ESP       Encapsulated security packets&lt;br /&gt;FDDI     Fiber Distributed Data Interface&lt;br /&gt;FDM      Frequency Division Multiplexing&lt;br /&gt;FHSS     Frequency Hopping Spread Spectrum&lt;br /&gt;FM       Frequency Modulation&lt;br /&gt;FQDN     Fully Qualified Domain Name / Fully Qualified Distinguished Name&lt;br /&gt;FTP      File Transfer Protocol&lt;br /&gt;GBIC     Gigabit Interface Converter&lt;br /&gt;Gbps     Giga bits per second&lt;br /&gt;HDLC     High-Level Data Link Control&lt;br /&gt;HSRP     Hot Standby Router Protocol&lt;br /&gt;HTTP     Hypertext Transfer Protocol&lt;br /&gt;HTTPS    Hypertext Transfer Protocol Secure&lt;br /&gt;Hz       Hertz&lt;br /&gt;IANA     Internet Assigned Numbers Authority&lt;br /&gt;ICA      Independent Computer Architecture&lt;br /&gt;ICANN    Internet Corporation for Assigned Names and Numbers&lt;br /&gt;ICMP     Internet Control Message Protocol&lt;br /&gt;ICS      Internet Connection Sharing&lt;br /&gt;IDF      Intermediate Distribution Frame&lt;br /&gt;IDS      Intrusion Detection System&lt;br /&gt;IEEE     Institute of Electrical and Electronics Engineers&lt;br /&gt;IGMP     Internet Group Multicast Protocol&lt;br /&gt;IGP      Interior Gateway Protocol&lt;br /&gt;IIS      Internet Information Services&lt;br /&gt;IKE      Internet Key Exchange&lt;br /&gt;IMAP4    Internet Message Access Protocol version 4&lt;br /&gt;InterNIC Internet Network Information Center&lt;br /&gt;IP       Internet Protocol&lt;br /&gt;IPS      Intrusion Prevention System&lt;br /&gt;IPSec    Internet Protocol Security&lt;br /&gt;IPv4     Internet Protocol version 4&lt;br /&gt;IPv6     Internet Protocol version 6&lt;br /&gt;IPX      Internetwork Packet Exchange&lt;br /&gt;ISDN     Integrated Services Digital Network&lt;br /&gt;IS-IS    Intermediate System - Intermediate system&lt;br /&gt;ISP      Internet Service Provider&lt;br /&gt;IT       Information Technology&lt;br /&gt;Kbps     Kilobits per second&lt;br /&gt;L2F      Layer 2 Forwarding&lt;br /&gt;L2TP     Layer 2 Tunneling Protocol&lt;br /&gt;LACP     Link aggregation control protocol&lt;br /&gt;LAN      Local Area Network&lt;br /&gt;LC       Local Connector&lt;br /&gt;LDAP     Lightweight Directory Access Protocol&lt;br /&gt;LEC      Local Exchange Carrier&lt;br /&gt;LED      Light Emitting Diode&lt;br /&gt;LLC      Logical Link Control&lt;br /&gt;LPR      Line Printer Request&lt;br /&gt;MAC      Media Access Control / Medium Access Control&lt;br /&gt;Mbps     Megabits per second&lt;br /&gt;MBps    Megabytes per second&lt;br /&gt;MDF     Main Distribution Frame&lt;br /&gt;MDI     Media Dependent Interface&lt;br /&gt;MDIX    Media Dependent Interface Crossover&lt;br /&gt;MIB     Management Information Base&lt;br /&gt;MMF     Multimode Fiber&lt;br /&gt;MPLS    Multi-Protocol Label Switching&lt;br /&gt;MS-CHAP Microsoft Challenge Handshake Authentication Protocol&lt;br /&gt;MT-RJ   Mechanical Transfer-Registered Jack&lt;br /&gt;MX      Mail Exchanger&lt;br /&gt;NAC     Network Access Control&lt;br /&gt;NAT     Network Address Translation&lt;br /&gt;NCP     Network Control Protocol&lt;br /&gt;NetBEUI Network Basic Input / Output Extended User Interface&lt;br /&gt;NetBIOS Network Basic Input / Output System&lt;br /&gt;NFS     Network File Service&lt;br /&gt;NIC     Network Interface Card&lt;br /&gt;nm      Nanometer&lt;br /&gt;NNTP    Network News Transport Protocol&lt;br /&gt;NTP     Network Time Protocol&lt;br /&gt;NWLINK  Microsoft IPX/SPX Protocol&lt;br /&gt;OCx     Optical Carrier&lt;br /&gt;OS      Operating Systems&lt;br /&gt;OSI     Open Systems Interconnect&lt;br /&gt;OSPF    Open Shortest Path First&lt;br /&gt;OTDR    Optical Time Domain Reflectometer&lt;br /&gt;PAP     Password Authentication Protocol&lt;br /&gt;PAT     Port Address Translation&lt;br /&gt;PC      Personal Computer&lt;br /&gt;PKI     Public Key Infrastructure&lt;br /&gt;PoE     Power over Ethernet&lt;br /&gt;POP3    Post Office Protocol version 3&lt;br /&gt;POTS    Plain Old Telephone System&lt;br /&gt;PPP     Point-to-Point Protocol&lt;br /&gt;PPPoE   Point-to-Point Protocol over Ethernet&lt;br /&gt;PPTP    Point-to-Point Tunneling Protocol&lt;br /&gt;PRI     Primary Rate Interface&lt;br /&gt;PSTN    Public Switched Telephone Network&lt;br /&gt;PVC     Permanent Virtual Circuit&lt;br /&gt;QoS     Quality of Service&lt;br /&gt;RADIUS  Remote Authentication Dial-In User Service&lt;br /&gt;RARP    Reverse Address Resolution Protocol&lt;br /&gt;RAS     Remote Access Service&lt;br /&gt;RDP     Remote Desktop Protocol&lt;br /&gt;RFI     Radio Frequency Interface&lt;br /&gt;RG      Radio Guide&lt;br /&gt;RIP     Routing Internet Protocol&lt;br /&gt;RJ      Registered Jack&lt;br /&gt;RSA     Rivest, Shamir, Adelman&lt;br /&gt;RSH     Remote Shell&lt;br /&gt;RTP      Real Time Protocol&lt;br /&gt;SC       Standard Connector / Subscriber Connector&lt;br /&gt;SCP      Secure Copy Protocol&lt;br /&gt;SDSL     Symmetrical Digital Subscriber Line&lt;br /&gt;SFTP     Secure File Transfer Protocol&lt;br /&gt;SIP      Session Initiation Protocol&lt;br /&gt;SLIP     Serial Line Internet Protocol&lt;br /&gt;SMF      Single Mode Fiber&lt;br /&gt;SMTP     Simple Mail Transfer Protocol&lt;br /&gt;SNAT     Static Network Address Translation&lt;br /&gt;SNMP     Simple Network Management Protocol&lt;br /&gt;SOA      Start of Authority&lt;br /&gt;SOHO     Small Office / Home Office&lt;br /&gt;SONET    Synchronous Optical Network&lt;br /&gt;SPS      Standby Power Supply&lt;br /&gt;SPX      Sequenced Packet Exchange&lt;br /&gt;SSH      Secure Shell&lt;br /&gt;SSID     Service Set Identifier&lt;br /&gt;SSL      Secure Sockets Layer&lt;br /&gt;ST       Straight Tip&lt;br /&gt;STP      Shielded Twisted Pair&lt;br /&gt;T1       T-Carrier Level 1&lt;br /&gt;TA       Terminal Adaptor&lt;br /&gt;TACACS+  Terminal Access Control Access Control System+&lt;br /&gt;TCP      Transmission Control Protocol&lt;br /&gt;TCP / IP Transmission Control Protocol / Internet Protocol&lt;br /&gt;tcsh     Turbo C shell&lt;br /&gt;TDM      Time Division Multiplexing&lt;br /&gt;TDR      Time Domain Reflectometer&lt;br /&gt;Telco    Telephone Company&lt;br /&gt;TFTP     Trivial File Transfer Protocol&lt;br /&gt;TKIP     Temporal Key Integrity Protocol&lt;br /&gt;TLS      Transport Layer Security&lt;br /&gt;TTL      Time to Live&lt;br /&gt;UDP      User Datagram Protocol&lt;br /&gt;UNC      Universal Naming Convention&lt;br /&gt;UPS      Uninterruptible Power Supply&lt;br /&gt;URL      Uniform Resource Locator&lt;br /&gt;USB      Universal Serial Bus&lt;br /&gt;UTP      Unshielded Twisted Pair&lt;br /&gt;VDSL     Variable Digital Subscriber Line&lt;br /&gt;VLAN     Virtual Local Area Network&lt;br /&gt;VNC      Virtual Network Connection&lt;br /&gt;VoIP     Voice over IP&lt;br /&gt;VPN      Virtual Private Network&lt;br /&gt;VTP      Virtual Trunk Protocol&lt;br /&gt;WAN      Wide Area Network&lt;br /&gt;WAP      Wireless Application Protocol / Wireless Access Point&lt;br /&gt;WEP      Wired Equivalent Privacy&lt;br /&gt;WINS     Window Internet Name Service&lt;br /&gt;WPA      Wi-Fi Protected Access&lt;br /&gt;www      World Wide Web&lt;br /&gt;X.25     CCITT Packet Switching Protocol&lt;br /&gt;XML      eXtensible Markup Language&lt;br /&gt;XDSL     Extended Digital Subscriber Line&lt;br /&gt;Zeroconf Zero Configuration&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-5802322867163960097?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/5802322867163960097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=5802322867163960097' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5802322867163960097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5802322867163960097'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/08/networking-acronyms.html' title='Networking+ Acronyms'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-7669664781492930512</id><published>2009-06-09T05:47:00.000-07:00</published><updated>2009-06-10T02:30:05.102-07:00</updated><title type='text'>Setting reverse DNS in Bind in Debian</title><content type='html'>If you have a simple DNS setting without Reverse DNS, this might help you to setup.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 1: Add Reverse zone entery in /etc/bind/named.conf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;// add local zone definitions here&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;zone "0.168.192.in-addr.arpa" {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        type master;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        file "/etc/bind/yourdomain.rev";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;zone "yourdomain.com" {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        type master;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        file "/etc/bind/yourdomain.com";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        allow-query { any; };&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2: Create the /etc/bind/yourdomain.rev file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;                                        &lt;span style="font-style: italic;"&gt;$TTL    300&lt;/span&gt;0&lt;br /&gt;&lt;span style="font-style: italic;"&gt;@       IN      SOA     ns.yourdomain.com. postmaster.yourdomain.com. (&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                            1312         ; Serial&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                            300         ; Refresh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                            150         ; Retry&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                             4W         ; Expire&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                             1H )       ; Negative Cache TTL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;; NS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                        IN      NS              ns.yourdomain.com.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1                      IN      PTR             www.yourdomain.com.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;2                      IN      PTR             mail.yourdomain.com.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 3: Reload the configuration&lt;/span&gt;&lt;br /&gt;/etc/init.d/bind force-reload&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 4: Test the Reverse lookup&lt;/span&gt;&lt;br /&gt;before doing that make sure your DNS is right one in /etc/resolve.conf file,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#dnslookup&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&gt; mail.yourdomain.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Server:        192.168.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Address:    192.168.0.1#53&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Non-authoritative answer:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Name:    mail.yourdomain.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Address: 192.168.0.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&gt; 192.168.0.2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Server:       192.168.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Address:    192.168.0.1#53&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;2.0.168.192.in-addr.arpa    name = mail.yourdomain.com.&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.debuntu.org/2006/08/05/85-how-to-setting-up-a-dns-zone-with-bind9/2"&gt;&lt;br /&gt;http://www.debuntu.org/2006/08/05/85-how-to-setting-up-a-dns-zone-with-bind9/2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-7669664781492930512?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/7669664781492930512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=7669664781492930512' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7669664781492930512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7669664781492930512'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/06/setting-reverse-dns-in-bind-in-debian.html' title='Setting reverse DNS in Bind in Debian'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-4791745662004885470</id><published>2009-06-09T01:22:00.000-07:00</published><updated>2009-06-09T03:27:07.950-07:00</updated><title type='text'>Allow TFTP traffic Through IPCOP Firewall</title><content type='html'>It is weired that IPCOP block the tftp traffic from external server to internal. In order to work properly we have to add rule manually in the /etc/rc.d/&lt;br /&gt;&lt;br /&gt;imran@imran-laptop:~$ ssh root@192.168.0.1 -p 222&lt;br /&gt;root@10.47.0.1's password:&lt;br /&gt;Last login: Mon Jun  8 16:21:12 2009 from imran-laptop.owera.com&lt;br /&gt;root@firewall:~ # nano /etc/rc.d/rc.network&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;## add following for TFTP traffic&lt;br /&gt;&lt;br /&gt;modprobe ip_conntrack_tftp&lt;br /&gt;modprobe ip_nat_tftp&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reboot the Firewall to take effect or enter the above command in command line.&lt;br /&gt;&lt;br /&gt;Further Info:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://keystoneit.wordpress.com/2007/11/25/tftp-through-ipcop-or-other-iptables-firewalls/"&gt;http://keystoneit.wordpress.com/2007/11/25/tftp-through-ipcop-or-other-iptables-firewalls/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-4791745662004885470?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/4791745662004885470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=4791745662004885470' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4791745662004885470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4791745662004885470'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/06/allow-tftp-traffic-through-ipcop.html' title='Allow TFTP traffic Through IPCOP Firewall'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-7753061241859446066</id><published>2009-05-14T05:38:00.000-07:00</published><updated>2009-05-14T05:45:07.958-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='G'/><title type='text'>Increase the responce time/improve performace of GNOME Desktop in Ubunu</title><content type='html'>Metacity will give the user less feedback by using wireframes, avoiding animations, or other means. This is a significant reduction in usability for many users, but may allow legacy applications to continue working, and may also be a useful tradeoff for terminal servers. However, the wireframe feature is disabled when accessibility is on. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Open the Configuration Editor&lt;br /&gt;&lt;br /&gt;Alt+F2 then type gconf-editor&lt;br /&gt;&lt;br /&gt;Step2: Go to apps-&gt;metacity-&gt;general&lt;br /&gt;&lt;br /&gt;Step3: Check (true) to reduced_resource.&lt;br /&gt;&lt;br /&gt;This will increase the response time, you will notice the difference.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-7753061241859446066?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/7753061241859446066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=7753061241859446066' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7753061241859446066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7753061241859446066'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/05/increase-responce-timeimprove.html' title='Increase the responce time/improve performace of GNOME Desktop in Ubunu'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-6565006884701256355</id><published>2009-05-13T00:39:00.000-07:00</published><updated>2009-10-19T05:37:06.875-07:00</updated><title type='text'>PPPoE Server Under Ubuntu/Debian</title><content type='html'>&lt;span style="font-weight: bold;"&gt;PPPoE Server Setup:&lt;/span&gt;&lt;br /&gt;Operating System: Ubuntu Desktop(8.04)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1) Installation of Softwares:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Server Side&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;a) ppp&lt;/span&gt;&lt;br /&gt;apt-get install ppp&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;b) pppoe&lt;/span&gt;&lt;br /&gt;apt-get install pppoe&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;c) rp-pppoe (I used rp-pppoe-3.10.tar.gz)&lt;/span&gt;&lt;br /&gt;RP PPPoE; can be obtained from,&lt;br /&gt;&lt;a href="http://www.roaringpenguin.com/products/pppoe"&gt;http://www.roaringpenguin.com/products/pppoe&lt;/a&gt;&lt;br /&gt;After download&lt;br /&gt;Move it to some place e.g /var/tmp, unpack and change permission&lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;"&gt;root@pppoe:/var/tmp# mv /home/imran/Desktop/rp-pppoe-3.10.tar.gz /var/tmp/&lt;br /&gt;&lt;br /&gt;root@pppoe:/var/tmp# tar -xvf rp-pppoe-3.10.tar.gz&lt;br /&gt;&lt;br /&gt;root@pppoe:/var/tmp# chown imran:imran rp-pppoe-3.10&lt;br /&gt;&lt;br /&gt;root@pppoe:/var/tmp# ls -l&lt;br /&gt;&lt;br /&gt;total 220&lt;br /&gt;&lt;br /&gt;drwxr-xr-x 8 imran imran   4096 2008-06-30 16:00 rp-pppoe-3.10&lt;br /&gt;&lt;br /&gt;-rw-r--r-- 1 imran imran 215288 2009-10-19 10:31 rp-pppoe-3.10.tar.gz&lt;br /&gt;&lt;br /&gt;root@pppoe:/var/tmp# &lt;/pre&gt;&lt;br /&gt;Open README file and go through it.There are 3 methods I shall go for first one, QuickStart method.&lt;br /&gt;&lt;br /&gt; &lt;span style="font-weight: bold;"&gt;QUICKSTART Method&lt;/span&gt;: "If you're lucky, the "quickstart" method will work.  After unpackingthe archive, become root and type"&lt;br /&gt;root@pppoe:/var/tmp# cd rp-pppoe-3.10/&lt;br /&gt;root@pppoe:/var/tmp/rp-pppoe-3.10# ./go&lt;br /&gt;&lt;br /&gt;I got some gcc error, fixed it by installing "build-essential", This will install gcc and a some other files that need to build something from source.&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;"&gt;sudo aptitude install build-essential&lt;/pre&gt;root@pppoe:/var/tmp/rp-pppoe-3.10# ./go&lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;"&gt;** Summary of what you entered **&lt;br /&gt;&lt;br /&gt;Ethernet Interface: eth1&lt;br /&gt;User name:          test&lt;br /&gt;Activate-on-demand: No&lt;br /&gt;Primary DNS:        82.196.201.43&lt;br /&gt;Secondary DNS:      82.196.193.143&lt;br /&gt;Firewalling:        NONE&lt;br /&gt;&lt;br /&gt;&gt;&gt;&gt; Accept these settings and adjust configuration files (y/n)? y&lt;br /&gt;Adjusting /etc/ppp/pppoe.conf&lt;br /&gt;Adjusting /etc/resolv.conf&lt;br /&gt; (But first backing it up to /etc/resolv.conf-bak)&lt;br /&gt;Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets&lt;br /&gt; (But first backing it up to /etc/ppp/pap-secrets-bak)&lt;br /&gt; (But first backing it up to /etc/ppp/chap-secrets-bak)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;You will get messeg, &lt;span style="font-weight: bold;"&gt;"Congratulations, it should be all set up!"&lt;/span&gt;&lt;br /&gt;Type 'pppoe-start' to bring up your PPPoE link and 'pppoe-stop' to bring&lt;br /&gt;it down.  Type 'pppoe-status' to see the link status.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Client Side :&lt;/span&gt;&lt;br /&gt;# apt-get install pppoeconf&lt;br /&gt;&lt;br /&gt;This will use to connect the pppoe server.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) Configuration&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Server side&lt;/span&gt;: Go the to /etc/ppp,&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;"&gt;root@pppoe:/var/tmp# cd /etc/ppp&lt;br /&gt;root@pppoe:/etc/ppp# ls&lt;br /&gt;chap-secrets              ip-down.d    options          pppoe.conf-bak&lt;br /&gt;chap-secrets-bak          ip-up        pap-secrets      pppoe_on_boot&lt;br /&gt;firewall-masq             ip-up.d      pap-secrets-bak  pppoe-server-options&lt;br /&gt;firewall-masq-3.10        ipv6-down    peers            pppoe-server-options-example&lt;br /&gt;firewall-standalone       ipv6-down.d  plugins          pppoe-up&lt;br /&gt;firewall-standalone-3.10  ipv6-up      pppoe.conf       resolv&lt;br /&gt;ip-down                   ipv6-up.d    pppoe.conf-3.10&lt;br /&gt;root@pppoe:/etc/ppp#&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;Many files, but interested are ,  pppoe-server-options, pppoe.conf, options,pap-secrets,chap-secrets&lt;br /&gt;PAP is default authentication method, I let it.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;root@pppoe:/etc/ppp# nano pap-secrets&lt;/span&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;"&gt;#&lt;br /&gt;# /etc/ppp/pap-secrets&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# INBOUND connections&lt;br /&gt;&lt;br /&gt;# Every regular user can use PPP and has to use passwords from /etc/passwd&lt;br /&gt;*       hostname        ""      *&lt;br /&gt;&lt;br /&gt;# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any&lt;br /&gt;# other accounts that should not be able to use pppd!&lt;br /&gt;guest   hostname        "*"     -&lt;br /&gt;master  hostname        "*"     -&lt;br /&gt;root    hostname        "*"     -&lt;br /&gt;support hostname        "*"     -&lt;br /&gt;stats   hostname        "*"     -&lt;br /&gt;# OUTBOUND connections&lt;br /&gt;&lt;br /&gt;# Here you should add your userid password to connect to your providers via&lt;br /&gt;# PAP. The * means that the password is to be used for ANY host you connect&lt;br /&gt;# to. Thus you do not have to worry about the foreign machine name. Just&lt;br /&gt;# replace password with your password.&lt;br /&gt;# If you have different providers with different passwords then you better&lt;br /&gt;# remove the following line.&lt;br /&gt;#       *       password&lt;br /&gt;&lt;br /&gt;"test"  *       "test"&lt;br /&gt;&lt;/pre&gt;You can change the authenticaion method from follwing file&lt;br /&gt;&lt;span style="font-style: italic;"&gt;root@pppoe:/etc/ppp# nano pppoe-server-options&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;"&gt;# PPP options for the PPPoE server&lt;br /&gt;# LIC: GPL&lt;br /&gt;require-pap&lt;br /&gt;#require-chap&lt;br /&gt;login&lt;br /&gt;lcp-echo-interval 10&lt;br /&gt;lcp-echo-failure 2&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;a) Change following in /etc/ppp/options file, some to them already uncommented.&lt;br /&gt;In case of chap as authentication, the file looks like&lt;br /&gt;root@pppoe:/etc/ppp# nano chap-secrets&lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;"&gt;&lt;br /&gt;# Secrets for authentication using CHAP&lt;br /&gt;# client        server  secret                  IP addresses&lt;br /&gt;&lt;br /&gt;"test"          *        "test"         *&lt;br /&gt;"test1"         *        "test"         *&lt;br /&gt;"test2"         *       "test"          10.10.220.3&lt;br /&gt;"test3"         *       "test"          10.10.220.4&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Script that start the PPPoE server with NAT option&lt;/span&gt;&lt;br /&gt;Create a script pppoe-up and  chmod to 755.&lt;br /&gt;root@pppoe:/etc/ppp# nano pppoe-up&lt;br /&gt;root@pppoe:/etc/ppp# chmod 755 pppoe-up&lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;"&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;# ----------------------------------------------------&lt;br /&gt;&lt;br /&gt;# Starts the PPPoE server and turns on NAT&lt;br /&gt;&lt;br /&gt;# ----------------------------------------------------&lt;br /&gt;&lt;br /&gt;# MAX is the maximum number of addresses your server&lt;br /&gt;&lt;br /&gt;# is allowed to hand out.&lt;br /&gt;PROV=pppoe&lt;br /&gt;MAX=5&lt;br /&gt;&lt;br /&gt;# BASE is the lowest IP address your server is allowed&lt;br /&gt;&lt;br /&gt;# to hand out.&lt;br /&gt;&lt;br /&gt;#BASE=192.168.1.238&lt;br /&gt;#PLA=192.168.1.0/24&lt;br /&gt;&lt;br /&gt;BASE=10.10.220.2&lt;br /&gt;PLA=10.10.220.0/8&lt;br /&gt;&lt;br /&gt;# NAT is the set of addresses which your server will&lt;br /&gt;&lt;br /&gt;# NAT behind it. Other addresses behind your server&lt;br /&gt;&lt;br /&gt;# WILL NOT be NATed.&lt;br /&gt;&lt;br /&gt;#NAT=10.10.220.0/8&lt;br /&gt;&lt;br /&gt;# MYIP is the public IP address of this server.&lt;br /&gt;&lt;br /&gt;MYIP=10.10.220.1&lt;br /&gt;&lt;br /&gt;##########################################&lt;br /&gt;&lt;br /&gt;# Here is where the script actually starts executing.&lt;br /&gt;##########################################&lt;br /&gt;&lt;br /&gt;# Disable IP spoofing on the external interface.&lt;br /&gt;&lt;br /&gt;#/sbin/iptables -A INPUT -i eth0 -s $NAT -j DROP&lt;br /&gt;&lt;br /&gt;# Enable NAT for the private addresses we hand out.&lt;br /&gt;&lt;br /&gt;#/sbin/iptables -t nat -A POSTROUTING -s $NAT -j $NAT --to-source $MYIP&lt;br /&gt;&lt;br /&gt;# Launch the server.&lt;br /&gt;&lt;br /&gt;/usr/sbin/pppoe-server pty -T 60 -I eth1 -L $MYIP -N $MAX -C $PROV -S $PROV -R $PLA&lt;br /&gt;&lt;br /&gt;#echo "1" &gt; "/proc/sys/net/ipv4/ip_forward"&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Client side&lt;/span&gt;&lt;br /&gt;Install pppoeconf, which may be already installed.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;apt-get install pppoeconf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Run the Server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Execute the pppoe-up script in server.&lt;br /&gt;root@pppoe:/etc/ppp# ./pppoe-up&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Connection of client&lt;/span&gt;&lt;br /&gt;Run pppoeconf in client's console,&lt;br /&gt;client# pppoeconf&lt;br /&gt;&lt;br /&gt;It will search for pppoe server on ethernet server. Once it found on, in this case in eth0 it will prompt for user name: test and passwd: test&lt;br /&gt;&lt;br /&gt;Testing and Troubleshooting&lt;br /&gt;Open the /var/log/syslog in server and monitor,&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;"&gt;da:72:54 (10.10.220.1) on eth1 using Service-Name ''&lt;br /&gt;&lt;br /&gt;Oct 19 12:58:11 pppoe pppd[6248]: pppd 2.4.4 started by root, uid 0&lt;br /&gt;&lt;br /&gt;Oct 19 12:58:11 pppoe pppd[6248]: Using interface ppp0&lt;br /&gt;&lt;br /&gt;Oct 19 12:58:11 pppoe pppd[6248]: Connect: ppp0 &lt;--&gt; /dev/pts/2&lt;br /&gt;&lt;br /&gt;Oct 19 12:58:17 pppoe pppd[6248]: PAP peer authentication failed for test&lt;br /&gt;&lt;br /&gt;Oct 19 12:58:17 pppoe pppd[6248]: Connection terminated.&lt;br /&gt;&lt;br /&gt;Oct 19 12:58:17 pppoe pppoe[6250]: read (asyncReadFromPPP): Session 2: Input/output error&lt;br /&gt;&lt;br /&gt;Oct 19 12:58:17 pppoe pppd[6248]: Exit.&lt;br /&gt;&lt;br /&gt;Oct 19 12:58:17 pppoe pppoe-server[5908]: Session 2 closed for client 00:1e:37:da:72:54 (10.10.220.1) on eth1&lt;br /&gt;&lt;br /&gt;Oct 19 12:58:17 pppoe pppoe-server[5908]: Sent PADT&lt;/pre&gt;There are some problems which need to fix&lt;br /&gt;After fixing the issue, reconnect the client and monitor the log on server.&lt;br /&gt;client# pppoeconf&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;"&gt;Oct 19 13:19:18 pppoe pppd[8724]: pppd 2.4.4 started by root, uid 0&lt;br /&gt;Oct 19 13:19:18 pppoe pppd[8724]: Using interface ppp0&lt;br /&gt;Oct 19 13:19:18 pppoe pppd[8724]: Connect: ppp0 &lt;--&gt; /dev/pts/2&lt;br /&gt;Oct 19 13:19:21 pppoe pppd[8724]: Cannot determine ethernet address for proxy ARP&lt;br /&gt;Oct 19 13:19:21 pppoe pppd[8724]: local  IP address 10.10.220.1&lt;br /&gt;Oct 19 13:19:21 pppoe pppd[8724]: remote IP address 10.10.220.2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;It setted up ultimatley, I spent some time, checking the script carefully, running and testing several times before it was fixed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Final testing&lt;/span&gt;, Both client and server will get the ip and they are able to ping each other.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;"&gt;&lt;span style="font-weight: bold;"&gt;Server side&lt;/span&gt;&lt;br /&gt;root@pppoe:/etc/ppp# ifconfig&lt;br /&gt;eth0      Link encap:Ethernet  HWaddr 00:11:25:ed:fd:e2 &lt;br /&gt;         inet addr:192.168.1.249  Bcast:192.168.1.255  Mask:255.255.255.0&lt;br /&gt;         inet6 addr: fe80::211:25ff:feed:fde2/64 Scope:Link&lt;br /&gt;         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;         RX packets:8943 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;         TX packets:3137 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;         collisions:0 txqueuelen:100&lt;br /&gt;         RX bytes:4222424 (4.0 MB)  TX bytes:833756 (814.2 KB)&lt;br /&gt;         Base address:0x4000 Memory:d0080000-d00a0000&lt;br /&gt;&lt;br /&gt;eth1      Link encap:Ethernet  HWaddr 00:08:a1:be:1d:65 &lt;br /&gt;         inet6 addr: fe80::208:a1ff:febe:1d65/64 Scope:Link&lt;br /&gt;         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;         RX packets:648 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;         TX packets:776 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;         collisions:0 txqueuelen:1000&lt;br /&gt;         RX bytes:39320 (38.3 KB)  TX bytes:50994 (49.7 KB)&lt;br /&gt;         Interrupt:21 Base address:0x6000&lt;br /&gt;eth1:avahi Link encap:Ethernet  HWaddr 00:08:a1:be:1d:65 &lt;br /&gt;         inet addr:169.254.5.242  Bcast:169.254.255.255  Mask:255.255.0.0&lt;br /&gt;         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;         Interrupt:21 Base address:0x6000&lt;br /&gt;&lt;br /&gt;lo        Link encap:Local Loopback &lt;br /&gt;         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;         RX packets:2215 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;         TX packets:2215 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;         collisions:0 txqueuelen:0&lt;br /&gt;         RX bytes:113003 (110.3 KB)  TX bytes:113003 (110.3 KB)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ppp0      Link encap:Point-to-Point Protocol  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;          inet addr:10.10.220.1  P-t-P:10.10.220.2  Mask:255.255.255.255&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;          RX packets:12 errors:0 dropped:0 overruns:0 frame:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;          collisions:0 txqueuelen:3 &lt;/span&gt;&lt;br /&gt;         RX bytes:724 (724.0 B)  TX bytes:382 (382.0 B)&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Ping from srver to client&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;root@pppoe:/etc/ppp# ping 10.10.220.2&lt;br /&gt;PING 10.10.220.2 (10.10.220.2) 56(84) bytes of data.&lt;br /&gt;64 bytes from 10.10.220.2: icmp_seq=1 ttl=64 time=0.599 ms&lt;br /&gt;64 bytes from 10.10.220.2: icmp_seq=2 ttl=64 time=0.718 ms&lt;br /&gt;64 bytes from 10.10.220.2: icmp_seq=3 ttl=64 time=1.09 ms&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Documentation:&lt;br /&gt;&lt;a href="http://roaringpenguin.com/products/pppoe"&gt;http://roaringpenguin.com/products/pppoe&lt;/a&gt;&lt;br /&gt;&lt;a href="http://neworder.box.sk/newsread.php?newsid=18797"&gt;http://neworder.box.sk/newsread.php?newsid=18797&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.freeantennas.com/PPPoE-Server-HOWTO.html"&gt;http://www.freeantennas.com/PPPoE-Server-HOWTO.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-6565006884701256355?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/6565006884701256355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=6565006884701256355' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6565006884701256355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6565006884701256355'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/05/pppoe-server-under-ubuntudebian.html' title='PPPoE Server Under Ubuntu/Debian'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-526992186748731133</id><published>2009-03-03T01:57:00.000-08:00</published><updated>2009-03-03T02:03:16.070-08:00</updated><title type='text'>How to enable/disable apache module in Debian/Ubuntu</title><content type='html'>&lt;span style="font-weight:bold;"&gt;To enable any module e.g SSL use a2enmod command&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;root@fizaan:/etc/apache2# a2enmod&lt;br /&gt;Which module would you like to enable?&lt;br /&gt;Your choices are: actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authnz_ldap authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta cgid cgi charset_lite dav_fs dav dav_lock dbd deflate dir disk_cache dump_io env expires ext_filter file_cache filter headers ident imagemap include info ldap log_forensic mem_cache mime mime_magic negotiation php5 proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy rewrite setenvif speling ssl status substitute suexec unique_id userdir usertrack version vhost_alias&lt;br /&gt;Module name? ssl&lt;br /&gt;Module ssl installed; run /etc/init.d/apache2 force-reload to enable.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Reload the configuration&lt;/span&gt;&lt;br /&gt;root@fizaan:/etc/apache2# /etc/init.d/apache2 force-reload&lt;br /&gt; * Reloading web server config apache2root@fizaan:/etc/apache2#&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Restart the apach2 web server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;root@fizaan:/etc/apache2# /etc/init.d/apache2 restart&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;To Disable the module use a2dismod command&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;root@fizaan:/etc/apache2# a2dismod&lt;br /&gt;Which module would you like to disable?&lt;br /&gt;Your choices are: alias auth_basic authn_file authz_default authz_groupfile authz_host authz_user autoindex cgid dir env mime negotiation setenvif ssl status&lt;br /&gt;Module name?&lt;br /&gt;&lt;br /&gt;Rest of steps are same,force reload and restart apache2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-526992186748731133?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/526992186748731133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=526992186748731133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/526992186748731133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/526992186748731133'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/03/how-to-enabledisable-apache-module-in.html' title='How to enable/disable apache module in Debian/Ubuntu'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-8267769604427427679</id><published>2009-02-25T02:20:00.000-08:00</published><updated>2009-02-25T03:02:29.341-08:00</updated><title type='text'>Testing Throughput of Gateway/CPE with Jperf</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Step 1: Setup Two PCs connected with your DUT (device under test), in this case your CPE.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;PC1 is attached to LAN side and PC2 attached on WAN side&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Step 2: Assign addresses to devices.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;LAN side PC, PC1 will get the address from the DHCP server insed the DUT.&lt;br /&gt;configure the stative IPs on &lt;br /&gt;&lt;br /&gt;PC2: 10.10.10.100&lt;br /&gt;WAN side of DUT 10.10.10.10&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3: Check and confirm the connectivity by pinging PC2 from PC1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Step 4: Run the Jperf Application on PC1 and PC2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;PC2 will act as server, click the server option and run it&lt;br /&gt;&lt;br /&gt;PC1 will act as client, enter the IP of server, 10.10.10.100 and run it.&lt;br /&gt;&lt;br /&gt;You will see the LAN-WAN throtuput of your device.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;References&lt;/span&gt;&lt;br /&gt;http://code.google.com/p/xjperf/&lt;br /&gt;http://openmaniak.com/iperf.php&lt;br /&gt;http://www.smallnetbuilder.com/content/view/30408/235/&lt;br /&gt;http://www.smallnetbuilder.com/content/view/30418/235/&lt;br /&gt;http://www.smallnetbuilder.com/content/view/30388/235/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-8267769604427427679?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/8267769604427427679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=8267769604427427679' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8267769604427427679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8267769604427427679'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/02/testing-throughput-of-gatewaycpe-with.html' title='Testing Throughput of Gateway/CPE with Jperf'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-4214225253029909486</id><published>2009-02-19T05:57:00.000-08:00</published><updated>2009-03-03T04:05:06.059-08:00</updated><title type='text'>Network Monitoring using Nagios on Debian</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Step 1: Installation of Nagios &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;nagios:/etc/nagios#apt-get install nagios-text&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2: Configuration&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;EDIT /etc/nagios/contacts.cfg AND ADD FOLLOWING&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;define contact{&lt;br /&gt;    contact_name                    imran&lt;br /&gt;    alias                           imran&lt;br /&gt;    service_notification_period     24x7&lt;br /&gt;    host_notification_period        24x7&lt;br /&gt;    service_notification_options    w,u,c,r&lt;br /&gt;    host_notification_options       d,u,r&lt;br /&gt;    service_notification_commands   notify-by-email&lt;br /&gt;    host_notification_commands      host-notify-by-email&lt;br /&gt;    email                           imran@fizaan.com&lt;br /&gt;    }&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;EDIT /etc/nagios/contactgroups.cfg AND ADD FOLLOWING&lt;/span&gt;&lt;br /&gt;define contactgroup{&lt;br /&gt;    contactgroup_name   server-admin&lt;br /&gt;    alias               Systems Administrators&lt;br /&gt;    members             imran&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;EDIT /etc/nagios/hosts.cfg AND ADD YOUR HOSTS WHICH YOU WANT TO MONITOR&lt;/span&gt;&lt;br /&gt;define host{&lt;br /&gt;    use                     generic-host&lt;br /&gt;    host_name               www.fizaan.com&lt;br /&gt;    alias                   website&lt;br /&gt;    address                 192.168.0.10&lt;br /&gt;    check_command           check-host-alive&lt;br /&gt;    max_check_attempts      20&lt;br /&gt;    notification_interval   240&lt;br /&gt;    notification_period     24x7&lt;br /&gt;    notification_options    d,u,r&lt;br /&gt;    }&lt;br /&gt;define host{&lt;br /&gt;    use                     generic-host&lt;br /&gt;    host_name               mail.fizaan.com&lt;br /&gt;    alias                   mail&lt;br /&gt;    address                 192.168.0.20&lt;br /&gt;    check_command           check-host-alive&lt;br /&gt;    max_check_attempts      20&lt;br /&gt;    notification_interval   240&lt;br /&gt;    notification_period     24x7&lt;br /&gt;    notification_options    d,u,r&lt;br /&gt;    }&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;EDIT /etc/nagios/hostgroups.cfg AND ADD FOLLOWING&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;define hostgroup{&lt;br /&gt;    hostgroup_name  Linux Servers&lt;br /&gt;    alias           Servers&lt;br /&gt;    contact_groups  server-admin&lt;br /&gt;    members         www.fizaan.com,mail.fizaan.com&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;EDIT /etc/nagios/services AND ADD YOUR SERVICES,&lt;/span&gt; e.g&lt;br /&gt;You cand define more than 1 service for each host.&lt;br /&gt;&lt;br /&gt;# Service definition&lt;br /&gt;define service{&lt;br /&gt;       use                             generic-service         ; Name of service template to use&lt;br /&gt;&lt;br /&gt;       host_name                       mail.FIZAAN.com&lt;br /&gt;       service_description             Total Processes&lt;br /&gt;       is_volatile                     0&lt;br /&gt;       check_period                    24x7&lt;br /&gt;       max_check_attempts              3&lt;br /&gt;       normal_check_interval           5&lt;br /&gt;       retry_check_interval            2&lt;br /&gt;       contact_groups                  server-admin&lt;br /&gt;       notification_interval           240&lt;br /&gt;       notification_period             24x7&lt;br /&gt;       notification_options            w,u,c,r&lt;br /&gt;       check_command                   check_procs!150!200!RSZDT&lt;br /&gt;       }&lt;br /&gt;# Service definition&lt;br /&gt;define service{&lt;br /&gt;       use                             generic-service         ; Name of service template to use&lt;br /&gt;&lt;br /&gt;       host_name                       www.fizaan.com&lt;br /&gt;       service_description             HTTP&lt;br /&gt;       is_volatile                     0&lt;br /&gt;       check_period                    24x7&lt;br /&gt;       max_check_attempts              3&lt;br /&gt;       normal_check_interval           5&lt;br /&gt;       retry_check_interval            1&lt;br /&gt;       contact_groups                  server-admin&lt;br /&gt;       notification_interval           120&lt;br /&gt;       notification_period             24x7&lt;br /&gt;       notification_options            w,u,c,r&lt;br /&gt;       check_command                   check_http&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3: Check the syntex error, if every thing ok, it will show following.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;nagios:/etc/nagios# nagios -v /etc/nagios/nagios.cfg&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;Total Warnings: 0&lt;br /&gt;Total Errors:   0&lt;br /&gt;&lt;br /&gt;Things look okay - No serious problems were detected during the pre-flight check&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Step 4: Restart the Nagios&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;nagios:/etc/nagios#/etc/init.d/nagios restart&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 5: Open the Site and login&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://192.168.0.5/nagios/ &lt;br /&gt;or&lt;br /&gt;http://nagios.fizaan.com/nagios/&lt;br /&gt;&lt;br /&gt;username: nagiosadmin&lt;br /&gt;password: provided during installation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Pluging Directory&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Following are default plugins installed with Nagios.&lt;br /&gt;nagios:/usr/lib/nagios# cd plugins/&lt;br /&gt;nagios:/usr/lib/nagios/plugins# ls&lt;br /&gt;check_apt       check_file_age      check_imap    check_mrtgtraf     check_oracle   check_simap  check_ups&lt;br /&gt;check_breeze    check_flexlm        check-imap    check_mysql        check_overcr   check_smtp   check_users&lt;br /&gt;check_by_ssh    check_fping         check_ircd    check_mysql_query  check_pgsql    check_snmp   check_wave&lt;br /&gt;check_clamd     check_ftp           check_jabber  check_nagios       check_ping     check_spop   eventhandlers&lt;br /&gt;check_dhcp      check_game          check_ldap    check_nagios_db    check_pop      check_ssh    negate&lt;br /&gt;check_dig       check_hpjd          check_ldaps   check_nntp         check_procs    check_ssmtp  urlize&lt;br /&gt;check_disk      check_http          check_load    check_nntps        check_radius   check_swap   utils.pm&lt;br /&gt;check_disk_smb  check_icmp          check_log     check_nt           check_real     check_tcp    utils.sh&lt;br /&gt;check_dns       check_ifoperstatus  check_mailq   check_ntp          check_rpc      check_time&lt;br /&gt;check_dummy     check_ifstatus      check_mrtg    check_nwstat       check_sensors  check_udp&lt;br /&gt;nagios:/usr/lib/nagios/plugins#&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: Comment out the /etc/nagios/esclations.cfg file&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-4214225253029909486?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/4214225253029909486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=4214225253029909486' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4214225253029909486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4214225253029909486'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/02/networking-monitoring-using-nagios-on.html' title='Network Monitoring using Nagios on Debian'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-8672554906053923750</id><published>2009-02-18T05:22:00.001-08:00</published><updated>2009-02-18T05:31:46.788-08:00</updated><title type='text'>Restoring Joomla Site Admin Password</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Step 1: Login the site using phpmyadmin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2: Select the Database&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can find you data base name, user name and password on database from configuration.php file of joomla.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3: Select the Users table  "jos_users", on left side of panel from the database.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4: Select the Browse in middle window and edit the user name Administration, id e.g 62 by clicking the edit mark "pencil" in this case.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 5: In the password field, insert this value "226776f356d7ecf58b60bab12a05d38f" (without quotes), this is hashed value of joomla, new password of admin user. Be careful do not change field type.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 6: Press Go, make sure the save option is selected in the bottom of window.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Congratulation you new password joomla is set.&lt;br /&gt;&lt;br /&gt;Do not forget to change the password of admin when you login.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-8672554906053923750?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/8672554906053923750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=8672554906053923750' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8672554906053923750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8672554906053923750'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/02/restoring-joomla-site-admin-password.html' title='Restoring Joomla Site Admin Password'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-5029066494819530675</id><published>2009-02-16T02:48:00.000-08:00</published><updated>2009-02-16T03:17:45.032-08:00</updated><title type='text'>Installation of SSL Certificates (self signed) in Debian</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Step 1: Make sure that openssl is installad along with apache, otherw&lt;/span&gt;ise&lt;br /&gt;&lt;br /&gt;apt-get install openssl&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2: Install the self signed certificate&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;root@web:mkdir /etc/apach2/ssl &lt;br /&gt;root@web:/etc/apache2/ssl# openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/certificate.pem -keyout /etc/apache2/ssl/certificate.pem&lt;br /&gt;&lt;br /&gt;Generating a 1024 bit RSA private key&lt;br /&gt;..............................++++++&lt;br /&gt;.................................++++++&lt;br /&gt;writing new private key to '/etc/apache2/ssl/certificate.pem'&lt;br /&gt;-----&lt;br /&gt;You are about to be asked to enter information that will be incorporated&lt;br /&gt;into your certificate request.&lt;br /&gt;What you are about to enter is what is called a Distinguished Name or a DN.&lt;br /&gt;There are quite a few fields but you can leave some blank&lt;br /&gt;For some fields there will be a default value,&lt;br /&gt;If you enter '.', the field will be left blank.&lt;br /&gt;-----&lt;br /&gt;Country Name (2 letter code) [AU]:NO&lt;br /&gt;State or Province Name (full name) [Some-State]:Oslo&lt;br /&gt;Locality Name (eg, city) []:Oslo&lt;br /&gt;Organization Name (eg, company) [Internet Widgits Pty Ltd]:Fizaan&lt;br /&gt;Organizational Unit Name (eg, section) []:IT&lt;br /&gt;Common Name (eg, YOUR name) []:www.fizaan.com&lt;br /&gt;Email Address []:postmaster@fizaan.com&lt;br /&gt;&lt;br /&gt;root@web:/etc/apache2/ssl# ls&lt;br /&gt;certificate.pem&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Step 3: Provide path to certificate in apach2 configuration file /etc/apache2/sites-available/defau&lt;/span&gt;lt&lt;br /&gt;&lt;br /&gt;&lt;VirtualHost 192.168.0.2:443&gt;&lt;br /&gt;        ServerAdmin postmaster@fizaan.com&lt;br /&gt;        ServerName      www.fizaan.com&lt;br /&gt;        ServerAlias     www&lt;br /&gt;        DocumentRoot /var/www/site&lt;br /&gt;        SSLEngine               on&lt;br /&gt;        SSLCertificateFile      ssl/certificate.pem&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Ste 4: Restart the apache2 and test the site&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;root@web:/etc/init.d/apache2 stop&lt;br /&gt;root@web:/etc/init.d/apache2 start&lt;br /&gt;&lt;br /&gt;Open browser and visit the site name www.fizaan.com, view the certificate.&lt;br /&gt;These certificate the good for demo site or intranet but for commercial you should buy.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Buying Certificate from Third party&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1: Provide your CSR&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;openssl req -nodes -newkey rsa:2048 -keyout myserver.key -out server.csr&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Step 2: provide the details to third company e.g COMODO SSL, VeriSign&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3: After processing the third comapny shall give you back the file and place it in the path of ssl in apache2 virtualhost file&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;References&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://www.debuntu.org/how-to-create-a-self-signed-certificate&lt;br /&gt;https://secure.instantssl.com/products/SSLIdASignup1a&lt;br /&gt;http://www.verisign.com/ssl/buy-ssl-certificates/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-5029066494819530675?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/5029066494819530675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=5029066494819530675' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5029066494819530675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5029066494819530675'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/02/installation-of-ssl-certificates-self.html' title='Installation of SSL Certificates (self signed) in Debian'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-6484933748029410794</id><published>2009-02-13T05:06:00.000-08:00</published><updated>2009-02-13T05:25:00.493-08:00</updated><title type='text'>Installation of tasks (DNS, Print Server...)in Debian/Ubunt</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Installation&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;# sudo -s &lt;br /&gt;Enter passwd&lt;br /&gt;# tasksel&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-6484933748029410794?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/6484933748029410794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=6484933748029410794' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6484933748029410794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6484933748029410794'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/02/installation-of-tasks-dns-print.html' title='Installation of tasks (DNS, Print Server...)in Debian/Ubunt'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-4333837699790562719</id><published>2009-02-12T07:20:00.000-08:00</published><updated>2009-02-12T07:28:51.727-08:00</updated><title type='text'>Redirecting URL Permanently in Apache</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Step 1: Install apache if not installed;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You must have apache installed and running.&lt;br /&gt;&lt;br /&gt;apt-get install apache2&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2: Just add following lines to /etc/apache2/sites-available/default file,&lt;/span&gt;&lt;br /&gt;NameVirtualHost *&lt;br /&gt;&lt;VirtualHost 192.168.0.1 &gt;&lt;br /&gt;ServerName domainname.com&lt;br /&gt;ServerAlias www.domainname.com&lt;br /&gt;Redirect permanent / http://www.newdomainname.com/&lt;br /&gt;&lt;/VirtualHost&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Where 192.168.0.1 is IP of machine running apache2, &lt;br /&gt;servername is name of machine&lt;br /&gt;Alias can the other name of the machine.&lt;br /&gt;Redirct permanent will redirect to the new domain.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 3: Restart the apache&lt;br /&gt;&lt;br /&gt;/etc/init.d/apache2 restart&lt;br /&gt;&lt;br /&gt;Step 4: Test the site&lt;br /&gt;&lt;br /&gt;References&lt;br /&gt;http://www.yolinux.com/TUTORIALS/ApacheRedirect.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-4333837699790562719?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/4333837699790562719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=4333837699790562719' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4333837699790562719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4333837699790562719'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/02/redirecting-url-permanently-in-apache.html' title='Redirecting URL Permanently in Apache'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-169731478645772598</id><published>2009-01-17T15:31:00.000-08:00</published><updated>2009-01-17T16:31:35.400-08:00</updated><title type='text'>Installation of Spamassassin in Exim4 Debian</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Step 1: Add following to /etc/apt/sources.list&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;deb http://volatile.debian.net/debian-volatile sarge/volatile main contrib&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2: Install Spamassassin via apt-get&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;apt-get install spamassassin&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3: Enable spamassassin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;edit /etc/default/spamassassin and enable spamd&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Installation or updating using CPAN&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;perl -MCPAN -e shell&lt;br /&gt;install Mail::SpamAssassin&lt;br /&gt;reload CPAN&lt;br /&gt;quit&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Restart the spamassassin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;/etc/init.d/spamassassin restart&lt;br /&gt;&lt;br /&gt;Check the version of spamassassin -V&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Updating the rules&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;sa-update -D&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Tuning the Spamassassin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;/etc/mai/spamassassin/local.cf&lt;br /&gt;&lt;br /&gt;# These should be safe assumptions and allow for simple visual sifting&lt;br /&gt;# without risking lost emails.&lt;br /&gt;&lt;br /&gt;required_hits 4.0&lt;br /&gt;report_safe 1&lt;br /&gt;rewrite_header Subject *****[SPAM](_SCORE_)*****&lt;br /&gt;use_bayes 1&lt;br /&gt;auto_learn 1&lt;br /&gt;ok_locales en&lt;br /&gt;&lt;br /&gt;Useful Links&lt;br /&gt;&lt;br /&gt;http://koivi.com/exim4-config/&lt;br /&gt;http://www.linuxsupport.org.uk/sa/index.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-169731478645772598?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/169731478645772598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=169731478645772598' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/169731478645772598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/169731478645772598'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/01/installation-of-spamassassin-in-exim4.html' title='Installation of Spamassassin in Exim4 Debian'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-8594093261462923486</id><published>2009-01-17T15:06:00.000-08:00</published><updated>2009-01-17T15:13:20.443-08:00</updated><title type='text'>Installation of  Virtual Box in Ubuntu 8.10</title><content type='html'>Installation&lt;br /&gt;&lt;br /&gt;Step 1: Add following address in /etc/apt/sources.list&lt;br /&gt;&lt;br /&gt;deb http://download.virtualbox.org/virtualbox/debian intrepid non-free&lt;br /&gt;&lt;br /&gt;Step 2: Add public key&lt;br /&gt;&lt;br /&gt;wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -&lt;br /&gt;&lt;br /&gt;Step 3: Update and Install necessery package&lt;br /&gt;&lt;br /&gt;sudo apt-get update&lt;br /&gt;&lt;br /&gt;sudo apt-get install dkms&lt;br /&gt;&lt;br /&gt;Step 4: Install the virtual box&lt;br /&gt;&lt;br /&gt;sudo apt-get install virtualbox-2.1&lt;br /&gt;&lt;br /&gt;It will start the to install and will add the network interfaces.&lt;br /&gt;&lt;br /&gt;Open the Virtual Machine Application and create the machines.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-8594093261462923486?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/8594093261462923486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=8594093261462923486' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8594093261462923486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8594093261462923486'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2009/01/installation-of-virtual-box-in-ubuntu.html' title='Installation of  Virtual Box in Ubuntu 8.10'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-5008802948363944165</id><published>2008-12-31T14:51:00.000-08:00</published><updated>2008-12-31T15:23:18.290-08:00</updated><title type='text'>Securing System with DenyHost package</title><content type='html'>Denyhost is a package which is exellent for blocking brute forc ssh attacks.&lt;br /&gt;It is also easy to install and manage.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;apt-get install denyhosts&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuration:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Default configuration are pretty good but you can tune the basic.&lt;br /&gt;&lt;br /&gt;/etc/denyhosts.conf&lt;br /&gt;&lt;br /&gt;It reads the logs and add those IPs which try to break in /etc/hosts.deny&lt;br /&gt;&lt;br /&gt;You can add your IP/valid IP or with your domain.&lt;br /&gt;/etc/hosts.allow&lt;br /&gt;&lt;br /&gt;sshd: yourdomain.com 192.168.0.1&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Start/stop service&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;/etc/init.d/denyhosts stop&lt;br /&gt;&lt;br /&gt;/etc/init.d/denyhosts start&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Purging denyhost&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;denyhosts --purge&lt;br /&gt;&lt;br /&gt;The /etc/rc3.d contains the denyhost which start on run time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-5008802948363944165?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/5008802948363944165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=5008802948363944165' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5008802948363944165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5008802948363944165'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/12/securing-system-with-denyhost-package.html' title='Securing System with DenyHost package'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-218497361186263649</id><published>2008-11-05T06:47:00.000-08:00</published><updated>2008-11-06T15:08:02.712-08:00</updated><title type='text'>LDAP server on Debian ETCH</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_h4piBT3Ww6E/SRNv4UTw4KI/AAAAAAAAAG8/zvd6wHbaPbo/s1600-h/luma.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_h4piBT3Ww6E/SRNv4UTw4KI/AAAAAAAAAG8/zvd6wHbaPbo/s320/luma.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5265675402641203362" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_h4piBT3Ww6E/SRNseBfOPbI/AAAAAAAAAG0/h2yT2XZYu2I/s1600-h/phplap.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_h4piBT3Ww6E/SRNseBfOPbI/AAAAAAAAAG0/h2yT2XZYu2I/s320/phplap.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5265671652377509298" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;INSTALLATION&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;apt-get install slapd ldap-utils libldap-2.4-2 libdb4.6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;During installion it will ask you questions like passwd or domain name (it did not ask my installation)&lt;br /&gt;Administrator password: password&lt;br /&gt;Confirm password: password&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;CONFIGURATION&lt;/span&gt;&lt;br /&gt;Client side : (Remember same system is serving as client and server.)&lt;br /&gt;Edit /et/ldap/ldap.conf&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;BASE    dc=fizaan, dc=com&lt;br /&gt;#URI    ldap://ldap.example.com ldap://ldap-master.example.com:666&lt;br /&gt;URI    ldap://10.0.2.15&lt;br /&gt;&lt;br /&gt;#SIZELIMIT      12&lt;br /&gt;#TIMELIMIT      15&lt;br /&gt;#DEREF          never&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Server Configuration&lt;br /&gt;&lt;br /&gt;These Schemas by default are included, if not make sure they are included.&lt;br /&gt;# Schema and objectClass definitions&lt;br /&gt;&lt;span style="font-style:italic;"&gt;include         /etc/ldap/schema/core.schema&lt;br /&gt;include         /etc/ldap/schema/cosine.schema&lt;br /&gt;include         /etc/ldap/schema/nis.schema&lt;br /&gt;include         /etc/ldap/schema/inetorgperson.schema&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Change the log level from 0 to 256&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;loglevel        256&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Data base, you can change if you want different. I m using default.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;database        bdb&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Your domain name, be default&lt;br /&gt;# The base of your directory in database #1&lt;br /&gt;&lt;span style="font-style:italic;"&gt;suffix          "dc=fizaan,dc=com"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;rootdn you will use to access the ldap server, the passwd I changed using slappasswd&lt;br /&gt;# rootdn directive for specifying a superuser on the database. This is needed&lt;br /&gt;# for syncrepl.&lt;br /&gt;&lt;span style="font-style:italic;"&gt;rootdn          "cn=admin,dc=fizaan,dc=com"&lt;br /&gt;rootpw          {MD5}gdyb21LQTcIANtvYMT7QVQ==&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Index options, I added index uid eq, you can add more e.g index gid eq&lt;br /&gt;&lt;span style="font-style:italic;"&gt;index           objectClass eq&lt;br /&gt;index           uid         eq&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;CHANGING OWNERSHIP AND RESTART OF SERVER.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;sudo invoke-rc.d slapd stop&lt;br /&gt;sudo slapindex&lt;br /&gt;sudo chown openldap:openldap /var/lib/ldap/*&lt;br /&gt;sudo invoke-rc.d slapd start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;TESTING LDAP SERVER&lt;/span&gt;&lt;br /&gt;type ldapsearch -x, it will show you all ldap entries.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;ldap:/home/imran# ldapsearch -x&lt;br /&gt;# extended LDIF&lt;br /&gt;#&lt;br /&gt;# LDAPv3&lt;br /&gt;# base &lt;&gt; with scope subtree&lt;br /&gt;# filter: (objectclass=*)&lt;br /&gt;# requesting: ALL&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# fizaan.com&lt;br /&gt;dn: dc=fizaan,dc=com&lt;br /&gt;objectClass: top&lt;br /&gt;objectClass: dcObject&lt;br /&gt;objectClass: organization&lt;br /&gt;o: fizaan.com&lt;br /&gt;dc: fizaan&lt;br /&gt;.&lt;br /&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;CREATING BASIC DIRECTORY STRUCTURE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create a file /var/tmp/ou.ldif with these, it will add two organizational unit under you top level domain, add by following command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ldap:/home/imran# slapadd -c -v -l /var/tmp/ou.ldif&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;dn: ou=People,dc=fizaan,dc=com&lt;br /&gt;ou: People&lt;br /&gt;objectClass: organizationalUnit&lt;br /&gt;&lt;br /&gt;dn: ou=Group,dc=fizaan,dc=com&lt;br /&gt;ou: Group&lt;br /&gt;objectClass: organizationalUnit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;CREATION OF USERS/POPULATING DIRECTORY&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create a file with following information, of users and add it with this command&lt;br /&gt;&lt;span style="font-style:italic;"&gt;ldap:/home/imran# ldapadd -c -x -D cn=admin,dc=fizaan,dc=com -W -f /var/tmp/user1.ldi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;dn: cn=aanish,ou=group,dc=fizaan,dc=com&lt;br /&gt;cn: aanish&lt;br /&gt;gidNumber: 20002&lt;br /&gt;objectClass: top&lt;br /&gt;objectClass: posixGroup&lt;br /&gt;&lt;br /&gt;dn: uid=aanish,ou=people,dc=fizaan,dc=com&lt;br /&gt;uid:aanish&lt;br /&gt;uidNumber: 20002&lt;br /&gt;gidNumber: 20002&lt;br /&gt;cn:Aanish&lt;br /&gt;sn:Imran&lt;br /&gt;objectClass: top&lt;br /&gt;objectClass: person&lt;br /&gt;objectClass: posixAccount&lt;br /&gt;objectClass: shadowAccount&lt;br /&gt;loginShell: /bin/bash&lt;br /&gt;homeDirectory: /home/aanish&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;TESTING OF ADDED USERS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;ldap:/home/imran# ldapsearch -x uid=aanish&lt;br /&gt;# extended LDIF&lt;br /&gt;#&lt;br /&gt;# LDAPv3&lt;br /&gt;# base &lt;&gt; with scope subtree&lt;br /&gt;# filter: uid=aanish&lt;br /&gt;# requesting: ALL&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# aanish, people, fizaan.com&lt;br /&gt;dn: uid=aanish,ou=people,dc=fizaan,dc=com&lt;br /&gt;uid: aanish&lt;br /&gt;uidNumber: 20002&lt;br /&gt;gidNumber: 20002&lt;br /&gt;cn: Aanish&lt;br /&gt;sn: Imran&lt;br /&gt;objectClass: top&lt;br /&gt;objectClass: person&lt;br /&gt;objectClass: posixAccount&lt;br /&gt;objectClass: shadowAccount&lt;br /&gt;loginShell: /bin/bash&lt;br /&gt;homeDirectory: /home/aanish&lt;br /&gt;&lt;br /&gt;# search result&lt;br /&gt;search: 2&lt;br /&gt;result: 0 Success&lt;br /&gt;&lt;br /&gt;# numResponses: 2&lt;br /&gt;# numEntries: 1&lt;br /&gt;ldap:/home/imran#&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;CLIENT TOOL&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1) luma&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;apt-get install luma&lt;/span&gt;&lt;br /&gt;after installation, on command prompt type luma, it will be started.&lt;br /&gt;First add you ldap server by clicking Setting, Edit serve list and ADD, give IP address of your server. After adding the server give the authentication credentials.&lt;br /&gt;(see above Fig1)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2) phpldapadmin &lt;/span&gt;is a web based Graphical tool, you can install very easily&lt;br /&gt;&lt;span style="font-style:italic;"&gt;apt-get install phpldapadmin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In browser write address of server and login with credential&lt;br /&gt;User  :cn=admin,dc=fizaan,dc=com&lt;br /&gt;Passwd:1234&lt;br /&gt;(see above Fig2)&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;&lt;a href="www.debian-administration.org/articles/585#ldap-install"&gt; Ldap Install&lt;/a&gt;&lt;br /&gt;&lt;a href="http://wiki.debian.org/LDAP"&gt; Debian ldap&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-218497361186263649?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/218497361186263649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=218497361186263649' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/218497361186263649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/218497361186263649'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/11/ldap-server-on-debian-etch.html' title='LDAP server on Debian ETCH'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_h4piBT3Ww6E/SRNv4UTw4KI/AAAAAAAAAG8/zvd6wHbaPbo/s72-c/luma.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-4773878957031731654</id><published>2008-10-12T05:26:00.001-07:00</published><updated>2008-10-12T06:55:45.316-07:00</updated><title type='text'>Window 2003 Termianl Server Installation, Configuration and Maintenance</title><content type='html'>&lt;strong&gt;Server End&lt;/strong&gt;:&lt;br /&gt;&lt;strong&gt;Installation&lt;/strong&gt;&lt;br /&gt;During Installain of Windows 2003 Server, Terminal srver installs by default, no need to install again.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Configuration&lt;/strong&gt;&lt;br /&gt;Step 1:Share Remoter Desktop Connection by sharing this folser: C:\Windows\system32\clients\tsclient\win32  to access folser and copy in their system.&lt;br /&gt;Step 2: Give permission to user e.g imran by Right click on win32 folder, click propterties, select Security tab and click add, enter user name: imran (this user should already be created in server machine) under enter Object name&lt;br /&gt;Step 3: Allow remote users to access remotely by Enabling Remote access.&lt;br /&gt;Step 4: Right click on My computer, Click Properties, select Enable Remoter Desktop in this computer.&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;client Side:&lt;/strong&gt;&lt;br /&gt;Step 1: If your client is Windows XP: Click start, All programmes, Accesseries and then Open Remote Desktop Connection  &lt;br /&gt;Step 2: Write IP of terminal server e.g 192.168.1.102&lt;br /&gt;Step 3: Give user name and password, this usre name and passward should be permit &lt;br /&gt;Step 4: This will open the Terminal to you&lt;br /&gt;&lt;br /&gt;Note: Default mode (Administrative) only allow 2 users to access.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Changing Remote Administrative to Applicatoin user&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Server Side&lt;/strong&gt;&lt;br /&gt;Step 1: Open Add/remove programs from Control panel&lt;br /&gt;Step 2: Open Add/remove Windows components, check the terminal serve after opening the window&lt;br /&gt;Step 3: Click next, this will start installain, privide Windows 2003 serve CD.&lt;br /&gt;Step 4: Finish and restart the machine.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Managing the Terminal Server&lt;/strong&gt; by opeing the Terminal service Manager &lt;br /&gt;and &lt;br /&gt;To manage Terminal Services Protoclo Configuratoin RDP, open Terminal Service Configuration from Administrative tools&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-4773878957031731654?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/4773878957031731654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=4773878957031731654' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4773878957031731654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4773878957031731654'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/10/window-2003-termianl-server-maintenance.html' title='Window 2003 Termianl Server Installation, Configuration and Maintenance'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-8262103750417224821</id><published>2008-10-12T02:38:00.000-07:00</published><updated>2008-10-12T04:10:48.880-07:00</updated><title type='text'>Window 2003 DFS Server Installation, Configuration and Maintenance</title><content type='html'>&lt;strong&gt;Server Side:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Installation:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In windows 2003 Installatin, DFS is installed by default, no need to install again.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Configuration:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Client Side:&lt;/strong&gt;&lt;br /&gt;Step 1: Make a filder e.g c:\DFS-client1&lt;br /&gt;Step 2: Share the folder and set the permissin.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Server Side:&lt;/strong&gt;&lt;br /&gt;Step 1: Make a folder and share it, e.g C:\root&lt;br /&gt;Step 2: Open Distributed File System from Administrative Tools &lt;br /&gt;Step 3: Right click on Distributed file systme, Click New Root, a wizard will start, click Next.&lt;br /&gt;Step 4: If you have Domain, select Domain root, if WORKGROUP then Stand-alone root , I am using stand-alone root, click Next.&lt;br /&gt;Step 5: Write Server name or IP e.g 192.168.1.102, click Next&lt;br /&gt;Step 6: Now give the root name, shared folder made in first step on srver e.g root  and Finish the wizard.&lt;br /&gt;Step 7: After finish right click on \\TEST03-SERVER\root and click New Link &lt;br /&gt;Step 8: Name of Link for client1 e.g 192.168.1.104, select the path to shared folder by click on Browse, Entire Network, Microsoft Windows Network, Workgroup, 2003-client select DFS-client1, press ok, Finsih&lt;br /&gt;Step 9: Repeat the same steps for other clients.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-8262103750417224821?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/8262103750417224821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=8262103750417224821' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8262103750417224821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8262103750417224821'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/10/window-2003-dfs-server-installation.html' title='Window 2003 DFS Server Installation, Configuration and Maintenance'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-6812444481659834012</id><published>2008-10-10T20:13:00.000-07:00</published><updated>2008-10-10T21:10:41.194-07:00</updated><title type='text'>Window 2003 FTP Server Installation, Configuration and Maintenance</title><content type='html'>Server Side&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You server must have IIS and static IP&lt;br /&gt;&lt;strong&gt;Installation&lt;/strong&gt;Step 1:&lt;br /&gt;Step 1: Open add/remove programs from Control panel&lt;br /&gt;Step 2: Click add/remove windows components,&lt;br /&gt;Step 3: Select Application Server, select Internet Information Server (IIS), click details, check FTP along with default checks.&lt;br /&gt;Step 4: This will start installation wizard, provide 2003 cd, during install.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Configuration&lt;/strong&gt;&lt;br /&gt;Step 1: Open IIS from Administrative Tools&lt;br /&gt;Step 2: Right click on FTP Sites, click New FTP Site..&lt;br /&gt;Step 3: Wizard will start, Next, wirte Description e.g ftp server, Next&lt;br /&gt;Step 4: Select IP e.g 192.168.1.102, port 21 (default), Next&lt;br /&gt;Step 5: FTP user usolation, check Isolate users, Next&lt;br /&gt;Step 6: FTP sites home Directory, browse, select drive e.g C, click Make New Folder, cheate folder e.g FTP, ok&lt;br /&gt;Step 7: Allow file permission Read, Write (if you want to give write rights), finish&lt;br /&gt;Client Side&lt;br /&gt;Step 1: Open browser and write serve IP ftp://192.168.1.102&lt;br /&gt;Step 2: Provide credentials if required&lt;br /&gt;Step 3: Browse and use&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-6812444481659834012?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/6812444481659834012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=6812444481659834012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6812444481659834012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6812444481659834012'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/10/window-2003-ftp-server-installation.html' title='Window 2003 FTP Server Installation, Configuration and Maintenance'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-3616796141742306242</id><published>2008-10-09T14:30:00.000-07:00</published><updated>2008-10-09T15:30:18.334-07:00</updated><title type='text'>Window 2003 Web Server (IIS) Installation, Configuration and Maintenance</title><content type='html'>&lt;strong&gt;Server End&lt;/strong&gt;&lt;br /&gt;Pre-request&lt;br /&gt;DNS in your networkd.&lt;br /&gt;Domain in your network.&lt;br /&gt;Static IP configured in server where you are going to install IIS.&lt;br /&gt;Make a folder e.g C:/web in you server and store page inded.html&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Installation&lt;/strong&gt;&lt;br /&gt;Step 1: Open control add/remove programs, click add/remove Windows components&lt;br /&gt;Step 2: Select Application services, click details&lt;br /&gt;Step 3: Check Internet Information Services&lt;br /&gt;Step 4: Click ok then Next&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Configuratoin&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Open IIS from administrative tools&lt;br /&gt;Step 2: Right click on Web sites, click New site...&lt;br /&gt;Step 3: Wizard will start, next, description e.g my web site, next&lt;br /&gt;4tep 4: Give IP: 192.168.1.102, prot 80 default, header www.fizaan.com&lt;br /&gt;Step 6: Browser the path to we directory e.g web&lt;br /&gt;Step 7: Set the web site permission, next and finish.&lt;br /&gt;Step 8: Expand the web sites folder left side and right click on websites click propterties&lt;br /&gt;Step 9: Click the Documents tab, move up default page index.html to top&lt;br /&gt;Step 10: Ok&lt;br /&gt;&lt;br /&gt;Client Side&lt;br /&gt;Step 1: Set the DNS to Your DNS server 192.168.1.102&lt;br /&gt;Step 2: Open the browser and write www.yhaoo.com&lt;br /&gt;Step 3: This will open the page&lt;br /&gt;Step 10:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-3616796141742306242?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/3616796141742306242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=3616796141742306242' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/3616796141742306242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/3616796141742306242'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/10/window-2003-web-server-iis-installation.html' title='Window 2003 Web Server (IIS) Installation, Configuration and Maintenance'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-4156166458111350500</id><published>2008-10-08T18:24:00.000-07:00</published><updated>2008-10-08T19:11:31.746-07:00</updated><title type='text'>Window 2003 DHCP Server Installation, Configuration and Maintenance</title><content type='html'>&lt;strong&gt;Installation&lt;/strong&gt;&lt;br /&gt;You server should have static IP on it.&lt;br /&gt;&lt;br /&gt;Step 1: Click add/remove windows components in add/remove progmrams in Control panel&lt;br /&gt;Step 2: Select Networking Services, dlick details, &lt;br /&gt;Step 3: check only Dynamic Host configuration Prptocol (DHCP), OK, Next, This will start installation&lt;br /&gt;Step 4:  Finsih&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Configuration&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Open DHCP from Administrative Tools&lt;br /&gt;Step 2: Right Expand Computer name e.g Test03-server, click New Scope&lt;br /&gt;Step 3: Write name of scope e.g fizaan-dhcp and Descrition&lt;br /&gt;Step 4: Enter Start IP: e.g 192.168.1.150 and End IP: e.g 192.168.1.250, Subnet mask Length: 24 and mask: 255.255.255.0, Next&lt;br /&gt;Step 5: Skip Add Exclusions, Next, Lease Duration change default 8 days to 1, press Next&lt;br /&gt;Step 6: Configure options now, press Next, Give Router IP of your Network: 192.168.1.1&lt;br /&gt;Step 7: Give Domain Name: fizaan.com, DNS server IP:192.168.1.102, WINS server IP: 192.168.1.104&lt;br /&gt;Step 8: Activate scope, select Yes I wan to activate this scope now, Press Next&lt;br /&gt;&lt;br /&gt;Your DHCP server is ready now&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Client side Steps&lt;/strong&gt;&lt;br /&gt;Open properties of client network card, put on get IP automatic and release old by writing ipconfig /rlease on dos prompt.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Changing/Writing later DNS,WINS and Router IP&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Open DHCP from Administrative Tools and expand the Scope tree folder&lt;br /&gt;Step 2: Right click on Server options and Click Configure options (same can be done via scope options)&lt;br /&gt;Step 3: From General tab select different options check Router IP, WINS, DNS and give respective IP&lt;br /&gt;Step 4: Click apply and ok&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-4156166458111350500?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/4156166458111350500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=4156166458111350500' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4156166458111350500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4156166458111350500'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/10/window-2003-dhcp-server-installation.html' title='Window 2003 DHCP Server Installation, Configuration and Maintenance'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-9131495664203532799</id><published>2008-10-08T16:43:00.000-07:00</published><updated>2008-10-08T17:26:03.377-07:00</updated><title type='text'>Window 2003 WINS Server Installation, Configuration and Maintenance</title><content type='html'>&lt;strong&gt;Installation&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Open add/remove Windows by selecting add/remove programes in Control Panel&lt;br /&gt;Step 2: Select Networking Service, click details&lt;br /&gt;Step 3: Check Windows Internet Name Server&lt;br /&gt;Step 4: Click Ok, Next&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Configuration&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Open WINS from Administrative tools and expand Computer Name e.g TEST03-SERVER (192.168.1.102)&lt;br /&gt;Step 2: Right Click on Active Registration then select Display&lt;br /&gt;Step 3: From new window, Click Record Types (3rd Tab), Click Clear All&lt;br /&gt;Step 4: Select only those tecord which you want to display, Click Find now&lt;br /&gt;&lt;br /&gt;Back up WINS Database&lt;br /&gt;Step 1: In WINS, right Click on computer name and select properties&lt;br /&gt;Step 2: In General tab, click browse, select driver, make new folder e.g WINS backup, press OK.&lt;br /&gt;Step 3: Right click again on computer name and click backu, it will take the backup&lt;br /&gt;&lt;br /&gt;Restore WINS backup&lt;br /&gt;Step 1: Stop WINS service by right click on Computer name in WINS, all taks then Stop, this will put red cross on WINS (cannot find WINS server)&lt;br /&gt;Step 2: After stop, right click on computer name agian in WINS, click Restore Database&lt;br /&gt;Step 3: Provide path and click ok&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;WINS Replication&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Install WINS on 2nd Computer in the same way did in frist.&lt;br /&gt;Step 2: Open WINS from Administrative Tools, select computer name&lt;br /&gt;Step 3: Right click on Replication Partner, select New Replication partner&lt;br /&gt;Step 4: In pop-up windows give the IP or name of 2nd WINS e.g 192.168.1.104&lt;br /&gt;Step 5: Select the Replication partner in right windows, right click on it&lt;br /&gt;Step 6: Start push Replication, check Start for this partner only, press ok, ok&lt;br /&gt;Step 7: Start pull Replication,&lt;br /&gt;Step 8: FOLLOW SAME STEPS ON WINS SERVER 2 AT 192.168.1.104&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-9131495664203532799?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/9131495664203532799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=9131495664203532799' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/9131495664203532799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/9131495664203532799'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/10/window-2003-wins-server-installation.html' title='Window 2003 WINS Server Installation, Configuration and Maintenance'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-5402473613983155343</id><published>2008-10-07T15:06:00.000-07:00</published><updated>2008-10-07T16:10:59.717-07:00</updated><title type='text'>Window 2003 Secondary DNS Server/Taking Backup of Primary to Secondary DNS</title><content type='html'>&lt;strong&gt;Primary DNS&lt;/strong&gt;We have already installed Primary DNS on 192.168.1.102, see Windows 2003 DNS Installation and Configuratoin tutorial.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Secondary DNS/ Backup DNS&lt;/strong&gt;&lt;br /&gt;Installation and Configuration on Secondary DNS&lt;br /&gt;&lt;br /&gt;Step 1: Set the static IP e.g 192.168.1.104, insert Windows 2003 CD into CD rom&lt;br /&gt;Step 2: Open Windows components from Add Remove Programe in Controll Pannel &lt;br /&gt;Step 3: Select Networking Services, click Details, check only on Domain Name Systme DNS, Click Next, This will Install DNS.&lt;br /&gt;Step 4: After install open DNS, expand computer Name, right click on Forward Lookup Zone, right click, Click New Zone&lt;br /&gt;Step 5: Wizard will start, Next, Select Secondary Zone type, Next&lt;br /&gt;Step 6: Enter zone name, fizaan.com, Next&lt;br /&gt;Step 7: Write Master DNS IP here it is 192.168.1.102, add, Next, Finish&lt;br /&gt;Further Steps on Primary/Master DNS&lt;br /&gt;Step 8: Open DNS and expand Forward Lookup Zones&lt;br /&gt;Step 9: Select Zone name e.g fizaan.com, right click select properties&lt;br /&gt;Step 10:Select Zone Transfer, check Only to the following servers, &lt;br /&gt;Step 11:write Secondary DNS/backup DNS IP e.g 192.168.1.104, press, Add, apply and Ok &lt;br /&gt;&lt;br /&gt;Verification: on Secondary/Backup, open DNS, expand computer name right click on zone e.g fizaan.com, slect Transfer from Master, This will transfer the reconds.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-5402473613983155343?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/5402473613983155343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=5402473613983155343' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5402473613983155343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5402473613983155343'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/10/window-2003-secondary-dns-servertaking.html' title='Window 2003 Secondary DNS Server/Taking Backup of Primary to Secondary DNS'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-1995965140537631959</id><published>2008-10-07T13:27:00.000-07:00</published><updated>2008-10-07T13:50:14.614-07:00</updated><title type='text'>Windows 2003 Active Directory Removel</title><content type='html'>&lt;strong&gt;Server Side&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Click Start,Run, write dcpromo&lt;br /&gt;Step 2: A wizard will start, click Next&lt;br /&gt;Step 3: Check This server is the last domain controoler in the domain on Removel Active Directory page, click Next&lt;br /&gt;Step 4: click yes on do you want to coninue&lt;br /&gt;Step 5: On Application Directory Partitons page, click Next to remove all partitions&lt;br /&gt;Step 6: Check Delete all application directory partitions on this domain controller, Next&lt;br /&gt;Step 7: Give root passwd and click Next, It will start to remove, If you face any error re-do the all above steps&lt;br /&gt;Step 8: click Finish and Restart the computer&lt;br /&gt;Step 9: Remove suffix domain name e.g fizaan and restart again&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Disjoin the Domain on client&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Right click on My Computer, click properties&lt;br /&gt;Step 2: Click Computer Name, then change button and Select Workgroup and write WORKGROUP&lt;br /&gt;Step 3: Restart the computer&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-1995965140537631959?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/1995965140537631959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=1995965140537631959' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/1995965140537631959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/1995965140537631959'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/10/windows-2003-active-directory-removel.html' title='Windows 2003 Active Directory Removel'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-4259652487617012779</id><published>2008-10-06T18:10:00.000-07:00</published><updated>2008-10-07T16:26:58.502-07:00</updated><title type='text'>Windows 2003 DNS Installation, Configuration</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Installation: Server Side&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Insert Windows 2003 CD into cd rom&lt;br /&gt;Step 2: Open control pannel: first open my computer then click control panel&lt;br /&gt;Step 3: Open add/remove program then open add/remove windows compnent&lt;br /&gt;Step 4: Select Networking services, click detain button, check Domain Name System DNS&lt;br /&gt;Step 5: Press OK, this will install the DNS, press Finish&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuration Server Side&lt;/span&gt;&lt;br /&gt;&lt;strong&gt; Creation of Forward Lookup zone&lt;/strong&gt;&lt;br /&gt;Step 1: Open DNS from Administrative Tools&lt;br /&gt;Step 2: Click-right on Forward Lookup Zones, then New Zone&lt;br /&gt;Step 3: Wizard will start, click Next, Select Primary Zone, Next&lt;br /&gt;Step 4: Write Zone name e.g fizaan.com&lt;br /&gt;Step 5: Zone File name, no need to change fizaan.com.dns, click Next&lt;br /&gt;Step 6: Select Allow Dynamic updates both secure and non secure, Next, finish the Wizard&lt;br /&gt;Step 7: click fizaan.com folder in right side window, &lt;br /&gt;Step 8: Double Click on Namer Server Type&lt;br /&gt;Step 9: Click on add button, write FQDN e.g fizaan.com and IP of a DNS Server, it same machine 192.168.1.102&lt;br /&gt;Step 10: Apply and Ok&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Creation of New host Record in zone&lt;/strong&gt;&lt;br /&gt;Step 1: Right click on Zone name e.g oslo.com, right click on right side windows&lt;br /&gt;Step 2: Click New Host(A)&lt;br /&gt;Step 3: Write Name e.g www, then IP address: 192.168.1.102 (same machine also have web server)&lt;br /&gt;Step 4: Add host, host have been created successfuly, this installed the host record.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Making Reverse Look-up zone&lt;/strong&gt;&lt;br /&gt;Step 1: open DNS and expand, select Reverse Lookup zone, right click New Zone&lt;br /&gt;Step 2: Wizard will start, select Primary zone, Next&lt;br /&gt;Step 3: Enter Network ID: 192.168.1, Next&lt;br /&gt;Step 4: Leave the Revere lookup zone name as it is,1.168.192.in-addr.arpa.dns, Next&lt;br /&gt;Step 5: Select Allow both nonsecure and secure dynamic updates, Next, finish&lt;br /&gt;After that Create the POINTER RECORD in it&lt;br /&gt;Step 6: Expand Reverse lookup zones, click 192.168.1.x.Subnet&lt;br /&gt;Step 7: Right click on right side window and select New Pointer(PTR)&lt;br /&gt;Step 8: Enter Host IP e.g 102 and host name test03-server.fizaan.com in my case.&lt;br /&gt;Step 9: Press Ok&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Client Side&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Check/change the DNS to newly installed DNS 192.168.1.102&lt;br /&gt;&lt;br /&gt;Step 1: click start, run, write nslookup&lt;br /&gt;Step 2: write the zone name e.g &gt; oslo.com&lt;br /&gt;Step 3: It will give the Name: oslo.com and Address: 192.168.1.102&lt;br /&gt;Step 4: now write the name of Web server e.g &gt; www.oslo.com&lt;br /&gt;Step 5: It will/should give Name: www.oslo.com Address: 192.168.1.102&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-4259652487617012779?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/4259652487617012779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=4259652487617012779' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4259652487617012779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4259652487617012779'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/10/windows-2003-dns-installation.html' title='Windows 2003 DNS Installation, Configuration'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-8307249228164115245</id><published>2008-10-03T19:14:00.000-07:00</published><updated>2008-10-04T01:26:10.602-07:00</updated><title type='text'>Windows 2003 Users and Group Managment in Active Directory</title><content type='html'>&lt;strong&gt;Creation of Users and Groups&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Open Active Directory users and Computer, for that click start, &lt;br /&gt;        Administrative Tools &lt;br /&gt;Step 2: Expand domain name, fizaan, right click on user, click new user&lt;br /&gt;Step 3: Fill credentials of user in open windows&lt;br /&gt;Step 4: Provide good password, 2003 has some policy of choosing password&lt;br /&gt;Step 5: Click finish &lt;br /&gt;Step 6: Login from client using this user/pasword, remember choose the domain FIZAAN, in login window&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Creation of Group&lt;/strong&gt;&lt;br /&gt;Step 1: Open Active Directory users and Computer, for that click start, &lt;br /&gt;        Administrative Tools &lt;br /&gt;Step 2: Expand domain name, fizaan, right click on user, click new group&lt;br /&gt;&lt;br /&gt;Step 3: Provide the group name, scope and Type. press OK&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Adding members in Group&lt;/strong&gt;&lt;br /&gt;Step 1: Right click on group name and properties&lt;br /&gt;Step 2: Click member tab, add button, write user name aanish, you can fine users by clicking Advance&lt;br /&gt;Step 3: Click Ok&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Setting user login time and selected Computer &lt;/strong&gt;&lt;br /&gt;Step 1: Right click on user name then click properties&lt;br /&gt;Step 1: Click Account tab, Logon hours, select the time&lt;br /&gt;Step 1: for setting selected computer, on account tab, click Logon To and select the computer by writting it's name.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-8307249228164115245?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/8307249228164115245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=8307249228164115245' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8307249228164115245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8307249228164115245'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/10/windows-2003-usera-and-group-creation.html' title='Windows 2003 Users and Group Managment in Active Directory'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-6322717754938723314</id><published>2008-10-03T12:00:00.000-07:00</published><updated>2008-10-03T12:52:43.194-07:00</updated><title type='text'>Windows 2003 Active Directory Installation and Configuration</title><content type='html'>&lt;strong&gt;Windows 2003 Server: &lt;/strong&gt; &lt;em&gt;&lt;strong&gt;Installation&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;You computer is connected to switch and get ip from DHCP server or static&lt;br /&gt;Step 1: Click start,Run,enter dcpromo&lt;br /&gt;Step 2: Click next and next again&lt;br /&gt;Step 3: Select the Domain controller for your domain, click next&lt;br /&gt;Step 4: Select Domain in New forest and Next&lt;br /&gt;Step 5: Write FQDN e.g fizaan.com, click Next&lt;br /&gt;Step 6: Netbion name FIZAN, click next&lt;br /&gt;Step 7: Click next on Database and log folder, leave the default&lt;br /&gt;Step 8: Shared system Volume Folder, leave it default and click Next&lt;br /&gt;Step 9: Select Install and configure the DNS on the computer and cleck Next&lt;br /&gt;Step 10:Permission Compatible with Pre Windows.... and click Next&lt;br /&gt;Step 11:Restore mode Password, leave it blank click Next&lt;br /&gt;Step 12:Summary page, view and click Next&lt;br /&gt;Step 13:It will ask the Windows 2003 Server CD&lt;br /&gt;Step 14:End of Active Directory Installation wizard, press Finish&lt;br /&gt;Step 15:Restart the computer&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Windows 2003 client: Configuration&lt;/strong&gt;&lt;br /&gt;This computer is in same network in server and have IP.&lt;br /&gt;Step 1: Right click on My computer icon and click properties&lt;br /&gt;Step 2: click Computer Name and change button&lt;br /&gt;Step 3: Select the Domain, write fizaan, click OK&lt;br /&gt;Step 4: Prompt for user name and password, provide(I did not mention in above server installation)&lt;br /&gt;Step 5: There will be message prompt " Welcome to the Fizaan domain", press ok &lt;br /&gt;Step 6: Restart the computer&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-6322717754938723314?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/6322717754938723314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=6322717754938723314' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6322717754938723314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6322717754938723314'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/10/windows-2003-active-directory.html' title='Windows 2003 Active Directory Installation and Configuration'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-8478843748338730268</id><published>2008-09-16T03:29:00.000-07:00</published><updated>2008-09-16T08:01:40.099-07:00</updated><title type='text'>How to setup TFTP server on Debian</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Step 1: Installation of tftpd package (server) and client&lt;/span&gt;&lt;br /&gt;aptitude install tftpd&lt;br /&gt;aptitude install tftp&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2: Creating Directory and setting permission&lt;/span&gt;&lt;br /&gt;mkdir /tftpboot&lt;br /&gt;chmod 777 /tftpboot&lt;br /&gt;chown imran.imran /tftpboot&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3: Checking and editing(if required) the /etc/inetd.conf&lt;/span&gt;&lt;br /&gt;Correct the location of director from /srv/tftp to /tftpboot&lt;br /&gt;&lt;br /&gt;tftp  dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot&lt;br /&gt;&lt;br /&gt;Don't forget to restart.&lt;br /&gt;It is is tricky to restart the tftpd, you have to restart inetd, but in Debian it is openbsd-inetd&lt;br /&gt;cd /etc/init.d&lt;br /&gt;./openbsd-inetd restart&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4: Testing&lt;/span&gt;&lt;br /&gt;Type following &lt;br /&gt;tftp 127.0.0.1&lt;br /&gt;tftp&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Step 5: Security&lt;/span&gt;&lt;br /&gt;you can edit /etc/hosts.allow and /etc/hosts.deny for restriction.&lt;br /&gt;&lt;br /&gt;That's it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Further doc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://www.debianhelp.co.uk/tftp.htm&lt;br /&gt;http://www.onlamp.com/pub/a/bsd/2003/06/05/FreeBSD_Basics.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-8478843748338730268?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/8478843748338730268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=8478843748338730268' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8478843748338730268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/8478843748338730268'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/09/how-to-setup-tftp-server-on-debian.html' title='How to setup TFTP server on Debian'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-321520520071539473</id><published>2008-09-08T07:51:00.000-07:00</published><updated>2008-09-08T08:11:04.289-07:00</updated><title type='text'>How to Setup Central Syslog server in Debian Etch</title><content type='html'>As it is installed in debian in OS installation.&lt;br /&gt;&lt;br /&gt;Step 1: Stop Sysllog server.&lt;br /&gt;/etc/init.d/sysklogd stop&lt;br /&gt;&lt;br /&gt;Step 2: Start remote acception&lt;br /&gt;edit /etc/default/syslogd&lt;br /&gt;&lt;br /&gt;change SYSLOGD="" to "-r"&lt;br /&gt;&lt;br /&gt;Step 3: Create a file to log remote log messages (optional)&lt;br /&gt;&lt;br /&gt;edit /etc/sylogd.conf&lt;br /&gt;*.*;auth,authpriv.none   to&lt;br /&gt;*.*;auth,authpriv,local0.none&lt;br /&gt;append at the end the path to file&lt;br /&gt;local0.*  -/var/log/sxlog&lt;br /&gt;&lt;br /&gt;Step 4: Restart the syslog server &lt;br /&gt;/etc/init.d/sysklogd start&lt;br /&gt;&lt;br /&gt;a meesage with "remote reception" by doing tail -f /var/log/messages confirms.&lt;br /&gt;&lt;br /&gt;Setp 5: Test by viewing the file&lt;br /&gt;cat /var/log/sxlog&lt;br /&gt;&lt;br /&gt;Further info&lt;br /&gt;http://news.softpedia.com/news/Setting-Up-a-Central-Syslog-Server-44063.shtml&lt;br /&gt;&lt;br /&gt;&lt;a href="http://news.softpedia.com/news/Setting-Up-a-Central-Syslog-Server-44063.shtml"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-321520520071539473?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/321520520071539473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=321520520071539473' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/321520520071539473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/321520520071539473'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/09/how-to-setup-central-syslog-server-in.html' title='How to Setup Central Syslog server in Debian Etch'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-5100193766827846753</id><published>2008-08-26T06:28:00.000-07:00</published><updated>2008-10-13T09:11:29.490-07:00</updated><title type='text'>Installation and Configuration of Joomla CMS! on Debian ETCH</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Step 1: Install the LAMP server and also phpmyadmin &lt;/span&gt;&lt;br /&gt;See my blogpost "Installation of LAMP on Debian"&lt;br /&gt;&lt;span style="font-style:italic;"&gt;#aptitude install phpmyadmin&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2: Download Lattest version of Joomla e.g&lt;/span&gt;&lt;br /&gt;dwonload from following location&lt;br /&gt;http://linux.softpedia.com/progDownload/Joomla-Download-5739.html&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3: make directory under /var/www/joomla and decompress joomla&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;mkdir /var/www/joomla&lt;br /&gt;cd /var/www/joomla&lt;br /&gt;tar -xvf var/www/Joomla_1.5.6-Stable-Full_Package.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4: Create Database in MySQL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;#mysqladmin -u root -p create Joomla&lt;br /&gt;mysql -u root -p&lt;br /&gt;mysql&gt;GRANT ALL PRIVILEGES ON Joomla.* TO Joomla@localhost IDENTIFIED BY 'Joomla';&lt;br /&gt;mysql&gt;flush privileges;&lt;br /&gt;mysql&gt;quit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 5: Change ownership and priviliges of /var/www/joomla&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;chown www-data.www-data /var/www/joomla&lt;br /&gt;chmod 777 /var/www/joomla&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Notw: Rechange this mode to normal after installation.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 6: Begin installattion&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;http://192.168.100.10/joomla&lt;/span&gt;&lt;br /&gt;This will start the wizard, answer the questions, in check list try to eliminate missing components (in red color) and also remember following;&lt;br /&gt;Database Name:Joomla&lt;br /&gt;Database User:Joomla&lt;br /&gt;Password:Joomla&lt;br /&gt;Admin passowrd: you will enter at the end.&lt;br /&gt;&lt;br /&gt;At the end this will ask to remove the installation directory.&lt;br /&gt;&lt;br /&gt;Further information&lt;br /&gt;&lt;br /&gt;http://www.craigschurr.com/index2.php?option=com_content&amp;do_pdf=1&amp;id=16&lt;br /&gt;http://www.linux-vashi.blogspot.com/2008/02/how-to-install-joomla-on-debian-etch_12.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-5100193766827846753?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/5100193766827846753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=5100193766827846753' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5100193766827846753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5100193766827846753'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/08/installation-and-configuration-of.html' title='Installation and Configuration of Joomla CMS! on Debian ETCH'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-5384385862429501051</id><published>2008-08-26T04:07:00.000-07:00</published><updated>2008-10-15T06:25:47.320-07:00</updated><title type='text'>Import and Export mysql database in Debian using phpmyadmin</title><content type='html'>Step 1: Install phpmyadmin&lt;br /&gt;&lt;br /&gt;aptitude install phpmyadmin&lt;br /&gt;&lt;br /&gt;Step 2: Login to phpmyadmin&lt;br /&gt;&lt;br /&gt;https://192.168.100.1/phpmyadmin/&lt;br /&gt;Default user: root&lt;br /&gt;Enter root password.&lt;br /&gt;&lt;br /&gt;Step 3: Export Database&lt;br /&gt;&lt;br /&gt;After log in, click Export&lt;br /&gt;In EXPORT menue select your database&lt;br /&gt;e.g joomla&lt;br /&gt;Select format under Select All/Unselect All&lt;br /&gt;e.g SQL (by default)&lt;br /&gt;Click Save as file e.g jooml&lt;br /&gt;Press Go (botton right)&lt;br /&gt;Save it to your local hard disk&lt;br /&gt;&lt;br /&gt;Step 4: Import Database&lt;br /&gt;&lt;br /&gt;Press Import after log in to phpmyadmin in other machine.&lt;br /&gt;select the file under Location of the text file, &lt;br /&gt;Leave every thing by default and &lt;br /&gt;Press Go&lt;br /&gt;This will import the mysql database.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-5384385862429501051?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/5384385862429501051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=5384385862429501051' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5384385862429501051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5384385862429501051'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/08/import-and-export-mysql-database-in.html' title='Import and Export mysql database in Debian using phpmyadmin'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-3703565547827001506</id><published>2008-08-25T10:41:00.000-07:00</published><updated>2008-08-25T10:44:24.051-07:00</updated><title type='text'>Recover MYSQL root password in Debian</title><content type='html'>Step # 1 : Stop mysql service&lt;br /&gt;&lt;br /&gt;# /etc/init.d/mysql stop&lt;br /&gt;&lt;br /&gt;Step # 2: Start to MySQL server without password&lt;br /&gt;&lt;br /&gt;# mysqld_safe --skip-grant-tables &amp;&lt;br /&gt;&lt;br /&gt;Step # 3: Connect to mysql server using mysql client:&lt;br /&gt;&lt;br /&gt;# mysql -u root&lt;br /&gt;&lt;br /&gt;mysql&gt;&lt;br /&gt;Step # 4: Setup new MySQL root user password&lt;br /&gt;&lt;br /&gt;mysql&gt; use mysql;&lt;br /&gt;mysql&gt; update user set password=PASSWORD("imran") where User='root';&lt;br /&gt;mysql&gt; flush privileges;&lt;br /&gt;mysql&gt; quit&lt;br /&gt;&lt;br /&gt;Step # 5: Stop MySQL Server: &lt;br /&gt;&lt;br /&gt;# /etc/init.d/mysql stop&lt;br /&gt;&lt;br /&gt;Step # 6: Start MySQL server&lt;br /&gt;&lt;br /&gt;# /etc/init.d/mysql start&lt;br /&gt;&lt;br /&gt;Step # 7: Test it&lt;br /&gt;# mysql -u root -p&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-3703565547827001506?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/3703565547827001506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=3703565547827001506' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/3703565547827001506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/3703565547827001506'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/08/recover-mysql-root-password-in-debian.html' title='Recover MYSQL root password in Debian'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-6482400172193069006</id><published>2008-08-25T05:26:00.000-07:00</published><updated>2008-08-25T05:59:12.928-07:00</updated><title type='text'>Installation of LAMP on Debian</title><content type='html'>Step 1) Installation of Apache and PHP4&lt;br /&gt;&lt;br /&gt;aptitude install apache2 php4 libapache2-mod-php4&lt;br /&gt;&lt;br /&gt;Step 2) Installation of MySQL Server&lt;br /&gt;&lt;br /&gt;aptitude install mysql-server mysql-client php4-mysql&lt;br /&gt;&lt;br /&gt;change of MYSQL root Pasword&lt;br /&gt;mysql -u root&lt;br /&gt;mysql&gt; USE mysql;&lt;br /&gt;mysql&gt; UPDATE user SET Password=PASSWORD('new-password') WHERE user='root';&lt;br /&gt;mysql&gt; FLUSH PRIVILEGES;&lt;br /&gt;&lt;br /&gt;step 3) Installation of PhpMyAdmin&lt;br /&gt;&lt;br /&gt;aptitude install phpmyadmin&lt;br /&gt;&lt;br /&gt;Edit /etc/apache2/apach2.conf:&lt;br /&gt;append at the end &lt;br /&gt;Include /etc/phpmyadmin/apache.conf&lt;br /&gt;&lt;br /&gt;Testing&lt;br /&gt;&lt;br /&gt;http://domainname.com/phpmyadmin/&lt;br /&gt;&lt;br /&gt;Login using mysql root and create users.&lt;br /&gt;&lt;br /&gt;Further docs&lt;br /&gt;http://www.howtoforge.com/ubuntu_debian_lamp_server&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-6482400172193069006?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/6482400172193069006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=6482400172193069006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6482400172193069006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6482400172193069006'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/08/installation-of-lamp-on-debian.html' title='Installation of LAMP on Debian'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-7475270497394630093</id><published>2008-08-25T05:21:00.000-07:00</published><updated>2008-09-12T04:35:05.035-07:00</updated><title type='text'>Installing and configuring DHCP on Debian</title><content type='html'>Step 1: Install DHCP package&lt;br /&gt;&lt;br /&gt;aptitude install dhcp3-server&lt;br /&gt;&lt;br /&gt;Step 2: Configure DHCP package&lt;br /&gt;&lt;br /&gt;option domain-name "domain.com";&lt;br /&gt;option domain-name-servers 10.0.0.2, 193.10.10.10;&lt;br /&gt;option routers 10.0.0.1;&lt;br /&gt;default-lease-time 3600;&lt;br /&gt;subnet 10.0.0.0 netmask 255.0.0.0 {&lt;br /&gt;arrange 10.0.0.100 10.0.0.254;&lt;br /&gt;&lt;br /&gt;#OPTIONS&lt;br /&gt;#if you want to assign IP based on MAC address&lt;br /&gt;host imran {&lt;br /&gt;hardware ethernet 00:50:BA:82:DE:63;&lt;br /&gt;fixed-address 10.10.10.10;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Step 3: Restart&lt;br /&gt;&lt;br /&gt;/etc/init.d/dhcp3-server restart&lt;br /&gt;&lt;br /&gt;Further Docs&lt;br /&gt;&lt;br /&gt;http://www.debianhelp.co.uk/dhcp.htm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-7475270497394630093?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/7475270497394630093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=7475270497394630093' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7475270497394630093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7475270497394630093'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/08/installing-and-configuring-dhcp-on.html' title='Installing and configuring DHCP on Debian'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-7962225196170537223</id><published>2008-08-25T02:28:00.000-07:00</published><updated>2010-03-03T06:00:59.448-08:00</updated><title type='text'>Useful Linux commands</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Adding user name and password in authentication file in Apache2&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;root@jupiter:/etc/apache2# htpasswd /etc/apache2/intranet.passwd halvard&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;This will append the MD5 password with user  in file.&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;Installation of Java on Ubuntu&lt;br /&gt;                           &lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:85%;"&gt;root@imran-desktop:~# sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:85%;"&gt;root@imran-desktop:~# java -version&lt;br /&gt;java version "1.6.0_16"            &lt;br /&gt;Java(TM) SE Runtime Environment (build 1.6.0_16-b01)&lt;br /&gt;Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Check directory size&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;du -hs /home/imran/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to check all installed packaged and version of a specific installed packag&lt;/span&gt;e&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;dpkg -s apache2&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;dpkg --list |more&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;How to Zip and unzipp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:85%;"&gt;#aptitude install zip unzip&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;zip imran.zip file1 file2 file3&lt;/span&gt;&lt;br /&gt;Then you can extract the original files like this:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;unzip imran.zip&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-7962225196170537223?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/7962225196170537223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=7962225196170537223' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7962225196170537223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7962225196170537223'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/08/useful-linux-commands.html' title='Useful Linux commands'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-3358344710567747361</id><published>2008-08-21T01:40:00.000-07:00</published><updated>2009-04-30T04:28:51.428-07:00</updated><title type='text'>How to copy files/directory in Debian using rsync and scp over network</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1) Network copying using rsync&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1: Install rsync on both machines&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;aptitude install rsync&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2: Edit of /etc/default/rsync on both machines &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt; RSYNC_ENABLE=false &lt;/span&gt;&lt;br /&gt;        to&lt;br /&gt; &lt;span style="font-style:italic;"&gt;RSYNC_ENABLE=true&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3: Restart rsync on both machines &lt;/span&gt;&lt;br /&gt; &lt;span style="font-style:italic;"&gt; /etc/init.d/rsync restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4: Start copy from machine1 to machine2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt; rsync -e ssh -avz /home/imran 192.168.100.10:/media/usbdisk/imran&lt;/span&gt;&lt;br /&gt;options&lt;br /&gt;a: archive mode perserver file permission&lt;br /&gt;v: verbose&lt;br /&gt;z: compress (this will reduce time)&lt;br /&gt;This will prompt for password, enter password, you will see&lt;br /&gt;building file list..&lt;br /&gt;&lt;br /&gt;Backup using Rsync&lt;br /&gt;Make script and place it under /etc/cron.daily.&lt;br /&gt;Generate and copy the key &lt;br /&gt;&lt;br /&gt;ssh-keygen -t dsa,&lt;br /&gt; and press Enter when prompted for a passphrase. After the key is created, use &lt;br /&gt;ssh-copy-id -i .ssh/id_dsa.pub root@remote.host.com &lt;br /&gt;&lt;br /&gt;to copy the public key to the remote host.&lt;br /&gt;&lt;br /&gt;(Note: this presume that SSH is installed with key transfer)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2) Network copying using scp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;scp -Cr /home/imran 192.168.100.10:/media/usbdisk&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;r:recursvly copying&lt;br /&gt;C:exncrytpion 3DES default.&lt;br /&gt;Don't use this method if directory contails too many files.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Further reading:&lt;/span&gt;&lt;br /&gt;http://www.crucialp.com/resources/tutorials/server-administration/how-to-copy-files-across-a-network-internet-in-unix-linux-redhat-debian-freebsd-scp-tar-rsync-secure-network-copy.php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-3358344710567747361?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/3358344710567747361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=3358344710567747361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/3358344710567747361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/3358344710567747361'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/08/how-to-copy-filesdirector-in-debian.html' title='How to copy files/directory in Debian using rsync and scp over network'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-4943304270403737919</id><published>2008-08-16T08:31:00.000-07:00</published><updated>2008-08-16T08:45:11.037-07:00</updated><title type='text'>ENABLE AUTHENTICATION ON DEBIAN APACHE WEB SERVER</title><content type='html'>Step by Step Guide;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1 Enable Digest Authentication&lt;/span&gt;&lt;br /&gt;This authentication does not supported by default&lt;br /&gt;&lt;span style="font-style:italic;"&gt;#a2enmod auth_digest&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2 Set up user/password/realm&lt;/span&gt;&lt;br /&gt;htdigest -c /var/www/munin/.htpasswd munin username&lt;br /&gt;munin is realm and username is username.&lt;br /&gt;supply "username" user password,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3 Making Authentication required&lt;/span&gt;&lt;br /&gt;go back to /etc/apache2/sites-available/monitoring.&lt;br /&gt;&lt;br /&gt;Options FollowSymLinks&lt;br /&gt;AllowOverride None&lt;br /&gt;#authentification&lt;br /&gt;AuthType Digest&lt;br /&gt;AuthName "munin"&lt;br /&gt;AuthDigestFile /var/www/munin/.htpasswd&lt;br /&gt;#people using apache 2.2 will use instead:&lt;br /&gt;#AuthUserFile /var/www/munin/.htpasswd&lt;br /&gt;require valid-user&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4 Reload apache configuration&lt;/span&gt;&lt;br /&gt;#apache2ctl -t&lt;br /&gt;Syntax OK&lt;br /&gt;$/etc/init.d/apache2 force-reload &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 5 Tesing and Running&lt;/span&gt;&lt;br /&gt;Now, go to http://monitoring.example.com with your browser. A box should prompt you for a username and password. Supply the one you define above and you should be given access to munin statistics.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-4943304270403737919?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/4943304270403737919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=4943304270403737919' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4943304270403737919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/4943304270403737919'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/08/enable-authentication-on-debian-apache.html' title='ENABLE AUTHENTICATION ON DEBIAN APACHE WEB SERVER'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-7577930466000096498</id><published>2008-08-16T07:58:00.000-07:00</published><updated>2008-08-16T08:44:20.581-07:00</updated><title type='text'>Monitoring Linux (Debain) Network With Munin</title><content type='html'>It requires following packages;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;• Web Server e.g apache&lt;br /&gt;• Munin Server&lt;br /&gt;• Munin Clients&lt;br /&gt;• Measuring temperature using smartmontools&lt;br /&gt;• Munin Windows plugins&lt;br /&gt;• Documentation and further Reading&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;WEB SERVER e.g APACHE&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; Linux Apach2 for debian&lt;br /&gt;#apt-get install apache2-mpm-prefork&lt;br /&gt;Run the script “apache2-ssl-certificate”  i.e&lt;br /&gt;# apache2-ssl-certificate&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;MUNIN ON SERVER&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#apt-get install munin munin-node&lt;br /&gt;Edit Configuration&lt;br /&gt; /etc/munin/munin.conf&lt;br /&gt;&lt;br /&gt;# a simple host tree&lt;br /&gt;[localhost.localdomain]&lt;br /&gt;    address 127.0.0.1&lt;br /&gt;    use_node_name yes&lt;br /&gt;&lt;br /&gt;[machine1.domain.com]&lt;br /&gt;    address xx.xxx.xxx.xx&lt;br /&gt;    use_node_name yes &lt;br /&gt;&lt;br /&gt;[machine2.domain.com]&lt;br /&gt;    address xx.xxx.xxx.xx&lt;br /&gt;    use_node_name yes &lt;br /&gt;##please write ip on xx&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;MUNIN ON CLIENTS&lt;/span&gt;&lt;br /&gt;Instlal it in each client &lt;br /&gt;#apt-get install munin-node&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;change configuration&lt;/span&gt; &lt;br /&gt;/etc/munin/munin-node.conf&lt;br /&gt;&lt;br /&gt;Edit Configuration on each Client Machine&lt;br /&gt;Client 1 machine1.domain.com&lt;br /&gt;#&lt;br /&gt;# Example config-file for munin-node&lt;br /&gt;#&lt;br /&gt;log_level 4&lt;br /&gt;log_file /var/log/munin/munin-node.log&lt;br /&gt;port 4949&lt;br /&gt;pid_file /var/run/munin/munin-node.pid&lt;br /&gt;background 1&lt;br /&gt;setseid 1&lt;br /&gt;# Which port to bind to;&lt;br /&gt;host *&lt;br /&gt;host 127.0.0.1&lt;br /&gt;host xx.xxx.xxx.xx&lt;br /&gt;## xx server IP&lt;br /&gt;user root&lt;br /&gt;group root&lt;br /&gt;setsid yes&lt;br /&gt;allow ^127\.0\.0\.1$&lt;br /&gt;allow ^xx\.xxx\.xxx\.xx$&lt;br /&gt;Testing&lt;br /&gt;browse under http://ipaddress/munin&lt;br /&gt;Examples can be found here: http://www.linpro.no/projects/munin/example/&lt;br /&gt;If you have any problems you need to check the log files of munin located at /var/&lt;br /&gt;log/munin directory&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;MEASURING TEMPERATURE USING SMARTMONTOOLS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1.#apt-get install smartmontools&lt;br /&gt;which is apparently needed by munin's hddtemp_smartctl plugin ;&lt;br /&gt;2. and ln -s /usr/share/munin/plugins/hddtemp_smartctl /etc/munin/plugins/hddtemp_smartctl&lt;br /&gt;.. which 'activates' the plugin ;&lt;br /&gt;3. and /etc/init.d/munin-node restart to apply these changes.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;WINDOWS PLUGIN&lt;/span&gt;&lt;br /&gt;http://www.jory.info/#downloads_muninnode&lt;br /&gt;http://munin.projects.linpro.no/wiki/HowToMonitorWindows&lt;br /&gt;http://www.debuntu.org/book/export/html/134&lt;br /&gt;&lt;br /&gt;DOCUMENTATION AND FURTHER READING&lt;br /&gt;http://www.debianhelp.co.uk/munin.htm&lt;br /&gt;http://www.debianhelp.co.uk/munin.htm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-7577930466000096498?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/7577930466000096498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=7577930466000096498' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7577930466000096498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/7577930466000096498'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/08/monitoring-linux-debain-network-with.html' title='Monitoring Linux (Debain) Network With Munin'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-3548100563770793867</id><published>2008-08-14T11:42:00.000-07:00</published><updated>2008-08-14T12:17:32.212-07:00</updated><title type='text'>Mounting External USB Disk on Debian</title><content type='html'>After plugin USB, see any activity&lt;br /&gt;&lt;span style="font-style:italic;"&gt;tail -f /var/log/syslog&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;if nothing about usb mass storage, check reasons. If "no loadable modules!", your old Kernel does not support USB, you might need to upgrade it (depending upon hardware of machine) in my case it was the Via CPU which is not a&lt;br /&gt;full-blown 686.&lt;br /&gt;Then install the new kernel&lt;br /&gt;&lt;span style="font-style:italic;"&gt;apt-get install linux-image-2.6.18-4-486&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After that config the lilo or grub in our case it was lilo:&lt;br /&gt;edit /etc/lilo.conf&lt;br /&gt;default=2.6.18&lt;br /&gt;&lt;br /&gt;Then restart the machine.&lt;br /&gt;&lt;br /&gt;check activity and see syslog (see up command)&lt;br /&gt;Kernal find the disk &lt;br /&gt;Aug 14 20:05:11 neptune kernel: usb-storage: device found at 3&lt;br /&gt;Aug 14 20:05:11 neptune kernel: usb-storage: waiting for device to&lt;br /&gt;settle before scanning&lt;br /&gt;Aug 14 20:05:16 neptune kernel:   Vendor: ATA       Model: SAMSUNG&lt;br /&gt;HD321KJ   Rev: CP10&lt;br /&gt;Aug 14 20:05:16 neptune kernel:   Type:   Direct-Access&lt;br /&gt;     ANSI SCSI revision: 05&lt;br /&gt;Aug 14 20:05:16 neptune kernel: SCSI device sda: 625142448 512-byte hdwr&lt;br /&gt;sectors (320073 MB)&lt;br /&gt;Aug 14 20:05:16 neptune kernel: sda: Write Protect is off&lt;br /&gt;Aug 14 20:05:16 neptune kernel: sda: Mode Sense: 00 00 00 00&lt;br /&gt;Aug 14 20:05:16 neptune kernel: sda: assuming drive cache: write through&lt;br /&gt;Aug 14 20:05:16 neptune kernel: SCSI device sda: 625142448 512-byte hdwr&lt;br /&gt;sectors (320073 MB)&lt;br /&gt;Aug 14 20:05:16 neptune kernel: sda: Write Protect is off&lt;br /&gt;Aug 14 20:05:16 neptune kernel: sda: Mode Sense: 00 00 00 00&lt;br /&gt;Aug 14 20:05:16 neptune kernel: sda: assuming drive cache: write through&lt;br /&gt;Aug 14 20:05:16 neptune kernel:  sda: sda1 sda2 sda3 sda4&lt;br /&gt;Aug 14 20:05:16 neptune kernel: sd 1:0:0:0: Attached scsi disk sda&lt;br /&gt;Aug 14 20:05:16 neptune kernel: usb-storage: device scan complete&lt;br /&gt;&lt;br /&gt;This means that the device was inserted into the kernel as /dev/sda.&lt;br /&gt;&lt;br /&gt;From the bottom of the log, you see that the device has four partitions.&lt;br /&gt;(sda1, sda2, sda3, sda4)  If you don't know what filesystems they&lt;br /&gt;contain, you can make mount autodetect by:&lt;br /&gt;&lt;br /&gt;       &lt;span style="font-style:italic;"&gt; mount /dev/sda2 /mnt/media&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When you finish your work, unmount this can corrupt the file system.&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;       umont /mnt/media&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thanks Fredrik Gratte, from Owera As&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-3548100563770793867?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/3548100563770793867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=3548100563770793867' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/3548100563770793867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/3548100563770793867'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/08/mounting-external-usb-disk-on-debian.html' title='Mounting External USB Disk on Debian'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-6232895272763594751</id><published>2008-08-12T06:37:00.000-07:00</published><updated>2008-08-14T05:20:26.960-07:00</updated><title type='text'>Squirrelmail Web Client Installatin and Configuration on Debian</title><content type='html'>Following things are involved.&lt;br /&gt;&lt;ol&gt;&lt;li&gt; MAIL SERVER 'Exim4'&lt;br /&gt;&lt;/li&gt;&lt;li&gt; INSTALLATION OF PACKAGES&lt;br /&gt;&lt;/li&gt;&lt;li&gt; CONFIGURATION&lt;br /&gt;&lt;/li&gt;&lt;li&gt; FURTHER DOCUMENTATION&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;strong&gt;MAIL SERVER:&lt;br /&gt;&lt;/strong&gt;We are already running  EXIM4, as our mail mail server on a different machine and network with folloing IMAP and SMTP&lt;br /&gt;&lt;br /&gt;Imap.domain.com&lt;br /&gt;Smtp.domain.com&lt;br /&gt;&lt;br /&gt;No need to install it from scracth.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;INSTALLATION OF PACKAGES:&lt;/strong&gt;&lt;br /&gt;A) Web server Apache with ssl support&lt;br /&gt;Install apache2: &lt;i&gt;apt-get install apach2&lt;/i&gt;&lt;br /&gt;install ssl certificate: &lt;i&gt;apt-get install ssl-cert&lt;/i&gt;&lt;br /&gt;generate certificate:&lt;i&gt; openssl req $@ -new -x509 -days 365 -nodes -out /etc/apache2/apache.pem -keyout /etc/apache2/apache.pem&lt;br /&gt;&lt;br /&gt;&lt;/i&gt;country name: NO&lt;br /&gt;state name: Oslo&lt;br /&gt;locality name: Oslo&lt;br /&gt;organizaion name: yourcompany&lt;br /&gt;organizatinal unit: IT&lt;br /&gt;common name: webmail&lt;br /&gt;email addres: youremail@yourdomain.com&lt;br /&gt;&lt;br /&gt;B) PHP4 (php5 has some problems)&lt;br /&gt;PHP4 Installation: &lt;i&gt;apt-get install php4&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;C) UW IMAP&lt;br /&gt;Installation of uw-imapd: &lt;i&gt;apt-get install uw-imapd&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;D) Squirrelmail&lt;br /&gt;Squirrelmail Installation: &lt;i&gt;apt-get install squirelmail&lt;/i&gt;&lt;br /&gt;you can also download from this location and install,&lt;br /&gt;http://www.squirrelmail.org/download.php&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CONFIGURATION:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Apache WebServer&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;chmod 600 /etc/apache2/apache.pem&lt;br /&gt;Enabling SSL Support&lt;br /&gt;a2enmod ssl&lt;br /&gt;Module ssl installed; run /etc/init.d/apache2 force-reload to enable.&lt;br /&gt;Configuring SSL support&lt;br /&gt;Edit /etc/apache2/ports.conf&lt;br /&gt;Listen 443&lt;br /&gt;&lt;br /&gt;Edit /etc/apache2/sites-available/default.conf&lt;br /&gt;NameVirtualHost *:443&lt;br /&gt;&lt;virtualhost 443=""&gt;ServerAdmin webmaster@owera.com&lt;br /&gt; ServerName      webmail.owera.com&lt;br /&gt;      SSLEngine on&lt;br /&gt;      SSLCertificateFile /etc/apache2/apache.pem&lt;br /&gt;DocumentRoot /var/squirrelmail/www/&lt;br /&gt;&lt;Directory /var/squirrelmail/www/&gt;&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;Restart apache2&lt;br /&gt;/etc/init.d/apache2 restart&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Squirrelmail configuration&lt;/strong&gt;&lt;br /&gt;After downloading, create directory and unpack&lt;br /&gt; mkdir /var/squirrelmail&lt;br /&gt; cd /var/squirrelmail&lt;br /&gt; mkdir data attachment www&lt;br /&gt; chown -R www-data.www-data /ver/squirrelmail/&lt;br /&gt; chgrp www-data data attachment&lt;br /&gt; chmod 0730 data attachment&lt;br /&gt; tar --bzip2 -xvf /usr/local/src/downloads/squirrelmail-1.4.5.tar.bz2&lt;br /&gt; mv squirrelmail-1.4.5 www&lt;br /&gt;cd www/config&lt;br /&gt; cp -p config_default.php config.php&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Edit config.php&lt;/strong&gt;&lt;br /&gt;Change this to your organization's name.&lt;br /&gt;$org_name = 'YOUR_ORGANIZATION';&lt;br /&gt;Change this to the title you would like shown on the SquirrelMail web page.&lt;br /&gt;$org_title = 'YOUR_TITLE $version';&lt;br /&gt;Change this to the mail domain that is being served by SquirrelMail.&lt;br /&gt;$domain = 'YOUR_MAIL_DOMAIN.com';&lt;br /&gt;Define your SMTP server. This is the name of the server running the Postfix MTA for your mail domain. If Postfix is running on the same server as SquirrelMail then this would be 'localhost'. If it is another server then enter 'SERVERNAME.com'.&lt;br /&gt;$smtpServerAddress = 'localhost';&lt;br /&gt;Define your IMAP server. We always have SquirrelMail running on the same server as IMAP so this will always be 'localhost'.&lt;br /&gt;$imapServerAddress = 'localhost';&lt;br /&gt;Define the IMAP server type. The IMAP package in EnGarde Secure Community 3.0 is 'Washington University' so use 'wu' here.&lt;br /&gt;$imap_server_type = 'wu';&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;&lt;strong&gt;DOCUMENTATION:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;http://www.squirrelmail.org/docs/admin/admin-3.html#ss3.1&lt;br /&gt;http://www.flatmtn.com/computer/Linux-Squirrelmail.html&lt;br /&gt;http://www.engardelinux.org/doc/howtos/install-squirrelmail/install-squirrelmail/config-edit.shtml&lt;br /&gt;http://www.flatmtn.com/computer/Linux-EmailServer.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-6232895272763594751?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/6232895272763594751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=6232895272763594751' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6232895272763594751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/6232895272763594751'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2008/08/squirrelmail-web-client-installatin-and.html' title='Squirrelmail Web Client Installatin and Configuration on Debian'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4607477942582165462.post-5143796525811815385</id><published>2007-12-27T06:04:00.001-08:00</published><updated>2007-12-28T04:49:55.023-08:00</updated><title type='text'>Who is behind killing of Benzir Bhutoo?</title><content type='html'>There are many questions in minds of about the killing of Benzir Bhutto. Who killed her,  Pakistan military agencies? or  Taliban/Alqaida? or America or any other? I think the answer lies who will get the most benefit.&lt;br /&gt;Let's take the first suspect, Mushraf will get the following benefits, extend his rule to country and make more money from inside as well as from foreign on the name of "war on terror". The military will use some of this money to strength itself while rest will go in same pockets where it used to went. The other reason which let us to think is an email and Text messages from Benzir, in which he directly blame Musharf and military.&lt;br /&gt;The second suspect are Taliban/Alqaida, the benifit they can get is an image of a powerful authority who can do any thing in the country, which can result some settlement with government in Tribal, Swat areas. On other hand they will loss their support not only from rest of Pakistan but also from Tribal areas  I don't think they are so idiot to divert the people's anger to ward them.&lt;br /&gt;The third suspect is America. America has eye on the nuclear weapons of Pakistan so he will like to have the control if the country goes toward civil war, as current situation seems. For this he already had done exercise.&lt;br /&gt;The exact answer will never be revealed, we have to make guesses. what ever it is, it was a planned and might be above mentioned forces made it combine?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4607477942582165462-5143796525811815385?l=imranasghar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://imranasghar.blogspot.com/feeds/5143796525811815385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4607477942582165462&amp;postID=5143796525811815385' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5143796525811815385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4607477942582165462/posts/default/5143796525811815385'/><link rel='alternate' type='text/html' href='http://imranasghar.blogspot.com/2007/12/who-is-behind-killing-of-benzir-bhutoo.html' title='Who is behind killing of Benzir Bhutoo?'/><author><name>Imran Asghar</name><uri>http://www.blogger.com/profile/03775370844686715221</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_h4piBT3Ww6E/R3ThvVnckgI/AAAAAAAAAAk/P6FYSi4MK78/S220/pi.bmp'/></author><thr:total>0</thr:total></entry></feed>
