<?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/"
	>

<channel>
	<title>System Network Programming Solution - Linux - windows - centos- security- cpanel - plesk -directadmin helm&#187; windows</title>
	<atom:link href="http://thegioinguonmo.com/os/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://thegioinguonmo.com</link>
	<description>SHARING EVERYTHING</description>
	<lastBuildDate>Mon, 06 Feb 2012 09:45:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Corrupted or Missing \WINDOWS\SYSTEM32\CONFIG</title>
		<link>http://thegioinguonmo.com/os/windows/corrupted-or-missing-windowssystem32config.html</link>
		<comments>http://thegioinguonmo.com/os/windows/corrupted-or-missing-windowssystem32config.html#comments</comments>
		<pubDate>Mon, 30 Jan 2012 21:43:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[Insert]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Press]]></category>
		<category><![CDATA[repair option]]></category>
		<category><![CDATA[section]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=1200</guid>
		<description><![CDATA[If you get the error: Windows could not start because the following files is missing or corrupt \WINDOWS\SYSTEM32\CONFIG\SYSTEM or \WINDOWS\SYSTEM32\CONFIG\SOFTWARE Insert and boot from your WindowsXP CD. At the first R=Repair option, press the R key Press the number that corresponds to the correct location for the installation of Windows you want to repair. Typically [...]]]></description>
			<content:encoded><![CDATA[<p>If you get the error:<br />
<em>Windows could not start because the following files is missing or corrupt<br />
</em>\WINDOWS\SYSTEM32\CONFIG\SYSTEM or \WINDOWS\SYSTEM32\CONFIG\SOFTWARE</p>
<ol>
<li>Insert and boot from your WindowsXP CD.</li>
<li>At the first R=Repair option, press the R key</li>
<li>Press the number that corresponds to the correct location for the installation of Windows you want to repair.<br />
Typically this will be #1</li>
<li>Enter in the administrator password when requested</li>
<li>cd \windows\system32\config</li>
<li>Depending on which section was corrupted:<br />
ren software software.bad or ren system system.bad</li>
<li>Depending on which section was corrupted<br />
copy \windows\repair\system<br />
copy \windows\repair\software</li>
<li>Take out the CD ROM and type exit</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/windows/corrupted-or-missing-windowssystem32config.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Enable IP Routing in Windows</title>
		<link>http://thegioinguonmo.com/os/windows/how-to-enable-ip-routing-in-windows.html</link>
		<comments>http://thegioinguonmo.com/os/windows/how-to-enable-ip-routing-in-windows.html#comments</comments>
		<pubDate>Sun, 29 Jan 2012 21:40:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[Exit Registry Editor]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[protocol]]></category>
		<category><![CDATA[Registry Editor]]></category>
		<category><![CDATA[use]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=1162</guid>
		<description><![CDATA[Routing between subnets is disabled by default for the TCP/IP protocol in Windows NT. To enable routing, following these steps: WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can [...]]]></description>
			<content:encoded><![CDATA[<p>Routing between subnets is disabled by default for the TCP/IP protocol in Windows NT. To enable routing, following these steps:</p>
<p>WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.</p>
<ol>
<li>Start Registry Editor (REGEDT32.EXE) and go to the following subkey:<br />
<blockquote><p><strong> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip<br />
\Parameters</strong></p></blockquote>
</li>
<li>From the Edit menu, choose Add Value.</li>
<li>Enter the following values:<br />
<blockquote><p>Value Name: IpEnableRouter<br />
Data Type: REG_DWORD<br />
Value: 1</p></blockquote>
</li>
<li>Exit Registry Editor and restart Windows NT.</li>
</ol>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/os/windows/how-to-enable-ip-routing-in-windows.html" title="ip routing disabled">ip routing disabled</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/windows/how-to-enable-ip-routing-in-windows.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware ESX(i) &amp; Windows Server 2008: Updated driver for sluggish console access</title>
		<link>http://thegioinguonmo.com/os/windows/vmware-esxi-windows-server-2008-updated-driver-sluggish-console-access.html</link>
		<comments>http://thegioinguonmo.com/os/windows/vmware-esxi-windows-server-2008-updated-driver-sluggish-console-access.html#comments</comments>
		<pubDate>Tue, 03 Jan 2012 11:38:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=2114</guid>
		<description><![CDATA[If you are running Windows Server 2008 in your VMware environment, you&#8217;ll have noticed that by default the vSphere Console access is a lot slower than what you are used to in Windows Server 2003. You can fix that, by updating the Graphics Driver in Server 2008. 1. Install VMware Tools To start, VMware Tools [...]]]></description>
			<content:encoded><![CDATA[<p>If you are running Windows Server <strong>2008 </strong>in your VMware environment, you&#8217;ll have noticed that by default the vSphere Console access is a lot slower than what you are used to in Windows Server 2003. You can fix that, by updating the Graphics Driver in Server 2008.</p>
<h2>1. Install VMware Tools</h2>
<p>To start, VMware Tools needs to be installed in your Virtual Machine. That should at least be from <strong>vSphere </strong>version 4.0.</p>
<h2>2. Update your Graphics Drivers</h2>
<p>Go to your Hardware Manager in Windows and right click your Display Adapter. Choose <strong>Update Driver Software</strong>.</p>
<p><a href="http://thegioinguonmo.com/wp-content/uploads/2012/01/1_update_driver.png"><img class="alignnone size-full wp-image-2115" title="1_update_driver" src="http://thegioinguonmo.com/wp-content/uploads/2012/01/1_update_driver.png" alt="1 update driver VMware ESX(i) & Windows Server 2008: Updated driver for sluggish console access" width="650" height="551" /></a></p>
<p>Say you&#8217;ll browse to a specific location and point it to <strong>C:\Program Files\Common Files\VMware\Drivers\wddm_video.</strong></p>
<p><a href="http://thegioinguonmo.com/wp-content/uploads/2012/01/2_driver_path.png"><img class="alignnone size-full wp-image-2116" title="2_driver_path" src="http://thegioinguonmo.com/wp-content/uploads/2012/01/2_driver_path.png" alt="2 driver path VMware ESX(i) & Windows Server 2008: Updated driver for sluggish console access" width="650" height="551" /></a></p>
<p>Et voila: your driver has been updated!</p>
<p><a href="http://thegioinguonmo.com/wp-content/uploads/2012/01/3_driver_installed.png"><img class="alignnone size-full wp-image-2117" title="3_driver_installed" src="http://thegioinguonmo.com/wp-content/uploads/2012/01/3_driver_installed.png" alt="3 driver installed VMware ESX(i) & Windows Server 2008: Updated driver for sluggish console access" width="650" height="551" /></a></p>
<h2>3. Reboot your VM</h2>
<p>After the driver&#8217;s been installed, reboot your Virtual Machine and you will notice the smooth console access you&#8217;re used to from Windows Server 2003.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/os/windows/vmware-esxi-windows-server-2008-updated-driver-sluggish-console-access.html" title="esx windows 2008 black console">esx windows 2008 black console</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/vmware-esxi-windows-server-2008-updated-driver-sluggish-console-access.html" title="esxi fehler windows 2008">esxi fehler windows 2008</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/vmware-esxi-windows-server-2008-updated-driver-sluggish-console-access.html" title="install vmtools on server 2008">install vmtools on server 2008</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/windows/vmware-esxi-windows-server-2008-updated-driver-sluggish-console-access.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Listen IPs In IIS (The network location cannot be reached)</title>
		<link>http://thegioinguonmo.com/os/windows/fixing-listen-ips-iis-network-location-reached.html</link>
		<comments>http://thegioinguonmo.com/os/windows/fixing-listen-ips-iis-network-location-reached.html#comments</comments>
		<pubDate>Tue, 03 Jan 2012 11:34:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[iis]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=2110</guid>
		<description><![CDATA[When you run IIS sites long enough, you might eventually run into the following problem when trying to start a new or already existing site in the IIS manager. Error: “The network location cannot be reached. “ The most likely cause is that Host Headers for that particular site are configured for an IP address [...]]]></description>
			<content:encoded><![CDATA[<p>When you run IIS sites long enough, you might eventually run into the following problem when trying to start a new or already existing site in the IIS manager.</p>
<pre class="brush:plain">    Error: “The network location cannot be reached. “</pre>
<p>The most likely cause is that Host Headers for that particular site are configured for an IP address which is either no longer configured on the server, or on which IIS is no longer listening. I&#8217;m just going to assume you know how to check if an IP is configured on a server.</p>
<p>To check whether IIS service is listening on a particular IP, you&#8217;ll need the <a rel="nofollow" target="_blank" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=96a35011-fd83-419d-939b-9a772ea2df90&amp;displaylang=en">Windows Server Support Tools</a> (hit google for another version if you should need it). After the installation, can you use the following Command Prompt tools.</p>
<pre class="brush:plain">&gt; httpcfg query iplisten
IP                      : 10.1.5.200</pre>
<p>If your IP address isn&#8217;t present, try adding it.</p>
<pre class="brush:plain">&gt; httpcfg set iplisten -i 10.1.5.201
HttpSetServiceConfiguration completed with 0.</pre>
<p>And query the list again.</p>
<pre class="brush:plain">&gt; httpcfg query iplisten
IP                      : 10.1.5.200
------------------------------------------------------------------------------
IP                      : 10.1.5.201
------------------------------------------------------------------------------</pre>
<p>If it does not work after the <strong>httpcfg</strong> change, you may have to reboot your server (I know, it sucks). For some reason, restarting IIS alone may not always help.</p>
<p>A very likely cause is that something else was occupying port 80 already when the IIS service started, causing it to delete that particular listen IP from it&#8217;s configuration. To track that down, use <strong>netstat</strong>.</p>
<pre class="brush:plain">&gt; netstat -anb | find “80″</pre>
<p>That will list all connections or programs listening to port 80.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/os/windows/fixing-listen-ips-iis-network-location-reached.html" title="network location cannot be reached rootkit">network location cannot be reached rootkit</a> (2)</li><li><a href="http://thegioinguonmo.com/os/windows/fixing-listen-ips-iis-network-location-reached.html" title="network location cannot be reached">network location cannot be reached</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/windows/fixing-listen-ips-iis-network-location-reached.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vSphere Web Access 503 Service Unavailable Error And Solution</title>
		<link>http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html</link>
		<comments>http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html#comments</comments>
		<pubDate>Mon, 19 Dec 2011 08:29:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=1965</guid>
		<description><![CDATA[By default vSphere does not provide client for Linux or OS X. You need to use Windows system to manage your VMware ESX server. However, it does provides vSphere Web Access which allows you to organize and share virtual machines using web browser. If you try to access vSphere Web Access you may get an [...]]]></description>
			<content:encoded><![CDATA[<p>By default vSphere does not provide client for Linux or OS X. You need to use Windows system to manage your VMware ESX server. However, it does provides vSphere Web Access which allows you to organize and share virtual machines using web browser. If you try to access vSphere Web Access you may get an error which read as follows:</p>
<blockquote><p><strong> 503 Service Unavailable</strong></p></blockquote>
<p>You can fix this problem as follows.</p>
<p>Login to your vmware server as root user.</p>
<p>Type the following command to turn on the service:<br />
<code># chkconfig vmware-webAccess on<br />
# service vmware-webAccess start<br />
</code><br />
Now login as root to your server:</p>
<div id="attachment_6885"><a href="http://thegioinguonmo.com/?attachment_id=6885" rel="attachment wp-att-6885"><img title="Vmware vSphere Web Access Login URL" src="http://files.cyberciti.biz/uploads/tips/2010/05/vmware-vSphere-Web-Access-login.png" alt="vmware vSphere Web Access login vSphere Web Access 503 Service Unavailable Error And Solution" width="469" height="226" /></a>Fig.01: vSphere Web Access Login In Action</p>
</div>
<p>Once logged in you can setup guest operating systems, start and stop vms and so on. This can be done using any browser under Linux / OS X or Windows operating systems:</p>
<div id="attachment_6917"><a href="http://thegioinguonmo.com/?attachment_id=6917" rel="attachment wp-att-6917"><img title="vSphere Web Access Login and Setup VMs" src="http://files.cyberciti.biz/uploads/tips/2010/05/vSphere-Web-Access-set-guest-oses-small-u.png" alt="vSphere Web Access set guest oses small u vSphere Web Access 503 Service Unavailable Error And Solution" width="599" height="374" /></a>Fig.02: vSphere Web Access in Action</p>
</div>
<p>Alternatively, you can use MS-Windows vSphere client to start and stop vSphere web access services without using shell prompt.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html" title="503 service unavailable mssql">503 service unavailable mssql</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html" title="vsphere web access">vsphere web access</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html" title="vsphere client 503 server unavailable">vsphere client 503 server unavailable</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html" title="vsphere centos network">vsphere centos network</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html" title="service unavailable 503 windows plesk">service unavailable 503 windows plesk</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html" title="no cpanel access 503">no cpanel access 503</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html" title="how do i generate a 503 service unavailable cpanel">how do i generate a 503 service unavailable cpanel</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html" title="directadmin op vmware">directadmin op vmware</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html" title="directadmin in vmware workstation">directadmin in vmware workstation</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html" title="determine optimal scsi timeout rhel5">determine optimal scsi timeout rhel5</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/windows/vsphere-web-access-503-service-unavailable-error-solution.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Find Out If PCI Hardware Supported or Not In The Current Running Kernel</title>
		<link>http://thegioinguonmo.com/os/windows/linux-find-pci-hardware-supported-current-running-kernel.html</link>
		<comments>http://thegioinguonmo.com/os/windows/linux-find-pci-hardware-supported-current-running-kernel.html#comments</comments>
		<pubDate>Mon, 19 Dec 2011 08:14:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=1946</guid>
		<description><![CDATA[A typical question from my mailbag: How do I find out if a given PCI hardware is supported of by the current CentOS / Debian / RHEL / Fedora Linux kernel? You can easily find out find out if a given piece of PCI hardware such as RAID, network, sound, graphics card is supported or [...]]]></description>
			<content:encoded><![CDATA[<p>A typical question from my mailbag:</p>
<blockquote><p>How do I find out if a given PCI hardware is supported of by the current CentOS / Debian / RHEL / Fedora Linux kernel?</p></blockquote>
<p>You can easily find out find out if a given piece of PCI hardware such as RAID, network, sound, graphics card is supported or not by the current Linux kernel using the following utilities under any Linux distributions.</p>
<h2>Required Tools</h2>
<ol>
<li><strong>/lib/modules/$(uname -r)/modules.pcimap</strong> : This file is automatically generated by depmod, and used by pcimodules command to determine which modules correspond to which PCI ID&#8217;s. You need to use this file to find out if driver is supported or not.</li>
<li><strong>lspci command</strong> &#8211; list and query all PCI devices connected to the system.</li>
</ol>
<h2>Use lspci Command To List All PCI Devices</h2>
<p>Will an Intel Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller Card be taken care of by a Linux kernel 2.6.27-11-server?<br />
<code>$ lspci<br />
$ lspci | grep -i audio</code><br />
Sample Output:</p>
<pre>00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)</pre>
<p>Note down the identifier in first field i.e. 00:1b.0. Now use lspci -n as follows to get result for device 00:1b.0.<br />
<code>$ lspci -n | grep 00:1b.0</code><br />
Sample Output:</p>
<pre>00:1b.0 0403: 8086:27d8 (rev 01)</pre>
<p>Where,</p>
<ul>
<li>00:1b.0 &#8211; Device</li>
<li>8086 &#8211; constructor code for Intel Corporation</li>
<li>27d8 &#8211; The model id.</li>
</ul>
<p>Use the model id to search driver, as follows:<br />
<code>$ grep 27d8 /lib/modules/$(uname -r)/modules.pcimap </code><br />
Sample Output:</p>
<pre>snd-hda-intel        0x00008086 0x000027d8 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0</pre>
<p>snd-hda-intel is kernel driver handling PCI audio device. You can get more information about this driver by typing the following:<br />
<code>$ modinfo snd-hda-intel<br />
$ modinfo snd-hda-intel| egrep 'description|filename|depends'</code><br />
Sample Output:</p>
<pre>filename:       /lib/modules/2.6.27-11-server/kernel/sound/pci/hda/snd-hda-intel.ko
description:    Intel HDA driver
depends:        snd-pcm,snd-page-alloc,snd</pre>
<h3>Another example &#8211; Will an Adaptec AAC-RAID SCSI SA Card work with Linux kernel v2.6.18-128.1.10.el5 (CentOS / RHEL 5 kernel)?</h3>
<p>Type the following commands:<br />
<code>$ lspci | grep -i RAID</code><br />
Output:</p>
<pre>07:0e.0 RAID bus controller: Adaptec AAC-RAID</pre>
<p>Get device id:<br />
<code>$ lspci -n | grep '07:0e.0'</code><br />
Output:</p>
<pre>07:0e.0 0104: 9005:0285</pre>
<p>Search for device id to driver mapping:<br />
<code>$ grep 0285 /lib/modules/$(uname -r)/modules.pcimap </code><br />
Output:</p>
<pre>aacraid              0x00009005 0x00000285 0x00009005 0x00000286 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x00000285 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x00000287 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x000017aa 0x00000286 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x000017aa 0x00000287 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x00000288 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x00000289 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x0000028a 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x0000028b 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x000002a4 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x000002a5 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x0000028e 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x0000028f 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x00000290 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00001028 0x00000291 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x00000292 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x00000293 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x00000294 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x0000103c 0x00003227 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x00000296 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x00000297 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00001014 0x000002f2 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00001014 0x00000312 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x00000298 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x00000299 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00009005 0x0000029a 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00001028 0x00000287 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x00001028 0xffffffff 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0x000017aa 0xffffffff 0x00000000 0x00000000 0x0
aacraid              0x00009005 0x00000285 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
ata_piix             0x00008086 0x00002850 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0</pre>
<p>Get detailed information about aacraid driver:<br />
<code>$ modinfo aacraid | egrep 'description|filename|depends'</code><br />
Output:</p>
<pre>filename: filename:       /lib/modules/2.6.18-128.1.10.el5/kernel/drivers/scsi/aacraid/aacraid.ko
description:    Dell PERC2, 2/Si, 3/Si, 3/Di, Adaptec Advanced Raid Products, HP NetRAID-4M, IBM ServeRAID &amp; ICP SCSI driver
depends:        scsi_mod</pre>
<h3>Task: Show kernel drivers handling each device and also kernel modules capable of handling it</h3>
<p>Pass the -k option (works with latest lspci version only):<br />
<code>$ lspci -k</code><br />
Sample Output:</p>
<pre>00:00.0 Host bridge: Intel Corporation 82975X Memory Controller Hub
	Kernel modules: i82975x_edac
00:01.0 PCI bridge: Intel Corporation 82975X PCI Express Root Port
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01)
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01)
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
	Kernel modules: intel-rng, iTCO_wdt
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
	Kernel driver in use: i801_smbus
	Kernel modules: i2c-i801
01:00.0 VGA compatible controller: nVidia Corporation Quadro FX 570 (rev a1)
	Kernel driver in use: nvidia
	Kernel modules: nvidia, nvidiafb
03:00.0 SATA controller: Marvell Technology Group Ltd. 88SE6145 SATA II PCI-E controller (rev a1)
	Kernel driver in use: pata_marvell
	Kernel modules: ahci, pata_marvell
04:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) (rev 03)
	Kernel driver in use: e1000e
	Kernel modules: e1000e
04:00.3 Serial controller: Intel Corporation Active Management Technology - SOL (rev 03)
	Kernel driver in use: serial
04:00.4 IPMI SMIC interface: Intel Corporation 82573E KCS (Active Management) (rev 03)
05:02.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)
	Kernel driver in use: ndiswrapper
05:04.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
	Kernel driver in use: ohci1394
	Kernel modules: ohci1394</pre>
<h3>Task: Lists all driver modules for all currently plugged in PCI devices</h3>
<p>Type the pcimodules command (again you need updated pciutils package):<br />
<code>$ pcimodules</code><br />
Sample Output:</p>
<pre>ohci1394
ipmi_si
e1000e
ahci
pata_marvell
nvidia
nvidiafb
i2c-i801
ata_piix
ata_generic
pata_acpi
ata_piix
ata_generic
pata_acpi
intel-rng
iTCO_wdt
ehci-hcd
uhci-hcd
shpchp
snd-hda-intel
shpchp
i82975x_edac</pre>
<h3>Task: Update pci.ids Database</h3>
<p>/usr/share/hwdata/pci.ids file is all known ID&#8217;s used in PCI devices: ID&#8217;s of vendors, devices, subsystems and device classes. You can update this database by typing the following command at a shell prompt:<br />
<code>$ update-pciids</code></p>
<h2>Suggested Readings:</h2>
<ol>
<li>Linux &#8211; lspci command to list and find out more information about all PCI devices.</li>
<li>Linux find out or display IDs for adapters installed in a server</li>
<li>Linux find out my VIDEO Card Memory RAM size using command line utility</li>
<li>The PCI Utilities &#8211; The PCI Utilities are a collection of programs for inspecting and manipulating configuration of PCI devices, all based on a common portable library libpci which offers access to the PCI configuration space on a variety of operating systems.</li>
<li>The PCI ID Repository &#8211; This is a public repository of all known ID&#8217;s used in PCI devices: ID&#8217;s of vendors, devices, subsystems and device classes. It is used in various programs (e.g., The PCI Utilities) to display full human-readable names instead of cryptic numeric codes.</li>
<li>man pages lspci, update-pciids, and pcimodules</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/windows/linux-find-pci-hardware-supported-current-running-kernel.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD / Linux: Sending a Message to Windows Workstation with smbclient command</title>
		<link>http://thegioinguonmo.com/os/linux/freebsd-linux-sending-a-message-to-windows-workstation-with-smbclient-command.html</link>
		<comments>http://thegioinguonmo.com/os/linux/freebsd-linux-sending-a-message-to-windows-workstation-with-smbclient-command.html#comments</comments>
		<pubDate>Sat, 17 Dec 2011 15:47:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[EOF]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Message]]></category>
		<category><![CDATA[samba server]]></category>
		<category><![CDATA[solaris unix]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=1719</guid>
		<description><![CDATA[You can use utility smbclient (part of samba server) to send a message to windows system from FreeBSD (or even from Linux/Solaris/UNIX OS). This command lets you send messages to windows workstations, display browse lists, and connect to SMB shares. Genral syntax of to send a message is as follows: smbclient -M &#60;WINDOW-SYSTEM-NAME&#62; &#60;&#60;EOF Message [...]]]></description>
			<content:encoded><![CDATA[<p>You can use utility smbclient (part of samba server) to send a message to windows system from FreeBSD (or even from Linux/Solaris/UNIX OS). This command lets you send messages to windows workstations, display browse lists, and connect to SMB shares. Genral syntax of to send a message is as follows:</p>
<blockquote><p>smbclient -M &lt;WINDOW-SYSTEM-NAME&gt; &lt;&lt;EOF<br />
Message<br />
Message<br />
&#8230;<br />
..<br />
&#8230;<br />
When the message is complete, press Control-D.</p></blockquote>
<h2>Send message to Windows system from Linux/ FreeBSD</h2>
<p>To send a message &#8220;Meeting canceled&#8221; to windows system called joyxp<br />
<code>$ smbclient -M joyxp &lt;&lt;EOF</code><br />
Output:</p>
<pre>Meeting canceled
See you at coffee house in 2 hrs.
--Vivek
EOF</pre>
<p>With –U you can specify the username.<br />
<code>$ smbclient -M myxp -U VIVEK &lt;&lt;EOF<br />
Meeting cancelled<br />
See you at coffee house in 2 hrs.<br />
EOF</code></p>
<p><img src="http://www.cyberciti.biz/nixcraft/vivek/blogger/xpmessage.jpg" alt="xpmessage FreeBSD / Linux: Sending a Message to Windows Workstation with smbclient command"  title="FreeBSD / Linux: Sending a Message to Windows Workstation with smbclient command" /></p>
<p>This tip also works with Linux and other UNIX variant with Samba client utilities package. Read man page of smbclient for more information.<br />
<code>man smbclient</code></p>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/os/linux/freebsd-linux-sending-a-message-to-windows-workstation-with-smbclient-command.html" title="EOF in centos">EOF in centos</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/freebsd-linux-sending-a-message-to-windows-workstation-with-smbclient-command.html" title="freebsd / linux: sending a message to windows workstation with smbclient command">freebsd / linux: sending a message to windows workstation with smbclient command</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/freebsd-linux-sending-a-message-to-windows-workstation-with-smbclient-command.html" title="freebsd send message to workstation">freebsd send message to workstation</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/freebsd-linux-sending-a-message-to-windows-workstation-with-smbclient-command.html" title="linux command send network message">linux command send network message</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/freebsd-linux-sending-a-message-to-windows-workstation-with-smbclient-command.html" title="messages linux windows">messages linux windows</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/freebsd-linux-sending-a-message-to-windows-workstation-with-smbclient-command.html" title="samba server">samba server</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/freebsd-linux-sending-a-message-to-windows-workstation-with-smbclient-command.html" title="smbclient send message to wondows">smbclient send message to wondows</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/linux/freebsd-linux-sending-a-message-to-windows-workstation-with-smbclient-command.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security Comparison: Windows vs Linux</title>
		<link>http://thegioinguonmo.com/os/linux/security-comparison-windows-vs-linux.html</link>
		<comments>http://thegioinguonmo.com/os/linux/security-comparison-windows-vs-linux.html#comments</comments>
		<pubDate>Fri, 16 Dec 2011 20:48:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[enterprise linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[Red]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[red hat enterprise]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=1606</guid>
		<description><![CDATA[Much ado has been made about whether or not Linux is truly more secure than Windows. This article provides some tips and hints about the same. We compared Windows vs. Linux by examining the following metrics in the 40 most recent patches/vulnerabilities listed for Microsoft Windows Server 2003 vs. Red Hat Enterprise Linux AS v.3: [...]]]></description>
			<content:encoded><![CDATA[<p>Much ado has been made about whether or not Linux is truly more secure than Windows. This article provides some tips and hints about the same.</p>
<p>We compared Windows vs. Linux by examining the following metrics in the 40 most recent patches/vulnerabilities listed for Microsoft Windows Server 2003 vs. Red Hat Enterprise Linux AS v.3:</p>
<p>1. The severity of security vulnerabilities, derived from the following metrics:<br />
1.1 damage potential (how much damage is possible?)<br />
1.2. exploitation potential (how easy is it to exploit?)<br />
1.3. exposure potential (what kind of access is necessary to exploit the vulnerability?)<br />
2. The number of critically severe vulnerabilities</p>
<p>The results were not unexpected. Even by Microsoft&#8217;s subjective and flawed standards, fully 38% of the most recent patches address flaws that Microsoft ranks as Critical. Only 10% of Red Hat&#8217;s patches and alerts address flaws of Critical severity. These results are easily demonstrated to be generous to Microsoft and arguably harsh with Red Hat, since the above results are based on Microsoft&#8217;s ratings rather than our more stringent application of the security metrics. If we were to apply our own metrics, it would increase the number of Critical flaws in Windows Server 2003 to 50%.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/os/linux/security-comparison-windows-vs-linux.html" title="windows security vs linux security">windows security vs linux security</a> (3)</li><li><a href="http://thegioinguonmo.com/os/linux/security-comparison-windows-vs-linux.html" title="linux vs windows security">linux vs windows security</a> (2)</li><li><a href="http://thegioinguonmo.com/os/linux/security-comparison-windows-vs-linux.html" title="compare windows server centos">compare windows server centos</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/security-comparison-windows-vs-linux.html" title="is linux more secure than windows">is linux more secure than windows</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/security-comparison-windows-vs-linux.html" title="linux more secure than windows">linux more secure than windows</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/security-comparison-windows-vs-linux.html" title="linux vs microsoft">linux vs microsoft</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/security-comparison-windows-vs-linux.html" title="linux vs windows which is most secure">linux vs windows which is most secure</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/security-comparison-windows-vs-linux.html" title="linux windows security">linux windows security</a> (1)</li><li><a href="http://thegioinguonmo.com/os/linux/security-comparison-windows-vs-linux.html" title="security in linux vs windows">security in linux vs windows</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/linux/security-comparison-windows-vs-linux.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving Mdaemon Mail to New Server</title>
		<link>http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html</link>
		<comments>http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html#comments</comments>
		<pubDate>Fri, 16 Dec 2011 16:35:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Email server]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[Settings]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[Start]]></category>
		<category><![CDATA[System Service Settings]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=1467</guid>
		<description><![CDATA[In order to move MDaemon to a new machine you should first remove the MDaemon service. To remove MDaemon as a service Go to Setup Click on System Service Settings Click on Remove Service Open Windows Explorer and navigate to your MDaemon directory. Make a backup of the entire directory. Make a note of the [...]]]></description>
			<content:encoded><![CDATA[<p>In order to move MDaemon to a new machine you should first remove the MDaemon service.  To remove MDaemon as a service<br />
Go to Setup<br />
Click on System Service Settings<br />
Click on Remove Service<br />
Open Windows Explorer and navigate to your MDaemon directory.  Make a backup of the entire directory. Make a note of the directory where you currently have MDaemon installed<br />
Copy the entire MDaemon directory from the old machine to the new machine<br />
Download and install the correct version of MDaemon into the same directory that it was installed in on the old machine<br />
NOTE: You must install into the same directory.  If you install MDaemon into a different directory it will result in a new installation and it will not retain all of your settings.<br />
At the end of the installation you will be prompted to run Advanced Installation.  Select ‘no’ here.<br />
Start MDaemon by going to<br />
Start<br />
Programs<br />
MDaemon<br />
Start MDaemon.<br />
From the MDaemon menu bar select<br />
Setup<br />
System Service Settings<br />
Install Service.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html" title="system service psa centos">system service psa centos</a> (2)</li><li><a href="http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html" title="migrating to mdaemon using helm">migrating to mdaemon using helm</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html" title="migrating mdaemon to a new server">migrating mdaemon to a new server</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html" title="migrate mdaemon to new server with different version">migrate mdaemon to new server with different version</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html" title="migrate Mdaemon to new server">migrate Mdaemon to new server</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html" title="mdaemon plesk">mdaemon plesk</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html" title="mdaemon on linux">mdaemon on linux</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html" title="mdaemon mail server for centos">mdaemon mail server for centos</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html" title="mdaemon">mdaemon</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html" title="how to install mdaemon on plesk">how to install mdaemon on plesk</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/windows/moving-mdaemon-mail-to-new-server.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenVPN Windows HowTo</title>
		<link>http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html</link>
		<comments>http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html#comments</comments>
		<pubDate>Thu, 15 Dec 2011 16:53:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[KEY]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server hostname]]></category>

		<guid isPermaLink="false">http://thegioinguonmo.com/?p=1409</guid>
		<description><![CDATA[OpenVPN is a full-featured SSL VPN solution which can accomodate a wide range of configurations, including remote access, site-to-site VPNs, WiFi security, and enterprise-scale remote access solutions with load balancing, failover, and fine-grained access-controls. Although originally developed for Linux, OpenVPN is now widely used for providing VPN services for Windows clients. This document describes how [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://openvpn.net/">OpenVPN</a> is a full-featured SSL VPN solution which can accomodate a wide range of configurations, including remote access, site-to-site VPNs, WiFi security, and enterprise-scale remote access solutions with load balancing, failover, and fine-grained access-controls.</p>
<p>Although originally developed for Linux, OpenVPN is now widely used for providing VPN services for Windows clients. This document describes how we install and configure OpenVPN to work in a Microsoft Windows only environment.</p>
<h3>Prerequisites</h3>
<p>This how to assumes that you have various things already set up:</p>
<h4>OpenVPN Server</h4>
<p>You need a Windows system to act as the OpenVPN server. This can be a Windows 2000/2003 Server or 2000/XP Professional system.</p>
<h4>OpenVPN Clients</h4>
<p>One or more OpenVPN client systems. These should be Windows 2000/XP Professional, although 2000/2003 server should work equally well.</p>
<h4>Networking</h4>
<p>The OpenVPN server system needs to be publically reachable on UDP port 1194 (you can use another port if required but this is the standard port for OpenVPN). If the server is behind a NAT router then this will require address/port forwarding.</p>
<p>It’s preferable for the server IP address to be static as this makes things more stable. If your server has a dynamic IP address then you will need to use a dynamic DNS service to provide a fixed hostname.</p>
<p>All systems should have an unfiltered Internet connection, or at least one that allows communication on UDP port 1194. It is possible to run OpenVPN through through more restrictive connections (e.g. a proxy server), but this is outside the scope of this article.</p>
<h4>Names and addresses</h4>
<p>The names and addresses used in this how to are examples only and should be changed to suit your environment.</p>
<ul>
<li>Company Name: <em>Acme Corp.</em></li>
<li>Public Domain Name: <em>acme.com</em></li>
<li>Private (Windows) Domain Name: <em>acme.com.local</em></li>
<li>Server Hostname: <em>widget</em></li>
<li>LAN address: <em>192.168.0.0/24</em></li>
<li>Server public address: <em>1.2.3.4</em></li>
<li>Server private address: <em>192.168.0.1</em></li>
<li>VPN address: <em>10.8.0.0/24</em></li>
</ul>
<h3>Software</h3>
<h4>OpenVPN</h4>
<p>We generally use the OpenVPN GUI package on Windows systems rather than the stock package, as this provides a system tray icon for controlling the application:</p>
<p><a rel="nofollow" target="_blank" title="http://openvpn.se/download.html" href="http://openvpn.se/download.html">http://openvpn.se/download.html</a></p>
<h3>Server Configuration</h3>
<h4>Install OpenVPN</h4>
<p>OpenVPN GUI can be installed with default options (certificate wizard is not needed). Near the end of the install it will add a TAP-Win32 virtual adapter that is not signed, you need to tell Windows to install this as requested.</p>
<p>Once the installation is complete, you will need to create additional TAP-Win32 virtual adapters using the shortcut in the OpenVPN program group. One adapter is needed for each concurrent VPN user. Rename these adapters to “OpenVPN #n” where n is the adapter number. This is cosmetic only but helps identification.</p>
<h4>Configure OpenVPN</h4>
<p>Create the server configuration file in the OpenVPN config folder (c:\program files\openvpn\config\)</p>
<pre class="brush:plain">## server.ovpn ##
port 1194
proto udp
dev tun
ca ca.crt
cert widget.crt
key widget.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.0.0 255.255.255.0"
push "dhcp-option WINS 192.168.0.1"
push "dhcp-option DNS 192.168.0.1"
push "dhcp-option DOMAIN acme.com.local"
keepalive 10 120
comp-lzo
max-clients 4
persist-key
persist-tun
status openvpn-status.log
verb 3</pre>
<pre></pre>
<p>Values in <em>italics</em> should be changed to suit your environment.</p>
<p>In this example the max-clients has been set to 4, which would require 3 additional TAP-Win32 virtual adapters to be created.</p>
<h4>Set up a Certificate Authority (CA)</h4>
<p>You need a Certificate Authority (CA) to sign your client and server certificates. The easy-rsa scripts make this pretty straightforward.</p>
<p>First we need to initialise easy-rsa. You should only do this once as it will wipe out any existing certificates, keys and settings.</p>
<pre class="brush:plain">C:\Program Files\OpenVPN\easy-rsa&gt; init-config</pre>
<p>Next edit vars.bat and change the “KEY_” settings at the bottom of the file.</p>
<pre class="brush:plain">set KEY_COUNTRY=GB
set KEY_PROVINCE=London
set KEY_CITY=London
set KEY_ORG=Acme
set KEY_EMAIL=hostmaster@acme.com</pre>
<pre></pre>
<p>Finally create the keys folder and the root certificate itself.</p>
<pre class="brush:plain">C:\Program Files\OpenVPN\easy-rsa&gt; vars
C:\Program Files\OpenVPN\easy-rsa&gt; clean-all
C:\Program Files\OpenVPN\easy-rsa&gt; build-ca</pre>
<pre></pre>
<p>You will be asked to enter some details for the root certificate. Most of these will default to the values that you entered into vars.bat, but you will need to choose a “Common Name” for the certificate.</p>
<pre class="brush:plain">Common Name (eg, your name or your server's hostname) []:Administrator</pre>
<p>Keys and certificates are created in the keys subfolder. The ca.crt file (root certificate) should be copied to the OpenVPN config folder.</p>
<pre class="brush:plain">C:\Program Files\OpenVPN\easy-rsa&gt; copy keys\ca.crt ..\config\</pre>
<p>Important: Key files (.key) are very sensitive and should be kept safe and never sent over insecure (unencrypted) channels. The Certificate Authority key (ca.key) is particularly important – if it is lost or comprimised then you will have to replace all your keys and certificates.</p>
<h4>Set up server key and certificate</h4>
<p>Once the CA has been set up, we can generate a key and certificate for the server.</p>
<pre class="brush:plain">C:\Program Files\OpenVPN\easy-rsa&gt; vars
C:\Program Files\OpenVPN\easy-rsa&gt; build-key-server widget</pre>
<pre></pre>
<p>Executing the vars.bat is not necessary if you do this straight after creating the CA because the environment will still be set (but it doesn’t hurt).</p>
<p>As with generating the root certificate, most of the details will default to the correct values but you will need to enter a “Common Name”. This is best set to the hostname of the server.</p>
<pre class="brush:plain">Common Name (eg, your name or your server's hostname) []:widget.acme.com.local</pre>
<p>You can leave the challange password and optional company name blank.</p>
<p>The server also needs Diffie Hellman parameters.</p>
<pre class="brush:plain">C:\Program Files\OpenVPN\easy-rsa&gt; build-dh</pre>
<p>This may take a while…</p>
<p>Finally copy the key, certificate and DH file to the OpenVPN config folder.</p>
<pre class="brush:plain">C:\Program Files\OpenVPN\easy-rsa&gt; copy keys\widget.crt ..\config\
C:\Program Files\OpenVPN\easy-rsa&gt; copy keys\widget.key ..\config\
C:\Program Files\OpenVPN\easy-rsa&gt; copy keys\dh1024.pem ..\config\</pre>
<pre></pre>
<h4>Setup VPN routing</h4>
<p>Routing on the server <em>should</em> be enabled by enabling LAN routing in the Routing and Remote Access service, however we’ve found that this causes problems with the OpenVPN service so I would not recommend it. Instead use regedit to set the IPEnableRouter registry key to 1.</p>
<pre class="brush:plain">Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Value: IPEnableRouter
Type: REG_DWORD
Data: 0x00000001 (1)</pre>
<pre></pre>
<p>To allow VPN clients to communicate with systems on the LAN (other than the VPN server), you need to add the VPN network to your router(s) configuration. For a simple stub network you would do this by adding a static route to the default gateway to direct traffic for <em>10.8.0.0/24</em> to the server.</p>
<pre class="brush:plain">Network: 10.8.0.0
Subnet Mask: 255.255.255.0
Next Hop Address: 192.168.0.1</pre>
<pre></pre>
<p>To do this with on an IPCop firewall, add a line to the /etc/rc.d/rc.local file.</p>
<pre class="brush:plain"> #!/bin/sh
 /sbin/route add -net 10.8.0.0/24 gw 192.168.0.1</pre>
<p>You can also add this route at the command line to avoid rebooting the router.</p>
<pre class="brush:plain">root@ipcop:~ # route add -net 10.8.0.0/24 gw 192.168.0.1</pre>
<h4>Finishing touches</h4>
<p>We like to create a batch file called restartvpn.cmd in the OpenVPN config folder (and desktop shortcut) to restart the OpenVPN service in case it gets stuck.</p>
<pre class="brush:plain">net stop openvpnservice
net start openvpnservice</pre>
<pre></pre>
<p>Configure the OpenVPN service to start automatically on boot using the services applet, and then start the service.</p>
<h3>Client Configuration</h3>
<h4>Install OpenVPN</h4>
<p>Again the OpenVPN GUI can be installed with default options.</p>
<p>I like to rename the TAP-Win32 (in Network connections) adapter to “OpenVPN”. This is cosmetic only but helps identification.</p>
<h4>Configure OpenVPN</h4>
<p>Create the client configuration file in the OpenVPN config folder (c:\program files\openvpn\config\).</p>
<pre class="brush:plain">## acme.ovpn ##
client
proto udp
dev tun
remote 1.2.3.4 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert fred.crt
key fred.key
comp-lzo
verb 3</pre>
<pre></pre>
<p>Values in italics should be changed to suit your environment.</p>
<p>In this example we assume that the name of the client is “<em>Fred</em>“.</p>
<h4>Set up client key and certificate</h4>
<p>We will generate client keys and certificates on the server, which means you have to be careful to securely transport the client key to the client machine. To avoid this you could generate the key on the client along with a Certificate Signing Request (CSR) which can then be transported to the server where it is signed to create the certificate, however this is beyond the scope of this document.</p>
<p>Generate the client key and certificate on the OpenVPN server machine.</p>
<pre class="brush:plain">C:\Program Files\OpenVPN\easy-rsa&gt; vars
C:\Program Files\OpenVPN\easy-rsa&gt; build-key fred</pre>
<pre></pre>
<p>Then copy the client key and certificate along with the root certificate securely to the config folder on the client machine. The simplest way of doing this is to just put the files on a USB key (or floppy disk).</p>
<pre class="brush:plain">C:\Program Files\OpenVPN\easy-rsa&gt; copy keys\fred.crt a:\
C:\Program Files\OpenVPN\easy-rsa&gt; copy keys\fred.key a:\
C:\Program Files\OpenVPN\easy-rsa&gt; copy keys\ca.crt a:\</pre>
<pre></pre>
<p>Then on the client machine</p>
<pre class="brush:plain">C:\Program Files\OpenVPN\easy-rsa&gt; copy a:\fred.crt ..\config\
C:\Program Files\OpenVPN\easy-rsa&gt; copy a:\fred.key ..\config\
C:\Program Files\OpenVPN\easy-rsa&gt; copy a:\ca.crt ..\config\</pre>
<pre></pre>
<h4>Test</h4>
<p>Right click the OpenVPN tray icon and select “Connect”. It will open a status window showing the connection progress, and if everything is working ok then the status window should close and the icon should turn green.</p>
<p>To test the connection, try pinging <em>10.8.0.1</em> (the server VPN IP address), <em>192.168.0.1</em> (the server LAN IP address), the address of a PC on the remote LAN (e.g. <em>192.168.0.123</em>), and then try pinging devices by name.</p>
<pre class="brush:plain">c:\&gt; ping 10.8.0.1

c:\&gt; ping 192.168.0.1

c:\&gt; ping 192.168.0.123

c:\&gt; ping widget</pre>
<pre></pre>
<h4>Incoming search terms:</h4><ul><li><a href="http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html" title="openvpn windows">openvpn windows</a> (2)</li><li><a href="http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html" title="centos network connections vpn windows">centos network connections vpn windows</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html" title="plesk ssl (error): 5 -1 32 broken pipe">plesk ssl (error): 5 -1 32 broken pipe</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html" title="openvpn windows script">openvpn windows script</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html" title="openvpn windows client howto key">openvpn windows client howto key</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html" title="openvpn programming">openvpn programming</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html" title="openvpn gui windows taskbar">openvpn gui windows taskbar</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html" title="openvpn cpanel">openvpn cpanel</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html" title="openvpn configuration c#">openvpn configuration c#</a> (1)</li><li><a href="http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html" title="openvpn and plesk windows">openvpn and plesk windows</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://thegioinguonmo.com/os/windows/openvpn-windows-howto.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: thegioinguonmo.com @ 2012-02-07 11:22:14 -->
