<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Mohammad Mahmudul Hasan</title>
	<atom:link href="http://mahmudbd.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mahmudbd.wordpress.com</link>
	<description>Networking</description>
	<lastBuildDate>Thu, 18 Jun 2009 07:40:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mahmudbd.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Mohammad Mahmudul Hasan</title>
		<link>http://mahmudbd.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mahmudbd.wordpress.com/osd.xml" title="Mohammad Mahmudul Hasan" />
	<atom:link rel='hub' href='http://mahmudbd.wordpress.com/?pushpress=hub'/>
		<item>
		<title>VPN Server</title>
		<link>http://mahmudbd.wordpress.com/2009/06/18/94/</link>
		<comments>http://mahmudbd.wordpress.com/2009/06/18/94/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 07:35:06 +0000</pubDate>
		<dc:creator>Mohammad Mahmudul Hasan</dc:creator>
				<category><![CDATA[VPN Server]]></category>

		<guid isPermaLink="false">http://mahmudbd.wordpress.com/?p=94</guid>
		<description><![CDATA[Server apt-get   install   ppp apt-get   install   pptpd vi   /etc/pptpd.conf option /etc/ppp/pptpd-options &#8211;&#62; (default). Location of the PPP Options file. speed 115200 &#8211;&#62; (default) debug &#8211;&#62; (default) logwtmp &#8211;&#62; (default). Use wtmp(5) to record client connections and disconnections localip 7.7.7.10 à If chap Secrete IP is set dynamically then pool IP from this range remoteip 7.7.7.10-100 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=94&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><span style="text-decoration:underline;">Server<br />
</span></strong></p>
<ol>
<li><strong>apt-get   install   ppp</strong></li>
<li><strong>apt-get   install   pptpd<br />
</strong></li>
<li><strong>vi   /etc/pptpd.conf</strong></li>
</ol>
<p><strong><span style="text-decoration:underline;"> </span></strong></p>
<p><strong>option /etc/ppp/pptpd-options &#8211;&gt; </strong>(default). Location of the PPP<strong> </strong>Options file.</p>
<p><strong>speed 115200</strong> &#8211;&gt; (default)</p>
<p><strong>debug</strong> &#8211;&gt; (default)</p>
<p><strong>logwtmp</strong> &#8211;&gt; (default). Use wtmp(5) to record client connections and disconnections</p>
<p><strong>localip 7.7.7.10 </strong>à If chap Secrete IP is set dynamically then pool IP from this range<strong> </strong></p>
<p><strong>remoteip 7.7.7.10-100</strong></p>
<p>#or</p>
<p>#localip 192.168.0.1</p>
<p>#remoteip 192.168.0.234-238,192.168.0.245</p>
<p>#or</p>
<p>#localip 192.168.0.234-238,192.168.0.245</p>
<p>#remoteip 192.168.1.234-238,192.168.1.245</p>
<p>4.  <strong>vi   /etc/ppp/pptpd-options</strong></p>
<p><strong>name PPTP &#8211;&gt; </strong>Name of the local system for authentication purposes (must match</p>
<p>The second field in /etc/ppp/chap-secrets entries)</p>
<p><strong> ms-dns 221.120.96.2</strong></p>
<p><strong> ms-dns 221.120.96.3</strong></p>
<p><strong> netmask 255.255.255.0</strong></p>
<p><strong> proxyarp  &#8211;&gt; </strong>(default)</p>
<p><strong> nodefaultroute  &#8211;&gt; </strong>(default)<strong> </strong></p>
<p><strong> lock  &#8211;&gt; </strong>(default)<strong> </strong></p>
<p><strong> nobsdcomp  &#8211;&gt; </strong>(default)</p>
<p>5.  <strong>vi   /etc/ppp/chap-secrets</strong></p>
<p># Secrets for authentication using CHAP</p>
<p># client            server  secret                      IP addresses</p>
<p>########        #####   ######                  #############</p>
<p><strong>pavel               PPTP    pavel321              192.168.104.6</strong></p>
<p><strong>eximit              PPTP   exim321               221.120.97.28 </strong>àGive static IP to client</p>
<p><strong>sum                 PPTP    sum321 </strong>*<strong> </strong>à pull an IP from remote IP range of<br />
/etc/pptd.cong file of VPN server.<strong> </strong></p>
<p>6.  <strong>/etc/init.d/pptpd   restart</strong></p>
<p><strong><span style="text-decoration:underline;"> </span></strong></p>
<p><strong><span style="text-decoration:underline;">Client<br />
Linux</span></strong></p>
<ol>
<li><strong>apt-get install ppp</strong></li>
<li><strong>apt-get      install pptp-linux</strong></li>
<li><strong>vi        /etc/ppp/peers/provider &#8211;&gt; </strong>Delete all line and just write      the following lines.<strong> </strong><strong> </strong> <strong>pty      &#8220;pptp 10.0.38.130 &#8211;nolaunchpppd&#8221;</strong> à      IP of VPN server.</li>
</ol>
<p><strong>name eximit</strong> à Client name as same of VPN server chap-secrete.</p>
<p><strong>remotename PPTP</strong> à As same of  /etc/ppp/pptpd-options of VPN server</p>
<p><strong>file /etc/ppp/options.pptp</strong></p>
<p><strong>ipparam provider</strong></p>
<p><strong>noauth</strong></p>
<p><strong>persist</strong></p>
<p><strong>115200</strong></p>
<p><strong>defaultroute</strong></p>
<p><strong>proxyarp</strong></p>
<p><strong> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !</strong></p>
<p><strong> </strong></p>
<ol>
<li><strong>vi        /etc/ppp/chap-secrets</strong></li>
</ol>
<p># Secrets for authentication using CHAP</p>
<p># client            server        secret                     IP addresses</p>
<p><strong> eximit          PPTP       exim321                 * </strong>à Get IP from remote IP range of</p>
<p><strong> </strong>pptpd.conf file or get a static IP from chap-secrete of VPN server.<strong> </strong></p>
<p><strong> </strong></p>
<ol>
<li><strong>vi   /etc/ppp/options.pptp  &#8211;&gt; </strong>Delete all line and just      write the following line.<strong><br />
lock noauth nobsdcomp nodeflate<br />
 <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !</strong></li>
<li><strong>/etc/init.d/ppp      restart</strong></li>
</ol>
<p><strong> </strong></p>
<p><strong><span style="text-decoration:underline;">Windows</span></strong></p>
<p>Network Connection &#8211;&gt; Create a New connection &#8211;&gt; Connect to the network at my workspace &#8211;&gt; Virtual Private Network Connection &#8211;&gt; Company name (sum) &#8211;&gt; Do net dial the initial connection &#8211;&gt; Host name/IP (221.120.96.236)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahmudbd.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahmudbd.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mahmudbd.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mahmudbd.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mahmudbd.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mahmudbd.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mahmudbd.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mahmudbd.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mahmudbd.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mahmudbd.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mahmudbd.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mahmudbd.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mahmudbd.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mahmudbd.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=94&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahmudbd.wordpress.com/2009/06/18/94/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b06da01ad937f0379dabaca17629666?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahmud</media:title>
		</media:content>
	</item>
		<item>
		<title>Debian</title>
		<link>http://mahmudbd.wordpress.com/2009/06/18/debian/</link>
		<comments>http://mahmudbd.wordpress.com/2009/06/18/debian/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 07:25:14 +0000</pubDate>
		<dc:creator>Mohammad Mahmudul Hasan</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://mahmudbd.wordpress.com/2009/06/18/debian/</guid>
		<description><![CDATA[Debian 5.0 CD/DVD download http://cdimage.debian.org/debian-cd/5.0.0/i386/iso-dvd/ &#62;&#62;&#62;For Debian 5 DVD ISO http://cdimage.debian.org/debian-cd/5.0.0/i386/iso-cd/ &#62;&#62;&#62;&#62;&#62;For Debian 5 CD ISO [#]   vi   /etc/apt/sources.list Debian 4 deb http://ftp2.de.debian.org/debian/ etch main deb-src http://ftp2.de.debian.org/debian/ etch main Debian 5 Source 1:             deb     http://ftp.debian.org/debian/  stable main contrib non-free             deb-src http://ftp.debian.org/debian/  stable main contrib non-free             deb     http://security.debian.org/    stable/updates main contrib non-free             [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=88&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Debian 5.0 CD/DVD download</p>
<p><strong><a title="This external link will open in a new window" href="http://cdimage.debian.org/debian-cd/5.0.0/i386/iso-dvd/" target="_blank">http://cdimage.debian.org/debian-cd/5.0.0/i386/iso-dvd/</a> &gt;&gt;&gt;For Debian 5 DVD ISO</strong></p>
<p><strong><a title="This external link will open in a new window" href="http://cdimage.debian.org/debian-cd/5.0.0/i386/iso-cd/" target="_blank">http://cdimage.debian.org/debian-cd/5.0.0/i386/iso-cd/</a> &gt;&gt;&gt;&gt;&gt;For Debian 5 CD ISO</strong></p>
<p>[#]   <strong>vi   /etc/apt/sources.list</strong></p>
<p><strong> <span style="text-decoration:underline;">Debian 4<br />
</span></strong> deb http://ftp2.de.debian.org/debian/ etch main</p>
<p>deb-src http://ftp2.de.debian.org/debian/ etch main</p>
<p><strong> <span style="text-decoration:underline;">Debian 5</span></strong></p>
<p><strong><span style="text-decoration:underline;"> </span></strong></p>
<p><strong> <span style="text-decoration:underline;">Source 1:</span> </strong></p>
<pre>            deb     <a href="http://ftp.debian.org/debian/" target="_blank">http://ftp.debian.org/debian/</a>  stable main contrib non-free
            deb-src <a href="http://ftp.debian.org/debian/" target="_blank">http://ftp.debian.org/debian/</a>  stable main contrib non-free
            deb     <a href="http://security.debian.org/" target="_blank">http://security.debian.org/</a>    stable/updates main contrib non-free
            deb-src <a href="http://security.debian.org/" target="_blank">http://security.debian.org/</a>    stable/updates main contrib non-free</pre>
<p><strong><span style="text-decoration:underline;">Source 2:</span></strong></p>
<p>deb http://ftp.nl.debian.org/debian/ lenny main contrib non-free<br />
deb http://security.debian.org/ lenny/updates main contrib non-free</p>
<pre>            <strong><span style="text-decoration:underline;">Source 3:</span></strong>

            deb http://http.us.debian.org/debian stable main contrib non-free
            deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
            deb http://security.debian.org stable/updates main contrib non-free

      <strong><span style="text-decoration:underline;">Source 4:</span></strong>
      <span style="text-decoration:underline;">Latest debian apt source list</span></pre>
<p><strong> </strong><strong>deb http://ftp.fr.debian.org/debian/ lenny main</strong><strong><br />
</strong><strong>deb-src http://ftp.fr.debian.org/debian/ lenny main</strong><strong> </strong></p>
<p><strong> deb http://security.debian.org/ lenny/updates main</strong><strong><br />
</strong><strong>deb-src http://security.debian.org/ lenny/updates main</strong><strong> </strong></p>
<p><strong> deb http://volatile.debian.org/debian-volatile lenny/volatile main</strong><strong><br />
</strong><strong>deb-src http://volatile.debian.org/debian-volatile lenny/volatile main</strong></p>
<p><strong> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !</strong></p>
<p>[#]   <strong>apt-get update </strong>àupdate the package lists<strong> </strong></p>
<p>[#]<strong> apt-get upgrade </strong>àupgrade all installed packages</p>
<p>[#]   <strong>apt-get   install   <em>package name</em></strong></p>
<p>[#]   <strong>apt-get   remove </strong><strong><em>package name </em></strong>à Remove package<strong><em> </em></strong></p>
<p>[#]   <strong>dpkg &#8211;purge </strong><strong><em>package name </em></strong>à Remove package<strong><em> </em></strong></p>
<p>[#]   <strong>dpkg –l</strong> à show all installed and removed packages</p>
<p>[#]   <strong>dpkg –l   <em>package name </em></strong>à Show the package is installed or not. <strong> </strong></p>
<p>[#]   <strong>dpkg -L <em>pkg</em> </strong>à<strong> </strong>List of files in package</p>
<p>[<strong>#</strong>]   <strong>dpkg -s <em>pkg</em> </strong>à<strong> </strong>Show status of package</p>
<p>[<strong>#</strong>]   <strong>dpkg -p <em>pkg</em> </strong>à<strong> </strong>Show details of package</p>
<p>[#]   <strong>apt-cache search dhcp</strong> à Search for package</p>
<p>[#]   <strong>apt-get source <em>pkg</em></strong> à get the source of package</p>
<p><span style="text-decoration:underline;">Package name List</span></p>
<p><span style="text-decoration:underline;"> </span></p>
<ol>
<li>portmap</li>
<li>sysv-rc-conf  à      Show the port status.</li>
<li>traceroute</li>
<li>openssl</li>
<li>libssl-dev</li>
<li>iproute</li>
<li>iptraf</li>
<li>tcpdump</li>
<li>zip</li>
<li>unzip</li>
<li>php4-apc</li>
<li>libpng</li>
<li>libjpeg</li>
<li>minicom</li>
<li>mgetty</li>
<li>dhcp3-server</li>
<li>libnet-ssleay-perl</li>
<li>rdate</li>
<li>perl-suid</li>
<li>ncurses</li>
<li>mrtg</li>
<li>snmpd</li>
<li>zlib1g-dev</li>
<li>pptp-linux</li>
<li>namp</li>
<li>squid</li>
<li>wget</li>
<li>vim</li>
<li>psmisc</li>
<li>sysv-rc-conf</li>
<li>gcc</li>
<li>tcptrack</li>
<li>iftop</li>
<li>mtr</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahmudbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahmudbd.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mahmudbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mahmudbd.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mahmudbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mahmudbd.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mahmudbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mahmudbd.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mahmudbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mahmudbd.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mahmudbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mahmudbd.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mahmudbd.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mahmudbd.wordpress.com/88/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=88&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahmudbd.wordpress.com/2009/06/18/debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b06da01ad937f0379dabaca17629666?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahmud</media:title>
		</media:content>
	</item>
		<item>
		<title>PGF server</title>
		<link>http://mahmudbd.wordpress.com/2009/06/18/linuxdebian/</link>
		<comments>http://mahmudbd.wordpress.com/2009/06/18/linuxdebian/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 06:25:58 +0000</pubDate>
		<dc:creator>Mohammad Mahmudul Hasan</dc:creator>
				<category><![CDATA[PGF server]]></category>

		<guid isPermaLink="false">http://mahmudbd.wordpress.com/?p=72</guid>
		<description><![CDATA[NAT, Firewall, Proxy 1st Step: Setup IP in Interface auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 221.120.99.72 netmask 255.255.255.224 network 221.120.99.64 gateway 221.120.99.65 auto eth1 iface eth1 inet static address 192.168.100.1 netmask 255.255.255.0 auto eth1:0 iface eth1:0 inet static address 192.168.0.1 netmask 255.255.255.0 auto eth1:1 iface eth1:1 inet static [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=72&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>NAT, Firewall, Proxy</strong></p>
<p><strong> </strong></p>
<p><strong><span style="text-decoration:underline;">1<sup>st</sup> Step: Setup IP in Interface</span></strong></p>
<p><strong><span style="text-decoration:underline;"> </span></strong></p>
<p>auto lo</p>
<p>iface lo inet loopback</p>
<p>auto eth0</p>
<p>iface eth0 inet static</p>
<p>address 221.120.99.72</p>
<p>netmask 255.255.255.224</p>
<p>network 221.120.99.64</p>
<p>gateway 221.120.99.65</p>
<p>auto eth1</p>
<p>iface eth1 inet static</p>
<p>address 192.168.100.1</p>
<p>netmask 255.255.255.0</p>
<p>auto eth1:0</p>
<p>iface eth1:0 inet static</p>
<p>address 192.168.0.1</p>
<p>netmask 255.255.255.0</p>
<p>auto eth1:1</p>
<p>iface eth1:1 inet static</p>
<p>OR<br />
auto eth1:aknet<br />
iface eth1:aknet</p>
<p>address 192.168.110.1</p>
<p>netmask 255.255.255.0</p>
<p><strong><span style="text-decoration:underline;">2<sup>nd</sup> Step: Squid Configuration</span></strong></p>
<p><strong> </strong></p>
<ol>
<li>apt-get   install squid</li>
<li>vi   /etc/squid/squid.conf</li>
</ol>
<p><strong> </strong></p>
<p><strong><span style="text-decoration:underline;">3<sup>rd</sup> Step: Rules.sh Configuration</span></strong></p>
<p><strong> </strong></p>
<ol>
<li><strong>1. </strong><strong>vi   /etc/init.d/rules.sh </strong>OR<strong> </strong>any name<strong> </strong>of the file<strong> </strong></li>
</ol>
<p><strong> </strong></p>
<p>#!/bin/sh</p>
<p>any=0.0.0.0/0.0.0.0</p>
<p>local_net=192.168.0.0/24</p>
<p><strong>echo 1 &gt; /proc/sys/net/ipv4/ip_forward</strong></p>
<p>#echo 163760 &gt; /proc/sys/net/ipv4/ip_conntrack_max</p>
<p>#echo 3072 &gt; /proc/sys/net/ipv4/neigh/default/gc_thresh1</p>
<p>#echo 4608 &gt; /proc/sys/net/ipv4/neigh/default/gc_thresh2</p>
<p>#echo 6144 &gt; /proc/sys/net/ipv4/neigh/default/gc_thresh3</p>
<p>########################### Flush all rules ###############################</p>
<p><strong>/sbin/iptables   -F </strong>à Flash<strong> </strong>all firewall (INPUT, OUTPUT, FORWARD)<strong> </strong></p>
<p>/sbin/iptables -F INPUT</p>
<p>/sbin/iptables -F OUTPUT</p>
<p>/sbin/iptables -F FORWARD</p>
<p>/sbin/iptables -F -t nat</p>
<p>########################## Set default policy ############################</p>
<p><strong>iptables   -P   INPUT   ACCEPT </strong>or  <strong> iptables &#8211; -policy INPUT ACCEPT </strong><strong> </strong>Accept<strong> </strong></p>
<p>All incoming packet from internet inside gateway server.<br />
<strong>iptables   -P   OUTPUT   ACCEPT </strong><strong>&#8211; </strong>Accept<strong> </strong>all output from gateway server to internet<strong><br />
iptables   -P   FORWARD   DROP &#8211;</strong><strong> </strong>Drop all forward packet.</p>
<p>################# Accept all internal communications with loop back ############</p>
<p>/sbin/iptables -A INPUT -j ACCEPT -i lo</p>
<p>/sbin/iptables -A OUTPUT -o lo -p all -j ACCEPT</p>
<p>######################## Rules for external interface ########################</p>
<p>/sbin/iptables -A INPUT -p ip -i eth0 -j ACCEPT</p>
<p>/sbin/iptables -A INPUT -p ip -i eth1 -j ACCEPT</p>
<p>/sbin/iptables -A INPUT -p ip -i ppp+ -j ACCEPT</p>
<p>##################### <em>Accept Forwarding WAN interface</em> ####################</p>
<p><strong>iptables   -A   FORWARD   -i   eth0 </strong>&#8211;  Allow all packet from Local  PC to internet</p>
<p>Connected by Gateway server.<strong><br />
</strong></p>
<p><strong>iptables   -A   FORWARD   -i   eth0   -j   ACCEPT </strong>&#8211;<strong> </strong>Allow all packet from local pc<strong> </strong>to Internet connected by Gateway server.<br />
<strong><br />
iptables   -A   FORWAD   -s   0/0   -d   0/0   -j   ACCEPT &#8211;</strong><strong> </strong>Allow all packet from<br />
Local PC to internet connected by Gateway server.<br />
<strong><br />
iptables   -A   FORWAD   -s   192.168.100.0/24   -d   0/0   -j   ACCEPT </strong>à Allow  all<em> </em></p>
<p>Packets from 192.168.100.0/24 block Local PC to all destinations (internet)<strong>.</strong></p>
<p><strong> </strong></p>
<p><strong>iptables   -A   FORWAD   -s   192.168.100.2/32   -d   4.2.2.2   -j   ACCEPT </strong>à Allow all Packet from 192.168.100.2 local pc to only 4.2.2.2 (destination)</p>
<p><em> </em></p>
<p><em>########################   MAC base firewall   ############################</em><strong> </strong></p>
<p><strong> </strong></p>
<p><strong>iptables   -A   FORWAD   -s   192.168.100.2  -d 0/0   -m  mac  &#8211; -mac-source<br />
00:02:21:D4:C2:11  -j ACCEPT </strong>&#8211; Allow the packet from a single local  PC whose</p>
<p>(IP- 192.168.100.2 and MAC &#8211; 00:02:21:D4:C2:11) to all destination (internet)</p>
<p>##########################   Rules for PPP interface   ######################<strong> </strong></p>
<p>/sbin/iptables -A INPUT -p ip -i ppp+ -j ACCEPT</p>
<p>/sbin/iptables -A OUTPUT -p ip -o ppp+ -j ACCEPT</p>
<p>/sbin/iptables -A FORWARD -p ip -i ppp+ -j ACCEPT</p>
<p>####################### Rules for unnecessary ports ######################</p>
<p>NETBIOS_TCP=&#8221;135,136,137,138,139,445,3127,3198,5100,5001&#8243;</p>
<p>NETBIOS_UDP=&#8221;60,66,72,78,100,135,136,137,138,139,5100,5001&#8243;</p>
<p>/sbin/iptables -A INPUT -s 0/0 -p tcp -m multiport &#8211;dport $NETBIOS_TCP -j DROP</p>
<p>/sbin/iptables -A INPUT -s 0/0 -p udp -m multiport &#8211;dport $NETBIOS_UDP -j DROP</p>
<p>/sbin/iptables -A FORWARD -s 0/0 -p tcp -m multiport &#8211;dport $NETBIOS_TCP -j DROP</p>
<p>/sbin/iptables -A FORWARD -s 0/0 -p udp -m multiport &#8211;dport $NETBIOS_UDP -j DROP</p>
<p><strong> </strong></p>
<p>########################### Trojan Block ###################</p>
<p>TROJAN_PORTS_TCP=&#8221;12345,12346,1524,27665,31337,19006,3969,9996,5554&#8243;</p>
<p>TROJAN_PORTS_UDP=&#8221;12345,12346,27444,31337,19006,3969,9996,5554&#8243;</p>
<p>/sbin/iptables -A INPUT -p tcp -s 0/0 -m multiport &#8211;dport $TROJAN_PORTS_TCP -j DROP</p>
<p>/sbin/iptables -A INPUT -p udp -s 0/0 -m multiport &#8211;dport $TROJAN_PORTS_UDP -j DROP</p>
<p>/sbin/iptables -A FORWARD -p tcp -s 0/0 -m multiport &#8211;dport $TROJAN_PORTS_TCP -j DROP</p>
<p>/sbin/iptables -A FORWARD -p udp -s 0/0 -m multiport &#8211;dport $TROJAN_PORTS_UDP -j DROP</p>
<p>######################## Block Susser worm  ################</p>
<p>#/sbin/iptables -A INPUT -p tcp &#8211;dport 9996 -s 0/0 -d 0/0 -j DROP</p>
<p>#/sbin/iptables -A INPUT -p tcp &#8211;dport 5554 -s 0/0 -d 0/0 -j DROP</p>
<p>####################### Allow ping replies on BOTH interface ################</p>
<p>iptables -A INPUT -p ICMP -i eth0 -j ACCEPT</p>
<p>iptables -A INPUT -p ICMP -i eth1 -j ACCEPT</p>
<p>#################### Open ftp port OUTSIDE interface ######################</p>
<p>iptables -A INPUT -p tcp -i eth0 &#8211;dport 21 -j ACCEPT<br />
iptables -A INPUT -p udp -i eth0 &#8211;dport 21 -j ACCEPT<br />
iptables -A INPUT -p tcp -i eth1 &#8211;dport 21 -j ACCEPT<br />
iptables -A INPUT -p udp -i eth1 &#8211;dport 21 -j ACCEPT</p>
<p>################## Open secure shell port BOTH Interfaces ##################</p>
<p>iptables -A INPUT -p tcp -i eth0 &#8211;dport 22 -j ACCEPT<br />
iptables -A INPUT -p udp -i eth0 &#8211;dport 22 -j ACCEPT<br />
iptables -A INPUT -p tcp -i eth1 &#8211;dport 22 -j ACCEPT<br />
iptables -A INPUT -p udp -i eth1 &#8211;dport 22 -j ACCEPT</p>
<p>######################### IP/ URL block ###############</p>
<p><strong> </strong></p>
<p>iptables -A INPUT -s 192.168.0.5/32 -d 0/0 -j DROP</p>
<p>iptables -A FORWARD -s 192.168.0.5/32 -d 0/0 -j DROP</p>
<p>iptables -A INPUT -s 0/0  -d 192.168.2.11/32 -j DROP</p>
<p>iptables -A FORWARD -s 0/0 -d 192.168.2.11/32  -j DROP</p>
<p>iptables -A INPUT -s 192.168.0.0/24 -d facebook.com  -p tcp &#8211;dport 443 -j DROP</p>
<p>iptables -A FORWARD -s 192.168.0.0/24 -d facebook.com  -p tcp &#8211;dport 443 -j DROP</p>
<p>########################## Proxy rules #################</p>
<p>/<strong>sbin/iptables -t nat -A PREROUTING -p tcp -i eth1 -s 192.168.0.0/24   &#8211;dport 80 -j REDIRECT &#8211;to-port 8080</strong></p>
<p>######################## Rules for Nating / Maquerading ####</p>
<p>#iptables -t   nat   -A   POSTROUTING   -s   192.168.100.0/24 -o eth0 -j   MASQUERADE</p>
<p>#/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE -s ${any} -d ${any}</p>
<p>#/sbin/iptables -t nat -A POSTROUTING -o ppp+ -j MASQUERADE -s ${local_net} -d ${any}</p>
<p><strong> </strong></p>
<p><strong>/sbin/iptables -t nat -A POSTROUTING -s 192.168.100.0/24 -d 0/0 -j SNAT &#8211;to-source 221.120.99.72 </strong>&#8211; without proxy<strong> </strong></p>
<p><strong> </strong></p>
<p><strong>/sbin/iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -d 0/0 -j SNAT &#8211;to-source 221.120.99.72 </strong>&#8211; using proxy server</p>
<p><strong> </strong></p>
<p><strong># iptables -t nat –A PREROUTING –i eth1 –p tcp –d 0/0 &#8211; -dport 80 –j DNAT &#8211; -to<br />
192.168.0.3:3128 </strong>&#8211; 192.168.0.1 is Gateway and 192.168.0.3 is Proxy server</p>
<ol>
<li><strong>2. </strong><strong>chmod 744 rules.sh </strong>OR <strong>chmode   +x   rules.sh </strong>&#8211; Give executable permission to the file rules.sh.</li>
<li><strong>3. </strong><strong>/etc/init.d/rules.sh<br />
</strong></li>
</ol>
<p><strong> </strong></p>
<ol>
<li><strong>4. </strong>Execute the sonic file during startup the machine<strong> </strong></li>
</ol>
<p><strong> </strong></p>
<p><strong><span style="text-decoration:underline;">Debian<br />
</span></strong></p>
<p><strong>ln -s   /etc/init.d/rules.sh   /etc/rc2.d/S98rules.sh</strong> &#8211;Run this file during startup.</p>
<p><strong><span style="text-decoration:underline;">Red Hat</span></strong><span style="text-decoration:underline;"> </span></p>
<p>[#]   <strong>cp   rules.sh   /usr/bin/rules.sh&#8211;</strong> for give command by file name Ex – sonic.</p>
<p>[#]   <strong>vi   /etc/rc.local<br />
rules.sh<br />
 <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !<br />
</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahmudbd.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahmudbd.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mahmudbd.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mahmudbd.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mahmudbd.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mahmudbd.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mahmudbd.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mahmudbd.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mahmudbd.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mahmudbd.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mahmudbd.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mahmudbd.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mahmudbd.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mahmudbd.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=72&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahmudbd.wordpress.com/2009/06/18/linuxdebian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b06da01ad937f0379dabaca17629666?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahmud</media:title>
		</media:content>
	</item>
		<item>
		<title>etc directory</title>
		<link>http://mahmudbd.wordpress.com/2008/11/09/etc-directory/</link>
		<comments>http://mahmudbd.wordpress.com/2008/11/09/etc-directory/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 02:25:21 +0000</pubDate>
		<dc:creator>Mohammad Mahmudul Hasan</dc:creator>
				<category><![CDATA[etc]]></category>

		<guid isPermaLink="false">http://mahmudbd.wordpress.com/?p=69</guid>
		<description><![CDATA[Ø System configuration files, user information are store in etc directory. Ø /etc/password  &#8211; User’s information in plaintext. Ø /etc/shadow &#8211; User’s information + password in Encrypted format. Run level I. init 0 &#8211; Shutdown II. init 1 &#8211; Single user mode (close all consol except current working consol. We can enter single user mode [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=69&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;"><!--[if !supportLists]--><span style="font-family:Wingdings;"><span>Ø<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->System configuration files, user information are store in etc directory.</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;"><!--[if !supportLists]--><span style="font-family:Wingdings;"><span>Ø<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><strong>/etc/password  <span></span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> User’s information in plaintext.<strong></strong></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;"><!--[if !supportLists]--><span style="font-family:Wingdings;"><span>Ø<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><strong>/etc/shadow<span> </span></strong><span style="font-family:Wingdings;"><span><strong>&#8211;</strong></span></span><strong> </strong>User’s information + password in Encrypted format<strong>.</strong></p>
<p class="MsoNormal"><strong><span> </span><span style="text-decoration:underline;">Run level</span></strong></p>
<p class="MsoNormal" style="margin-left:.75in;text-indent:-.75in;"><strong><span style="text-decoration:underline;"><span style="text-decoration:none;"> </span></span></strong><!--[if !supportLists]--><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span>I.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->init 0 <span style="font-family:Wingdings;"><span>&#8211;</span></span> Shutdown</p>
<p class="MsoNormal" style="margin-left:.75in;text-indent:-.75in;"><!--[if !supportLists]--><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span>II.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->init 1<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Single user mode (close all consol except current working consol.<span> </span><br />
<span> </span>We can enter single user mode without root using password.)</p>
<p class="MsoNormal" style="margin-left:.75in;text-indent:-.75in;"><!--[if !supportLists]--><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span>III.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->init 2<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Multi user mode without NFS (Network file system)</p>
<p class="MsoNormal" style="margin-left:.75in;text-indent:-.75in;"><!--[if !supportLists]--><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span>IV.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->init 3<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Full Multi user mode (text mode).</p>
<p class="MsoNormal" style="margin-left:.75in;text-indent:-.75in;"><!--[if !supportLists]--><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span>V.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->init 4<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Unused.</p>
<p class="MsoNormal" style="margin-left:.75in;text-indent:-.75in;"><!--[if !supportLists]--><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span>VI.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->init 5<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> X window (Graphical mode)</p>
<p class="MsoNormal" style="margin-left:.75in;text-indent:-.75in;"><!--[if !supportLists]--><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span>VII.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->init 6<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Reboot</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>runlevel </strong><span></span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Display init level. It will display<br />
<span> </span>N 3<span> </span><span style="font-family:Wingdings;"><span>à</span></span> N = none, 3 = current init level.<br />
<span> </span>1 S<span> </span><span style="font-family:Wingdings;"><span>à</span></span><span> </span>1 = Current init level, S = single user mode.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>2.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>vi /etc/inittab</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Change run (init) level<br />
<span> </span>id: 3: initdefault <span style="font-family:Wingdings;"><span>&#8211;</span></span> <strong>i</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> change 3 (full multi user mode) to 1 (single user mode)<br />
<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Esc<span style="font-family:Wingdings;"></span> <strong>&#8211; : x</strong>!<br />
<!--[if !supportLineBreakNewLine]--><!--[endif]--></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>3.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><em><span style="text-decoration:underline;">Create virtual terminal (consol)</span></em></p>
<p><span> </span>[#]<span> </span><strong>vi /etc/inittab<span> </span></strong><span style="font-family:Wingdings;"><span><strong>&#8211;</strong></span></span><strong> </strong>go to 50 number line (by 50 gg)<br />
<span> </span><br />
<span> </span><span> </span><em>1:2345:respawn:/sbin/mingetty tty1<br />
<span> </span>2:2345:respawn:/sbin/mingetty tty2<br />
<span> </span>…………………………………………<br />
<span> </span>6:2345:respawn:/sbin/mingetty tty3<span> </span></em><span> </span><br />
<span> </span><strong>8:2345:respawn:/sbin/mingetty tty8<br />
<span> </span> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !<br />
<span> </span></strong>[#]<span> </span><strong>reboot</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> Reboot the machine to work added F8 console<br />
<span> </span>[#]<span> </span><strong>init<span> </span>q</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Reload the inittab file. (It is better than reboot the machine)<br />
<!--[if !supportLineBreakNewLine]--><!--[endif]--></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>4.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span> </span><em><span style="text-decoration:underline;">Datives the <strong>Alt+Ctrl+Del</strong> command to reboot a machine and display a message.</p>
<p></span></em><span> </span>[#]<span> </span><strong>vi <span> </span><span> </span>test</strong><br />
<span> </span>#!/bin/bash<br />
<span> </span>echo “This feature is disable by the system admin”<br />
<span> </span><strong> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !<br />
<span> </span></strong>[#]<span> </span><strong>chmod<span> </span>+x<span> </span>test<br />
<span> </span></strong>[#]<span> </span><strong>cp test<span> </span>/usr/bin/test</strong><span> </span><br />
<span> </span>[#]<span> </span><strong>vi <span> </span><span> </span>/etc/inittab</strong></p>
<p><span> </span>#Trap CTRL-ALT-DELETE<br />
<span> </span><span> </span>#Ca: : ctrlaltdel:/sbin/shoutdown<span> </span>-t3<span> </span>-r<span> </span>now <span style="font-family:Wingdings;"><span>&#8211;</span></span> comment out the line.<br />
<span> </span>Ca: : ctrlaltdel:usr/bin/test<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> add the line<br />
<span> </span><strong> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !<br />
<span> </span></strong>[#]<span> </span><strong>init<span> </span>q</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Reload the inittab file.<em><span style="text-decoration:underline;"></span></em></p>
<p class="MsoNormal"><em><span style="text-decoration:underline;">There are two type Boot Loader </span></em></p>
<p class="MsoNormal" style="margin-left:1in;text-indent:-.25in;"><em> </em><!--[if !supportLists]--><span style="font-family:Wingdings;"><span>Ø<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->Grub<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> grand Unified Boot Loader.<em></em></p>
<p class="MsoNormal" style="margin-left:1in;text-indent:-.25in;"><!--[if !supportLists]--><span style="font-family:Wingdings;"><span>Ø<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->LiLo<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Linux Loader (old version)<em></em></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><em> </em><!--[if !supportLists]--><span>5.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><em><span style="text-decoration:underline;">Set password to enter kernel boot loader.</span></em></p>
<p class="MsoNormal" style="margin-left:.25in;"><em> </em><span> </span>[#]<span> </span><strong>vi /etc/grub.conf</p>
<p><span> </span></strong><em>title fedora core 0<br />
<span> </span><span> </span>title others 1<br />
<span> </span><span> </span><span> </span>default =<strong>1</strong></em> <span style="font-family:Wingdings;"><span>&#8211;</span></span> default booting OS<br />
<span> </span><span> </span><em>timeout = <strong>5</strong> ­</em><span style="font-family:Wingdings;"><span>&#8211;</span></span> 5 second wait for choosing booting OS<br />
<span> </span><strong>passwd=123</strong><br />
<span> </span><em>hidemenue </em><span></span><span style="font-family:Wingdings;"><span>&#8211;</span></span> give password of editing kernel by e during booting session<em><br />
<span> </span></em><strong>passwd=123<br />
<!--[if !supportLineBreakNewLine]--><!--[endif]--></strong><em><span style="text-decoration:underline;"></span></em></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>6.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>vi /etc/passwd</strong><br />
<span> </span><em>root: x: 0:0: root: /root/bin/bash<br />
<span> </span>mahmud: x: 500:500: Mahmudul Hasan/home/bin/bash</p>
<p></em><span> </span>Here ……<br />
<span> </span><em>root</em> – User name.<br />
<span> </span><em>x</em> – User password in shadow file.<br />
<span> </span><em>0</em> – User id (always root user id and password is 0:0, system created user id is<span> </span><br />
<span> </span><span> </span>form 0 to 499 and Normal created user id is start form 500.<br />
<span> </span><em>0</em> – Group id<br />
<span> </span><em>root</em> – User’s full name and other information (address, phone number etc.)<br />
<span> </span><em>/root</em> – Home directory of root.<br />
<span> </span><em>/bin/bash</em> – Shell. If<span> </span>here <em>/bin/no login</em> or <em>/bin/false </em>display then the user can<span> </span><br />
<span> </span><span> </span><span> </span>not login<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><span style="text-decoration:underline;"></span></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>7.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span> </span>[#]<span> </span><strong>vi /etc/shadow<span> </span></strong><span style="font-family:Wingdings;"><span>à</span></span> information are shown in encrypted format<br />
<span> </span><em>root: lkdfhalkfj94u8392kldfna: 0:0: root: /root/bin/bash</em><span style="text-decoration:underline;"></span></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><span style="text-decoration:underline;"><span style="text-decoration:none;"> </span></span><!--[if !supportLists]--><span>8.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span> </span>[#]<span> </span><strong>vi /etc/passwd<br />
</strong><span> </span><em>root:<strong>! x</strong>: 0:0: root: /root/bin/bash </em><span style="font-family:Wingdings;"><span>à</span></span> The user is locked.<br />
<span> </span><em>root:<strong> x</strong>: 0:0: root: /root/bin/bash </em><span style="font-family:Wingdings;"><span>à</span></span> The user is unlocked.</p>
<p><span> </span><em>We can also lock the user by command: &#8211; </em><br />
<span> </span>[#]<span> </span><strong>passwd –l mahmud</strong><span> </span><span style="font-family:Wingdings;"><span>à</span></span> Lock the user named mahmud.<br />
<span> </span>[#]<span> </span><strong>passwd –u mahmud</strong><span> </span><span style="font-family:Wingdings;"><span>à</span></span> Unlock the user named mahmud.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><span><br />
</span><!--[if !supportLists]--><span>9.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>vi/etc/motd<span> </span></strong><span style="font-family:Wingdings;"><span>à</span></span><strong><span> </span></strong>[motd – message of the day]. When login the message is<br />
<span> </span>displayed in the screen.<br />
<span> </span>Welcome to linux pathshala<br />
<span> </span> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>10.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span> </span>[#]<span> </span><strong>vi /etc/issue</strong><span> </span><span style="font-family:Wingdings;"><span>à</span></span> Give message before login.<br />
<span> </span><br />
<span> </span>hello this is me<br />
<span> </span> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>11.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span> </span>[#]<span> </span><strong>vi /etc/rc.local</strong> <span style="font-family:Wingdings;"><span>à</span></span> Run the file during start the machine.<br />
<span> </span>reboot<span> </span><span style="font-family:Wingdings;"><span>à</span></span> Reboot the server when start the machine every time.<br />
<span> </span><span> </span><strong> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !<br />
<!--[if !supportLineBreakNewLine]--><!--[endif]--></strong><em><span style="text-decoration:underline;"></span></em></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>12.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><strong><span> </span></strong><em><span style="text-decoration:underline;">Deny services to the hosts</p>
<p></span></em><span> </span>[#]<span> </span><strong>vi<span> </span>/etc/hosts.deny<br />
</strong><br />
<span> </span><strong>ALL:ALL</strong><span> </span>or<span> </span><strong>all:all</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Deny all service to all hosts [1<sup>st</sup> ALL is service name &amp;<br />
<span> </span>2<sup>nd</sup> ALL is host name].<br />
<span> </span><span> </span><strong>sshd:ALL</strong><span> </span>or<span> </span><strong>sshd<span> </span>:<span> </span>ALL</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Deny sshd service to all hosts.<br />
<span> </span><strong>sshd,telnet:ALL</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Deny sshd and telnet service to all hosts.<br />
<span> </span><strong>sshd:sum,mum </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Deny sshd service to host sum and mum<br />
<span> </span><strong>sshd:192.168.1.1<span> </span>192.168.1.2 </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Deny sshd service to the IP<br />
<span> </span><strong>sshd:192.168.1.1,192.168.1.2 </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Deny sshd service to the IP<span> </span><br />
<span> </span><strong>sshd:ALL EXCEPT 192.168.1.1 </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Deny sshd service to all host except the IP.<br />
<span> </span><strong> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !<br />
<!--[if !supportLineBreakNewLine]--><!--[endif]--></strong><em><span style="text-decoration:underline;"></span></em></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>13.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><em><span> </span><span style="text-decoration:underline;">Allow services to the hosts<br />
</span></em><span> </span><br />
<span> </span>[#]<span> </span><strong>vi<span> </span>/etc/hosts.allow</strong><br />
<span> </span><strong>ALL:ALL</strong><span> </span>or<span> </span><strong>all:all</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Allow all service to all hosts [1<sup>st</sup> ALL is service name &amp;<br />
<span> </span>2<sup>nd</sup> ALL is host name].<br />
<span> </span><strong>sshd:192.168.1.2<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Allow sshd service to IP 192.168.1.2<strong><br />
<span> </span>sshd:linux2</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Allow sshd service to host linux2<br />
<span> </span><strong>sshd:192.168.1.<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Allow sshd service to IP 192.168.1. all networks.<br />
<span> </span><strong>sshd:192.168.1.0/24<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Allow sshd service to IP 192.168.1.2/24 all networks.<br />
<span> </span><strong>snmpd: 221.120.96. </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span><strong> </strong>Allow snmpd to this block.<strong><br />
</strong><span> </span><strong> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></strong><em><span style="text-decoration:underline;"></span></em></p>
<p><strong><span style="font-size:12pt;font-family:&quot;"><span> </span></span></strong><span style="font-size:12pt;font-family:&quot;">[#]<span> </span><strong>cat<span> </span>/etc/service</strong><span> </span></span><span style="font-size:12pt;font-family:Wingdings;"><span>&#8211;</span></span><span style="font-size:12pt;font-family:&quot;"> Display the port number of different protocol.</p>
<p><!--[if !supportLineBreakNewLine]--><!--[endif]--></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahmudbd.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahmudbd.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mahmudbd.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mahmudbd.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mahmudbd.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mahmudbd.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mahmudbd.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mahmudbd.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mahmudbd.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mahmudbd.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mahmudbd.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mahmudbd.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mahmudbd.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mahmudbd.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=69&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahmudbd.wordpress.com/2008/11/09/etc-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b06da01ad937f0379dabaca17629666?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahmud</media:title>
		</media:content>
	</item>
		<item>
		<title>Interface Setup</title>
		<link>http://mahmudbd.wordpress.com/2008/11/06/interface-setup/</link>
		<comments>http://mahmudbd.wordpress.com/2008/11/06/interface-setup/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 04:10:55 +0000</pubDate>
		<dc:creator>Mohammad Mahmudul Hasan</dc:creator>
				<category><![CDATA[Interface Setup]]></category>

		<guid isPermaLink="false">http://mahmudbd.wordpress.com/?p=65</guid>
		<description><![CDATA[LAN – Local Area Network NIC – Network Interface Card MAC – Media Access Control [00:21:03:A1:15:C6] [00:21:03 – vendor ID, A1:15:C6 – Serial Number] Ethernet Adapter – eth0 (LAN 1), eth1 (LAN 2) ARP – Address Resolution Protocol. [IP to MAC] Ping – Packet Internet Gopher. init.d &#8211; d – Demon (service) 1. [#$] dmesg [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=65&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--[if !mso]&gt;--></p>
<p class="MsoNormal"><strong>LAN</strong> – Local Area Network</p>
<p class="MsoNormal"><strong>NIC</strong> – Network Interface Card</p>
<p class="MsoNormal"><strong>MAC</strong> – Media Access Control [00:21:03:A1:15:C6]<br />
<span> </span><span> </span><span> </span>[00:21:03 – vendor ID, A1:15:C6 – Serial Number]</p>
<p class="MsoNormal"><strong>Ethernet Adapter</strong> – eth0 (LAN 1), eth1 (LAN 2<strong>) </strong></p>
<p class="MsoNormal"><strong>ARP – Address</strong> Resolution Protocol. [IP to MAC]<strong> </strong></p>
<p class="MsoNormal"><strong>Ping</strong><strong> – </strong>Packet Internet Gopher.<strong><br />
init.d </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> d – Demon (service)<strong><span> </span></strong></p>
<p class="MsoNormal"><strong> </strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#$]<span> </span><strong>dmesg</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Display Kernel Log message.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>2.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#$]<span> </span><strong>dmesg | grep eth0</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Search eth0 is connected or not.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>3.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#$]<span> </span><strong>dmesg | grep *</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Display all Ethernet interface.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>4.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#$]<span> </span><strong>ifconfig</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Display the interface properties.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>5.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#$]<span> </span><strong>ifconfig</strong> <strong>eth0</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> Display the interface properties of eth0 (1<sup>st</sup> LAN).</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>6.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#$]<span> </span><strong>ifconfig –a</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> [a-all]. Display the interface properties.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>7.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#$]<span> </span><strong>system-config-network-cmd</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Display LAN information.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>8.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#$]<span> </span><strong>mii-tool</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Check cable of all interface is connected or not. It has some output:</p>
<p class="MsoNormal" style="margin-left:.75in;text-indent:-9pt;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Wingdings;"><span>&#8211;<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->Link OK</p>
<p class="MsoNormal" style="margin-left:.75in;text-indent:-9pt;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Wingdings;"><span>&#8211;<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->Auto negation failed, Link Ok</p>
<p class="MsoNormal" style="margin-left:.75in;text-indent:-9pt;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Wingdings;"><span>&#8211;<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->No MII Transceiver present</p>
<p class="MsoNormal" style="margin-left:.75in;text-indent:-9pt;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Wingdings;"><span>&#8211;<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->No link.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>9.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#$]<span> </span><strong>mii-tool eth0</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> Display the cable is connected or not in eth0 interface.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>10.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#$]<span> </span><strong>mii-tool<span> </span>-r</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Reset all interface (disable then enable).</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>11.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#$]<span> </span><strong>mii-tool<span> </span>-r</strong><span> </span><strong>eth0</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> Reset eth0 interface (disable then enable).</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>12.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#$]<span> </span><strong>route –n</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Display the Gateway.<br />
<span> </span></p>
<p class="MsoNormal"><strong><em><span style="text-decoration:underline;">Change host Name<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></span></em></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>13.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>hostname sum</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Change hostname to sum temporary. After restart the<br />
<span> </span>machine the hostname (sum) will not exists.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>14.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><em><span style="text-decoration:underline;">Permanently set host name (this will effect after restart the server)<br />
</span></em>[#]<span> </span><strong>vi<span> </span>/etc/sysconfig/network<br />
<span> </span>Networking = yes</strong><br />
<span> </span><strong>Hostname = sum</strong><br />
<span> </span><strong> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !</strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>15.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->Input IP and host name in host file. Host file is working locally and it work before DNS. We can ping a machine by host in replace of IP. In that case the host name should be written against IP address in host file.</p>
<p>[#]<span> </span><strong>vi <span> </span><span> </span>/etc/hosts</strong><br />
<span> </span><br />
<span> </span><span> </span><strong>127.0.0.1<span> </span><span> </span>Localhost.localdomain<span> </span>Localhost</strong><span> </span><span style="font-family:Wingdings;"><span>à</span></span> This create during installation<br />
<span> </span><strong>192.168.100.1<span> </span>sum.com<span> </span>ns1</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> Domain – sum.com<span> </span>Host name – ns1<br />
<span> </span><strong>192.168.100.1 <span> </span><span> </span>ns1.sum.com.bd<span> </span>ns1<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> FQDN -Full Qualified Domain Name<br />
<span> </span>(host name. Domain name) <span> </span><br />
<span> </span><span> </span><span> </span><span> </span><strong>192.168.1.1<span> </span><span> </span>Linux1<span> </span><span> </span>Mahmud</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> 2 host name and not case sensitive.<br />
<span> </span><span> </span><span> </span><span> </span><strong> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !</strong></p>
<p class="MsoNormal"><span> </span><span> </span><span> </span>[#]<span> </span><strong>ping 192.168.1.2</strong><br />
<span> </span>or<br />
<span> </span><span> </span>[#]<span> </span><strong>ping<span> </span><span> </span>Linux1</strong><br />
<span> </span><span> </span><span> </span>or<br />
<span> </span><span> </span><span> </span>[#]<span> </span><strong>ping <span> </span>Mahmud<br />
</strong><br />
<strong><em><span style="text-decoration:underline;">Set IP address</span></em></strong></p>
<p><strong><em></em></strong><span> </span>Static IP – Put IP manually<br />
<span> </span>Dynamic IP – Pull an IP from DHCP server.<br />
<span> </span>[*] Use Dynamic IP configuration (BOOTP/DHCP) <span style="font-family:Wingdings;"><span>&#8211;</span></span> [* - space bar]</p>
<p><span> </span>IP Address: 192.168.1.2<br />
<span> </span>Net Mask: 255.255.255.0<br />
<span> </span>Default Gateway (IP): 192.168.1.254<br />
<span> </span>Primary Name Server (DNS): 192.168.1.1</p>
<p><strong><span style="text-decoration:underline;">Set IP in LAN card</span></strong><br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>16.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span> </span><strong>Debina</strong><span> </span>[ <strong>vi<span> </span>/etc/network/interface</strong> ]</p>
<p><span> </span>auto eth0</p>
<p class="MsoNormal" style="text-indent:.5in;">iface eth0 inet static</p>
<p class="MsoNormal"><span> </span><span> </span><span> </span><span> </span><span> </span>address 221.120.96.254</p>
<p class="MsoNormal" style="text-indent:.5in;"><span> </span><span> </span><span> </span>netmask 255.255.255.224</p>
<p class="MsoNormal"><span> </span><span> </span><span> </span>network 221.120.96.224</p>
<p class="MsoNormal" style="text-indent:.5in;"><span> </span><span> </span><span> </span>broadcast 221.120.96.255</p>
<p class="MsoNormal"><span> </span><span> </span><span> </span>gateway 221.120.96.225<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></p>
<p class="MsoNormal"><span> </span><span> </span># For Office AP</p>
<p class="MsoNormal"><span> </span><span> </span>auto eth0:0</p>
<p class="MsoNormal"><span> </span><span> </span>iface eth0:0inet static</p>
<p class="MsoNormal"><span> </span><span> </span><span> </span>address 172.16.119.1<span> </span><span> </span></p>
<p class="MsoNormal"><span> </span><span> </span>netmask 255.255.255.224<br />
<!--[if !supportLineBreakNewLine]--><!--[endif]--></p>
<p class="MsoNormal"><span> </span><strong><span style="text-decoration:underline;">RedHat</span></strong></p>
<p class="MsoNormal"><span> </span>[#$]<span> </span><strong>netconfig</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> By default set IP in eth0.</p>
<p class="MsoNormal"><span> </span><span> </span>[#$]<span> </span><strong>netconfig –d eth1</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Set IP in eth1.</p>
<p class="MsoNormal" style="margin-left:.25in;"><span> </span>[#$]<span> </span><strong>netconfig <span> </span><span> </span>- -device eth1<span> </span></strong><strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> </strong>Set IP in eth1.</p>
<p class="MsoNormal" style="text-indent:.25in;"><span> </span>[#$]<span> </span><strong>system-config-network</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Set IP in eth0 or eth1.</p>
<p class="MsoNormal" style="text-indent:.25in;"><span> </span>[#$]<span> </span><strong>setup</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Network Configuration, Set IP address in eth0 or eth1<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></p>
<p class="MsoNormal" style="margin-left:.25in;"><span> </span>[#$]<span> </span><strong>vi<span> </span>/etc/sysconfig/network-scripts/ifcfg-eth0<br />
<span> </span><br />
<span> </span><span> </span><span> </span></strong><em>Device = eth0<br />
<span> </span><span> </span><span> </span><span> </span><span> </span><span> </span>ONBoot = yes<br />
<span> </span><span> </span><span> </span><span> </span><span> </span><span> </span></em><em><span style="font-size:11pt;">BOOT PROTO</span> = static<br />
<span> </span><span> </span><span> </span><span> </span><span> </span>IPADDRESS = 192.168.1.2<br />
<span> </span><span> </span><span> </span><span> </span>NETMASK = 255.255.255.0<br />
<span> </span><span> </span><span> </span><span> </span>GATEWAY = 192.168.1.254<br />
<span> </span><span> </span><span> </span><span> </span><span> </span><span> </span>DNS = 192.168.1.1<br />
<span> </span>If<strong> ifcfg-eth0</strong> file is not in network-scripts directory then-</em></p>
<p><span><em> </em></span><em></em><span> </span><span> </span>[#]<span> </span><span> </span><strong>cd<span> </span>/etc/sysconfig/network-scripts</strong><br />
<span> </span>[#]<span> </span><strong>ls</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> see the file under network-scripts directory.<br />
<span> </span><span> </span>[#]<span> </span><strong>cp <span> </span>ifcfg-lo <span> </span>ifcfg-eth0</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Create a file named <em>ifcfg-eth0</em> from <em>lo</em> (loop back)<br />
<span> </span><span> </span>[#]<span> </span><strong>vi <span> </span></strong>/<strong>eht0<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></strong><em></em></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>17.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><em>After set the IP should be restart the service network<br />
</em><br />
<span> </span>[#$]<span> </span><strong>service network restart</strong><br />
<span> </span>[#$]<span> </span><strong>/etc/init.d/network restart<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><em></em></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>18.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><em>IP Aliasing (set more than one IP in a single LAN card)</em></p>
<p><em></em><span style="text-decoration:underline;">Temporary (After rebooting the machine the IP will release)</span></p>
<p><strong>ifconfig eth1<span> </span>192.168.10.1</strong><br />
<strong>ifconfig eth1:0<span> </span>192.168.10.1</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> By default get subnet mask of that IP (2<sup>nd</sup> IP in a NIC)<br />
<strong>ifconfig eth1:1<span> </span>192.168.10.2<span> </span>netmask<span> </span>255.255.255.0 </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Give the subnet mask. (3<sup>rd</sup> IP)</p>
<p><span style="text-decoration:underline;">Permanent</span></p>
<p>[#]<span> </span><strong>vi<span> </span>/etc/rc.local</strong></p>
<p><span> </span><strong>ifconfig eth1:0<span> </span>192.168.10.1<span> </span>netmask<span> </span>255.255.255.0 </strong><span style="font-family:Wingdings;"><span><strong>&#8211;</strong></span></span><strong> </strong>2<sup>nd</sup> IP<strong><br />
<span> </span>ifconfig eth1:1<span> </span>192.168.20.2<span> </span>netmask<span> </span>255.255.255.0<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span><strong> </strong>3<sup>rd</sup> IP<strong><br />
<span> </span> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !</strong></p>
<p><strong></strong>[#]<strong><span> </span>service network restart </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> After restart the Network service the extra IP will release.<br />
[#]<span> </span><strong>/etc/rc.local</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> After this command the IP will add in LAN card. <strong><br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></strong></p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">ICMP REQUEST</span></strong></p>
<p class="MsoNormal">
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>19.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><em><span style="text-decoration:underline;">Temporary block replay of ping request (this will deactivate after reboot machine)</span></em><br />
[#]<span> </span><strong>cat <span> </span>/proc/sys/net/ipv4/icmp_echo_ignore_all</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Display ICMP request is <span> </span><br />
<span> </span>Blocked or not [0-not block replay of ping request, 1or other is value – block]</p>
<p class="MsoNormal"><span> </span>[#]<span> </span><strong>echo 1 <span> </span>&gt; <span> </span>/proc/sys/net/ipv4/icmp_echo_ignore_all</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Write 1 to the file for<br />
<span> </span><span> </span><span> </span>block the replay of ping request.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>20.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><em><span style="text-decoration:underline;">Permanently block replay of ping request<br />
</span></em><span> </span>[#]<span> </span><strong>vi<span> </span>/etc/re.local</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> this file will execute when PC getting start)<br />
<span> </span><span> </span><span> </span>touch <span style="font-family:Wingdings;"><span>à</span></span> after the touch write the line.<br />
<span> </span><strong>echo 1 <span> </span>&gt; <span> </span>/proc/sys/net/ipv4/icmp_echo_ignore_all</strong><br />
<span> </span><strong> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !<br />
<span> </span></strong>[#]<span> </span><strong>/etc/rc.local</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Run the rc.local file without reboot the machine.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>21.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span> </span><span style="text-decoration:underline;">Linux and Windows Ping properties<br />
</span><span> </span>[#$]<span> </span><strong>ping 192.168.1.1</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> [Linux] Continuous Ping request<br />
<span> </span>[#$]<span> </span><strong>ping 192.168.1.1</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span><span> </span>[Windows] 4 ping request.<br />
<span> </span>[#$]<span> </span><strong>ping 192.168.1.1 –t or /t</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span><span> </span>[Windows] Continuous Ping request.<br />
<span> </span>[#$]<span> </span><strong>Ctrl + C</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> [Linux, Windows] Quit form ping request.<br />
<span> </span>[#$]<span> </span><strong>ping 192.168.1.1 –c 10</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> [Linux] 10 packet send<em></em></p>
<p class="MsoNormal" style="line-height:150%;"><span> </span><span> </span>[#$]<span> </span><strong>ping 192.168.1.1 –n 10</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> [Windows] 10 packet send</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>[#$]<span> </span><span> </span><strong>ping 192.168.1.1 –i <span> </span>5</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> [Linux] Send packet after each 5 second.<br />
<span> </span><span> </span>[#$]<span> </span><strong>ping 192.168.1.1 –s 128</strong> <span style="font-family:Wingdings;"><span>&#8211; </span></span>[Linux] Packet Size change to 128 byte (default 64)<br />
<span> </span>[#$]<span> </span><strong>ping 192.168.1.1 –l 128</strong> <span style="font-family:Wingdings;"><span>&#8211; </span></span>[Win] Packet Size change to 128 byte (default 32)<br />
<span> </span><span> </span><span> </span>[Linux by default TTL - 64]<span> </span>[Windows by default TTL - 128]<span> </span></p>
<p class="MsoNormal">
<p class="MsoNormal" style="line-height:150%;">23.<span> </span><span style="text-decoration:underline;">Display the hop to reach the destination and packet loss of each hop.<br />
</span><span> </span><span> </span>[#$]<span> </span><span> </span><strong>traceroute<span> </span><span> </span>4.2.2.2</strong><span> </span>(linux)<br />
<span> </span><span> </span><span> </span><span> </span><span> </span><strong>mtr<span> </span><span> </span>4.2.2.2</strong><span> </span>(linux)<span> </span><br />
<span> </span><strong><span> </span><span> </span>tracert<span> </span><span> </span>4.2.2.2<span> </span></strong>(win)<strong><span> </span></strong></p>
<p class="MsoNormal" style="line-height:150%;"><strong><span> </span><span> </span><span> </span>pathping 4.2.2.2<span> </span></strong>(win)<strong><span> </span></strong><span> </span></p>
<p class="MsoNormal"><strong><em><span style="text-decoration:underline;"><br />
</span></em><span style="text-decoration:underline;">ARP – Address Resolution Protocol. [IP to MAC]<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></span></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>22.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>arp – a</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> [a-all]. If the machine has IP 192.168.1.2 then it takes MAC of all IP<br />
<span> </span>holder machine of 192.168.3.0 block.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>23.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>arp<span> </span>122.247.47.11</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Get the MAC of the IP and check the physical link.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>24.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>arp –i eth1</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> [i-interface]. Take MAC of pc’s that are connected by eth1.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>25.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>arp –i eth1</strong> -<strong>nv</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> [i-interface, n- number, v- verbose]. Take MAC of pc’s that<br />
<span> </span>are connected by eth1 and show the number of pc connected by eth1.</p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">MAC Clone<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></span></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>26.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><em><span style="text-decoration:underline;"><span> </span>Temporary (after reboot the machine the new cloned MAC flashed)</span></em></p>
<p class="MsoNormal"><em><span style="text-decoration:underline;"><span style="text-decoration:none;"> </span></span></em></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:21pt;">[#]<span> </span><strong>ifconfig eth0 down<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Down the eth0 interface<br />
<span> </span><span> </span><span> </span>or<br />
<span> </span><span> </span><span> </span>[#]<span> </span><strong>ifdown eht0<br />
</strong><br />
<span> </span><span> </span><span> </span>[#]<span> </span><strong>ifconfig <span> </span>eth0 <span> </span>hw <span> </span>ether<span> </span><span> </span>00:21:03:A1:15:C6</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> Old MAC<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:21pt;">[#]<span> </span><strong>ifconfig eth0 up<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Up the eth0 interface<br />
<span> </span><span> </span><span> </span>or<br />
<span> </span><span> </span><span> </span>[#]<span> </span><strong>ifup eht0</strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:21pt;"><em><span style="text-decoration:underline;"><span style="text-decoration:none;"> </span></span></em></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>27.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span style="text-decoration:underline;">Permanently Change the MAC<em></em></span></p>
<p><em></em>[#]<span> </span><strong>vi<span> </span>/etc/rc.local<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></strong></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in;"><em>ifdown eht0<br />
<span> </span>ifconfig <span> </span>eth0 <span> </span><span> </span>hw <span> </span><span> </span>ether <span> </span>00:21:03:A1:15:C6 </em><em><span style="font-family:Wingdings;"><span>à</span></span> Old MAC</em></p>
<p class="MsoNormal" style="margin-left:.5in;"><em><span> </span>ifconfig eth0 up<span> </span></em><em><span style="font-family:Wingdings;"><span>&#8211;</span></span> Up the eth0 interface</em></p>
<p><span><em> </em></span><em></em><strong><span> </span>: x!</strong><span style="text-decoration:underline;"><span><br />
</span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahmudbd.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahmudbd.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mahmudbd.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mahmudbd.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mahmudbd.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mahmudbd.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mahmudbd.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mahmudbd.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mahmudbd.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mahmudbd.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mahmudbd.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mahmudbd.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mahmudbd.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mahmudbd.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=65&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahmudbd.wordpress.com/2008/11/06/interface-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b06da01ad937f0379dabaca17629666?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahmud</media:title>
		</media:content>
	</item>
		<item>
		<title>Remote Login</title>
		<link>http://mahmudbd.wordpress.com/2008/11/06/remote-login/</link>
		<comments>http://mahmudbd.wordpress.com/2008/11/06/remote-login/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 03:30:35 +0000</pubDate>
		<dc:creator>Mohammad Mahmudul Hasan</dc:creator>
				<category><![CDATA[Remote Login]]></category>

		<guid isPermaLink="false">http://mahmudbd.wordpress.com/?p=57</guid>
		<description><![CDATA[1. Telnet – port 23. (Can’t change the port number). Data transfer in Plaintext. 2. SSH – port 2. (Can change the port number). Data transfer in Encrypted mode. · Select which service run during startup a machine 1. [#] nmap 192.168.1.1 &#8211; Display which port (service) is open in 192.168.1.1 PC 2. [#] ntsysv [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=57&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><strong> </strong></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;"><!--[if !supportLists]--><span>1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->Telnet – port 23. (Can’t change the port number). Data transfer in Plaintext.</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;"><!--[if !supportLists]--><span>2.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->SSH – port 2. (Can change the port number). Data transfer in Encrypted mode.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:0;"><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><em><span style="text-decoration:underline;">Select which service run during startup a machine<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></span></em></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:0;"><!--[if !supportLists]--><span>1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>nmap<span> </span>192.168.1.1</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Display which port (service) is open in 192.168.1.1 PC</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:0;"><!--[if !supportLists]--><span>2.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><span> </span><strong>ntsysv<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Select a service by pressing space bar. Work for the console by<br />
<span> </span>which the command given.<em></em></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:0;"><!--[if !supportLists]--><span>3.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span> </span>[#]<span> </span><strong>setup </strong>then<strong> </strong>go to<strong> system services </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Select a service by pressing space bar.<br />
<span> </span>Work for the console by which the command given.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:0;"><!--[if !supportLists]--><span>4.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span> </span>[#]<span> </span><strong>chkconfig<span> </span>sshd<span> </span>on </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> ON the SSH service. Work for current run level.</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:0;"><!--[if !supportLists]--><span>5.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span> </span>[#]<span> </span><strong>chkconfig &#8211;level 5<span> </span>sshd<span> </span>off<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Off the SSH service for run level 5.</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:0;"><!--[if !supportLists]--><span>6.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span> </span>[#]<span> </span><strong>chkconfig &#8211;level<span> </span>2345<span> </span>sendmail <span> </span>off </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> off the sendmail service for run<br />
<span> </span><span> </span><span> </span>level 2345.</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:0;"><!--[if !supportLists]--><span>7.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><span> </span><span> </span><strong>chkconfig &#8211;list sshd</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> Display SSH service is running in which run level.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:0;"><!--[if !supportLists]--><span>8.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>cd <span> </span>/etc</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> <strong>ls </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> There are 6 directory of each run level named<br />
<span> </span><br />
<span> </span>run level 0<span> </span>&#8211; init 0<span> </span>&#8211;<span> </span>rc0.d<br />
<span> </span>run level 1<span> </span>&#8211; init 1<span> </span>&#8211;<span> </span>rc1.d<br />
<span> </span>run level 2<span> </span>&#8211; init 2<span> </span>&#8211;<span> </span>rc2.d<br />
<span> </span><span> </span>run level 3<span> </span>&#8211; init 3<span> </span>&#8211;<span> </span>rc3.d<br />
<span> </span><span> </span>run level 4<span> </span>&#8211; init 4<span> </span>&#8211;<span> </span>rc4.d<span> </span><span> </span><br />
<span> </span>run level 5<span> </span>&#8211; init 5<span> </span>&#8211;<span> </span>rc5.d<br />
<span> </span>run level 6<span> </span>&#8211; init 6<span> </span>&#8211;<span> </span>rc6.d</p>
<p>Under each directory there are many file of different service. There is K or S before each service name [K- kill, do not run the service during startup the machine] [S – start, run the service during startup the machine] if we rename the file K25sshd to S25sshd [25 is the process id] the SSH process will start at run level.</p>
<p><span> </span>[#]<span> </span><strong>mv<span> </span>K25sshd<span> </span>S25sshd</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Rename the file to S25sshd</p>
<p><span> </span>[#]<span> </span><span> </span><strong>ls –l</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Show the file included link file. <strong><em>/etc/rc0.d/S25sshd</em></strong> is link file. The<br />
<span> </span>original file of /etc/rc0.d/S25sshd is in <strong><em>/etc/init.d/sshd<span> </span></em></strong>location.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:0;"><!--[if !supportLists]--><span>9.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><em><span style="text-decoration:underline;">Manually script run at run level</span></em></p>
<p><span> </span>[#]<span> </span><strong>vi<span> </span>/etc/init.d/test<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> create a file<br />
<span> </span>[#]<span> </span><strong>chmod<span> </span>+x<span> </span>/etc/init.d/test </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Give it executive permission<br />
<span> </span>[#]<span> </span><strong>ln –s<span> </span>/etc/init.d/test<span> </span>/etc/rc3.d/S30test</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> make link to /etc/rc3.d file</p>
<p><!--[endif]--></p>
<div style="border:medium medium 2.25pt none none double 0 0 windowtext;padding:0 0 1pt;">
<p class="MsoNormal" style="border:medium none;padding:0;">
</div>
<p class="MsoNormal">
<div style="border:medium medium 1pt none none solid 0 0 windowtext;padding:0 0 1pt;">
<p class="MsoNormal" style="border:medium none;padding:0;"><span> </span><span> </span><span> </span><span> </span><span> </span><strong>Telnet server configuration</strong></p>
</div>
<p class="MsoNormal" style="margin-left:.25in;">
<p class="MsoNormal"><strong><span style="text-decoration:underline;">Server end<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></span></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>vi<span> </span>/etc/xinetd.d/krb5-telnet</strong></p>
<p><span><strong> </strong></span><span><strong> </strong></span><strong>disable = no<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> “no” is not case sensitive<br />
<span> </span><strong> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>2.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><span> </span>[#]<span> </span><strong>service xinetd restart</strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>3.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><strong><span> </span></strong>[#]<span> </span><strong>service xinetd status<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> See the server is running or not<strong>.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></strong></p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">Client end</span></strong></p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;"><span style="text-decoration:none;"> </span></span></strong></p>
<p class="MsoNormal">In Telnet the data are transfer in plaintext (not encrypted) and it is not secure. For this reason we have to login telnet server by normal user [$] 1<sup>st</sup> then switch to root user [#]. Telnet do not support root user to login.</p>
<p class="MsoNormal"><span style="text-decoration:underline;"><span style="text-decoration:none;"> </span></span></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>4.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[$]<span> </span><strong>telnet<span> </span>192.168.1.2<span> </span></strong><span style="font-family:Wingdings;"><span><strong>&#8211;</strong></span></span><strong> </strong>by IP<strong><br />
or<br />
</strong>[$]<span> </span><strong>telnet<span> </span>Linux1<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> By Host name of server.<br />
<span> </span><br />
<span> </span><span> </span><em>Login: <span> </span>mahmud </em><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> user mahmud<em> </em>should be exist in server PC.<em><br />
<span> </span><span> </span><span> </span>Password: ****<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></em></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>5.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[$]<span> </span><strong>su -</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Switch to root user.<br />
<span> </span>Password: ***<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Give password of root user.<em></em></p>
<p class="MsoNormal"><em> </em></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>6.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->For windows <span style="font-family:Wingdings;"><span>&#8211;</span></span> <strong>cmd</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> <strong>telnet 192.168.1.2</strong><em></em></p>
<p class="MsoNormal"><em> </em></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>7.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#] <span> </span><span> </span><strong>logout</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> Exit from telnet root user.<br />
[$] <span> </span><span> </span><strong>logout</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> Exit from telnet normal user.<em></em></p>
<p class="MsoNormal"><em> </em></p>
<p class="MsoNormal">
<div style="border:medium medium 1pt none none solid 0 0 windowtext;padding:0 0 1pt;">
<p class="MsoNormal" style="border:medium none;padding:0;"><strong><span> </span>SSH (Secured Shell) server configuration</strong></p>
</div>
<p class="MsoNormal"><strong> </strong></p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">Server end</span></strong></p>
<p class="MsoNormal"><strong> </strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<strong><span> </span>rpm <span> </span>–qa | grep openssh-server<span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> See the ssh package is installed or not<strong></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>2.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<strong><span> </span>rpm<span> </span>–ivh<span> </span>openssh-server* </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Install all ssh package from 2<sup>nd</sup> CD.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><strong></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>3.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>service sshd restart </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Restart the demon service of ssh.<br />
<strong>OR</strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>4.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>/etc/init.d/sshd restart </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Restart the demon service of ssh.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><strong></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>5.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->[#]<span> </span><strong>service sshd status</strong><span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> See the sshd service is running or not.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><strong></strong></p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">Client End</span></strong></p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;"><span style="text-decoration:none;"> </span></span></strong></p>
<p class="MsoNormal">In SSH the data are transfer in encrypted mode and it is secure. For this reason we can login telnet server by both root user [#] and normal user [$].<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><strong></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span style="color:black;"><span>6.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->[#$] <strong><span> </span>ssh<span> </span><span style="color:black;"><a href="mailto:root@192.168.1.2"><span style="color:black;text-decoration:none;">root@192.168.1.2</span></a> </span></strong><span style="color:black;"><span> </span>or <strong>ssh –l root 192.168.1.2</strong> </span><span style="font-family:Wingdings;color:black;"><span>&#8211;</span></span><span style="color:black;"> Remotely login by root user<br />
<span> </span><em>Password:</em> ****<span> </span></span><span style="font-family:Wingdings;color:black;"><span>&#8211;</span></span><span style="color:black;"> Give password of root.<strong></strong></span></p>
<p class="MsoNormal"><strong><span style="color:black;"> </span></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span style="color:black;"><span>7.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->[#$] <strong><span> </span>ssh<span> </span><span style="color:black;"><a href="mailto:Alvi@192.168.1.2"><span style="color:black;text-decoration:none;">Alvi@192.168.1.2</span></a><span> </span></span></strong><span style="color:black;">or<strong><span> </span>ssh –l root 192.168.1.2 </strong></span><strong><span style="font-family:Wingdings;color:black;"><span>&#8211;</span></span><span style="color:black;"> </span></strong><span style="color:black;">Remotely login by user Alvi.<strong><br />
<span> </span></strong><em>Password:</em><strong> ****</strong><span> </span></span><span style="font-family:Wingdings;color:black;"><span>&#8211;</span></span><span style="color:black;"> Give password of user Alvi (server pc user).<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><strong></strong></span></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span style="color:black;"><span>8.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->[root@ns~]#<span> </span><strong>ssh <span> </span>192.168.1.2</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> Try to remotely login as root user because currently client machine login user is root.<br />
<strong><span style="color:black;">Password: ****<span> </span></span></strong><span style="font-family:Wingdings;color:black;"><span>&#8211;</span></span><span style="color:black;"> Give password of root</span><br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><strong></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span style="color:black;"><span>9.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->[Alvi@ns]$<span> </span><strong>ssh <span> </span>192.168.1.2</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> Try to remotely login as normal user Alvi because currently client machine login user is normal user. User Alvi must be existing in both server pc and client pc<br />
<strong><span style="color:black;">Password: ****</span></strong><span style="color:black;"><span> </span></span><span style="font-family:Wingdings;color:black;"><span>&#8211;</span></span><span style="color:black;"> Give password of user Alvi (server pc user).<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><strong></strong></span></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span style="color:black;"><span>10.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><em><span style="text-decoration:underline;">Deny root user login by SSH<strong></strong></span></em></p>
<p class="MsoNormal"><strong><span style="color:black;"><br />
<span> </span></span></strong><span style="color:black;">[#] <span> </span><strong>vi<span> </span>/etc/ssh/sshd_config<span> </span><br />
<span> </span>#PermitRootLogin<span> </span>yes </strong></span><span style="font-family:Wingdings;color:black;"><span>&#8211;</span></span><span style="color:black;"> erase the # and set <strong>no<br />
<span> </span>:wq<br />
<span> </span></strong>[#]<span> </span><strong>service sshd restart </strong><br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></span></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span style="color:black;"><span>11.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><strong><span style="color:black;"><span> </span></span></strong><em><span style="text-decoration:underline;"><span style="color:black;">Give SSH login permission to specific user</span></span></em></p>
<p><em></em><strong><span style="color:black;"><span> </span></span></strong><span style="color:black;">[#]<span> </span><strong>vi<span> </span>/etc/ssh/sshd_config</strong> </span><span style="font-family:Wingdings;color:black;"><span>&#8211;</span></span><span style="color:black;"> Go to the last line by G and write-<strong><br />
<span> </span><span> </span><br />
<span> </span><span> </span>AllowUsers<span> </span>mahmud suvo<span> </span></strong></span><span style="font-family:Wingdings;color:black;"><span>&#8211;</span></span><span style="color:black;"> Give SSH logging permission to only 2 users<br />
<span> </span>(mahmud and suvo) can allow more user. <strong>AllowUsers</strong> are key sensitive<strong><span> </span><br />
<span> </span><span> </span>:wq<br />
<span> </span></strong>[#]<span> </span><strong>service sshd restart<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></strong><em></em></span></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span style="color:black;"><span>12.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><em><span style="text-decoration:underline;"><span style="color:black;">Deny <span> </span>SSH login permission to specific user</span></span></em></p>
<p><span> </span><span style="color:black;">[#]<span> </span><strong>vi<span> </span>/etc/ssh/sshd_config</strong> &#8211;</span><span style="color:black;"> Go to the last line by G and write-<strong><br />
<span> </span><br />
<span> </span><span> </span>DenyUsers<span> </span>mahmud suvo<span> </span></strong></span><span style="font-family:Wingdings;color:black;"><span>&#8211;</span></span><span style="color:black;"> Deny SSH logging permission to only 2 users<br />
<span> </span>(mahmud and suvo) can deny more user. <strong>DenyUsers</strong> are key sensitive<strong><span> </span><br />
<span> </span><span> </span>:wq</strong></span></p>
<p><span><strong> </strong></span><strong></strong>[#]<span> </span><strong>service sshd restart</strong></p>
<p class="MsoNormal">
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span style="color:black;"><span>13.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><span> </span><em><span style="text-decoration:underline;">Change SSH port number<br />
</span></em><span style="text-decoration:underline;"><span> </span><br />
</span><span> </span>[#]<span> </span><strong>vi<span> </span>/etc/ssh/sshd_config</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> Search port by /port</p>
<p><span> </span>port 27<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> Erase # before the port and change the port from 22 to 27<br />
<span> </span><strong> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> !</strong><br />
<span> </span>[#]<span> </span><strong>service sshd restart</strong><br />
<span> </span>[#]<span> </span><strong>ssh<span> </span>root@192.168.1.1</strong> <span style="font-family:Wingdings;"><span>&#8211;</span></span> <span style="color:black;">This command doesn’t work now because the default port of<br />
<span> </span>SSH (22) is changed to 27<br />
<span> </span>[#]<span> </span></span><strong>ssh<span> </span>-p27<span> </span><span> </span><span style="color:black;"><a href="mailto:root@192.168.1.1"><span style="color:black;text-decoration:none;">root@192.168.1.1</span></a> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> [p-port, -p<span> </span>27 also work]. This command is work. <span style="color:black;"><br />
<span> </span><br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><strong></strong></span></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;"><!--[if !supportLists]--><span>14.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]--><em><span style="text-decoration:underline;">SCP (secure copy) over SSH<br />
</span></em><br />
<span> </span>[#]<span> </span><strong>command<span> </span>sourcefile<span> </span>destination user@IP:directory</strong></p>
<p><span> </span>[#]<span> </span><strong>scp<span> </span>/etc/passwd<span> </span></strong>[client]<strong> <span> </span><span style="color:black;"><a href="mailto:root@192.168.1.1:home/Alex"><span style="color:black;text-decoration:none;">root@192.168.1.1:home/Alex</span></a></span></strong><span> </span>[server]<span style="font-family:Wingdings;"><span> &#8211;</span></span> When I am in<br />
<span> </span>client machine Give passwd file from <em>etc/passwd </em>[client] to <em>/home/Alex</em> directory of<br />
<span> </span><span> </span>192.168.1.1 [server]. Server machine must have to running the SSH service.</p>
<p><span> </span>[#]<span> </span><strong>scp<span> </span>-r <span> </span><span> </span>/temp<span> </span><a href="mailto:root@192.168.1.1:home/Alex"><span style="color:windowtext;text-decoration:none;">root@192.168.1.1:home/Alex</span></a> </strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> Directory transfer.</p>
<p><span> </span>[#]<span> </span><strong>scp<span> </span><a href="mailto:root@192.168.1.1:/etc/passwd"><span style="color:windowtext;text-decoration:none;">root@192.168.1.1:/etc/passwd</span></a> </strong>[server]<strong><span> </span><span> </span>/home/Alex </strong>[client]<strong> <span> </span></strong><span style="font-family:Wingdings;"><span>&#8211;</span></span> When I am<br />
<span> </span>in client machine Take passwd file from <em>etc/passwd </em>[server] to <em>/home/Alex</em> [client]<br />
<span> </span>directory of 192.168.1.1 [server]. Server machine must have to running the SSH<br />
<span> </span>service.<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--><em></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahmudbd.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahmudbd.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mahmudbd.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mahmudbd.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mahmudbd.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mahmudbd.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mahmudbd.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mahmudbd.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mahmudbd.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mahmudbd.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mahmudbd.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mahmudbd.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mahmudbd.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mahmudbd.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=57&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahmudbd.wordpress.com/2008/11/06/remote-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b06da01ad937f0379dabaca17629666?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahmud</media:title>
		</media:content>
	</item>
		<item>
		<title>Eudora Outlook Configuaration</title>
		<link>http://mahmudbd.wordpress.com/2008/09/12/eudora-outlook-configuaration/</link>
		<comments>http://mahmudbd.wordpress.com/2008/09/12/eudora-outlook-configuaration/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 12:52:17 +0000</pubDate>
		<dc:creator>Mohammad Mahmudul Hasan</dc:creator>
				<category><![CDATA[Eudora Outlook]]></category>

		<guid isPermaLink="false">http://mahmudbd.wordpress.com/?p=52</guid>
		<description><![CDATA[MS Outlook Configuration 1. · Open MS Outlook Express then go to Tools à Account à Mail (tab) à Add (button). OR Tools à Email Accountà View or change existing e-mail accounts (Radio) àAdd (button) . Display Name à Mahmud E-mail address à sum@smile.com.bd (Provide by ISP) Incoming Mail server (POP3) à mail.smile.com.bd (Provide by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=52&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>MS Outlook</strong></p>
<p class="MsoNormal" style="line-height:150%;"><strong><span style="text-decoration:underline;">Configuration</span></strong></p>
<p class="MsoNormal" style="margin-left:0;text-indent:0;line-height:150%;"><!--[if !supportLists]--><strong><span>1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></strong><!--[endif]--></p>
<p class="MsoNormal" style="margin-left:45pt;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->Open MS Outlook Express then go to Tools <span style="font-family:Wingdings;"><span>à</span></span> Account <span style="font-family:Wingdings;"><span>à</span></span> Mail (tab) <span style="font-family:Wingdings;"><span>à</span></span> Add (button). <strong>OR</strong> Tools <span style="font-family:Wingdings;"><span>à</span></span> Email Account<span style="font-family:Wingdings;"><span>à</span></span> View or change existing e-mail accounts (Radio) <span style="font-family:Wingdings;"><span>à</span></span>Add (button)</p>
<p class="MsoNormal" style="margin-left:27pt;">
<p class="MsoNormal" style="line-height:150%;"><span> </span><span> </span>. <span> </span><span> </span>Display Name <span style="font-family:Wingdings;"><span>à</span></span> Mahmud</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span><span> </span><span> </span>E-mail address <span style="font-family:Wingdings;"><span>à</span></span> <a href="mailto:sum@smile.com.bd">sum@smile.com.bd</a> (Provide by ISP)</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>Incoming Mail server (POP3) <span style="font-family:Wingdings;"><span>à</span></span> <a href="mailto:sum@smile.com.bd">mail.smile.com.bd</a> (Provide by ISP)</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>Outgoing Mail server (POP3) <span style="font-family:Wingdings;"><span>à</span></span> <a href="mailto:sum@smile.com.bd">mail.smile.com.bd</a> (Provide by ISP)</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>User Name <span style="font-family:Wingdings;"><span>à</span></span> <a href="mailto:sum@smile.com.bd">sum@smile.com.bd</a> (Provide by ISP)</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span><span> </span>Password <span style="font-family:Wingdings;"><span>à</span></span> sumon03041382 (Provide by ISP) <strong>OR</strong> uncheck Remember my<span> </span></p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>Password and do not give any password in that text field.</p>
<p class="MsoNormal" style="margin-left:.5in;"><span> </span><span> </span>Next <span style="font-family:Wingdings;"><span>à</span></span> Finish</p>
<p class="MsoNormal" style="margin-left:.5in;line-height:150%;"><strong><span style="text-decoration:underline;">OR</span></strong></p>
<p class="MsoNormal" style="margin-left:.5in;text-align:justify;line-height:150%;">Go to Control Panel <span style="font-family:Wingdings;"><span>à</span></span> Mail <span style="font-family:Wingdings;"><span>à</span></span> Show Profile (button) <span style="font-family:Wingdings;"><span>à</span></span> <span> </span>Add (button) <span style="font-family:Wingdings;"><span>à</span></span> Give a profile name [Mahmud] <span style="font-family:Wingdings;"><span>à</span></span> OK <span style="font-family:Wingdings;"><span>à</span></span> Add a new email account (radio) and Next <span style="font-family:Wingdings;"><span>à</span></span> POP3 (radio) and Next <span style="font-family:Wingdings;"><span>à</span></span> Give the information <span style="font-family:Wingdings;"><span>à</span></span> More Settings (button) <span style="font-family:Wingdings;"><span>à</span></span> Advance (tab) <span style="font-family:Wingdings;"><span>à</span></span> Check “Leave a copy of message on the server” <span style="font-family:Wingdings;"><span>à</span></span> OK <span style="font-family:Wingdings;"><span>à</span></span> Next <span style="font-family:Wingdings;"><span>à</span></span> Finish <span style="font-family:Wingdings;"><span>à</span></span> Ok.</p>
<p class="MsoNormal" style="margin-left:45pt;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><strong>LOGIN: </strong>Send/Receive (button) <span style="font-family:Wingdings;"><span>à</span></span> Give User Name and Password (to access mail account)</p>
<p class="MsoNormal" style="margin-left:27pt;text-align:justify;text-indent:-27pt;line-height:150%;">2.<span> </span><strong><span style="text-decoration:underline;">Know the Location of .pst file</span></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;line-height:150%;">Control Panel <span style="font-family:Wingdings;"><span>à</span></span> Mail (D.C) <span style="font-family:Wingdings;"><span>à</span></span> Show Profiles (button) <span style="font-family:Wingdings;"><span>à</span></span> select the Profile Name (Mahmud) <span style="font-family:Wingdings;"><span>à</span></span> Properties <span style="font-family:Wingdings;"><span>à</span></span> Data files <span style="font-family:Wingdings;"><span>à</span></span><span> </span>select the “Personal Folders” and Open Folder (button)</p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;">3. <span> </span><strong><span style="text-decoration:underline;">Move the PST to a new location with its all mail</span></strong><span> </span></p>
<p class="MsoNormal" style="margin-left:12pt;text-align:justify;line-height:150%;">Control Panel <span style="font-family:Wingdings;"><span>à</span></span> Mail (D.C) <span style="font-family:Wingdings;"><span>à</span></span> Show Profiles (button) <span style="font-family:Wingdings;"><span>à</span></span> select the Profile Name (Mahmud) <span style="font-family:Wingdings;"><span>à</span></span> Properties <span style="font-family:Wingdings;"><span>à</span></span> Data files <span style="font-family:Wingdings;"><span>à</span></span><span> </span>select the “Personal Folders” and Open Folder (button) &#8211;&gt; cut the PST file to another location &#8211;&gt; D.C on “Personal folder” and browse the new location of PST folder &#8211;&gt; Ok &#8211;&gt; Close &#8211;&gt; Close &#8211;&gt; Ok</p>
<p class="MsoNormal" style="margin-left:27pt;text-align:justify;text-indent:-27pt;line-height:150%;">4.<span> </span><strong><span style="text-decoration:underline;">Create a new PST file to another location</span></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;line-height:150%;">Open the MS Outlook Express <span style="font-family:Wingdings;"><span>à</span></span> Tools <span style="font-family:Wingdings;"><span>à</span></span> Email Accounts <span style="font-family:Wingdings;"><span>à</span></span> View accounts (button) and Next <span style="font-family:Wingdings;"><span>à</span></span> New Outlook Data File (button) <span style="font-family:Wingdings;"><span>à</span></span> Select Office Outlook Personal Folders file (.pst) <span style="font-family:Wingdings;"><span>à</span></span> Ok <span style="font-family:Wingdings;"><span>à</span></span> A browser will come and give the path of new location <span style="font-family:Wingdings;"><span>à</span></span> Ok <span style="font-family:Wingdings;"><span>à</span></span> Give the Name of Personal Folder [Personal Folder 1] <span style="font-family:Wingdings;"><span>à</span></span> Ok <span style="font-family:Wingdings;"><span>à</span></span> Select the New Personal Folder [Personal Folder 1] from the dropdown list <span style="font-family:Wingdings;"><span>à</span></span> Finish <span style="font-family:Wingdings;"><span>à</span></span> Ok <span style="font-family:Wingdings;"><span>à</span></span> Close and Open the MS Outlook Express.</p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;">5.<span> </span><strong><span style="text-decoration:underline;">Add another PST in an account</span></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;line-height:150%;">Open the MS Outlook Express <span style="font-family:Wingdings;"><span>à</span></span> Tools <span style="font-family:Wingdings;"><span>à</span></span> Email Accounts <span style="font-family:Wingdings;"><span>à</span></span> View accounts (button) and Next <span style="font-family:Wingdings;"><span>à</span></span> New Outlook Data File (button) <span style="font-family:Wingdings;"><span>à</span></span> Select Office Outlook Personal Folders file (.pst) <span style="font-family:Wingdings;"><span>à</span></span> Ok <span style="font-family:Wingdings;"><span>à</span></span> A browser will come and browse another PST file <span style="font-family:Wingdings;"><span>à</span></span> Ok &#8211;&gt; Apply <span style="font-family:Wingdings;"><span>à</span></span> Ok &#8211;&gt; Finish <span style="font-family:Wingdings;"><span>à</span></span> Close and Open the MS Outlook Express.</p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span> </span>6.<span> </span><strong><span style="text-decoration:underline;">Scan &amp; Recover PST file</span></strong><span> </span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span> </span>Go to the location C:\Program Files\Common Files\System\MSMAPI\1033 &#8211;&gt; D.C</p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;"><span> </span>On SCANPST &#8211;&gt; Browse the PST file &#8211;&gt; Start (button) &#8211;&gt; Restore<span> </span></p>
<p class="MsoNormal" style="text-align:justify;line-height:150%;">7.<span> </span><strong><span style="text-decoration:underline;">Folder Create</span></strong><span> </span><span> </span><span> </span></p>
<div style="border:medium medium 1pt none none solid 0 0 windowtext;padding:0 0 1pt;">
<p class="MsoNormal" style="border:medium none;margin-left:.25in;text-indent:-.25in;line-height:150%;padding:0;"><span> </span>File <span style="font-family:Wingdings;"><span>à</span></span> Folder <span style="font-family:Wingdings;"><span>à</span></span> New Folder <span style="font-family:Wingdings;"><span>à</span></span> Select the folder under which you want to create a new folder (such as Inbox) <span style="font-family:Wingdings;"><span>à</span></span> Give the Name of New folder <span style="font-family:Wingdings;"><span>à</span></span> Ok.</p>
<p class="MsoNormal" style="border:medium none;line-height:150%;padding:0;">8.<span> </span><strong><span style="text-decoration:underline;">Move the Mail of a specific people (email account) to a specific folder</span></strong></p>
<p class="MsoNormal" style="border:medium none;margin-left:.25in;text-align:justify;text-indent:-.25in;line-height:150%;padding:0;"><span> </span>Tools <span style="font-family:Wingdings;"><span>à</span></span> Rules and Alerts <span style="font-family:Wingdings;"><span>à</span></span> <span> </span>New Rule <span style="font-family:Wingdings;"><span>à</span></span> Start from a blank Rule (radio) &amp; next <span style="font-family:Wingdings;"><span>à</span></span> Check “from people or distribution list” and click people or distribution list from the bottom text field <span style="font-family:Wingdings;"><span>à</span></span> Write the email id in “From” text field (we can give more then one email id in the field separated by semicolon <span style="font-family:Wingdings;"><span>à</span></span> Ok <span style="font-family:Wingdings;"><span>à</span></span> Next <span style="font-family:Wingdings;"><span>à</span></span> Check “move it to the specific folder” and give the path of the folder from bottom text field <span style="font-family:Wingdings;"><span>à</span></span> Ok <span style="font-family:Wingdings;"><span>à</span></span> Next <span style="font-family:Wingdings;"><span>à</span></span> Next <span style="font-family:Wingdings;"><span>à</span></span> Check “Run this rule now on message already in Inbox <span style="font-family:Wingdings;"><span>à</span></span> Finish. <span style="font-family:Wingdings;"><span>à</span></span> Apply <span style="font-family:Wingdings;"><span>à</span></span> Ok.</p>
<p class="MsoNormal" style="border:medium none;margin-left:.25in;text-indent:-.25in;line-height:150%;padding:0;">9.<span> </span><strong><span style="text-decoration:underline;">Set Remainder</span></strong></p>
<p class="MsoNormal" style="border:medium none;margin-left:.25in;text-indent:-.25in;line-height:150%;padding:0;"><span> </span>Go &#8211;&gt; Tasks &#8211;&gt; Double Click under the task schedule and give the remainder &#8211;&gt; Save and close the task window.</p>
<p class="MsoNormal" style="line-height:150%;"><strong>Outlook Express</strong></p>
<p class="MsoNormal" style="margin-left:45pt;line-height:150%;"><strong>1.</strong><!--[if !supportLists]--><span style="font-family:Symbol;"><span>¨<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]-->File <span style="font-family:Wingdings;"><span>à</span></span> Switch Identity <span style="font-family:Wingdings;"><span>à</span></span> Manage Identities (button) <span style="font-family:Wingdings;"><span>à</span></span> New (button)</p>
<p class="MsoNormal" style="margin-left:45pt;line-height:150%;">Type Your Name: Mahmud (Identity name) <span style="font-family:Wingdings;"><span>à</span></span> OK.</p>
</div>
<p class="MsoNormal" style="margin-left:45pt;line-height:150%;">Do you want to switch Mahmud now? <span style="font-family:Wingdings;"><span>à</span></span> Yes</p>
<p class="MsoNormal" style="margin-left:45pt;line-height:150%;">Connect to internet <span style="font-family:Wingdings;"><span>à</span></span> Yes</p>
<p class="MsoNormal" style="margin-left:45pt;line-height:150%;">Create a new Internet mail account (radio) <span style="font-family:Wingdings;"><span>à</span></span> Next</p>
<p class="MsoNormal" style="line-height:150%;">.<span> </span>Display Name <span style="font-family:Wingdings;"><span>à</span></span> Mahmud</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>E-mail address <span style="font-family:Wingdings;"><span>à</span></span> <a href="mailto:sum@smile.com.bd">sum@smile.com.bd</a> (Provide by ISP)</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>Incoming Mail server (POP3) <span style="font-family:Wingdings;"><span>à</span></span> <a href="mailto:sum@smile.com.bd">mail.smile.com.bd</a> (Provide by ISP)</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>Outgoing Mail server (POP3) <span style="font-family:Wingdings;"><span>à</span></span> <a href="mailto:sum@smile.com.bd">mail.smile.com.bd</a> (Provide by ISP)</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>User Name <span style="font-family:Wingdings;"><span>à</span></span> <a href="mailto:sum@smile.com.bd">sum@smile.com.bd</a> (Provide by ISP)</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>Password <span style="font-family:Wingdings;"><span>à</span></span> sumon03041382 (Provide by ISP) <strong>OR</strong> uncheck Remember my<span> </span></p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>Password and do not give any password in that text field.<span> </span></p>
<p class="MsoNormal" style="margin-left:45pt;line-height:150%;">Next <span style="font-family:Wingdings;"><span>à</span></span> Finish</p>
<p class="MsoNormal" style="margin-left:45pt;line-height:150%;">Do not import at this time (radio) <span style="font-family:Wingdings;"><span>à</span></span> Next <span style="font-family:Wingdings;"><span>à</span></span> Finish</p>
<p class="MsoNormal" style="margin-left:45pt;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Symbol;"><span>¨<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><strong>LOGIN:</strong> File <span style="font-family:Wingdings;"><span>à</span></span> Switch Identity <span style="font-family:Wingdings;"><span>à</span></span> Mahmud (D.C) <span style="font-family:Wingdings;"><span>à</span></span> Give the password of <a href="mailto:sum@smile.com.bd">sum@smile.com.bd</a> and login to that account.</p>
<p class="MsoNormal" style="margin-left:45pt;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Symbol;"><span>¨<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><strong>LOGOUT: </strong>File <span style="font-family:Wingdings;"><span>à</span></span> Switch Identity <span style="font-family:Wingdings;"><span>à</span></span> Select Mahmud <span style="font-family:Wingdings;"><span>à</span></span> Log Off Identity.<strong></strong></p>
<p class="MsoNormal" style="margin-left:45pt;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Symbol;"><span>¨<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><strong>Give Password to access Identity:</strong> File <span style="font-family:Wingdings;"><span>à</span></span> Switch Identity <span style="font-family:Wingdings;"><span>à</span></span> Select the Identity (Mahmud) <span style="font-family:Wingdings;"><span>à</span></span> Properties (button) <span style="font-family:Wingdings;"><span>à</span></span> Check Require password <span style="font-family:Wingdings;"><span>à</span></span> give the password <span style="font-family:Wingdings;"><span>à</span></span> OK. <strong></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><strong> 2</strong>. <span> </span><span> </span><strong>Send Mail:</strong> Create (button) <span style="font-family:Wingdings;"><span>à</span></span> Give the Address and subject <span style="font-family:Wingdings;"><span>à</span></span> Sent (button)</p>
<p class="MsoNormal" style="margin-left:27pt;text-align:justify;text-indent:-27pt;line-height:150%;"><strong>3.<span> </span>Leave a copy of message on Server while download the mail in HD space: </strong>Tools<span style="font-family:Wingdings;"><span>à</span></span>Account <span style="font-family:Wingdings;"><span>à</span></span> Mail (tab) <span style="font-family:Wingdings;"><span>à</span></span> <span> </span>Select <a href="mailto:sum@smile.com.bd">mail.smile.com.bd</a><span> </span>mail (default) <span style="font-family:Wingdings;"><span>à</span></span> Properties <span style="font-family:Wingdings;"><span>à</span></span> Advance (tab) <span style="font-family:Wingdings;"><span>à</span></span> Check Leave a copy of message on Server <span style="font-family:Wingdings;"><span>à</span></span> Apply</p>
<p class="MsoNormal" style="margin-left:27pt;text-align:justify;text-indent:-27pt;line-height:150%;"><strong>4.</strong><span> </span><span> </span>Outlook express save the mail in <strong>C:\Program Files\Outlook Express</strong> location of the Hard Disc.</p>
<p class="MsoNormal" style="margin-left:27pt;text-align:justify;text-indent:-27pt;line-height:150%;"><strong>5</strong>. <span> </span>Change the Directory location of store mail in Outlook Express<span> </span><span style="font-family:Wingdings;"><span>è</span></span> Tool <span style="font-family:Wingdings;"><span>à</span></span> Options <span style="font-family:Wingdings;"><span>à</span></span> Maintenance (tab) <span style="font-family:Wingdings;"><span>à</span></span> Store folder (button) <span style="font-family:Wingdings;"><span>à</span></span> Change (button) <span style="font-family:Wingdings;"><span>à</span></span> Give the new path such as <strong>E:\mahmud test</strong> <span style="font-family:Wingdings;"><span>à</span></span> OK <span style="font-family:Wingdings;"><span>à</span></span> Logoff and Login to the Outlook Express. [The file (mail) of <strong>C:\Program Files\Outlook Express </strong>location will moved to new location<strong><em> E:\mahmud test</em></strong>]</p>
<p class="MsoNormal" style="margin-left:27pt;text-align:justify;text-indent:-27pt;line-height:150%;"><strong>6. <span> </span>Add Group (If we write group name on To then the message will send all members of the group): <span> </span></strong>Address (button) <span style="font-family:Wingdings;"><span>à</span></span> File <span style="font-family:Wingdings;"><span>à</span></span> New Group <span style="font-family:Wingdings;"><span>à</span></span> Give Group Name (NOC), Name (Mahmud), E-mail (<a href="mailto:Mahmud@smile.com.bd">Mahmud@smile.com.bd</a> ) <span style="font-family:Wingdings;"><span>à</span></span> Add (button) <span style="font-family:Wingdings;"><span>à</span></span> In this way add many more E-mail address in a group.</p>
<p class="MsoNormal" style="border:medium none;padding:0;"><strong><span style="font-size:18pt;"> <span> </span>Gmail<span> </span></span></strong></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;color:black;">To enable POP in your Gmail account:</span></p>
<ol type="1">
<li class="MsoNormal"><span style="font-size:10pt;line-height:150%;font-family:Arial;">Log in to your      Gmail account. </span></li>
<li class="MsoNormal"><span style="font-size:10pt;line-height:150%;font-family:Arial;">Click </span><strong><span style="font-size:10pt;line-height:150%;font-family:Arial;">Settings</span></strong><span style="font-size:10pt;line-height:150%;font-family:Arial;"> at the top of any Gmail page. </span></li>
<li class="MsoNormal"><span style="font-size:10pt;line-height:150%;font-family:Arial;">Click </span><strong><span style="font-size:10pt;line-height:150%;font-family:Arial;">Forwarding and POP/IMAP</span></strong><span style="font-size:10pt;line-height:150%;font-family:Arial;">. </span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:Arial;">Check Enable POP (Radio)</span></li>
</ol>
<p class="MsoNormal" style="line-height:150%;"><strong><span style="font-size:18pt;line-height:150%;"><span> </span></span></strong>Set POP (incoming) – pop.gmail.com (give port number 465)</p>
<p class="MsoNormal"><span> </span>Set SMTP (outgoing) – smtp.gmail.com (give port number 995)<strong><span style="font-size:18pt;"><span> </span><span> </span></span></strong></p>
<div style="border:1pt medium solid none windowtext 0;padding:1pt 0;">
<p class="MsoNormal" style="border:medium none;padding:0;"><strong><span style="font-size:18pt;"><span> </span>Eudora</span></strong></p>
</div>
<p class="MsoNormal" style="line-height:150%;"><strong> <span style="text-decoration:underline;">Installation</span></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><span>1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span><!--[endif]-->Double click on setup.exe file <span style="font-family:Wingdings;"><span>à</span></span> Next (welcome page) <span style="font-family:Wingdings;"><span>à</span></span> Yes (license agreements) <span> </span><span style="font-family:Wingdings;"><span>à</span></span> Check all items &amp; Next <span style="font-family:Wingdings;"><span>à</span></span> Give destination Program folder (default) &amp; Next <span style="font-family:Wingdings;"><span>à</span></span> Select Custom Data<span> </span>Folder (radio) and Browse<span> </span>the location of a folder to download mail in that folder &amp; Next <span style="font-family:Wingdings;"><span>à</span></span> Next <span style="font-family:Wingdings;"><span>à</span></span> Yes (create desktop shortcut icon)<span style="font-family:Wingdings;"><span>à</span></span> Give the shortcut icon name &amp; Next <span style="font-family:Wingdings;"><span>à</span></span> Uncheck the check box &amp; Finish.</p>
<p class="MsoNormal" style="line-height:150%;"><strong><span style="text-decoration:underline;">Configuration</span></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><strong><span>1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></strong><!--[endif]-->Next <span style="font-family:Wingdings;"><span>à</span></span> Create and brand new e-mail account <span style="font-family:Wingdings;"><span>à</span></span> Next <span style="font-family:Wingdings;"><span>à</span></span></p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>You’re Name<strong>:</strong> Mahmud &amp; Next</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span><span> </span>Return address or e-mail address<strong>:</strong> <a href="mailto:sum@smile.com.bd">sum@smile.com.bd</a> <span> </span>&amp; Next</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>Login Name<strong>:</strong> sum or <a href="mailto:sum@smile.com.bd">sum@smile.com.bd</a><span> </span>&amp; Next</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>Incoming Server (POP)<strong>:</strong><span> </span><a href="mailto:sum@smile.com.bd">mail.smile.com.bd</a><span> </span>&amp; select POP (radio) &amp; Next</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>Outgoing Server (SMTP)<strong>: </strong><span> </span><a href="mailto:sum@smile.com.bd">mail.smile.com.bd</a><span> </span>&amp; allow authentication (default check) <span> </span></p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>&amp; Next</p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>Next <span style="font-family:Wingdings;"><span>à</span></span> Finish <span style="font-family:Wingdings;"><span>à</span></span> OK.</p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in;line-height:150%;"><!--[if !supportLists]--><strong><span>2.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></strong><!--[endif]-->See the configuration and edit configuration <span style="font-family:Wingdings;"><span>è</span></span> Tools <span style="font-family:Wingdings;"><span>à</span></span> Option <span style="font-family:Wingdings;"><span>à</span></span> Getting started.</p>
<p class="MsoNormal" style="line-height:150%;"><strong><span style="text-decoration:underline;">General Information </span></strong></p>
<p class="MsoNormal" style="margin-left:.5in;"><!--[if !supportLists]--><strong><span>1.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></strong><!--[endif]-->If someone use smile mail server (Incomming) and use Agni internet connection and mail server (Outgoing) then -<strong></strong></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:150%;">Incoming server (POP) <span style="font-family:Wingdings;"><span>à</span></span>mail.smile.com.bd</p>
<p class="MsoNormal" style="margin-left:.5in;line-height:150%;">Outgoing server (SMTP) <span style="font-family:Wingdings;"><span>à</span></span>smpt.ogni.com</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mahmudbd.wordpress.com/52/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mahmudbd.wordpress.com/52/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahmudbd.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahmudbd.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mahmudbd.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mahmudbd.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mahmudbd.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mahmudbd.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mahmudbd.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mahmudbd.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mahmudbd.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mahmudbd.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mahmudbd.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mahmudbd.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mahmudbd.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mahmudbd.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=52&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahmudbd.wordpress.com/2008/09/12/eudora-outlook-configuaration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b06da01ad937f0379dabaca17629666?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahmud</media:title>
		</media:content>
	</item>
		<item>
		<title>Create Dialer</title>
		<link>http://mahmudbd.wordpress.com/2008/09/12/create-dialer/</link>
		<comments>http://mahmudbd.wordpress.com/2008/09/12/create-dialer/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 12:45:24 +0000</pubDate>
		<dc:creator>Mohammad Mahmudul Hasan</dc:creator>
				<category><![CDATA[Create Dialer]]></category>

		<guid isPermaLink="false">http://mahmudbd.wordpress.com/?p=50</guid>
		<description><![CDATA[Vista Operating system The Connect to the Internet wizard will guide you through the steps of setting up a Point-to-Point Protocol over Ethernet (PPPoE) Internet connection. 1. Open the Connect to the Internet wizard by clicking the Start button, clicking Control Panel, clicking Network and Internet, clicking Network and Sharing Center, clicking Set up a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=50&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><strong><span style="text-decoration:underline;">Vista</span></strong><strong><span style="text-decoration:underline;"> Operating system</span></strong></p>
<p class="MsoNormal">The Connect to the Internet wizard will guide you through the steps of setting up a Point-to-Point Protocol over Ethernet (PPPoE) Internet connection.</p>
<p class="MsoNormal" style="margin-left:42pt;text-indent:-.25in;"><!--[if !supportLists]--><span>1.<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:&quot;"> </span></span><!--[endif]-->Open the Connect to the Internet wizard by clicking the Start button, clicking Control Panel, clicking Network and Internet, clicking Network and Sharing  Center, clicking Set up a connection or network, and then clicking Connect to the Internet.</p>
<p class="MsoNormal"><!--[if !supportLists]--><span> 2.<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:&quot;"> </span></span><!--[endif]-->On the How do you want to connect? Page, select Broadband (PPPoE).<span> </span></p>
<p class="MsoNormal" style="margin-left:42pt;text-indent:-.25in;"><!--[if !supportLists]--><span>3.<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:&quot;"> </span></span><!--[endif]-->Continue to follow the steps in the wizard.</p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">Windows XP</span></strong></p>
<p class="MsoNormal" style="text-align:justify;"><span> </span>My Network Places &#8211;&gt; <span style="font-family:Wingdings;"></span> Create a new connection <span style="font-family:Wingdings;"></span>&#8211;&gt;  Next <span style="font-family:Wingdings;"><span></span></span>&#8211;&gt; Connect to the internet (default) &amp; Next <span style="font-family:Wingdings;"></span> &#8211;&gt; Setup my connection manually &amp; Next<span style="font-family:Wingdings;"> </span><span style="font-family:Wingdings;"></span> Create using a broadband connection that requires user name and password &amp; Next <span style="font-family:Wingdings;"><span>&#8211;&gt;</span></span> Give the dialer name &amp; Next <span style="font-family:Wingdings;"><span>&#8211;&gt;</span></span> Give username and password for the dialer to connect to the DHCP server &amp; Next <span style="font-family:Wingdings;"><span>&#8211;&gt;</span></span> Check Add shortcut of dialer to desktop &amp; Finish.</p>
<p class="MsoNormal"><span> </span><strong><span style="text-decoration:underline;">Windows 98/2000</span></strong></p>
<p class="MsoNormal"><strong><span style="text-decoration:underline;"></span></strong>In XP Operating System PPPoE package is automatically installed during XP installation but in Win 98/2000 we have to install it manually.</p>
<ol style="margin-top:0;" type="1">
<li class="MsoNormal">Local      Area Connection<span> </span>(R.C) <span style="font-family:Wingdings;"></span>&#8211;&gt; Properties <span style="font-family:Wingdings;"><span>&#8211;&gt;</span></span> Select nothing (default selection) <span style="font-family:Wingdings;"><span>&#8211;&gt;</span></span> Install (button) <span style="font-family:Wingdings;"><span>&#8211;&gt;</span></span> Protocol <span style="font-family:Wingdings;"><span>&#8211;&gt;</span></span> Add  <span style="font-family:Wingdings;"></span>&#8211;&gt; Have Disk <span style="font-family:Wingdings;"><span>&#8211;&gt;</span></span> Browse <span style="font-family:Wingdings;"></span>&#8211;&gt; Give the path of *.inf file of RasPPPoE<span> </span>folder <span style="font-family:Wingdings;"><span>&#8211;&gt;</span></span> Select winpppoe.ing <span style="font-family:Wingdings;"><span>&#8211;&gt;</span></span> OK <span style="font-family:Wingdings;"></span>&#8211;&gt; Give windows drive location where it installed (C Drive)<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></li>
<li class="MsoNormal">Start <span style="font-family:Wingdings;"><span>&#8211;&gt;</span></span> Run <span style="font-family:Wingdings;"><span>à</span></span> raspppoe <span style="font-family:Wingdings;"><span>à</span></span> Create dialer within username and password by press a button.</li>
</ol>
<p class="MsoNormal">
<div style="border-color:windowtext 0;border-style:solid none;border-width:1pt medium;padding:1pt 0;">
<p class="MsoNormal" style="border:medium none;padding:0;"><strong><span> </span><span> </span>PPPD Dialer (for VPN)</strong></p>
</div>
<p class="MsoNormal"><strong><span style="text-decoration:underline;">Windows XP</span></strong></p>
<p class="MsoNormal" style="text-align:justify;">My Network Places <span style="font-family:Wingdings;"><span>à</span></span> Create a new connection <span style="font-family:Wingdings;"><span>à</span></span> Next <span style="font-family:Wingdings;"><span>à</span></span> Connect to the network at my workplace &amp; Next <span style="font-family:Wingdings;"><span>à</span></span> Virtual Private Network Connection (VPN) <span style="font-family:Wingdings;"><span>à</span></span> Give the name of dialer &amp; Next <span style="font-family:Wingdings;"><span>à</span></span> Give the IP address of PPPD (VPN) server <span style="font-family:Wingdings;"><span>à</span></span> Check Add Shortcut to Desktop <span style="font-family:Wingdings;"><span>à</span></span> Finish</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mahmudbd.wordpress.com/50/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mahmudbd.wordpress.com/50/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahmudbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahmudbd.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mahmudbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mahmudbd.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mahmudbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mahmudbd.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mahmudbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mahmudbd.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mahmudbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mahmudbd.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mahmudbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mahmudbd.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mahmudbd.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mahmudbd.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=50&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahmudbd.wordpress.com/2008/09/12/create-dialer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b06da01ad937f0379dabaca17629666?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahmud</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuration</title>
		<link>http://mahmudbd.wordpress.com/2008/09/12/configuration/</link>
		<comments>http://mahmudbd.wordpress.com/2008/09/12/configuration/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 11:55:15 +0000</pubDate>
		<dc:creator>Mohammad Mahmudul Hasan</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://mahmudbd.wordpress.com/?p=47</guid>
		<description><![CDATA[In this link you will find all configuration manual<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=47&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this link you will find all configuration manual</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mahmudbd.wordpress.com/47/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mahmudbd.wordpress.com/47/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahmudbd.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahmudbd.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mahmudbd.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mahmudbd.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mahmudbd.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mahmudbd.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mahmudbd.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mahmudbd.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mahmudbd.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mahmudbd.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mahmudbd.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mahmudbd.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mahmudbd.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mahmudbd.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=47&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahmudbd.wordpress.com/2008/09/12/configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b06da01ad937f0379dabaca17629666?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahmud</media:title>
		</media:content>
	</item>
		<item>
		<title>Hard Drive</title>
		<link>http://mahmudbd.wordpress.com/2008/09/11/hard-drive/</link>
		<comments>http://mahmudbd.wordpress.com/2008/09/11/hard-drive/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 05:34:00 +0000</pubDate>
		<dc:creator>Mohammad Mahmudul Hasan</dc:creator>
				<category><![CDATA[Hard Drive]]></category>

		<guid isPermaLink="false">http://mahmudbd.wordpress.com/?p=42</guid>
		<description><![CDATA[Type of Hard drive IDE – Integrated Device Electronics. SATA – Serial Advance Technology Attachment. SCSI – Small computer system interface. Cable Selection IDE device SATA / SCSI Primary Master [P.M] hda sda Primary Slave [P.S] hdb sdb Secondary Master [S.M] hdc sdc Secondary Slave hdd sdd 3. Parts of Hard drive Zero Sector àIt [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=42&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ol style="margin-top:0;" type="1">
<li class="MsoNormal"><span style="text-decoration:underline;">Type      of Hard drive<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></span></p>
<ol style="margin-top:0;" type="a">
<li class="MsoNormal">IDE       – Integrated Device Electronics.</li>
<li class="MsoNormal">SATA       – Serial Advance Technology Attachment.</li>
<li class="MsoNormal">SCSI       – Small computer system interface.</li>
</ol>
</li>
<li class="MsoNormal"></li>
<li class="MsoNormal">
<table class="MsoTableGrid" style="border:medium none;margin-left:57.7pt;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="height:15.25pt;">
<td style="border:1pt solid windowtext;width:136.7pt;height:15.25pt;padding:0 5.4pt;" width="182" valign="top">
<p class="MsoNormal"><strong>Cable Selection</strong></p>
</td>
<td style="width:81pt;height:15.25pt;border:1pt 1pt 1pt medium solid solid solid none windowtext windowtext windowtext 0;padding:0 5.4pt;" width="108" valign="top">
<p class="MsoNormal"><strong><span> </span>IDE device</strong></p>
</td>
<td style="width:1.5in;height:15.25pt;border:1pt 1pt 1pt medium solid solid solid none windowtext windowtext windowtext 0;padding:0 5.4pt;" width="144" valign="top">
<p class="MsoNormal"><strong><span> </span>SATA / SCSI</strong></p>
</td>
</tr>
<tr style="height:16.1pt;">
<td style="width:136.7pt;height:16.1pt;border:medium 1pt 1pt none solid solid 0 windowtext windowtext;padding:0 5.4pt;" width="182" valign="top">
<p class="MsoNormal">Primary Master [P.M]</p>
</td>
<td style="width:81pt;height:16.1pt;border:medium 1pt 1pt medium none solid solid none 0 windowtext windowtext 0;padding:0 5.4pt;" width="108" valign="top">
<p class="MsoNormal">hda</p>
</td>
<td style="width:1.5in;height:16.1pt;border:medium 1pt 1pt medium none solid solid none 0 windowtext windowtext 0;padding:0 5.4pt;" width="144" valign="top">
<p class="MsoNormal">sda</p>
</td>
</tr>
<tr style="height:16.1pt;">
<td style="width:136.7pt;height:16.1pt;border:medium 1pt 1pt none solid solid 0 windowtext windowtext;padding:0 5.4pt;" width="182" valign="top">
<p class="MsoNormal">Primary Slave [P.S]</p>
</td>
<td style="width:81pt;height:16.1pt;border:medium 1pt 1pt medium none solid solid none 0 windowtext windowtext 0;padding:0 5.4pt;" width="108" valign="top">
<p class="MsoNormal">hdb</p>
</td>
<td style="width:1.5in;height:16.1pt;border:medium 1pt 1pt medium none solid solid none 0 windowtext windowtext 0;padding:0 5.4pt;" width="144" valign="top">
<p class="MsoNormal">sdb</p>
</td>
</tr>
<tr style="height:16.1pt;">
<td style="width:136.7pt;height:16.1pt;border:medium 1pt 1pt none solid solid 0 windowtext windowtext;padding:0 5.4pt;" width="182" valign="top">
<p class="MsoNormal">Secondary Master [S.M]</p>
</td>
<td style="width:81pt;height:16.1pt;border:medium 1pt 1pt medium none solid solid none 0 windowtext windowtext 0;padding:0 5.4pt;" width="108" valign="top">
<p class="MsoNormal">hdc</p>
</td>
<td style="width:1.5in;height:16.1pt;border:medium 1pt 1pt medium none solid solid none 0 windowtext windowtext 0;padding:0 5.4pt;" width="144" valign="top">
<p class="MsoNormal">sdc</p>
</td>
</tr>
<tr style="height:16.1pt;">
<td style="width:136.7pt;height:16.1pt;border:medium 1pt 1pt none solid solid 0 windowtext windowtext;padding:0 5.4pt;" width="182" valign="top">
<p class="MsoNormal">Secondary Slave</p>
</td>
<td style="width:81pt;height:16.1pt;border:medium 1pt 1pt medium none solid solid none 0 windowtext windowtext 0;padding:0 5.4pt;" width="108" valign="top">
<p class="MsoNormal">hdd</p>
</td>
<td style="width:1.5in;height:16.1pt;border:medium 1pt 1pt medium none solid solid none 0 windowtext windowtext 0;padding:0 5.4pt;" width="144" valign="top">
<p class="MsoNormal">sdd</p>
</td>
</tr>
</tbody>
</table>
</li>
</ol>
<p>3. <span style="text-decoration:underline;">Parts      of Hard drive</span></p>
<ol style="margin-top:0;" type="1">
<li>
<ol style="margin-top:0;" type="a">
<li class="MsoNormal">Zero       Sector<span> </span><span style="font-family:Wingdings;"><span>à</span></span>It       has two part<br />
<!--[endif]--></li>
</ol>
</li>
</ol>
<p class="MsoNormal" style="margin-left:0.75in;"><span> </span>(a)<span> </span>MBR (Master Boot Recorder) – Have boot information of OS.<br />
<span> </span>(b) Partition information – Have information of different partitions<br />
<!--[if !supportLineBreakNewLine]--><!--[endif]--></p>
<ol style="margin-top:0;" type="1">
<li>
<ol style="margin-top:0;" type="1">
<li class="MsoNormal">Other       space of a Hard Dri<span style="text-decoration:underline;">
<p>Partitions      of Hard Drive<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></span></li>
</ol>
</li>
</ol>
<p class="MsoNormal" style="margin-left:1in;text-indent:-0.25in;"><!--[if !supportLists]--><strong><span>a.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></strong><!--[endif]--><strong>Primary  <span>&#8211;</span></strong><span style="font-family:Wingdings;"></span> windows have 1 primary &amp; Linux<span> </span>have4 primary partition<span> </span><strong></strong></p>
<p class="MsoNormal" style="margin-left:1in;">Primary partition<span> </span>1<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> hda 1</p>
<p class="MsoNormal" style="margin-left:0.5in;text-indent:0.5in;">Primary partition<span> </span>2<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> hda 2</p>
<p class="MsoNormal" style="margin-left:1in;">Primary partition<span> </span>3<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> hda 3<br />
Primary partition<span> </span>4<span> </span><span style="font-family:Wingdings;"><span>&#8211;</span></span> hda 4<br />
<!--[if !supportLineBreakNewLine]--><!--[endif]--></p>
<p><!--[if gte vml 1]&gt;                    &lt;![endif]--><!--[if !vml]--><span style="position:absolute;z-index:5;margin-left:251px;margin-top:157px;width:18px;height:110px;"><img src="%5CDOCUME~1%5Ctse%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image001.gif" alt="" width="18" height="110" /></span></p>
<p><!--[endif]--><span style="font-size:12pt;font-family:&quot;"><!--[if gte vml 1]&gt;&lt;![endif]--><!--[if !vml]--><span style="position:absolute;z-index:2;margin-left:347px;margin-top:121px;width:50px;height:146px;"><img style="left:370px;width:35px;top:732px;height:39px;" src="%5CDOCUME~1%5Ctse%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image002.gif" alt="" /></span><!--[endif]--><strong><!--[if gte vml 1]&gt;&lt;![endif]--><!--[if !vml]--><span style="position:absolute;z-index:4;margin-left:251px;margin-top:121px;width:14px;height:38px;"><img src="%5CDOCUME~1%5Ctse%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image003.gif" alt="" width="14" height="38" /></span><!--[endif]--><!--[if gte vml 1]&gt;&lt;![endif]--><!--[if !vml]--><span style="position:absolute;z-index:3;margin-left:155px;margin-top:157px;width:86px;height:2px;"><img src="%5CDOCUME~1%5Ctse%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image004.gif" alt="" width="86" height="2" /></span><!--[endif]--><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><span style="position:absolute;z-index:1;margin-left:155px;margin-top:121px;width:90px;height:150px;"></span><!--[endif]--></strong></span><strong><span style="font-size:12pt;font-family:&quot;">Extended </span></strong><span style="font-size:12pt;font-family:Wingdings;"><span>&#8211; </span></span><span style="font-size:12pt;font-family:&quot;">we can create logical partition in extended partition.</p>
<p>Logical partition<span> </span>5<span> </span></span><span style="font-size:12pt;font-family:Wingdings;"><span>&#8211;</span></span><span style="font-size:12pt;font-family:&quot;"> hda 5 (drive D)<br />
Logical partition<span> </span>6<span> </span></span><span style="font-size:12pt;font-family:Wingdings;"><span>&#8211;</span></span><span style="font-size:12pt;font-family:&quot;"> hda 6 (drive E)<br />
Logical partition<span> </span>7<span> </span></span><span style="font-size:12pt;font-family:Wingdings;"><span>&#8211;</span></span><span style="font-size:12pt;font-family:&quot;"> hda 7 (drive F)<br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mahmudbd.wordpress.com/42/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mahmudbd.wordpress.com/42/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mahmudbd.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mahmudbd.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mahmudbd.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mahmudbd.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mahmudbd.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mahmudbd.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mahmudbd.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mahmudbd.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mahmudbd.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mahmudbd.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mahmudbd.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mahmudbd.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mahmudbd.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mahmudbd.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mahmudbd.wordpress.com&amp;blog=4179843&amp;post=42&amp;subd=mahmudbd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mahmudbd.wordpress.com/2008/09/11/hard-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b06da01ad937f0379dabaca17629666?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mahmud</media:title>
		</media:content>

		<media:content url="%5CDOCUME~1%5Ctse%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image001.gif" medium="image" />

		<media:content url="%5CDOCUME~1%5Ctse%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image002.gif" medium="image" />

		<media:content url="%5CDOCUME~1%5Ctse%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image003.gif" medium="image" />

		<media:content url="%5CDOCUME~1%5Ctse%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image004.gif" medium="image" />
	</item>
	</channel>
</rss>
