<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0' gd:etag='W/&quot;D0MGR3Y9fCp7ImA9WhFTFUU.&quot;'><id>tag:blogger.com,1999:blog-8625331788706146660</id><updated>2013-06-07T11:40:26.864+05:30</updated><category term='Automation'/><title>My Tech Encounters</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://devenkher.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8625331788706146660/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://devenkher.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Deven Kher</name><uri>http://www.blogger.com/profile/13123864276556016487</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;D0MGR3Y8cCp7ImA9WhFTFUU.&quot;'><id>tag:blogger.com,1999:blog-8625331788706146660.post-4212123290027645450</id><published>2013-06-07T11:40:00.001+05:30</published><updated>2013-06-07T11:40:26.878+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2013-06-07T11:40:26.878+05:30</app:edited><title>Removing Bluetooth devices from your Windows 7 machine</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Many a times I connect my laptop to my friends mobile phones over bluetooth to share images and music.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;After sharing the Bluetooth devices are present in Explorer when I browse Computer. I need to clean them up so they don't clutter the explorer. Nor having them impact normal usage. Its just personal. I like my machine clean.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-BFB-uZWKUhA/UbFzD0XTRgI/AAAAAAAACtw/iNN9zWzHtyg/s1600/Bluetooth.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="210" src="http://4.bp.blogspot.com/-BFB-uZWKUhA/UbFzD0XTRgI/AAAAAAAACtw/iNN9zWzHtyg/s640/Bluetooth.png" width="500" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;So here is how you remove the device&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Click on Notifications Icon hover your mouse over Bluetooth Devices icon.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;You can alternately go to Control Panel -&amp;gt; Devices and Printers and view the Bluetooth devices. However it will show all other non Bluetooth devices as well.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-aP8FCmfa22w/UbF3dxdjA3I/AAAAAAAACuI/-e7RH_5QzqQ/s1600/BtNotification.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-aP8FCmfa22w/UbF3dxdjA3I/AAAAAAAACuI/-e7RH_5QzqQ/s1600/BtNotification.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Right click on the Bluetooth Devices and select Show Bluetooth Devices. The explorer will open new window and show all the bluetooth devices that are registered with your machine.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Right click on the one that you want to remove and select Remove device. Click on yes on the Remove device pop-up to confirm the removal of device.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;You should now see the removal process and once the device is removed the pop-up will close by itself.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Confirm the same by going to Windows Explorer and clicking Computer on your left pane. The device will no longer be present in the explorer&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://devenkher.blogspot.com/feeds/4212123290027645450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8625331788706146660&amp;postID=4212123290027645450' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8625331788706146660/posts/default/4212123290027645450?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8625331788706146660/posts/default/4212123290027645450?v=2'/><link rel='alternate' type='text/html' href='http://devenkher.blogspot.com/2013/06/removing-bluetooth-devices-from-your.html' title='Removing Bluetooth devices from your Windows 7 machine'/><author><name>Deven Kher</name><uri>http://www.blogger.com/profile/13123864276556016487</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-BFB-uZWKUhA/UbFzD0XTRgI/AAAAAAAACtw/iNN9zWzHtyg/s72-c/Bluetooth.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CkYMQX8-eSp7ImA9WhVWE04.&quot;'><id>tag:blogger.com,1999:blog-8625331788706146660.post-1457011160333049590</id><published>2012-04-25T10:13:00.000+05:30</published><updated>2012-04-25T10:33:00.151+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-04-25T10:33:00.151+05:30</app:edited><title>Test Automation Framework</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-family: inherit;"&gt;In past few years I have designed and developed Test Automation Framework for several of our customers. At times there have been customers and testers who wanted me to just have Record and Play (R&amp;amp;P) kind of automation and I had hard time convincing them for TAF.&amp;nbsp;They did agree to my advice of having TAF over R&amp;amp;P only after few months down the line of getting test automation introduced and realizing the cost of&amp;nbsp;maintenance taking over new script development and existing automation execution.&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-family: inherit;"&gt;This post describes in details why Test Automation Framework (TAF) is essential for better returns on investment (ROI) over bunch of standard record and play scripts.&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;



&lt;span style="color: #e69138; font-family: Arial, Helvetica, sans-serif;"&gt;R&amp;amp;P&lt;/span&gt;&lt;/h3&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-family: inherit;"&gt;R&amp;amp;P has limitations and may not always work. Let me explain how R&amp;amp;P will fail. In R&amp;amp;P you simply record the scripts and play them when you want to test your application after every bug fix or addition of new&amp;nbsp;functionality over a period of time. Your application will have several forms where user need to provide information. Based on these user inputs your application will provide unique identities to inputs and also there will be change of states of several objects in your application. Now every time you execute these recorded scripts you will not get same unique identities and your verification for recorded objects relying on recorded identities will fail the verification causing automated scripts to fail and build being marked as failed build.&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-family: inherit;"&gt;TAF helps in taking care of such objects and their obsolete states. It will ensure that every time you execute the automated script correct test data goes into your application and the application output provides the correct results. Any failed test script should provide valid application failure. TAF also assists in ensuring the&amp;nbsp;consistency&amp;nbsp;and accuracy of the application is well maintained.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;



&lt;span style="color: #e69138; font-family: Arial, Helvetica, sans-serif;"&gt;How TAF looks like ?&lt;/span&gt;&lt;/h3&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-family: inherit;"&gt;TAF consists of automation driver, test scripts, test data, application configuration data, test results/report and automation tool. They work hand in hand in smooth execution of test scripts, &amp;nbsp;creating test data before hand, cleaning up any test data after test execution, analysis of results and compiling reports. The real value added to test automation is from test application library handling&amp;nbsp;verification&amp;nbsp;and actions on objects.&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-HSVUs38jL7U/T5eFcqcEGVI/AAAAAAAACjk/EVYOivCRI9Y/s1600/TAF.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="271" src="http://3.bp.blogspot.com/-HSVUs38jL7U/T5eFcqcEGVI/AAAAAAAACjk/EVYOivCRI9Y/s400/TAF.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;



&lt;span style="color: #e69138; font-family: Arial, Helvetica, sans-serif;"&gt;Advantages&lt;/span&gt;&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&lt;b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Robustness:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;span style="font-family: inherit; font-size: 10pt;"&gt;There should be
minimum impact on automated scripts after there is change in application.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit; font-size: 10pt; line-height: 115%;"&gt;At
times Automation engine is way too fast on acting on controls on AUT. So it’s
necessary to synchronize test script performs actions on controls when they are
actually loaded. Framework allows us to do synchronization and make it robust
test scripts&lt;/span&gt;&lt;br /&gt;
&lt;b style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 115%;"&gt;Maintainable:&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-family: inherit; font-size: 10pt; line-height: 115%;"&gt;It should be easy to fix if there are automation
test script defects and QA should be able to add new automated test scripts.
Framework makes test automation maintainable.&lt;/span&gt;&lt;br /&gt;
&lt;b style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 115%;"&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 115%;"&gt;Extensible:&lt;/b&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
&lt;span style="font-size: 10pt;"&gt;&lt;span style="font-family: inherit;"&gt;Having framework helps
in adding new features and modules to existing test automation suite without having to worry about the impact on the existing test scripts&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
&lt;b style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;"&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;"&gt;Reusable/Modular:&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="font-size: 10pt;"&gt;&lt;span style="font-family: inherit;"&gt;With good framework
in place helps in reusing the same verification/validation code to be used
across the test scripts bringing down the time to develop new test cases&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;



&lt;span style="color: #e69138; font-family: Arial, Helvetica, sans-serif;"&gt;Disadvantages&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style="font-family: inherit;"&gt;Test team needs to have moderate development skills. Any tester with knowledge of developing programs using OOPs concepts and SQL should be able to write a strong automation framework.&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://devenkher.blogspot.com/feeds/1457011160333049590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8625331788706146660&amp;postID=1457011160333049590' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8625331788706146660/posts/default/1457011160333049590?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8625331788706146660/posts/default/1457011160333049590?v=2'/><link rel='alternate' type='text/html' href='http://devenkher.blogspot.com/2012/04/test-automation-framework.html' title='Test Automation Framework'/><author><name>Deven Kher</name><uri>http://www.blogger.com/profile/13123864276556016487</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-HSVUs38jL7U/T5eFcqcEGVI/AAAAAAAACjk/EVYOivCRI9Y/s72-c/TAF.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D0EGQXkzeSp7ImA9WhVWEkg.&quot;'><id>tag:blogger.com,1999:blog-8625331788706146660.post-1223598275614252029</id><published>2012-04-24T13:47:00.001+05:30</published><updated>2012-04-24T13:50:20.781+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-04-24T13:50:20.781+05:30</app:edited><title>Resolving MySql Error 1049</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Recently while trying to run a db query on mysql server from mysql client I faced Error 1049.&lt;br /&gt;
I finally managed to resolve the issue by modifying the ruby script that I was trying to execute.&lt;br /&gt;
&lt;br /&gt;
Here is what it was before&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;mysql -u root -p 'password' -h host.mydomain.com&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Upon execution it asked for password and after entering password here is what the terminal spitted at me&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;ERROR 1049 (42000) : Unknown database ''password''&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Here is what I did to mysql command in my ruby script&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;mysql -u root -ppassword -h host.mydomain.com&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;
Executed the script again and it worked fine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What really solved the issues was removal of " ' " before and after the password and&amp;nbsp;white space&amp;nbsp;between the -p and password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hope that helps someone looking for solution to similar problem&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://devenkher.blogspot.com/feeds/1223598275614252029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8625331788706146660&amp;postID=1223598275614252029' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8625331788706146660/posts/default/1223598275614252029?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8625331788706146660/posts/default/1223598275614252029?v=2'/><link rel='alternate' type='text/html' href='http://devenkher.blogspot.com/2012/04/resolving-mysql-error-1049.html' title='Resolving MySql Error 1049'/><author><name>Deven Kher</name><uri>http://www.blogger.com/profile/13123864276556016487</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D0EAQn49eyp7ImA9WhVWEkg.&quot;'><id>tag:blogger.com,1999:blog-8625331788706146660.post-2392981880822770576</id><published>2011-09-19T12:54:00.000+05:30</published><updated>2012-04-24T13:50:43.063+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-04-24T13:50:43.063+05:30</app:edited><title>Connecting MySql over SSH using C#</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I am sure many of you are looking for C# code to connect to MySql server over SSH.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I hope you are aware of SSH , if not please google SSH and know more about the SSH in details.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;.Net does not have its own inbuilt methods or classes for connecting to MySql over SSH.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Hence you will need to download few open source dlls for the implementing your code to connect to MqSql over SSH.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I am going to use &lt;a href="http://www.tamirgal.com/blog/page/SharpSSH.aspx"&gt;sharpSSH &lt;/a&gt;here. Thanks to Tamir for writing the code and sharing with the world.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;You can download the library from &lt;a href="http://www.tamirgal.com/blog/page/SharpSSH.aspx"&gt;here&lt;/a&gt;. Also you will need the secret key file in openSSH format to connect. You can get the key in openSSH format generated from puttygen.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Here is the code for MySql Connection over SSH using C#&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;using System;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;using System.Collections;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;using MySql.Data.MySqlClient;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;using Tamir.SharpSsh.jsch;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;namespace MySQLSSHConnection&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;class Program&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;static void Main(string[] args)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;MySqlConnection myConnection = null;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;Session sshSession = null;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;try&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; JSch jsch = new JSch();&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; //Setting the secret key file&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; jsch.addIdentity(@"D:\...\key-file");&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; sshSession&amp;nbsp;= jsch.getSession("username", hostname, 22);&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; Hashtable config = new Hashtable();&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; config.Add("StrictHostKeyChecking", "No"); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; sshSession.setConfig(config);&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; //Setting the SSH connection&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; sshSession.connect();&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; //Forwarding the remote port to local port over the connected session&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; sshSession.setPortForwardingL(3306, "localhost", 3306);&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; //Connecting to Mysql&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; string connstring = "Server=localhost;Port=3306;database=Account;Uid=****;Password=****";&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; myConnection&amp;nbsp;= new MySqlConnection(connstring);&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; myConnection.Open();&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; Console.WriteLine("Open OK");&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; Console.ReadLine(); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;catch(Exception ex)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;Console.WriteLine(ex.ToString());&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;Console.ReadLine();&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;finally&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; //Closing database connection&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; myConnection.Close();&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; //Closing SSH connection&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; sshSession.disconnect();&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Hope this post is&amp;nbsp;helpful.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://devenkher.blogspot.com/feeds/2392981880822770576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8625331788706146660&amp;postID=2392981880822770576' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8625331788706146660/posts/default/2392981880822770576?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8625331788706146660/posts/default/2392981880822770576?v=2'/><link rel='alternate' type='text/html' href='http://devenkher.blogspot.com/2011/09/connecting-mysql-over-ssh-using-c.html' title='Connecting MySql over SSH using C#'/><author><name>Deven Kher</name><uri>http://www.blogger.com/profile/13123864276556016487</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry gd:etag='W/&quot;D0ECRHo4cSp7ImA9WhVWEkg.&quot;'><id>tag:blogger.com,1999:blog-8625331788706146660.post-5399042815110533131</id><published>2011-01-18T17:06:00.003+05:30</published><updated>2012-04-24T13:51:05.439+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-04-24T13:51:05.439+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Automation'/><title>Automating IP address assignment to NICs</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;My workplace has two internet lines wired and wireless and me roaming all over office for meetings, discussions with my laptop greedy for bandwidth. Initially I use to set my IP address manually and reset them back to point to DHCP servers hopping over wireless network and plugging LAN cables. Its really boring to go to IP address window in my Vista and set the IP address. I am sure many of us had spending time (time=money) setting and resetting the IP addresses. So let me show you how you can Automate setting up your IP.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Windows comes with command line tool Netsh which lets you set the network details.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;So lets start setting up LAN adapter with IPv4.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Go to your command prompt and type in&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;netsh interface ipv4 set address name = "Local Area Connection" source=static address= {ip you intend to&amp;nbsp;assign&amp;nbsp;to your machine} mask=255.255.255.0 gateway={your gateway ip address} gwmetric=1&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Here is what you are doing&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;"nestsh interface ipv4 " we are going to set the IPV4 address and not IPV6.&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;"set address " ordering nestsh command to set the ip address.&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;"name="Local Area Connection" " Ordering netsh command to set the ip address of adapter with name as Local Area Connection which is your wired adapter on your machine.&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;"source= static" ordering nestsh to set the ip address manually and not from dhcp&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;"address=" your intended ipv4 address&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;"mask=" your subnet mask ip&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;"gateway=" your gateway ip address. The address of your or proxy&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;"gwmetric=1" its a metric for default gateway and should be set if you are specifying gateway&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Press enter and you have set your Ip address. But all is not over yet. You may also want to set your primary and&amp;nbsp;secondary&amp;nbsp;dns addresses&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;So lets set our primary dns address. Type in&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;netsh interface ipv4 set dnsserver name = "Local Area Connection" source = static address= {your primary dns address}&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;once again we are telling netsh to set primary dns server with ipv4 ip address for interface named "Local Area Connection" manually&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Lets set our secondary dns address&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;netsh interface ipv4 add dnsserver name = "Local Area Connection" address= {your secondary dns&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;address}&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;here we are telling netsh to add secondary dns server address.&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;You can create such scripts in file with .bat extension and whenever you want to set the addresses just run the scripts with elevated rights&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://devenkher.blogspot.com/feeds/5399042815110533131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8625331788706146660&amp;postID=5399042815110533131' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8625331788706146660/posts/default/5399042815110533131?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8625331788706146660/posts/default/5399042815110533131?v=2'/><link rel='alternate' type='text/html' href='http://devenkher.blogspot.com/2011/01/automating-ip-address-assignment-to.html' title='Automating IP address assignment to NICs'/><author><name>Deven Kher</name><uri>http://www.blogger.com/profile/13123864276556016487</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>