<?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>#tech notez#</title>
	<atom:link href="http://arunjohn.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://arunjohn.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 01 Aug 2010 06:47:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='arunjohn.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>#tech notez#</title>
		<link>http://arunjohn.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://arunjohn.wordpress.com/osd.xml" title="#tech notez#" />
	<atom:link rel='hub' href='http://arunjohn.wordpress.com/?pushpress=hub'/>
		<item>
		<title>site moved and updated : tech-notez.com</title>
		<link>http://arunjohn.wordpress.com/2010/08/01/site-moved-and-updated-tech-notez-com/</link>
		<comments>http://arunjohn.wordpress.com/2010/08/01/site-moved-and-updated-tech-notez-com/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 06:38:54 +0000</pubDate>
		<dc:creator>arunvarughese</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tech-notez.com]]></category>

		<guid isPermaLink="false">http://arunjohn.wordpress.com/?p=104</guid>
		<description><![CDATA[Please go to my self hosted site to get more updated info: tech-notez.com<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=104&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Please go to my self hosted site to get more updated info:</p>
<p><a class="aligncenter" href="http://tech-notez.com" target="_self">tech-notez.com</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunjohn.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunjohn.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunjohn.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunjohn.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunjohn.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunjohn.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunjohn.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunjohn.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunjohn.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunjohn.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunjohn.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunjohn.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunjohn.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunjohn.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=104&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunjohn.wordpress.com/2010/08/01/site-moved-and-updated-tech-notez-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07b472b18798cfccd74498e74614196d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arunvarughese</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows Shortcut Keys</title>
		<link>http://arunjohn.wordpress.com/2009/11/29/windows-shortcut-keys/</link>
		<comments>http://arunjohn.wordpress.com/2009/11/29/windows-shortcut-keys/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 02:31:53 +0000</pubDate>
		<dc:creator>arunvarughese</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[keys]]></category>
		<category><![CDATA[shortcut]]></category>

		<guid isPermaLink="false">http://arunjohn.wordpress.com/2009/11/29/windows-shortcut-keys/</guid>
		<description><![CDATA[General keyboard shortcuts * CTRL+C (Copy) * CTRL+X (Cut) * CTRL+V (Paste) * CTRL+Z (Undo) * DELETE (Delete) * SHIFT+DELETE (Delete the selected item permanently without placing the item in the Recycle Bin) * CTRL while dragging an item (Copy the selected item) * CTRL+SHIFT while dragging an item (Create a shortcut to the selected [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=99&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>General keyboard shortcuts</strong><br />
<span style="font-size:x-small;"> </span></p>
<p>* CTRL+C (Copy)<br />
* CTRL+X (Cut)<br />
* CTRL+V (Paste)<br />
* CTRL+Z (Undo)</p>
<p><span id="more-99"></span><br />
* DELETE (Delete)<br />
* SHIFT+DELETE (Delete the selected item permanently without placing the item in the Recycle Bin)<br />
* CTRL while dragging an item (Copy the selected item)<br />
* CTRL+SHIFT while dragging an item (Create a shortcut to the selected item)<br />
* F2 key (Rename the selected item)<br />
* CTRL+RIGHT ARROW (Move the insertion point to the beginning of the next word)<br />
* CTRL+LEFT ARROW (Move the insertion point to the beginning of the previous word)<br />
* CTRL+DOWN ARROW (Move the insertion point to the beginning of the next paragraph)<br />
* CTRL+UP ARROW (Move the insertion point to the beginning of the previous paragraph)<br />
* CTRL+SHIFT with any of the arrow keys (Highlight a block of text)<br />
* SHIFT with any of the arrow keys (Select more than one item in a window or on the desktop, or select text in a document)<br />
* CTRL+A (Select all)<br />
* F3 key (Search for a file or a folder)<br />
* ALT+ENTER (View the properties for the selected item)<br />
* ALT+F4 (Close the active item, or quit the active program)<br />
* ALT+ENTER (Display the properties of the selected object)<br />
* ALT+SPACEBAR (Open the shortcut menu for the active window)<br />
* CTRL+F4 (Close the active document in programs that enable you to have multiple documents open simultaneously)<br />
* ALT+TAB (Switch between the open items)<br />
* ALT+ESC (Cycle through items in the order that they had been opened)<br />
* F6 key (Cycle through the screen elements in a window or on the desktop)<br />
* F4 key (Display the Address bar list in My Computer or Windows Explorer)<br />
* SHIFT+F10 (Display the shortcut menu for the selected item)<br />
* ALT+SPACEBAR (Display the System menu for the active window)<br />
* CTRL+ESC (Display the Start menu)<br />
* ALT+Underlined letter in a menu name (Display the corresponding menu)<br />
* Underlined letter in a command name on an open menu (Perform the corresponding command)<br />
* F10 key (Activate the menu bar in the active program)<br />
* RIGHT ARROW (Open the next menu to the right, or open a submenu)<br />
* LEFT ARROW (Open the next menu to the left, or close a submenu)<br />
* F5 key (Update the active window)<br />
* BACKSPACE (View the folder one level up in My Computer or Windows Explorer)<br />
* ESC (Cancel the current task)<br />
* SHIFT when you insert a CD-ROM into the CD-ROM drive (Prevent the CD-ROM from automatically playing)<br />
* CTRL+SHIFT+ESC (Open Task Manager)</p>
<p><strong>Dialog box keyboard shortcuts</strong></p>
<p><span style="color:#000000;"> </span>If you press SHIFT+F8 in extended selection list boxes, you enable extended selection mode. In this mode, you can use an arrow key to move a cursor without changing the selection. You can press CTRL+SPACEBAR or SHIFT+SPACEBAR to adjust the selection. To cancel extended selection mode, press SHIFT+F8 again. Extended selection mode cancels itself when you move the focus to another control.</p>
<p>* CTRL+TAB (Move forward through the tabs)<br />
* CTRL+SHIFT+TAB (Move backward through the tabs)<br />
* TAB (Move forward through the options)<br />
* SHIFT+TAB (Move backward through the options)<br />
* ALT+Underlined letter (Perform the corresponding command or select the corresponding option)<br />
* ENTER (Perform the command for the active option or button)<br />
* SPACEBAR (Select or clear the check box if the active option is a check box)<br />
* Arrow keys (Select a button if the active option is a group of option buttons)<br />
* F1 key (Display Help)<br />
* F4 key (Display the items in the active list)<br />
* BACKSPACE (Open a folder one level up if a folder is selected in the Save As or Open dialog box)</p>
<p><strong>Microsoft natural keyboard shortcuts</strong></p>
<p>* Windows Logo (Display or hide the Start menu)<br />
* Windows Logo+BREAK (Display the System Properties dialog box)<br />
* Windows Logo+D (Display the desktop)<br />
* Windows Logo+M (Minimize all of the windows)<br />
* Windows Logo+SHIFT+M (Restore the minimized windows)<br />
* Windows Logo+E (Open My Computer)<br />
* Windows Logo+F (Search for a file or a folder)<br />
* CTRL+Windows Logo+F (Search for computers)<br />
* Windows Logo+F1 (Display Windows Help)<br />
* Windows Logo+ L (Lock the keyboard)<br />
* Windows Logo+R (Open the Run dialog box)<br />
* Windows Logo+U (Open Utility Manager)</p>
<p><strong>Accessibility keyboard shortcuts</strong></p>
<p>* Right SHIFT for eight seconds (Switch FilterKeys either on or off)<br />
* Left ALT+left SHIFT+PRINT SCREEN (Switch High Contrast either on or off)<br />
* Left ALT+left SHIFT+NUM LOCK (Switch the MouseKeys either on or off)<br />
* SHIFT five times (Switch the StickyKeys either on or off)<br />
* NUM LOCK for five seconds (Switch the ToggleKeys either on or off)<br />
* Windows Logo +U (Open Utility Manager)</p>
<p><strong>Windows Explorer keyboard shortcuts</strong></p>
<p>* END (Display the bottom of the active window)<br />
* HOME (Display the top of the active window)<br />
* NUM LOCK+Asterisk sign (*) (Display all of the subfolders that are under the selected folder)<br />
* NUM LOCK+Plus sign (+) (Display the contents of the selected folder)<br />
* NUM LOCK+Minus sign (-) (Collapse the selected folder)<br />
* LEFT ARROW (Collapse the current selection if it is expanded, or select the parent folder)<br />
* RIGHT ARROW (Display the current selection if it is collapsed, or select the first subfolder)</p>
<p><strong>Shortcut keys for Character Map</strong></p>
<p>After you double-click a character on the grid of characters, you can move through the grid by using the keyboard shortcuts:</p>
<p>* RIGHT ARROW (Move to the right or to the beginning of the next line)<br />
* LEFT ARROW (Move to the left or to the end of the previous line)<br />
* UP ARROW (Move up one row)<br />
* DOWN ARROW (Move down one row)<br />
* PAGE UP (Move up one screen at a time)<br />
* PAGE DOWN (Move down one screen at a time)<br />
* HOME (Move to the beginning of the line)<br />
* END (Move to the end of the line)<br />
* CTRL+HOME (Move to the first character)<br />
* CTRL+END (Move to the last character)<br />
* SPACEBAR (Switch between Enlarged and Normal mode when a character is selected)</p>
<p><strong>Microsoft Management Console (MMC) main window keyboard shortcuts</strong></p>
<p>* CTRL+O (Open a saved console)<br />
* CTRL+N (Open a new console)<br />
* CTRL+S (Save the open console)<br />
* CTRL+M (Add or remove a console item)<br />
* CTRL+W (Open a new window)<br />
* F5 key (Update the content of all console windows)<br />
* ALT+SPACEBAR (Display the MMC window menu)<br />
* ALT+F4 (Close the console)<br />
* ALT+A (Display the Action menu)<br />
* ALT+V (Display the View menu)<br />
* ALT+F (Display the File menu)<br />
* ALT+O (Display the Favorites menu)<br />
<strong>MMC console window keyboard shortcuts</strong></p>
<p>* CTRL+P (Print the current page or active pane)<br />
* ALT+Minus sign (-) (Display the window menu for the active console window)<br />
* SHIFT+F10 (Display the Action shortcut menu for the selected item)<br />
* F1 key (Open the Help topic, if any, for the selected item)<br />
* F5 key (Update the content of all console windows)<br />
* CTRL+F10 (Maximize the active console window)<br />
* CTRL+F5 (Restore the active console window)<br />
* ALT+ENTER (Display the Properties dialog box, if any, for the selected item)<br />
* F2 key (Rename the selected item)<br />
* CTRL+F4 (Close the active console window. When a console has only one console window, this shortcut closes the console)</p>
<p><strong>Remote desktop connection navigation</strong></p>
<p>* CTRL+ALT+END (Open the Microsoft Windows NT Security dialog box)<br />
* ALT+PAGE UP (Switch between programs from left to right)<br />
* ALT+PAGE DOWN (Switch between programs from right to left)<br />
* ALT+INSERT (Cycle through the programs in most recently used order)<br />
* ALT+HOME (Display the Start menu)<br />
* CTRL+ALT+BREAK (Switch the client computer between a window and a full screen)<br />
* ALT+DELETE (Display the Windows menu)<br />
* CTRL+ALT+Minus sign (-) (Place a snapshot of the entire client window area on the Terminal server clipboard and provide the same functionality as pressing ALT+PRINT SCREEN on a local computer.)<br />
* CTRL+ALT+Plus sign (+) (Place a snapshot of the active window in the client on the Terminal server clipboard and provide the same functionality as pressing PRINT SCREEN on a local computer.)</p>
<p><strong>Microsoft Internet Explorer navigation</strong></p>
<p>* CTRL+B (Open the Organize Favorites dialog box)<br />
* CTRL+E (Open the Search bar)<br />
* CTRL+F (Start the Find utility)<br />
* CTRL+H (Open the History bar)<br />
* CTRL+I (Open the Favorites bar)<br />
* CTRL+L (Open the Open dialog box)<br />
* CTRL+N (Start another instance of the browser with the same Web address)<br />
* CTRL+O (Open the Open dialog box, the same as CTRL+L)<br />
* CTRL+P (Open the Print dialog box)<br />
* CTRL+R (Update the current Web page)<br />
* CTRL+W (Close the current <span style="color:#000000;">window)</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunjohn.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunjohn.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunjohn.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunjohn.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunjohn.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunjohn.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunjohn.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunjohn.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunjohn.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunjohn.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunjohn.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunjohn.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunjohn.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunjohn.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=99&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunjohn.wordpress.com/2009/11/29/windows-shortcut-keys/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07b472b18798cfccd74498e74614196d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arunvarughese</media:title>
		</media:content>
	</item>
		<item>
		<title>Wiring Ethernet Cables</title>
		<link>http://arunjohn.wordpress.com/2009/11/02/wiring-ethernet-cables/</link>
		<comments>http://arunjohn.wordpress.com/2009/11/02/wiring-ethernet-cables/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 04:45:02 +0000</pubDate>
		<dc:creator>arunvarughese</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[crossover]]></category>
		<category><![CDATA[lan wiring]]></category>
		<category><![CDATA[rollover]]></category>
		<category><![CDATA[straight-through]]></category>

		<guid isPermaLink="false">http://arunjohn.wordpress.com/?p=81</guid>
		<description><![CDATA[How to wire your own ethernet cables and connectors. What You Need: Required: * Cable &#8211; bulk Category (Cat) 5, 5e, 6 or higher cable * Wire Cutters &#8211; to cut and strip the cable if necessary * For Patch Cables: RJ45 Plugs * RJ45 Crimper * For Fixed Wiring: RJ45 Jacks * 110 Punch [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=81&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>How to wire your own ethernet cables and connectors.</strong><br />
What You Need:<br />
Required:</p>
<p>* Cable &#8211; bulk Category (Cat) 5, 5e, 6 or higher cable<br />
* Wire Cutters &#8211; to cut and strip the cable if necessary<br />
* For Patch Cables: RJ45 Plugs<br />
* RJ45 Crimper</p>
<p><span id="more-81"></span><br />
* For Fixed Wiring: RJ45 Jacks<br />
* 110 Punch Down Tool</p>
<p>Recommended:</p>
<p>* Wire Stripper<br />
* Cable Tester</p>
<p><strong>About the Cable:</strong><br />
You can find bulk supplies of the cable at many computer stores or most electrical or home centers. You want UTP (Unshielded Twisted Pair) cable of at least Category 5. Cat 5 is required for basic 10/100 functionality, you will want Cat 5e for gigabit (1000BaseT) operation and Cat 6 or higher gives you a measure of future proofing. Bulk cable comes in many types, there are 2 basic categories, solid and braided cable. Braided cable tends to work better in patch applications for desktop use. It is more flexible and resilient than solid cable and easier to work with, but really meant for shorter lengths. Solid cable is meant for longer runs in a fixed position. Plenum rated cable must be used whenever the cable travels through an air circulation space. For example, above a false ceiling or below a raised floor. It may be difficult or impossible to tell from the package what type of cable it is, so peal out an end and investigate.</p>
<p>Here is what the internals of the cable look like:</p>
<p><img class="alignleft size-full wp-image-83" title="tpcable" src="http://arunjohn.files.wordpress.com/2009/11/tpcable1.jpg?w=254&#038;h=149" alt="tpcable" width="254" height="149" /></p>
<p><strong>Internal Cable Structure and Color Coding</strong></p>
<p>Inside the cable, there are 8 color coded wires. These wires are twisted into 4 pairs of wires, each pair has a common color theme. One wire in the pair being a solid or primarily solid colored wire and the other being a primarily white wire with a colored stripe (Sometimes cables won&#8217;t have any color on the striped wire, the only way to tell which is which is to check which wire it is twisted around). Examples of the naming schemes used are: Orange (alternatively Orange/White) for the solid colored wire and White/Orange for the striped cable. The twists are extremely important. They are there to counteract noise and interference. It is important to wire according to a standard to get proper performance from the cable.</p>
<p><strong>About RJ45 Plugs and Jacks:</strong><br />
The RJ45 plug is an 8-position modular connector that looks like a large phone plug. There are a couple variations available. The primary variation you need to pay attention to is whether the connector is intended for braided or solid wire. For braided/stranded wires, the connector has sharp pointed contacts that actually pierce the wire. For solid wires, the connector has fingers which cut through the insulation and make contact with the wire by grasping it from both sides. The connector is the weak point in an ethernet cable, choosing the wrong one will often cause grief later. If you just walk into a computer store, it&#8217;s nearly impossible to tell what type of plug it is. You may be able to determine what type it is by crimping one without a cable.</p>
<p>RJ45 jacks come in a variety styles intended for several different mounting options. The choice is one of requirements and preference. RJ45 jacks are designed to work only with solid cable. Most jacks come labeled with color codes for either T568A, T568B or both. Make sure you end up with the correct one.</p>
<p>Here is a diagram and pin out:</p>
<p><img class="alignleft size-full wp-image-84" title="rj45pinout" src="http://arunjohn.files.wordpress.com/2009/11/rj45pinout.gif?w=138&#038;h=103" alt="rj45pinout" width="138" height="103" /></p>
<p>RJ45 Plug and Jack Pin Out</p>
<p><strong>Ethernet Cable Pin Outs:</strong><br />
There are two basic cable pin outs. A straight through cable, which is used to connect to a hub or switch, and a cross over cable used to operate in a peer-to-peer fashion without a hub/switch. Generally all fixed wiring should be run as straight through. Some ethernet interfaces can cross and un-cross a cable automatically as needed, a handy feature.</p>
<p><strong>The Difference Between Straight Through, Crossover, And Rollover Cables</strong></p>
<p>There are generally three main types of networking cables: straight-through, crossover, and rollover cables. Each cable type has a distinct use, and should not be used in place of another.</p>
<p><strong>Straight-Through Cables</strong></p>
<p>Straight-through cables get their name from how they are made. Out of the 8 pins that exist on both ends of an Ethernet cable, each pin connects to the same pin on the opposite side. Review the diagram below for a visual example:</p>
<p><img class="alignleft size-full wp-image-89" title="straight-through-cable" src="http://arunjohn.files.wordpress.com/2009/11/straight-through-cable.jpg?w=240&#038;h=244" alt="straight-through-cable" width="240" height="244" /></p>
<p>Notice how each wire corresponds to the same pin. This kind of wiring diagram is part of the 568A standard. The 568B standard achieves the same thing, but through different wiring. It is generally accepted to use the 568A standard as pictured, since it allows compatibility with certain telephone hardware- while 568B doesn’t.</p>
<p>Straight-through cables are primarily used for connecting unlike devices. A straight-through cable is typically used in the following situations:</p>
<p>Use a straight-through cable when:</p>
<p>* 1. Connecting a router to a hub</p>
<p>* 2. Connecting a computer to a swtich</p>
<p>* 3. Connecting a LAN port to a switch, hub, or computer</p>
<p>Note that some devices such as routers will have advanced circuitry, which enables them to use both crossover and straight-through cables. In general, however, straight-through cables will not connect a computer and router because they are not “unlike devices.”</p>
<p><strong>Crossover Cables</strong></p>
<p>Crossover cables are very similar to straight-through cables, except that they have pairs of wires that crisscross. This allows for two devices to communicate at the same time. Unlike straight-through cables, we use crossover cables to connect like devices. A visual example can be seen below:</p>
<p><img class="alignleft size-full wp-image-91" title="crossover-cable" src="http://arunjohn.files.wordpress.com/2009/11/crossover-cable1.jpg?w=240&#038;h=244" alt="crossover-cable" width="240" height="244" /></p>
<p>Notice how all we did was switch the orange-white and green-white wires, and then the orange and green wires. This will enable like devices to communicate. Crossover cables are typically used in the following situations:</p>
<p>Use a crossover cable when:</p>
<p>* 1. Connecting a computer to a router</p>
<p>* 2. Connecting a computer to a computer</p>
<p>* 3. Connecting a router to a router</p>
<p>* 4. Connecting a switch to a switch</p>
<p>* 5. Connecting a hub to a hub</p>
<p>While the rule of thumb is to use crossover cables with like devices, some devices do not follow standards. Others provide support for both types of cables. However, there is still something that both crossover and straight-through cables can’t do.</p>
<p><strong><br />
Rollover Cables</strong></p>
<p>Rollover cables, like other cabling types, got their name from how they are wired. Rollover cables essentially have one end of the cable wired exactly opposite from the other. This essentially “rolls over” the wires- but why would we need to do such a thing? Rollover cables, also called Yost cables, usually connect a device to a router or switch’s console port. This allows a programmer to make a connection to the router or switch, and program it as needed. A visual example can be seen below:</p>
<p><img class="alignleft size-full wp-image-92" title="rollover-cable" src="http://arunjohn.files.wordpress.com/2009/11/rollover-cable.jpg?w=240&#038;h=244" alt="rollover-cable" width="240" height="244" /></p>
<p>Notice that each wire is simply “rolled over.” These types of cables are generally not used very much, so are usually colored differently from other types of cables.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunjohn.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunjohn.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunjohn.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunjohn.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunjohn.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunjohn.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunjohn.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunjohn.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunjohn.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunjohn.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunjohn.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunjohn.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunjohn.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunjohn.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=81&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunjohn.wordpress.com/2009/11/02/wiring-ethernet-cables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07b472b18798cfccd74498e74614196d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arunvarughese</media:title>
		</media:content>

		<media:content url="http://arunjohn.files.wordpress.com/2009/11/tpcable1.jpg" medium="image">
			<media:title type="html">tpcable</media:title>
		</media:content>

		<media:content url="http://arunjohn.files.wordpress.com/2009/11/rj45pinout.gif" medium="image">
			<media:title type="html">rj45pinout</media:title>
		</media:content>

		<media:content url="http://arunjohn.files.wordpress.com/2009/11/straight-through-cable.jpg" medium="image">
			<media:title type="html">straight-through-cable</media:title>
		</media:content>

		<media:content url="http://arunjohn.files.wordpress.com/2009/11/crossover-cable1.jpg" medium="image">
			<media:title type="html">crossover-cable</media:title>
		</media:content>

		<media:content url="http://arunjohn.files.wordpress.com/2009/11/rollover-cable.jpg" medium="image">
			<media:title type="html">rollover-cable</media:title>
		</media:content>
	</item>
		<item>
		<title>Cisco Router and Switch Commands</title>
		<link>http://arunjohn.wordpress.com/2009/11/02/cisco-router-switch-commands/</link>
		<comments>http://arunjohn.wordpress.com/2009/11/02/cisco-router-switch-commands/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 03:55:11 +0000</pubDate>
		<dc:creator>arunvarughese</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[cisco commands]]></category>
		<category><![CDATA[router commands]]></category>
		<category><![CDATA[switch commands]]></category>

		<guid isPermaLink="false">http://arunjohn.wordpress.com/?p=76</guid>
		<description><![CDATA[Basic Cisco Router Commands Router Name&#62; User executable mode, view but can’t make changes Router Name&#62;  enable Gets you to Privilege mode allowing you to make changes to the router Router Name # Privilege mode, changes can now be made to router Router Name #  disable To get back to user mode Router Name #  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=76&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em><strong>Basic Cisco Router Commands</strong></em><br />
<strong>Router Name&gt; </strong> User executable mode, view but can’t make changes<br />
<strong>Router Name&gt;  enable </strong> Gets you to Privilege mode allowing you to make changes to the router<br />
<strong>Router Name #</strong> Privilege mode, changes can now be made to router<br />
<strong>Router Name #  disable</strong> To get back to user mode<br />
<strong>Router Name #  exit</strong> To exit router</p>
<p><span id="more-76"></span><br />
<strong>Router Name # shft+ctrl+6 </strong> Break Key<br />
<strong>Router Name # write erase</strong> To clear all previous configurations<br />
<strong>Router Name # reload </strong> Reboot the router<br />
<strong>Router Name # setup </strong> Setup command brings up the configuration dialog box.</p>
<p><em><strong>Router Show Commands</strong></em><br />
<strong>Router Name # sh ?</strong> shows parameters supported by the router<br />
<strong>Router Name # sh int </strong> shows status of all interfaces<br />
<strong>Router Name # sh int s0</strong> shows status of interface you selected, ie: s0, s1, e0, e1, &#8230;<br />
<strong>Router Name # sh ip int </strong> view ip parameters<br />
<strong>Router Name # sh ip int brief </strong> brief summary of all interfaces and status<br />
<strong>Router Name # sh ip route </strong> shows networks available to interface and routing table<br />
<strong>Router Name # sh proc cpu </strong> shows CPU utilization on router<br />
<strong>Router Name # sh mem</strong> shows memory utilization<br />
<strong>Router Name # sh mem big</strong> to see the largest blocks of memory<br />
<strong>Router Name # sh log </strong> to check recent history of router<br />
<strong>Router Name # sh version</strong> shows summary of hardware and reason for last reload<br />
<strong>Router Name # sh diag </strong> shows more detailed hardware information<br />
<strong>Router Name # sh flash</strong> shows IOS file<br />
<strong>Router Name # sh run</strong> shows running configurations on router ( version 10.3 and above )<br />
<strong>Router Name # wr t </strong> shows running configurations on router (version 10.3 below/above)<br />
<strong>Router Name # sh env all</strong> shows current router temps, power supply and general health of router<br />
<strong>Router Name # sh env table</strong> shows warning levels for shutdown to take place<br />
<strong>Router Name # sh startup-config </strong> shows saved config in NVRAM<br />
<strong>Router Name # sh controllers(int)</strong> shows serial line configurations. Make sure a space is used for int. ie: s 0<br />
<strong>Router Name # sh cdp neighbor</strong> shows directly connected neighbors<br />
<strong>Router Name # sh cdp neighbors detail</strong> shows detail of directly connected devices: (router, bridge, switch)<br />
<strong>Router Name # sh cdp int</strong> shows which interfaces are running CDP<br />
<strong>Router Name # sh arp</strong> shows lan devices and mac address&#8217; ( arp table )<br />
<strong>Router Name # sh ip arp</strong> shows the arp table in the router<br />
<strong>Router Name # sh protocol</strong> shows which protocols are configured<br />
<strong>Router Name # sh ip protocol </strong> shows routing protocol configured and parameters<br />
<strong>Router Name # sh ip route isis</strong> displays all routes in the route table that originated in ISIS<br />
<strong>Router Name # sh isis spf-log </strong> displays information on the duration/cause of recent SPF runs<br />
<strong>Router Name # sh isis database</strong> displays all information known by ISIS<br />
<strong>Router Name # sh isis database detail … </strong> displays contents of entire LSP (add router info, hr1.lga2.00-00)<br />
<strong>Router Name # sh isis topology</strong> summary of best path from router to every other router<br />
<strong>Router Name # sh ip bgp</strong> lists all routes learned from bgp<br />
<strong>Router Name # sh ip bgp &lt;route&gt;</strong> shows BGP information for that particular route, use w/ sh ip rou<br />
<strong>Router Name #sh ip bgp community-list</strong> add list # to end of string. Bgp routes that match a given list<br />
<strong>Router Name # sh ip bgp filter-list</strong> bgp routes that match a given AS path filter list<br />
<strong>Router Name # sh ip bgp neigh(address)</strong> shows the details on a route in the route table<br />
<strong>Router Name # sh ip bgp sum</strong> used to view the status of a BGP session<br />
<strong>Router Name # sh route-map (name)</strong> show the details of a specific route-map<br />
<strong>Router Name # sh adjacency detail</strong> adjacency table used by CEF. Verify router/device is discovered<br />
<strong>Router Name # sh ip cef </strong> to view the CEF cache or FIB (forwarding information base) table<br />
<strong>Router Name # sh ip cef summary</strong> gives an overview of the cef entries<br />
<strong>Router Name # sh cef not-cef-switched</strong> if CEF is enabled, this will show packets not being CEF switched<br />
<strong>Router Name # sh standby</strong> displays the information on the operation of HSRP<br />
<strong>Router Name # sh standby brief </strong> displays a summary of interfaces running HSRP<br />
<strong>Router Name # sh standby (interface)</strong> displays state of the port, hello intervals, MAC address, config<br />
<strong>R# sh mpls traffic-eng tunnels tunnel # </strong> displays tunnels between hops in a route masked by MPLS</p>
<p><strong>Router Enable commands</strong></p>
<p>To Enable A Port<br />
·        <strong> Router Name# config t<br />
· </strong><strong> Router Name# int </strong>(+ interface you are designating, token ring must put in ring speed 16 or 4)<strong><br />
· </strong><strong>Router Name# ip address _._._._</strong> (mask)<strong><br />
· </strong><strong>Router Name# no shut</strong></p>
<p>To Disable A Port<br />
·         <strong>Router Name# int</strong> (interface or port)<strong><br />
·         Router Name# shut</strong></p>
<p>To Enable A Protocol</p>
<p>Different protocols will have different instructions below is a generic example:<br />
·         <strong>Router Name# config t<br />
·         Router Name# router </strong>(protocol type + any extensions needed in instructions)<strong><br />
·         Router Name# network </strong>(+ IP address)</p>
<p>To Disable A Protocol<br />
·        <strong> Router Name# config t<br />
·         Router Name# no router </strong>(+ protocol type)</p>
<p>To Change Router Name<br />
·       <strong> Router Name# config t<br />
·         Router Name# hostname Jim </strong>(global command)<strong><br />
·         Router Name# ctrl z</strong></p>
<p>From Config T settings:<br />
·         <strong>Router Name# ctrl z</strong> (to save settings and execute the command)<strong><br />
·         Router Name# ctrl c </strong>(starts over, abort)<strong><br />
·         Router Name# write mem </strong>(saves everything to NV Ram)<strong><br />
·         Router Name# write t </strong>(shows running configurations, also can use show run)<strong><br />
·         Router Name# telnet </strong>(to telnet into another router)<strong><br />
·         Router Name# ip host name </strong>(name &amp; address &#8211; To Build Host Table &#8211; Global Command)<strong><br />
·         Router Name# no host </strong>(to remove a host name)</p>
<p>* On a 4000 series router you must specify what type of media is being used:<br />
·         <strong>Router Name# config t<br />
·         Router Name# int </strong>(+ interface you plan to configure, ie: e0, s0, &#8230; screen changes, major command)<strong><br />
·         Router Name# media-type 10baseT </strong>(or whichever media is being used, sub command)</p>
<p>To Enable RIP<br />
·         <strong>Router Name# config t<br />
·         Router Name# router rip<br />
·         Router Name# network</strong> (+ network address, ie: 150.111.0.0 )<strong><br />
·         Router Name# int</strong> (+ interface you plan to configure, ie: e0, s0, &#8230; screen changes)<strong><br />
·         Config-if# ip address 150.11.1.1 255.255.255.0 </strong>(full statement with subnet mask, sub command)<strong><br />
·         Config-if# no shut </strong>(this logically activates the interface, required at every interface configuration)</p>
<p>To Enable SNMP<br />
·        <strong> Router Name# config t<br />
·         Router Name# snmp server community public </strong>(RO, RW)</p>
<p>To Enable IPX (Novell)<br />
·         <strong>Router Name# config t<br />
·         Router Name# ipx routing<br />
·         Router Name# int (+ interface you plan to configure, ie: e0, s0, &#8230; screen changes)<br />
·         Router Name# ipx network </strong>(ipx address)</p>
<p><strong>Router Name # sh ipx servers</strong> &#8211;&gt;shows ipx servers on the network</p>
<p><strong>Router Name # sh ipx route </strong> &#8211;&gt;shows ipx networks seen by the routers</p>
<p><strong>Router Name # sh ipx traffic</strong> &#8211;&gt;shows ipx related protocols</p>
<p><strong>Router Name # sh ipx int</strong> &#8211;&gt;view ipx address on an interface</p>
<p>To Enable VTY<br />
·        <strong> Router Name# config t enable password cisco enter </strong> (global command)<strong><br />
·         Router Name# line vty 0 4<br />
·         Router Name# login<br />
·         Router Name# password cisco</strong></p>
<p><em><strong>Switch commands</strong></em><br />
<strong>Switch1&gt; ? </strong> responds with main help menu<br />
<strong>Switch1&gt; hist </strong> to view a listing of previous commands used<br />
<strong>Switch1&gt; show ?</strong> responds with various show commands<br />
<strong>Switch1&gt; show ver </strong> information about IOS and hardware components<br />
<strong>Switch1&gt; show module </strong> quick view of status on all modules<br />
<strong>Switch1&gt; show port</strong> provides general summary of all ports: errors, collisions, speed, duplex<br />
<strong>Switch1&gt; show port (#)</strong> specific information for a individual port<br />
<strong>Switch1&gt; show port status</strong> provides single line general summary of all ports<br />
<strong>Switch1&gt; show mac (port#) </strong> summary information on what has been sent and received on a given port<br />
<strong>Switch1&gt; show test (module#) </strong> if a module is in failed status, show test will show specifics<br />
<strong>Switch1&gt; show log</strong> shows history of switch on a per module basis<br />
<strong>Switch1&gt; show config</strong> shows configurations on switch<br />
<strong>Switch1&gt; show system</strong> shows uptime and levels of utilization<br />
<strong>Switch1&gt; show vlan</strong> lists the VLAN&#8217;s that are resident on the switch<br />
<strong>Switch1&gt; show cam</strong> lists the LAN switch transparent bridging table<br />
<strong>Switch1&gt; sh cam</strong> (mac address)     to locate a single MAC address<br />
<strong>Switch1&gt; show cam dynamic </strong> lists all dynamically learned MAC addresses<br />
<strong>Switch1&gt; show span</strong> lists info on a port listening/diagnostics feature (switched port analyzer)<br />
<strong>Switch1&gt; show spantree</strong> (port#)     allows you to see the spantree status of a specific port<br />
<strong>Switch1&gt; show trunk </strong> provides a summary of the ports in trunking mode</p>
<p>source: http://www.voyagernet.com/cisco/ROUTERS3.htm</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunjohn.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunjohn.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunjohn.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunjohn.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunjohn.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunjohn.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunjohn.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunjohn.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunjohn.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunjohn.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunjohn.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunjohn.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunjohn.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunjohn.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=76&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunjohn.wordpress.com/2009/11/02/cisco-router-switch-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07b472b18798cfccd74498e74614196d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arunvarughese</media:title>
		</media:content>
	</item>
		<item>
		<title>TCP / IP</title>
		<link>http://arunjohn.wordpress.com/2009/10/31/tcp-ip-2/</link>
		<comments>http://arunjohn.wordpress.com/2009/10/31/tcp-ip-2/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 16:24:53 +0000</pubDate>
		<dc:creator>arunvarughese</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://arunjohn.wordpress.com/?p=65</guid>
		<description><![CDATA[The Defense Advance Research Projects Agency (DARPA) originally developed Transmission Control Protocol/Internet Protocol (TCP/IP) to interconnect various defense department computer networks. The Internet, an international Wide Area Network, uses TCP/IP to connect government and educational institutions across the world. TCP/IP is also in widespread use on commercial and private networks. The TCP/IP suite includes the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=65&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Defense Advance Research Projects                  Agency (DARPA) originally developed Transmission Control Protocol/Internet                  Protocol (TCP/IP) to interconnect various defense department computer                  networks. The Internet, an international Wide Area Network, uses                  TCP/IP to connect government and educational institutions across                  the world. TCP/IP is also in widespread use on commercial and                  private networks. The TCP/IP suite includes the following protocols.</p>
<p><span id="more-65"></span></p>
<table border="0" width="500">
<tbody>
<tr>
<td colspan="2"><strong>Data                        Link Layer</strong></td>
</tr>
<tr>
<td width="111"><a href="http://www.protocols.com/pbook/tcpip3.htm#ARP">ARP/RARP</a></td>
<td width="379">Address Resolution Protocol/Reverse Address</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip3.htm#DCAP">DCAP</a></td>
<td>Data Link Switching Client Access Protocol</td>
</tr>
<tr>
<td colspan="2"><strong><a name="Network"></a>Network                        Layer</strong></td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip3.htm#DHCP">DHCP</a></td>
<td>Dynamic Host Configuration Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip3.htm#DVMRP">DVMRP</a></td>
<td>Distance Vector Multicast Routing Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip3.htm#ICMP">ICMP</a>/<a href="http://www.protocols.com/pbook/tcpip3.htm#ICMPv6">ICMPv6</a></td>
<td>Internet Control Message Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip4.htm#IGMP">IGMP</a></td>
<td>Internet Group Management Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip2.htm#IP">IP</a></td>
<td>Internet Protocol version 4</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip2.htm#IPv6">IPv6</a></td>
<td>Internet Protocol version 6</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip4.htm#MARS">MARS</a></td>
<td>Multicast Address Resolution Server</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip4.htm#PIM">PIM</a></td>
<td>Protocol Independent Multicast-Sparse Mode (PIM-SM)</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip4.htm#RIP2">RIP2</a></td>
<td>Routing Information Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip4.htm#RIPng">RIPng for                        IPv6</a></td>
<td>Routing Information Protocol for IPv6</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip4.htm#RSVP">RSVP</a></td>
<td>Resource ReSerVation setup Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip4.htm#VRRP">VRRP</a></td>
<td>Virtual Router Redundancy Protocol</td>
</tr>
<tr>
<td colspan="2"><strong><a name="Transport"></a>Transport                        Layer</strong></td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip6.htm#ISTP">ISTP</a></td>
<td></td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip6.htm#MobileIP">Mobile                        IP</a></td>
<td>Mobile IP Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip6.htm#RUDP">RUDP</a></td>
<td>Reliable UDP</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip6.htm#TALI">TALI</a></td>
<td>Transport Adapter Layer Interface</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip2.htm#TCP">TCP</a></td>
<td>Transmission Control Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip2.htm#UDP">UDP</a></td>
<td>User Datagram Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip6.htm#VAN">Van Jacobson</a></td>
<td>compressed TCP</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip6.htm#XOT">XOT</a></td>
<td>X.25 over TCP</td>
</tr>
<tr>
<td colspan="2"><strong><a name="Session"></a>Session                        Layer</strong></td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#BGMP">BGMP</a></td>
<td>Border Gateway Multicast Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#Diameter">Diameter</a></td>
<td></td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#DIS">DIS</a></td>
<td>Distributed Interactive Simulation</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#DNS">DNS</a></td>
<td>Domain Name Service</td>
</tr>
<tr>
<td valign="top"><a href="http://www.protocols.com/pbook/tcpip7.htm#ISAKMP">ISAKMP/IKE</a></td>
<td>Internet Security Association and Key Management Protocol                        and Internet Key Exchange Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#iSCSI">iSCSI</a></td>
<td>Small Computer Systems Interface</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#LDAP">LDAP</a></td>
<td>Lightweight Directory Access Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#MZAP">MZAP</a></td>
<td>Multicast-Scope Zone Announcement Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#NetBIOS">NetBIOS/IP</a></td>
<td>NetBIOS/IP for TCP/IP Environment</td>
</tr>
<tr>
<td colspan="2"><strong><a name="Application"></a>Application                        Layer</strong></td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#COPS">COPS</a></td>
<td>Common Open Policy Service</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#fanp">FANP</a></td>
<td>Flow Attribute Notification Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#Finger">Finger</a></td>
<td>User Information Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#FTP">FTP</a></td>
<td>File Transfer Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#HTTP">HTTP</a></td>
<td>Hypertext Transfer Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip8.htm#IMAP4">IMAP4</a></td>
<td>Internet Message Access Protocol rev                       4</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip8.htm#IMPPpre">IMPPpre/IMPPmes</a></td>
<td>Instant Messaging and Presence Protocols</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip8.htm#IPDC">IPDC</a></td>
<td>IP Device Control</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip8.htm#IRC">IRC</a></td>
<td>·Internet Relay Chat Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip8.htm#ISAKMP">ISAKMP</a></td>
<td>Internet Message Access Protocol version                       4rev1</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip8.htm#ISP">ISP</a></td>
<td></td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip8.htm#NTP">NTP</a></td>
<td>Network Time Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip8.htm#POP3">POP3</a></td>
<td>Post Office Protocol version 3</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip8.htm#Radius">Radius</a></td>
<td>Remote Authentication Dial In User Service</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip9.htm#RLOGIN">RLOGIN</a></td>
<td>Remote Login</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip9.htm#RTSP">RTSP</a></td>
<td>Real-time Streaming Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip9.htm#SCTP">SCTP</a></td>
<td>Stream Control Transmision Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#SHTTP">S-HTTP</a></td>
<td>Secure Hypertext Transfer Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip9.htm#slp">SLP</a></td>
<td>Service Location Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip9.htm#SMTP">SMTP</a></td>
<td>Simple Mail Transfer Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip9.htm#SNMP">SNMP</a></td>
<td>Simple Network Management Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip9.htm#SOCKS">SOCKS</a></td>
<td>Socket Secure (Server)</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip9.htm#TACACS">TACACS+</a></td>
<td>Terminal Access Controller Access Control System</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip9.htm#TELNET">TELNET</a></td>
<td>TCP/IP Terminal Emulation Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip7.htm#TFTP">TFTP</a></td>
<td>Trivial File Transfer Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip9.htm#WCCP">WCCP</a></td>
<td>Web Cache Coordination Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip9.htm#X-WINDOW">X-Window</a></td>
<td>X Window</td>
</tr>
<tr>
<td colspan="2"><strong><a name="Routing"></a>Routing</strong></td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip5.htm#BGP-4">BGP-4</a></td>
<td>Border Gateway Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip5.htm#EGP">EGP</a></td>
<td>Exterior Gateway Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip5.htm#EIGRP">EIGRP</a></td>
<td>Enhanced Interior Gateway Routing Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip5.htm#HSRP">HSRP</a></td>
<td>Cisco Hot Standby Router Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip5.htm#IGRP">IGRP</a></td>
<td>Interior Gateway Routing</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip6.htm#NARP">NARP</a></td>
<td>NBMA Address Resolution Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip6.htm#NHRP">NHRP</a></td>
<td>Next Hop Resolution Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip6.htm#OSPF">OSPF</a></td>
<td>Open Shortest Path First</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip6.htm#TRIP">TRIP</a></td>
<td>Telephony Routing over IP</td>
</tr>
<tr>
<td colspan="2"><strong><a name="Tunneling"></a>Tunneling</strong></td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip3.htm#ATMP">ATMP</a></td>
<td>Ascend Tunnel Management Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip3.htm#L2F">L2F</a></td>
<td>The Layer 2 Forwarding Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip3.htm#L2TP">L2TP</a></td>
<td>Layer 2 Tunneling Protocol</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip3.htm#PPTP">PPTP</a></td>
<td>Point to Point Tunneling Protocol</td>
</tr>
<tr>
<td colspan="2"><strong><a name="Security"></a>Security</strong></td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip5.htm#AH">AH</a></td>
<td>Authentication Header</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip5.htm#ESP">ESP</a></td>
<td>Encapsulating Security Payload</td>
</tr>
<tr>
<td><a href="http://www.protocols.com/pbook/tcpip5.htm#TLS">TLS</a></td>
<td>Transport Layer Security Protocol</td>
</tr>
</tbody>
</table>
<p style="text-align:left;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p>The                    TCP/IP suite is illustrated here in relation to the OSI model</p>
<p><img class="alignleft size-full wp-image-73" title="tcpipmap" src="http://arunjohn.files.wordpress.com/2009/10/tcpipmap5.gif?w=450&#038;h=598" alt="tcpipmap" width="450" height="598" /></p>
<p style="text-align:left;">source: http://www.protocols.com/pbook/tcpip1.htm</p>
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunjohn.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunjohn.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunjohn.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunjohn.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunjohn.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunjohn.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunjohn.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunjohn.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunjohn.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunjohn.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunjohn.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunjohn.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunjohn.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunjohn.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=65&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunjohn.wordpress.com/2009/10/31/tcp-ip-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07b472b18798cfccd74498e74614196d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arunvarughese</media:title>
		</media:content>

		<media:content url="http://arunjohn.files.wordpress.com/2009/10/tcpipmap5.gif" medium="image">
			<media:title type="html">tcpipmap</media:title>
		</media:content>
	</item>
		<item>
		<title>Maintaining IIS Log Files</title>
		<link>http://arunjohn.wordpress.com/2009/10/26/maintaining-iis-log-files/</link>
		<comments>http://arunjohn.wordpress.com/2009/10/26/maintaining-iis-log-files/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 11:56:40 +0000</pubDate>
		<dc:creator>arunvarughese</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[IIS Log Files]]></category>

		<guid isPermaLink="false">http://arunjohn.wordpress.com/?p=45</guid>
		<description><![CDATA[Many network administrators by now have encountered serious Web server intrusions that have resulted in legal action. Often IIS logs are the primary evidence used to track down Web intruders. Proving that your log files are credible requires that you provide convincing arguments that they are trustworthy and therefore valid as evidence. You must take [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=45&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many network administrators by now have encountered serious Web server intrusions that have resulted in legal action. Often IIS logs are the primary evidence used to track down Web intruders.</p>
<p>Proving that your log files are credible requires that you provide convincing arguments that they are trustworthy and therefore valid as evidence. You must take measures to protect the accuracy, authenticity, and accessibility of your IIS log files. Below are some tips that should increase the credibility of your IIS logs.</p>
<p><span id="more-45"></span><!--more--><br />
<em><br />
<strong>Log File Accuracy</strong></em></p>
<p>Accuracy means that you can prove that your log file data truly represents the activity on your Web server. Even the smallest inaccuracy can bring into question the validity of the entire set of data. The following steps help ensure that your data is accurate:</p>
<p><strong>Log Everything</strong> &#8211; Configure your IIS logs to record every available field. While some admins see little value in storing this extra information, every field has some significance in a forensics investigation.</p>
<p>Furthermore, gathering information about Web visitors helps establish that an attack came from a specific computer system or logged in user. For example, suppose a defendant claims a hacker had broken into his computer and installed a backdoor proxy server, then used that backdoor proxy to attack other systems. How do you prove that the traffic came from a specific user&#8217;s Web browser or was a proxied attack from someone else? While this cannot always be proven, the more information you collect, the better chance you have of making this case.</p>
<p><strong>Keeping Time</strong> &#8211; Synchronize your IIS servers to an external time source using the Windows Time service. If you use a domain, the time service will automatically be synchronized to the domain controller. On a standalone server, you can synchronize to an external source by setting the following registry entries:</p>
<p>Key: HKLM\SYSTEM\CurrentControlSet|Services\W32Time\Parameters\<br />
Setting: Type<br />
Type: REG_SZ<br />
Value: NTP</p>
<p>Key: HKLM\SYSTEM\CurrentControlSet|Services\W32Time\Parameters\<br />
Setting: NtpServer<br />
Type: REG_SZ<br />
Value: tock.usno.navy.mil (see http://tycho.usno.navy.mil/ntp.html for a list of public NTP servers.)</p>
<p>Key: HKLM\SYSTEM\CurrentControlSet|Services\W32Time\Parameters\<br />
Setting: Period<br />
Type: REG_SZ<br />
Value: 24 (Indicates times per day to synchronize. A value of 24 synchronizes once every hour, you may need less.)</p>
<p>Another time issue is that IIS records logs using UTC time. This is supposed to help synchronization issues when running servers in multiple time zones. However, Windows calculates UTC time by offsetting the value of the system clock with the system time zone. The only way to be sure the UTC time is correct is to ensure that the local time zone setting is accurate.</p>
<p>One trick is to verify that this is to set IIS to roll over logs using local time. You can later verify the server&#8217;s time zone setting by looking at the first entries in the log file. If your server is set at UTC -0600, then the first log entries should appear around 18:00 (00:00 &#8211; 06:00 = 18:00). Because UTC doesn&#8217;t follow daylight savings, you must also consider the date. For example, UTC &#8211; 6:00 will actually be -5:00 half the year.</p>
<p><strong>Use Multiple Sensors</strong> &#8211; It is hard to disprove a log entry if two separate devices record the same information. By combining logs from several devices, you strengthen the value of each. Firewall logs, IDS logs, and even something as simple as TCPDump can help prove that an IP address hit a specific server at a specific time. See http://www.iissecurity.net/4361.htm for an example of using Snort to supplement IIS logs.</p>
<p><strong>Avoid Missing Logs</strong> &#8211; One problem with IIS logs is that if the server does not get any hits in a 24-hour period, no log file is created. But when no log file exists, there is no way of knowing if the server got no hits (say it was offline for a day) or if the log file was actually deleted. To avoid this problem, I like to schedule a few hits each day to ensure there is always a log.</p>
<p>To do this,  use Graburl which you can download from http://www.kiraly.com/software/utilities/graburl/</p>
<p>Using the Task Scheduler, and schedule two hits to the Web server: one from localhost and the other from an external host. The command line is :</p>
<p>Graburl.exe www.example.com</p>
<p>The reason for scheduling two hits is that the first from localhost verifies that the server is running and the second verifies that it is visible on the Internet. Further, the second hit also verifies the time synchronization. If the second hit is scheduled to occur at 1:00 AM every day, the corresponding log entry should always occur at 1:00 AM. In general, scheduled requests help prove that the logging mechanism is functioning properly.</p>
<p>If the Web server is powered off for a period of more than 24 hours, no log file will be recorded, but your EventLog will indicate that the server had been powered off. Following these steps, if a log file is missing, it is probably because the file was intentionally deleted.</p>
<p><em><strong>Log File Authenticity</strong></em></p>
<p>Log files can be said to be authentic if it can be proven that they have not been modified since they were originally recorded. IIS log files are simple text files that can easily be modified. The file date and time stamps can also easily be modified. In their default state, IIS log files cannot be proven authentic, but by following a few tips you can remedy this.</p>
<p><strong>Move the Logs</strong> &#8211; To begin ensuring authenticity, move the IIS logs off the Web server. If a server has been compromised, you must consider that the log files too could have been compromised. Move the logs to a master server then move them offline to a tape, CD, or WORM device as quickly as possible.</p>
<p><strong>Signatures, Encryption &amp; Checksums</strong> &#8211; The only way to be absolutely sure a log file has not been modified is to sign and encrypt the logs using PGP or some other public-key encryption scheme. File signatures are helpful because if a single file is corrupted, it does not invalidate the rest of the logs. You can also use a tool such as Fsum to quickly generate MD5 hashes for the files. Store the signatures and hashes with the logs but also store a secure copy in a separate location.</p>
<p>Note that if you use an automated process for signing log files, you should always follow up with a manual signature by a trusted administrator.</p>
<p>When encrypting files, you should consider what impact that will have on the created, modified, and access dates. You may want to record these dates in a separate location by using a utility such as Fdir.</p>
<p><strong>Work With Copies</strong> &#8211; When doing any log file analysis, never work with the original files. Make copies before performing any post-processing or log file analysis. Making sure that original logs are never touched helps you establish that they are still authentic and in their original form.</p>
<p><strong>Ensure System Integrity</strong> &#8211; You should always keep up to date on service packs and hotfixes to ensure that your system files are valid. You should also audit all changes to binary files in your WINNT directory. If an intruder is able to modify system files that record log files, the usability of the log files as evidence suddenly come into question.</p>
<p><strong>Have a Process</strong> &#8211; Keep in mind that a well-established and documented process can actually help establish authenticity. An established procedure that produces consistent results may help establish that the files are valid and authentic. Furthermore, be sure to have a documented and consistent method for capturing additional evidence (such as using network diagnostic utilities against an attacker&#8217;s IP address) because business records created in anticipation of litigation may not always be admissible in court. This is especially true if law enforcement asks you (without proper court orders) to use a tool such as a sniffer on your network to gather additional evidence.</p>
<p>Establishing a process means creating a document that outlines each manual or automated step taken. Furthermore, any scripts you use in log file processing should also contain comments explaining exactly what processing is taking place. The techniques you use in your process should be generally accepted procedures for log file management.</p>
<p><em><strong>Access Control</strong></em></p>
<p>Once a log file is created, it is important to prevent the file from being accessed and audit any authorized and unauthorized access. If you properly secure and audit a log file using NTFS permissions, you will have documented evidence to help establish its credibility.</p>
<p><strong>Restrict File Access</strong> &#8211; A log file needs certain permissions so that IIS is able to write to the file. But after the log is closed, no one should have permissions to modify the file contents. You may want to consider scheduling a command to lock down file permissions and auditing after a log file is closed. Also, when you move log files, be sure that NTFS permissions are set correctly in the new location.</p>
<p><strong>Chain of Custody</strong> &#8211; As you move log files from the server and later to an offline device, you should keep track of where the file goes. This can be done either through technical or non-technical methods. For example, one client of mine seals their backup tapes and uses a label that can be used to record the physical movement of the tape. Tracking custody of evidence is especially important when retrieving the contents of a backup in a criminal investigation.</p>
<p>source :http://www.securityfocus.com/infocus/1639</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunjohn.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunjohn.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunjohn.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunjohn.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunjohn.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunjohn.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunjohn.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunjohn.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunjohn.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunjohn.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunjohn.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunjohn.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunjohn.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunjohn.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=45&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunjohn.wordpress.com/2009/10/26/maintaining-iis-log-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07b472b18798cfccd74498e74614196d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arunvarughese</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux System Monitoring Tools</title>
		<link>http://arunjohn.wordpress.com/2009/10/26/linux-system-monitoring-tools/</link>
		<comments>http://arunjohn.wordpress.com/2009/10/26/linux-system-monitoring-tools/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 11:32:36 +0000</pubDate>
		<dc:creator>arunvarughese</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[monitoring tools]]></category>
		<category><![CDATA[system admin commands]]></category>

		<guid isPermaLink="false">http://arunjohn.wordpress.com/?p=36</guid>
		<description><![CDATA[These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues such as: 1. Finding out bottlenecks. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=36&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues such as:</p>
<p><span id="more-36"></span></p>
<p>1. Finding out bottlenecks.<br />
2. Disk (storage) bottlenecks.<br />
3. CPU and memory bottlenecks.<br />
4. Network bottlenecks.</p>
<ul>
<li><strong>1: top &#8211; Process Activity Command</strong></li>
</ul>
<p>The top program provides a dynamic real-time view of a running system i.e. actual process activity. By default, it displays the most CPU-intensive tasks running on the server and updates the list every five seconds.</p>
<p>Commonly Used Hot Keys</p>
<p>The top command provides several useful hot keys:</p>
<p>Hot Key       Usage<br />
t                 Displays summary information off and on.<br />
m               Displays memory information off and on.<br />
A                Sorts the display by top consumers of various resources.<br />
f                  Enters an interactive configuration screen for top.<br />
o                 Enables you to interactively select the ordering within top.<br />
r                  Issues renice command.<br />
k                 Issues kill command.<br />
z                 Turn on or off color/mono</p>
<ul>
<li><strong>2: vmstat &#8211; System Activity, Hardware and System Information</strong></li>
</ul>
<p>The command vmstat reports information about processes, memory, paging, block IO, traps, and cpu activity</p>
<p>Display Memory Utilization Slabinfo:   # vmstat -m</p>
<p>Get Information About Active / Inactive Memory Pages : # vmstat -a</p>
<ul>
<li><strong>3: w &#8211; Find Out Who Is Logged on And What They Are Doing</strong></li>
</ul>
<p>w command displays information about the users currently on the machine, and their processes.</p>
<p># w username</p>
<ul>
<li><strong>4: uptime &#8211; Tell How Long The System Has Been Running</strong></li>
</ul>
<p>The uptime command can be used to see how long the server has been running. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.</p>
<p>1 can be considered as optimal load value. The load can change from system to system. For a single CPU system 1 &#8211; 3 and SMP systems 6-10 load value might be acceptable.</p>
<ul>
<li><strong>5: ps &#8211; Displays The Processes</strong></li>
</ul>
<p>ps command will report a snapshot of the current processes. To select all processes use the -A or -e option:</p>
<p>ps is just like top but provides more information.</p>
<p>To See Threads ( LWP and NLWP)</p>
<p># ps -AlFH</p>
<p>To See Threads After Processes</p>
<p># ps -AlLm</p>
<p>Print All Process On The Server</p>
<p># ps ax<br />
# ps axu</p>
<p>Print A Process Tree</p>
<p># ps -ejH<br />
# ps axjf<br />
# pstree</p>
<p>Print Security Information</p>
<p># ps -eo euser,ruser,suser,fuser,f,comm,label<br />
# ps axZ<br />
# ps -eM</p>
<p>See Every Process Running As User Arun</p>
<p># ps -U arun -u arun u</p>
<p>Set Output In a User-Defined Format</p>
<p># ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm<br />
# ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm<br />
# ps -eopid,tt,user,fname,tmout,f,wchan</p>
<p>Display Only The Process IDs of Lighttpd</p>
<p># ps -C lighttpd -o pid=<br />
OR<br />
# pgrep lighttpd<br />
OR<br />
# pgrep -u arun php-cgi</p>
<p>Display The Name of PID 55977</p>
<p># ps -p 55977 -o comm=</p>
<p>Find Out The Top 10 Memory Consuming Process</p>
<p># ps -auxf | sort -nr -k 4 | head -10</p>
<p>Find Out top 10 CPU Consuming Process</p>
<p># ps -auxf | sort -nr -k 3 | head -10</p>
<ul>
<li><strong>6: free &#8211; Memory Usage</strong></li>
</ul>
<p>The command free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel.</p>
<ul>
<li><strong>7: iostat &#8211; Average CPU Load, Disk Activity</strong></li>
</ul>
<p>The command iostat report Central Processing Unit (CPU) statistics and input/output statistics for devices, partitions and network filesystems (NFS).</p>
<ul>
<li><strong>8: sar &#8211; Collect and Report System Activity</strong></li>
</ul>
<p>The sar command is used to collect, report, and save system activity information. To see network counter, enter:</p>
<p># sar -n DEV | more</p>
<p>To display the network counters from the 24th:</p>
<p># sar -n DEV -f /var/log/sa/sa24 | more</p>
<p>You can also display real time usage using sar:</p>
<p># sar 4 5</p>
<ul>
<li><strong>9: mpstat &#8211; Multiprocessor Usage</strong></li>
</ul>
<p>The mpstat command displays activities for each available processor, processor 0 being the first one. mpstat -P ALL to display average CPU utilization per processor:<br />
# mpstat -P ALL</p>
<ul>
<li><strong>10: pmap &#8211; Process Memory Usage</strong></li>
</ul>
<p>The command pmap report memory map of a process. Use this command to find out causes of memory bottlenecks.<br />
# pmap -d PID<br />
To display process memory information for pid # 47394, enter:<br />
# pmap -d 47394</p>
<p>Sample Outputs:</p>
<p>47394:   /usr/bin/php-cgi<br />
Address           Kbytes Mode  Offset           Device    Mapping<br />
0000000000400000    2584 r-x&#8211; 0000000000000000 008:00002 php-cgi<br />
0000000000886000     140 rw&#8212; 0000000000286000 008:00002 php-cgi<br />
00000000008a9000      52 rw&#8212; 00000000008a9000 000:00000   [ anon ]<br />
0000000000aa8000      76 rw&#8212; 00000000002a8000 008:00002 php-cgi<br />
000000000f678000    1980 rw&#8212; 000000000f678000 000:00000   [ anon ]<br />
000000314a600000     112 r-x&#8211; 0000000000000000 008:00002 ld-2.5.so<br />
000000314a81b000       4 r&#8212;- 000000000001b000 008:00002 ld-2.5.so<br />
000000314a81c000       4 rw&#8212; 000000000001c000 008:00002 ld-2.5.so<br />
000000314aa00000    1328 r-x&#8211; 0000000000000000 008:00002 libc-2.5.so<br />
000000314ab4c000    2048 &#8212;&#8211; 000000000014c000 008:00002 libc-2.5.so<br />
&#8230;..<br />
&#8230;&#8230;<br />
..<br />
00002af8d48fd000       4 rw&#8212; 0000000000006000 008:00002 xsl.so<br />
00002af8d490c000      40 r-x&#8211; 0000000000000000 008:00002 libnss_files-2.5.so<br />
00002af8d4916000    2044 &#8212;&#8211; 000000000000a000 008:00002 libnss_files-2.5.so<br />
00002af8d4b15000       4 r&#8212;- 0000000000009000 008:00002 libnss_files-2.5.so<br />
00002af8d4b16000       4 rw&#8212; 000000000000a000 008:00002 libnss_files-2.5.so<br />
00002af8d4b17000  768000 rw-s- 0000000000000000 000:00009 zero (deleted)<br />
00007fffc95fe000      84 rw&#8212; 00007ffffffea000 000:00000   [ stack ]<br />
ffffffffff600000    8192 &#8212;&#8211; 0000000000000000 000:00000   [ anon ]<br />
mapped: 933712K    writeable/private: 4304K    shared: 768000K</p>
<p>Here ,the last line is very important:</p>
<p>* <em>mapped</em>: 933712K total amount of memory mapped to files<br />
* <em>writeable/private</em>: 4304K the amount of private address space<br />
* <em>shared</em>: 768000K the amount of address space this process is sharing with others</p>
<ul>
<li><strong>11: netstat-Network Statistics</strong></li>
</ul>
<p>The command netstat displays network connections, routing tables, interface statistics, masquerade connections, and multicast memberships</p>
<ul>
<li><strong>12:  ss &#8211; Socket Statistics</strong></li>
</ul>
<p>The ss command is used to dump socket statistics. It allows showing information similar to netstat.</p>
<ul>
<li><strong>13: iptraf &#8211; Real-time Network Statistics</strong></li>
</ul>
<p>The iptraf command is interactive colorful IP LAN monitor. It is an ncurses-based IP LAN monitor that generates various network statistics including TCP info, UDP counts, ICMP and OSPF information, Ethernet load info, node stats, IP checksum errors, and others. It can provide the following info in easy to read format:</p>
<p>* Network traffic statistics by TCP connection<br />
* IP traffic statistics by network interface<br />
* Network traffic statistics by protocol<br />
* Network traffic statistics by TCP/UDP port and by packet size<br />
* Network traffic statistics by Layer2 address</p>
<ul>
<li><strong>14: tcpdump &#8211; Detailed Network Traffic Analysis</strong></li>
</ul>
<p>The tcpdump is simple command that dump traffic on a network. However, you need good understanding of TCP/IP protocol to utilize this tool. For.e.g to display traffic info about DNS, enter:<br />
# tcpdump -i eth1 &#8216;udp port 53&#8242;</p>
<p>To display all IPv4 HTTP packets to and from port 80, i.e. print only packets that contain data, not, for example, SYN and FIN packets and ACK-only packets, enter:<br />
# tcpdump &#8216;tcp port 80 and (((ip[2:2] &#8211; ((ip[0]&amp;0xf)&lt;&lt;2)) &#8211; ((tcp[12]&amp;0xf0)&gt;&gt;2)) != 0)&#8217;</p>
<p>To display all FTP session to 202.54.1.5, enter:<br />
# tcpdump -i eth1 &#8216;dst 202.54.1.5 and (port 21 or 20&#8242;</p>
<p>To display all HTTP session to 192.168.1.5:<br />
# tcpdump -ni eth0 &#8216;dst 192.168.1.5 and tcp and port http&#8217;</p>
<ul>
<li><strong>15: strace &#8211; System Calls</strong></li>
</ul>
<p>Trace system calls and signals. This is useful for debugging webserver and other server problems.</p>
<ul>
<li><strong>16: /Proc file system &#8211; Various Kernel Statistics</strong></li>
</ul>
<p>/proc file system provides detailed information about various hardware devices and other Linux kernel information.<br />
Common /proc examples:<br />
# cat /proc/cpuinfo<br />
# cat /proc/meminfo<br />
# cat /proc/zoneinfo<br />
# cat /proc/mounts</p>
<ul>
<li><strong>17: Nagios &#8211; Server And Network Monitoring</strong></li>
</ul>
<p>Nagios is a popular open source computer system and network monitoring application software. You can easily monitor all your hosts, network equipment and services. It can send alert when things go wrong and again when they get better. FAN is &#8220;Fully Automated Nagios&#8221;. FAN goals are to provide a Nagios installation including most tools provided by the Nagios Community. FAN provides a CDRom image in the standard ISO format, making it easy to easilly install a Nagios server. Added to this, a wide bunch of tools are including to the distribution, in order to improve the user experience around Nagios.</p>
<ul>
<li><strong>18: Cacti &#8211; Web-based Monitoring Tool</strong></li>
</ul>
<p>Cacti is a complete network graphing solution designed to harness the power of RRDTool&#8217;s data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices. It can provide data about network, CPU, memory, logged in users, Apache, DNS servers and much more.</p>
<ul>
<li><strong>19: KDE System Guard &#8211; Real-time Systems Reporting and Graphing</strong></li>
</ul>
<p>KSysguard is a network enabled task and system monitor application for KDE desktop. This tool can be run over ssh session. It provides lots of features such as a client/server architecture that enables monitoring of local and remote hosts. The graphical front end uses so-called sensors to retrieve the information it displays. A sensor can return simple values or more complex information like tables. For each type of information, one or more displays are provided. Displays are organized in worksheets that can be saved and loaded independently from each other. So, KSysguard is not only a simple task manager but also a very powerful tool to control large server farms.</p>
<ul>
<li><strong>20: Gnome System Monitor &#8211; Real-time Systems Reporting and Graphing</strong></li>
</ul>
<p>The System Monitor application enables you to display basic system information and monitor system processes, usage of system resources, and file systems. You can also use System Monitor to modify the behavior of your system. Although not as powerful as the KDE System Guard, it provides the basic information which may be useful for new users:</p>
<p>* Displays various basic information about the computer&#8217;s hardware and software.<br />
* Linux Kernel version<br />
* GNOME version<br />
* Hardware<br />
* Installed memory<br />
* Processors and speeds<br />
* System Status<br />
* Currently available disk space<br />
* Processes<br />
* Memory and swap space<br />
* Network usage<br />
* File Systems<br />
* Lists all mounted filesystems along with basic information about each.</p>
<p>And a few more tools .. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>* <strong>nmap </strong>- scan your server for open ports.<br />
* <strong>lsof </strong>- list open files, network connections and much more.<br />
* <strong>ntop </strong>web based tool &#8211; ntop is the best tool to see network usage in a way similar to what top command does for processes i.e. it is network traffic monitoring software. You can see network status, protocol wise distribution of traffic for UDP, TCP, DNS, HTTP and other protocols.<br />
* <strong>Conky </strong>- Another good monitoring tool for the X Window System. It is highly configurable and is able to monitor many system variables including the status of the CPU, memory, swap space, disk storage, temperatures, processes, network interfaces, battery power, system messages, e-mail inboxes etc.<br />
* <strong>GKrellM </strong>- It can be used to monitor the status of CPUs, main memory, hard disks, network interfaces, local and remote mailboxes, and many other things.<br />
* <strong>vnstat </strong>- vnStat is a console-based network traffic monitor. It keeps a log of hourly, daily and monthly network traffic for the selected interface(s).<br />
* <strong>htop </strong>- htop is an enhanced version of top, the interactive process viewer, which can display the list of processes in a tree form.<br />
* <strong>mtr </strong>- mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.</p>
<p>source : http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunjohn.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunjohn.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunjohn.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunjohn.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunjohn.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunjohn.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunjohn.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunjohn.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunjohn.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunjohn.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunjohn.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunjohn.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunjohn.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunjohn.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=36&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunjohn.wordpress.com/2009/10/26/linux-system-monitoring-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07b472b18798cfccd74498e74614196d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arunvarughese</media:title>
		</media:content>
	</item>
		<item>
		<title>Log files</title>
		<link>http://arunjohn.wordpress.com/2009/10/26/log-files/</link>
		<comments>http://arunjohn.wordpress.com/2009/10/26/log-files/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 11:10:17 +0000</pubDate>
		<dc:creator>arunvarughese</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[log files]]></category>
		<category><![CDATA[logs location]]></category>

		<guid isPermaLink="false">http://arunjohn.wordpress.com/?p=32</guid>
		<description><![CDATA[/var/log/message: General message and system related stuff /var/log/auth.log: Authenication logs /var/log/kern.log: Kernel logs /var/log/cron.log: Crond logs (cron job) /var/log/maillog: Mail server logs /var/log/qmail/ : Qmail log directory (more files inside this directory) /var/log/httpd/: Apache access and error logs directory /var/log/boot.log : System boot log /var/log/mysqld.log: MySQL database server log file /var/log/secure: Authentication log /var/log/utmp or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=32&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul>
<li><strong>/var/log/message</strong>: General message and system related stuff</li>
<li><span id="more-32"></span></li>
<li><strong>/var/log/auth.log</strong>: Authenication logs</li>
<li><strong>/var/log/kern.log</strong>: Kernel logs</li>
<li><strong>/var/log/cron.log</strong>: Crond logs (cron job)</li>
<li><strong>/</strong><strong>var/log/maillog</strong>: Mail server logs</li>
<li><strong>/var/log/qmail/</strong> : Qmail log directory (more files inside this directory)</li>
<li><strong>/var/log/httpd/</strong>: Apache access and error logs directory</li>
<li><strong>/var/log/boot.log</strong> : System boot log</li>
<li><strong>/var/log/mysqld.log</strong>: MySQL database server log file</li>
<li><strong>/var/log/secure</strong>: Authentication log</li>
<li><strong>/var/log/utmp</strong> or <strong>/var/log/wtmp</strong> : Login records file</li>
<li><strong>/var/log/yum</strong>.log: Yum log files</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunjohn.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunjohn.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunjohn.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunjohn.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunjohn.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunjohn.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunjohn.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunjohn.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunjohn.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunjohn.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunjohn.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunjohn.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunjohn.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunjohn.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=32&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunjohn.wordpress.com/2009/10/26/log-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07b472b18798cfccd74498e74614196d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arunvarughese</media:title>
		</media:content>
	</item>
		<item>
		<title>Configuration Files</title>
		<link>http://arunjohn.wordpress.com/2009/10/26/configuration-files/</link>
		<comments>http://arunjohn.wordpress.com/2009/10/26/configuration-files/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 11:03:29 +0000</pubDate>
		<dc:creator>arunvarughese</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux configuration files]]></category>

		<guid isPermaLink="false">http://arunjohn.wordpress.com/?p=20</guid>
		<description><![CDATA[/etc/profile &#8211; System wide environment variables for all users. /etc/aliases &#8211; Where the user&#8217;s name is matched to a nickname for e-mail. /etc/fstab &#8211; List of devices and their associated mount points. Edit this file to add CD-ROMs, DOS partitions and floppy drives at startup. /etc/mtab &#8211; This changes continuously as the file /proc/mount changes. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=20&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>/etc/profile</strong> &#8211; System wide environment variables for all users.</p>
<p><strong>/etc/aliases</strong> &#8211; Where the user&#8217;s name is matched to a nickname for e-mail.</p>
<p><span id="more-20"></span></p>
<p><strong>/etc/fstab</strong> &#8211; List of devices and their associated mount points. Edit this file to add CD-ROMs, DOS partitions and floppy drives at startup.</p>
<p><strong>/etc/mtab</strong> &#8211; This changes continuously as the file /proc/mount changes. In other words, when filesystems are mounted and unmounted, the change is immediately reflected in this file.</p>
<p><strong>/etc/mtools.conf </strong>- Configuration for all the operations (mkdir, copy, format, etc.) on a DOS-type filesystem.</p>
<p><strong>/etc/motd</strong> &#8211; Message of the day broadcast to all users at login.</p>
<p><strong>/etc/rc.d/rc.local</strong> &#8211; Bash script that is executed at the end of the login process. Similar to autoexec.bat in DOS. You can put your own initialization stuff in here if you don&#8217;t want to do the full Sys V style init stuff.</p>
<p><strong>/etc/crontab</strong> &#8211; Lists commands and times to run them for the cron deamon.</p>
<p><strong>/etc/cron.*</strong> &#8211; There are 4 directories that automatically execute all scripts within the directory at intervals of hour, day, week or month.</p>
<p><strong>/etc/group</strong> &#8211; Similar to /etc/passwd but for groups rather than users.</p>
<p><strong>/etc/gshadow</strong> &#8211; Used to hold the group password and group administrator password information for shadow passwords.</p>
<p><strong>/etc/hosts</strong> &#8211; A list of all known host names and IP addresses on the machine.</p>
<p><strong>/etc/hosts.allow</strong> &#8211; Man page same as hosts_access. Read by tcpd at least.</p>
<p><strong>/etc/hosts.deny</strong> &#8211; Man page same as hosts_access. Read by tcpd at least.</p>
<p><strong>/etc/httpd/conf</strong> &#8211; Paramters for the Apache web server</p>
<p><strong>/etc/inittab</strong> &#8211; Specifies the run level that the machine should boot into.</p>
<p><strong>/etc/resolv.conf </strong>- Defines IP addresses of DNS servers.</p>
<p><strong>/etc/smb.conf </strong>- Config file for the SAMBA server. Allows file and print sharing with Microsoft clients.</p>
<p><strong>/etc/passwd</strong> &#8211; The user database with fields giving the username, real name, home directory, encrypted password and other information about each user.</p>
<p><strong>/etc/printcap</strong> &#8211; A configuration file for printers.</p>
<p><strong>/etc/rc.d/rc0.d</strong> &#8211; Contains files used to control run level 0. Usually these files are softlink files.</p>
<p><strong>/etc/rc.d/rc1.d </strong>- Contains files to control run level 1. Scripts beginning with an S are for start, K for kill.</p>
<p><strong>/etc/rc.d/rc.sysinit</strong> &#8211; Init runs this when it starts.</p>
<p><strong>/etc/sysconfig/clock</strong> &#8211; Used to configure the system clock to Universal or local time and set some other clock parameters.</p>
<p><strong>/etc/sysconfig/i18n</strong> &#8211; Controls the system font settings.</p>
<p><strong>/etc/sysconfig/init</strong> &#8211; This file is used to set some terminal characteristics and environment variables.</p>
<p><strong>/etc/sysconfig/keyboard</strong> &#8211; Used to configure the keyboard.</p>
<p><strong>/etc/sysconfig/network-scripts/ifcfg-interface</strong> &#8211; Defines a network interface.</p>
<p><strong>/etc/X11/xorg.config</strong> &#8211; Config file for X11. Here you can setup the mouse, keyboard, monitor and video card.</p>
<p><strong>/proc/cpuinfo</strong> &#8211; Information about the processor such as its type, make and performance.</p>
<p><strong>/proc/devices</strong> &#8211; A list of devices configured into the currently running kernel.</p>
<p><strong>/proc/dma</strong> &#8211; Shows which DMA channels are being used at the moment.</p>
<p><strong>/proc/filesystems</strong> &#8211; Filesystems that are configured into the kernel. The file used to detect filesystems if the /etc/filesystems does not exist.</p>
<p><strong>/proc/ioports</strong> &#8211; Shows which I/O ports are in use at the moment.</p>
<p><strong>/proc/interrupts</strong> &#8211; Shows which interrupts are in use and how many of each there have been.</p>
<p><strong>/proc/kcore</strong> &#8211; An image of the physical memory of the system.</p>
<p><strong>/proc/kmsg</strong> &#8211; Messages output by the kernel. These are also routed to syslog.</p>
<p><strong>/proc/ksyms</strong> &#8211; Symbol table for the kernel.</p>
<p><strong>/proc/loadavg</strong> &#8211; The load average of the system.</p>
<p><strong>/proc/meminfo</strong> &#8211; Information about memory usage, both physical and swap.</p>
<p><strong>/proc/modules</strong> &#8211; Which kernel modules are currently loaded.</p>
<p><strong>/proc/mounts</strong> &#8211; Contains information on filesystems currently mounted, similar to /etc/mtab</p>
<p><strong>/proc/net</strong> &#8211; Contains status information about network protocols.</p>
<p><strong>/proc/self</strong> &#8211; A symbolic link to the process directory of the program that is looking at /proc. When 2 process look at proc, they get different links.</p>
<p><strong>/proc/stat</strong> &#8211; Various statistics about the system such as the number of page faults since the system was booted.</p>
<p><strong>/proc/uptime</strong> &#8211; The time the system has been up.</p>
<p><strong>/proc/version</strong> &#8211; The kernel version.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunjohn.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunjohn.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunjohn.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunjohn.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunjohn.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunjohn.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunjohn.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunjohn.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunjohn.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunjohn.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunjohn.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunjohn.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunjohn.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunjohn.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=20&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunjohn.wordpress.com/2009/10/26/configuration-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07b472b18798cfccd74498e74614196d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arunvarughese</media:title>
		</media:content>
	</item>
		<item>
		<title>OpenVZ</title>
		<link>http://arunjohn.wordpress.com/2009/10/25/openvz/</link>
		<comments>http://arunjohn.wordpress.com/2009/10/25/openvz/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 03:39:28 +0000</pubDate>
		<dc:creator>arunvarughese</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenVZ]]></category>
		<category><![CDATA[VE creation]]></category>

		<guid isPermaLink="false">http://arunjohn.wordpress.com/?p=8</guid>
		<description><![CDATA[OpenVZ allows the user to create VEs, or Virtual Environments, which seem very much like real computers. Real computer can run various distributions: Debian, Gentoo, Red Hat and Novell products, etc. In the same way, a VE can be based on various OS (Operating System) templates. On the LiveCD only few minimal OS templates are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=8&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OpenVZ allows the user to create VEs, or Virtual Environments, which seem very much like real computers. Real computer can run various distributions: Debian, Gentoo, Red Hat and Novell products, etc. In the same way, a VE can be based on various OS (Operating System) templates. On the LiveCD only few minimal OS templates are installed because of disk space limit. Each VE is identified by its number &#8212; a VEID.</p>
<p><span id="more-8"></span></p>
<ul>
<li><strong>Create and start a container</strong></li>
</ul>
<p>To create and start a container, run the following commands:</p>
<p>[host-node]# vzctl create CTID &#8211;ostemplate osname<br />
[host-node]# vzctl set CTID &#8211;ipadd a.b.c.d &#8211;save<br />
[host-node]# vzctl set CTID &#8211;nameserver a.b.c.d &#8211;save<br />
[host-node]# vzctl start CTID</p>
<p>Here CTID is the numeric ID for the container; osname is the name of the OS template for the container, and a.b.c.d is the IP address to be assigned to the container.</p>
<p>Example:</p>
<p>[host-node]# vzctl create 101 &#8211;ostemplate fedora-core-5-minimal<br />
[host-node]# vzctl set 101 &#8211;ipadd 10.1.2.3 &#8211;save<br />
[host-node]# vzctl set 101 &#8211;nameserver 10.0.2.1 &#8211;save<br />
[host-node]# vzctl start 101</p>
<p>Your freshly-created container should be up and running now; you can see its processes:</p>
<p>[host-node]# vzctl exec CTID ps ax</p>
<ul>
<li><strong> Enter to and exit from the container</strong></li>
</ul>
<p>To enter container give the following command:</p>
<p>[host-node]# vzctl enter CTID<br />
entered into container CTID<br />
[container]#</p>
<p>To exit from container, just type exit and press Enter:</p>
<p>[container]# exit<br />
exited from container VEID<br />
[host-node]#</p>
<ul>
<li><strong>Stop and destroy the container</strong></li>
</ul>
<p>To stop container:</p>
<p>[host-node]# vzctl stop CTID<br />
Stopping container &#8230;<br />
Container was stopped<br />
Container is unmounted</p>
<p>And to destroy container:</p>
<p>[host-node]# vzctl destroy CTID<br />
Destroying container private area: /vz/private/CTID<br />
Container private area was destroyed</p>
<p>source: http://wiki.openvz.org/Getting_started_with_OpenVZ_live_CD</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunjohn.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunjohn.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunjohn.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunjohn.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunjohn.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunjohn.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunjohn.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunjohn.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunjohn.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunjohn.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunjohn.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunjohn.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunjohn.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunjohn.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunjohn.wordpress.com&amp;blog=9586242&amp;post=8&amp;subd=arunjohn&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunjohn.wordpress.com/2009/10/25/openvz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07b472b18798cfccd74498e74614196d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arunvarughese</media:title>
		</media:content>
	</item>
	</channel>
</rss>
