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

<channel>
	<title>Johanns Sani-GREGORIAN</title>
	<atom:link href="http://jsani.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://jsani.com/blog</link>
	<description>No Code</description>
	<pubDate>Sun, 19 Oct 2008 22:22:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Extract Remote Server Installer from Shoreware Director 8 Installer</title>
		<link>http://jsani.com/blog/2008/10/16/extract-remote-server-installer-from-shoreware-director-8-installer/</link>
		<comments>http://jsani.com/blog/2008/10/16/extract-remote-server-installer-from-shoreware-director-8-installer/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 07:38:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[misc]]></category>

		<category><![CDATA[networking]]></category>

		<category><![CDATA[shoretel]]></category>

		<category><![CDATA[shoreware director shoretel installation]]></category>

		<category><![CDATA[windows remote install]]></category>

		<guid isPermaLink="false">http://jsani.com/blog/?p=57</guid>
		<description><![CDATA[If you are wondering why, then you don&#8217;t need to do this! :) 


Install WinRAR or similar archival application that can open CAB files.
Locate and Open &#8220;Data11.CAB&#8221; file from the Shoreware Director installation media.
Extract Setup.exe1 from &#8220;Data11.CAB&#8221; (file size should be approximately 443MB).
Rename Setup.exe1 to Setup.exe.
Run Setup.exe on remote server.


Default installation URL:

http://&#60;YOUR_SHOREWARE_SERVER&#62;/ShoreWareDirector/RemoteInstall
]]></description>
			<content:encoded><![CDATA[<div>If you are wondering why, then you don&#8217;t need to do this! :) </div>
<div></div>
<ul>
<li>Install WinRAR or similar archival application that can open CAB files.</li>
<li>Locate and Open &#8220;Data11.CAB&#8221; file from the Shoreware Director installation media.</li>
<li>Extract <em>Setup.exe1</em> from &#8220;Data11.CAB&#8221; (file size should be approximately <strong>443MB</strong>).</li>
<li>Rename <em>Setup.exe1</em> to <em>Setup.exe.</em></li>
<li>Run <em>Setup.exe</em> on remote server.</li>
</ul>
<div></div>
<div>Default installation URL:</div>
<div></div>
<div><strong>http://&lt;YOUR_SHOREWARE_SERVER&gt;/ShoreWareDirector/RemoteInstall</strong></div>
]]></content:encoded>
			<wfw:commentRss>http://jsani.com/blog/2008/10/16/extract-remote-server-installer-from-shoreware-director-8-installer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>HOWTO: Cache profile/domain credentials using Runas.exe</title>
		<link>http://jsani.com/blog/2008/10/01/howto-cache-profile-domain-credentials-using-runasexe/</link>
		<comments>http://jsani.com/blog/2008/10/01/howto-cache-profile-domain-credentials-using-runasexe/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 07:00:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[howto]]></category>

		<category><![CDATA[windows profile cache domain account howto]]></category>

		<guid isPermaLink="false">http://jsani.com/blog/?p=55</guid>
		<description><![CDATA[Requirement: Target system:


Must be a domain member.
Must be able to reach a domain-controller (via LAN, VPN, dial-up, &#8230;).
You must have access to an existing local or [cached] domain account.


HOWTO:

Logon using any local or domain account. If necessary, connect to VPN before or after logging-in.
Verify access to domain (i.e., Can you ping a domain controller?)
Run the following [...]]]></description>
			<content:encoded><![CDATA[<div><strong>Requirement:</strong> Target system:</div>
<div>
<ol>
<li>Must be a domain member.</li>
<li>Must be able to reach a domain-controller (via LAN, VPN, dial-up, &#8230;).</li>
<li>You must have access to an existing local or [cached] domain account.</li>
</ol>
</div>
<div><strong>HOWTO:</strong></div>
<ol>
<li>Logon using any local or domain account. If necessary, connect to VPN before or after logging-in.</li>
<li>Verify access to domain (i.e., <em>Can you ping a domain controller?</em>)</li>
<li>Run the following command from a <strong>Command Prompt:</strong> <em>runas /user:&lt;domain\user&gt; &lt;executable&gt;</em><br />
<strong>E.g.:</strong> <em>runas /user:corp\johanns notepad.exe</em></li>
<li>Enter user&#8217;s password when prompted. </li>
<li>If connection/authentication succeeds, the system will create and/or cache profile/credentials for the target account, and start the application specified by the <em>runas </em>command. At this point, you may exit the app, and logout of the proxy account.</li>
<li>Logon using the newly cached credentials.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://jsani.com/blog/2008/10/01/howto-cache-profile-domain-credentials-using-runasexe/feed/</wfw:commentRss>
		</item>
		<item>
		<title>&#8220;died in a computing accident&#8221;</title>
		<link>http://jsani.com/blog/2008/04/02/died-in-a-computing-accident/</link>
		<comments>http://jsani.com/blog/2008/04/02/died-in-a-computing-accident/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 02:48:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://jsani.com/blog/index.php/2008/04/02/died-in-a-computing-accident/</guid>
		<description><![CDATA[HA?
Index me.
]]></description>
			<content:encoded><![CDATA[<p>HA?</p>
<p>Index me.</p>
]]></content:encoded>
			<wfw:commentRss>http://jsani.com/blog/2008/04/02/died-in-a-computing-accident/feed/</wfw:commentRss>
		</item>
		<item>
		<title>.NET: Receive disk / media notifications from Windows Shell</title>
		<link>http://jsani.com/blog/2007/07/17/net-receive-disk-media-events-from-windows-shell/</link>
		<comments>http://jsani.com/blog/2007/07/17/net-receive-disk-media-events-from-windows-shell/#comments</comments>
		<pubDate>Tue, 17 Jul 2007 18:06:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[development]]></category>

		<category><![CDATA[.net]]></category>

		<category><![CDATA[c#]]></category>

		<category><![CDATA[c++/cli]]></category>

		<guid isPermaLink="false">http://jsani.com/blog/index.php/2007/07/17/net-receive-disk-media-events-from-windows-shell/</guid>
		<description><![CDATA[ShellMediaChangeNotifier: Provide means of  receiving drive addition and removal notifications triggered by Windows Shell (a.k.a: Explorer). This is a not a FileSystemWatcher clone, which raises events on changes made to specific files or directories.
ShellMediaChangeNotifier class is C++/CLI (why waste time with P/Invoke); while the provided demo is in C#.
Download: ShellMediaChangeNotifier and Demo Application
How-to use:


  [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ShellMediaChangeNotifier</strong>: Provide means of  receiving drive addition and removal notifications triggered by Windows Shell (a.k.a: Explorer). This is a not a FileSystemWatcher clone, which raises events on changes made to specific files or directories.</p>
<p>ShellMediaChangeNotifier class is C++/CLI (why waste time with P/Invoke); while the provided demo is in C#.</p>
<p>Download: <a title=".NET: Receive disk / media events from Windows Shell" href="http://jsani.com/blog/wp-content/uploads/2007/07/shellmediachangenotifier.zip">ShellMediaChangeNotifier and Demo Application</a></p>
<p>How-to use:<br />
<span id="more-15"></span></p>

<div class="wp_syntax"><div class="code"><pre class="csharp csharp" style="font-family:monospace;">        ShellMediaChangeNotifier _s <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ShellMediaChangeNotifier<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
        <span style="color: #008080; font-style: italic;">// Assign the window handle after it's been created.</span>
        _s.<span style="color: #0000FF;">Handle</span> <span style="color: #008000;">=</span> <span style="color: #0600FF;">this</span>.<span style="color: #0000FF;">Handle</span>;
        _s.<span style="color: #0000FF;">Changed</span> <span style="color: #008000;">+=</span> <span style="color: #008000;">new</span> ShellMediaChangeEventHandler<span style="color: #000000;">&#40;</span>OnChanged<span style="color: #000000;">&#41;</span>;
&nbsp;
        <span style="color: #0600FF;">protected</span> <span style="color: #0600FF;">override</span> <span style="color: #0600FF;">void</span> WndProc<span style="color: #000000;">&#40;</span><span style="color: #0600FF;">ref</span> Message m<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
            ShellMediaChangeNotifier.<span style="color: #0000FF;">ProcessWindowsMessages</span><span style="color: #000000;">&#40;</span><span style="color: #0600FF;">ref</span> _s, m<span style="color: #000000;">&#41;</span>;
&nbsp;
            <span style="color: #0600FF;">base</span>.<span style="color: #0000FF;">WndProc</span><span style="color: #000000;">&#40;</span><span style="color: #0600FF;">ref</span> m<span style="color: #000000;">&#41;</span>;
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0600FF;">void</span> OnChanged<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">object</span> sender, ShellMediaChangeEventArgs e<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
            _tbEvents.<span style="color: #0000FF;">Text</span> <span style="color: #008000;">+=</span> e.<span style="color: #0000FF;">ChangeType</span>.<span style="color: #0000FF;">ToString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #008000;">+</span> <span style="color: #666666;">&quot; &quot;</span> <span style="color: #008000;">+</span> e.<span style="color: #0000FF;">Path</span> <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;<span style="color: #008080; font-weight: bold;">\r</span><span style="color: #008080; font-weight: bold;">\n</span>&quot;</span>;
        <span style="color: #000000;">&#125;</span></pre></div></div>

<p>The provided project file requires Visual Studio 2005 (with Visual C++ and C# installed), and Windows SDK (used Windows 2003 and Vista SDKs). This code has been tested on Windows XP, 2003, and Vista.</p>
<p>Johan</p>
]]></content:encoded>
			<wfw:commentRss>http://jsani.com/blog/2007/07/17/net-receive-disk-media-events-from-windows-shell/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GeSHi C++ and Windows Data Types</title>
		<link>http://jsani.com/blog/2007/06/05/geshi-c-and-windows-data-types/</link>
		<comments>http://jsani.com/blog/2007/06/05/geshi-c-and-windows-data-types/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 11:16:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[development]]></category>

		<category><![CDATA[cpp]]></category>

		<category><![CDATA[geshi]]></category>

		<guid isPermaLink="false">http://jsani.com/blog/index.php/2007/06/05/geshi-c-and-windows-data-types/</guid>
		<description><![CDATA[I&#8217;ve updated the GeSHi C++ langauge file to include Microsoft Windows (Win API) Data Types (I was bored I guess).
To install, replace &#8220;cpp.php&#8221; in your GeSHi directory with the attached file.
GeSHi C++ Langauge File with Windows Data Types
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated the GeSHi C++ langauge file to include Microsoft Windows (Win API) Data Types (I was bored I guess).</p>
<p>To install, replace &#8220;cpp.php&#8221; in your GeSHi directory with the attached file.<a title="GeSHi C++ Langauge File with Windows Data Types" href="http://jsani.com/blog/wp-content/uploads/2007/06/cpp.zip"></a></p>
<p><a title="GeSHi C++ Langauge File with Windows Data Types" href="http://jsani.com/blog/wp-content/uploads/2007/06/cpp.zip">GeSHi C++ Langauge File with Windows Data Types</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jsani.com/blog/2007/06/05/geshi-c-and-windows-data-types/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dynamips + Vista + UAC</title>
		<link>http://jsani.com/blog/2007/06/04/dynamips-vista-uac/</link>
		<comments>http://jsani.com/blog/2007/06/04/dynamips-vista-uac/#comments</comments>
		<pubDate>Mon, 04 Jun 2007 11:20:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[misc]]></category>

		<category><![CDATA[cisco]]></category>

		<category><![CDATA[emulator]]></category>

		<category><![CDATA[ios]]></category>

		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://jsani.com/blog/index.php/2007/06/04/dynamips-vista-uac/</guid>
		<description><![CDATA[To run Dyamips/Dynagen as Administrator in Vista, you have to modify the .cmd files created by the Dynagen package installer, to use absolute path(s).
You can download the modified batch files here: Dynamips Windows Command Script files
Simply, replace those files in the Dynamips installation folder.
See my previous post for additional details (link).
EDIT: You may also need [...]]]></description>
			<content:encoded><![CDATA[<p>To run <em>Dyamips/Dynagen </em>as Administrator in Vista, you have to modify the .cmd files created by the <em>Dynagen</em> package installer, to use absolute path(s).</p>
<p>You can download the modified batch files here: <a title="Dynamips Windows Command Script files" href="http://jsani.com/blog/wp-content/uploads/2007/06/dynamips-startup-scripts.zip">Dynamips Windows Command Script files</a></p>
<p>Simply, replace those files in the Dynamips installation folder.</p>
<p>See my previous post for additional details (<a href="http://jsani.com/blog/index.php/2007/05/29/cisco-26xx36xx72xx-router-simulator-dynamips-and-dynagen-hypervisor/">link</a>).</p>
<p><strong>EDIT:</strong> You may also need to give your <em><span style="text-decoration: underline;">user</span></em> Modify or Full control permission over the Dynamips (Dynagen) install folder if you want to be able to modify any file (including the script files). The real pain is when you try to modify the sample lab files (e.g.: simple1.net, etc.).</p>
<p>The Dynagen package installer, installs in %SYSTEMDRIVE%\Program Files\Dynamips.</p>
]]></content:encoded>
			<wfw:commentRss>http://jsani.com/blog/2007/06/04/dynamips-vista-uac/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cisco 26xx/36xx/72xx Router Simulator (Windows)</title>
		<link>http://jsani.com/blog/2007/05/29/cisco-26xx36xx72xx-router-simulator-dynamips-and-dynagen-hypervisor/</link>
		<comments>http://jsani.com/blog/2007/05/29/cisco-26xx36xx72xx-router-simulator-dynamips-and-dynagen-hypervisor/#comments</comments>
		<pubDate>Wed, 30 May 2007 02:46:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[networking]]></category>

		<category><![CDATA[cisco]]></category>

		<category><![CDATA[emulator]]></category>

		<category><![CDATA[ios]]></category>

		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://jsani.com/blog/index.php/2007/05/29/cisco-26xx36xx72xx-router-simulator-dynamips-and-dynagen-hypervisor/</guid>
		<description><![CDATA[UPDATE: I highly recommend anyone interested in Dynamips to check-out GNS3 (Graphical Network Simulator). It&#8217;s designed around Dynamips, Dynagen, and Pemu. Cisco IOS/PIX binary images not included!  
Link: http://www.gns3.net/
&#8212;
Dynamips is a Cisco router emulator. It support various Cisco 2600, 3600, 3700, and 7200 series router models.
Dyangen is a front-end for Dynamips router emulator. It [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE</strong>: I highly recommend anyone interested in Dynamips to check-out GNS3 (Graphical Network Simulator). It&#8217;s designed around Dynamips, Dynagen, and Pemu. Cisco IOS/PIX binary images not included! <img src='http://jsani.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Link: <a title="GNS3" href="http://www.gns3.net/" target="_blank">http://www.gns3.net/</a></p>
<p>&#8212;</p>
<p><em>Dynamips</em> is a Cisco router emulator. It support various Cisco 2600, 3600, 3700, and 7200 series router models.</p>
<p><em>Dyangen </em>is a front-end for<em> Dynamips</em> router emulator. It utilizes <em>Dynamips&#8217; </em>Hypervisor mode to make lab simulation management very easy.</p>
<p><strong>Installing / Running Dynamips and Dynagen on Windows (XP, 2003, Vista):</strong></p>
<ul>
<li>Install WinPcap 4 (Windows Packet Capture Library) from <a href="http://www.winpcap.org/install/bin/WinPcap_4_0.exe">WinPcap.org</a> (link to auto-installer).</li>
<li>Install the latest version  of the <em>Dynamips</em>/<em>Dynagen </em>&#8220;package&#8221; installer from <a title="http://sourceforge.net/project/showfiles.php?group_id=160317&amp;package_id=192619" href="http://" target="_blank">SourceForge</a>.<strong><br />
NOTE</strong>: <em>April 29th, 2007 build is labeled</em>: dynagen-0.9.2_dynamips-0.2.7-RC3_Win_XP_setup.exe</li>
</ul>
<p><strong>NOTE: </strong><em>Users with Vista UAC enabled</em> may encounter issue(s) when trying to run <em>Dynamips/Dynagen</em>. Solutions:</p>
<ol>
<li>Disable UAC! <img src='http://jsani.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
<li>Run the <em>Dynamips </em>server and <em>Dynagen </em>as Administrator; however, you must first modify the &#8220;<em>dynamips-start.cmd</em>&#8220;, &#8220;<em>dg-local.cmd</em>&#8220;, and &#8220;<em>Network device list.cmd&#8221; </em>script files, located in the <em>DynMIPS</em> installation folder:<br />
(e.g.:<strong><br />
Before</strong>: start /belownormal /B /wait &#8220;Dynamips&#8221; &#8220;dynamips.exe&#8221; -H 7200<strong><br />
After</strong> : start /belownormal /B /wait <span style="text-decoration: underline;">/D &#8220;\Program files\Dynamips\&#8221;</span> &#8220;Dynamips&#8221; &#8220;dynamips.exe&#8221; -H 7200<br />
)<br />
<strong>UPDATE: </strong>Check my <a href="http://jsani.com/blog/index.php/2007/06/04/dynamips-vista-uac/">next blog entry</a> to download the updated startup scripts (.cmd) files.</li>
</ol>
<p><strong>Quick Start:</strong></p>
<p><span id="more-3"></span>The <em>Dynamips/Dynagen </em>installation provides a number of samples to help you get started. The Windows installer places shortcuts to the samples folder on the Desktop and the Start-menu. You can also start any <span style="font-style: italic">Dynagen </span>lab file (these are files with .net extension) from the Windows shell or a command-prompt [e.g.: dynagen &lt;lab-filename&gt;]. But, before you do start a lab simulation, you must edit the sample lab file to specify the location of the Cisco IOS image that <em>Dynamips </em>should boot.</p>
<p>(e.g.:<br />
- Navigate to Simple1 located in <em>Dynamips </em>samples folder (<em>default: \Program Files\Dynamips\sample_labs\simple1</em>)<br />
- <em>&#8220;Open with&#8230;&#8221;</em> Notepad (or WordPad) Simple1.net<br />
-  Locate the following line:</p>
<p>image = \Program Files\Dynamips\images\c7200-jk9o3s-mz.124-7a.image</p>
<p>- Replace the path/filename with a valid Cisco IOS file location (e.g.: <em>image = C:\labs\bin\c7200-is-mz.124-13b.bin</em>)<strong><br />
NOTE: </strong>SmartNET customer can download IOS images from Cisco (<a href="http://www.cisco.com/public/sw-center/" target="_blank">http://www.cisco.com/public/sw-center/</a>).<br />
)</p>
<p><strong>Booting:</strong></p>
<ol>
<li>Start <em>Dynamips server</em> (Start -&gt; Dynamips -&gt; Dynamip server)<br />
&#8230;or<br />
Run: <em>dynamips-start.cmd </em>(located in <em>Dynamips </em>installation folder)<br />
<strong>NOTE:</strong> <em>Dynamips </em>installation is setup to bind localhost:7200 (TCP); be sure to allow connections on this port.</li>
<li>Start the lab simulation by opening (double-click) the lab file (e.g.: Simple1.net) from Windows shell</li>
</ol>
<p><a title="Dynamips/Dynagen" rel="lightbox" href="http://jsani.com/blog/wp-content/uploads/2007/05/dynamips-boot.jpg"><img title="Dynamips/Dynagen" src="http://jsani.com/blog/wp-content/uploads/2007/05/dynamips-boot.thumbnail.jpg" border="2" alt="Dynamips/Dynagen" hspace="2" vspace="2" align="left" /></a>By this point, you should see two console application windows (see image on the left). You can control the status of your emulated router by entering commands into the <span style="font-style: italic">Dynagen </span>application prompt (i.e., =&gt;).</p>
<p><em>Dynagen </em>basic commands: help, list, console, start, stop, suspend, resume, exit</p>
<p>Most commands require that you supply a router name (as shown by the <em>list</em> command), or the <em>/all </em>parameter to apply the desired command to all emulated routers (e.g.: start Router1 -or- start /all).</p>
<p>To access the console port of your emulate router, use the <em>console</em> command (syntax: <em>console &lt;routername&gt; </em>-or-<em> console /all</em>).</p>
<p><strong>Links: </strong></p>
<p>Dynamips: <a href="http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator" target="_blank">http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator</a></p>
<p>Dynagen: <a href="http://dynagen.org/" target="_blank">http://dynagen.org/</a></p>
<p>Winpcap:  <a href="http://www.winpcap.org/" target="_blank">http://www.winpcap.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jsani.com/blog/2007/05/29/cisco-26xx36xx72xx-router-simulator-dynamips-and-dynagen-hypervisor/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
