<?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>Shantanu's Technophilic Musings &#187; Hack</title>
	<atom:link href="http://tech.shantanugoel.com/category/hack/feed" rel="self" type="application/rss+xml" />
	<link>http://tech.shantanugoel.com</link>
	<description>Shantanu's Gadgets, Gizmos, Hacks, Tips, Tricks, Technology...and your kitchen sink</description>
	<lastBuildDate>Wed, 05 Oct 2011 20:23:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Adding Lyrics to SharkZapper for Grooveshark</title>
		<link>http://tech.shantanugoel.com/2011/09/23/adding-lyrics-to-sharkzapper-for-grooveshark.html</link>
		<comments>http://tech.shantanugoel.com/2011/09/23/adding-lyrics-to-sharkzapper-for-grooveshark.html#comments</comments>
		<pubDate>Fri, 23 Sep 2011 09:12:06 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[chrome extension]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[grooveshark]]></category>
		<category><![CDATA[lyrics]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[sharkzapper]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=357</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>I bet all of you know about grooveshark, the awesome music service. And sharkzapper is a cool chrome extension that puts the control and information about anything playing in your grooveshark chrome tab into a little button on the address bar. It is a very good extension but I felt that what it was missing <p>Continue reading <a href="http://tech.shantanugoel.com/2011/09/23/adding-lyrics-to-sharkzapper-for-grooveshark.html">Adding Lyrics to SharkZapper for Grooveshark</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>I bet all of you know about grooveshark, the awesome music service. And sharkzapper is a cool chrome extension that puts the control and information about anything playing in your grooveshark chrome tab into a little button on the address bar. It is a very good extension but I felt that what it was missing was lyrics. Before I could comment on the extension&#8217;s chrome market page, I noticed that it has a github repository. &#8220;Open Source&#8221;, oh joy. So, I forked the repository and after some hacking around, I&#8217;ve now added support for automatic searching and fetching of the currently playing song into the sharkzapper popup window and it updates itself whenever the song changes.</p><!--test --><script type="text/javascript"><!--
google_ad_client = "ca-pub-7364296987674978";
/* 468x60, created 10/6/08 */
google_ad_slot = "0345781418";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<p>What was even cooler that I learnt a bit about using YQL in the process <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ve sent in a pull request to the author of the extension to the original author of the extension to merge this code. In the meanwhile, if you would like to try this out, you can hit up my <strong><a title="Shantanu's repository for sharkzapper with lyrics" href="https://github.com/shantanugoel/sharkzapper">github repository</a></strong>, download the code and install into chrome by enabling developer mode and choosing &#8220;Load unpacked extension&#8221;.</p>
<p>Happy listening <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style='border:thin dotted black; padding:3mm;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | This article, titled <strong><a href="http://tech.shantanugoel.com/2011/09/23/adding-lyrics-to-sharkzapper-for-grooveshark.html">Adding Lyrics to SharkZapper for Grooveshark</a></strong>, was originally published on <a href="http://tech.shantanugoel.com/">Shantanu's Technophilic Musings</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2011/09/23/adding-lyrics-to-sharkzapper-for-grooveshark.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Featured in Chip India August 2011 Edition</title>
		<link>http://tech.shantanugoel.com/2011/08/01/featured-in-chip-india-august-2011-edition.html</link>
		<comments>http://tech.shantanugoel.com/2011/08/01/featured-in-chip-india-august-2011-edition.html#comments</comments>
		<pubDate>Mon, 01 Aug 2011 03:24:23 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[kinect]]></category>
		<category><![CDATA[kinect ps3]]></category>
		<category><![CDATA[PS3]]></category>
		<category><![CDATA[xbox360]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=348</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>My project Kinect on PS3 got featured in this month&#8217;s Chip magazine . They have a special gaming edition of Chip Insider which featured the project along with a 2 page interview of mine. If you buy chip, do look out for it on pages 46 and 47. I also have a scanned image of <p>Continue reading <a href="http://tech.shantanugoel.com/2011/08/01/featured-in-chip-india-august-2011-edition.html">Featured in Chip India August 2011 Edition</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>My project <a title="Making Kinect Work With PS3" href="http://tech.shantanugoel.com/2011/03/20/making-kinect-work-with-ps3.html" target="_blank">Kinect on PS3</a> got featured in this month&#8217;s Chip magazine <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . They have a special gaming edition of Chip Insider which featured the project along with a 2 page interview of mine. If you buy chip, do look out for it on pages 46 and 47. I also have a scanned image of the pages below.</p><!--test --><script type="text/javascript"><!--
google_ad_client = "ca-pub-7364296987674978";
/* 468x60, created 10/6/08 */
google_ad_slot = "0345781418";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<div class="wp-caption aligncenter" style="width: 148px"><a href="http://tech.shantanugoel.com/uploads/chip-india-interview-august-2011-1.jpg"><img title="Kinect PS3 Interview 1" src="http://tech.shantanugoel.com/uploads/chip-india-interview-august-2011-1-thumb.jpg" alt="Kinect PS3 Interview 1" width="138" height="200" /></a><p class="wp-caption-text">Interview Page 1</p></div>
<div class="wp-caption aligncenter" style="width: 148px"><a href="http://tech.shantanugoel.com/uploads/chip-india-interview-august-2011-2.jpg"><img title="Kinect PS3 Interview 2" src="http://tech.shantanugoel.com/uploads/chip-india-interview-august-2011-2-thumb.jpg" alt="Kinect PS3 Interview 1" width="138" height="200" /></a><p class="wp-caption-text">Interview Page 1</p></div>
<p style='border:thin dotted black; padding:3mm;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | This article, titled <strong><a href="http://tech.shantanugoel.com/2011/08/01/featured-in-chip-india-august-2011-edition.html">Featured in Chip India August 2011 Edition</a></strong>, was originally published on <a href="http://tech.shantanugoel.com/">Shantanu's Technophilic Musings</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2011/08/01/featured-in-chip-india-august-2011-edition.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Making Kinect Work With PS3</title>
		<link>http://tech.shantanugoel.com/2011/03/20/making-kinect-work-with-ps3.html</link>
		<comments>http://tech.shantanugoel.com/2011/03/20/making-kinect-work-with-ps3.html#comments</comments>
		<pubDate>Sun, 20 Mar 2011 15:36:51 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[kinect]]></category>
		<category><![CDATA[kinect ps3]]></category>
		<category><![CDATA[PS3]]></category>
		<category><![CDATA[xbox360]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=335</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>This post describes my first attempt at making Kinect work with a PS3. Microsoft&#8217;s new XBOX 360 accessory, kinect has made a powerful entry into the market, becoming the fastest selling gadget of all time. Looks like their &#8220;You are the controller&#8221; tagline is working. Of course, Sony&#8217;s &#8220;similar&#8221; accessory Move is selling well too <p>Continue reading <a href="http://tech.shantanugoel.com/2011/03/20/making-kinect-work-with-ps3.html">Making Kinect Work With PS3</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>This post describes my first attempt at making Kinect work with a PS3. Microsoft&#8217;s new XBOX 360 accessory, kinect has made a powerful entry into the market, becoming the fastest selling gadget of all time. Looks like their &#8220;You are the controller&#8221; tagline is working. Of course, Sony&#8217;s &#8220;similar&#8221; accessory Move is selling well too but is far behind kinect adoption probably because nothing beats the lure of making something work with just &#8220;The Force&#8221; <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p><!--test --><script type="text/javascript"><!--
google_ad_client = "ca-pub-7364296987674978";
/* 468x60, created 10/6/08 */
google_ad_slot = "0345781418";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<p>Now, of course, kinect doesn&#8217;t work with PS3 obviously but then if we can&#8217;t break the rules, we can at least bend them a little towards our way. I&#8217;ve  created a mashup that allows you to use kinect as an input controller for the PS3.</p>
<p><span id="more-335"></span><br />
<strong>Please note that this is pre-alpha quality software currently</strong>. I haven&#8217;t updated to a lot of recent code for the below libraries and also haven&#8217;t done most of the performance/feature improvements yet. The axis performance specially needs lot of tweaking and it works well only while sitting. Putting this out purely as a proof of concept. For the things that I plan to add soon, please see the Todo section below. Follow me at <strong><a href="http://twitter.com/shantanugoel">@shantanugoel</a></strong> for latest updates.</p>
<p><strong>VIDEO IN ACTION</strong><br />
<object style="height: 390px; width: 640px;" width="640" height="390"><param name="movie" value="http://www.youtube.com/v/4QnWDRF9w7k?version=3" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><embed type="application/x-shockwave-flash" width="640" height="390" src="http://www.youtube.com/v/4QnWDRF9w7k?version=3" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>The program makes use of several other programs in order to provide this functionality. To compile/use it, you also need the following programs:</p>
<p>1. <a rel="external nofollow" href="https://github.com/OpenNI/OpenNI" target="_blank">OpenNI Libraries</a> &#8211; To get data from kinect</p>
<p>2. <a rel="external nofollow" href="http://www.openni.org/downloadfiles/" target="_blank">NITE Libraries</a> (Choose &#8220;Middleware&#8221; on the page) &#8211; Builds on top of OpenNI to provide gesture detection etc</p>
<p>3. <a rel="external nofollow" href="https://github.com/boilerbots/Sensor" target="_blank">PrimeSense Libraries for kinect</a> &#8211; Kinect drivers to get raw data</p>
<p>4. <a rel="external nofollow" href="http://code.google.com/p/diyps3controller/" target="_blank">DIYPS3Controller</a> &#8211; The main component for PS3 connection and also known as sixaxis emulator. This emulates a DS3 on the PC and send the inputs to PS3 through bluetooth.</p>
<p><strong>Installation/Compilation/Usage</strong></p>
<p>1. Make sure that the above 4 things are installed on your machine and working fine.</p>
<p>2. Download the source of this project to the NITE Samples directory. You can even place it anywhere else but you would need to tweak the makefile to account for the changed paths.</p>
<p>3. Make any changes to the source that you need.</p>
<p>4. Change the included ps3 controller config xml file and place it in one of the locations where diyps3controller can find it.</p>
<p>5. Run make -f kinect-ps3.mak</p>
<p>6. The executable will be available in Samples/Bin directory of NITE.</p>
<p>7. Run kinect-ps3 (without any arguments)</p>
<p>8. Run emuclient (from ps3 controller software) and choose the new xml config file</p>
<p>9. &#8220;Become the controller&#8221; <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<strong>Default Config</strong>:</p>
<p>Menu Profile &#8211; This is the default profile that kinect-ps3 starts with and allows to operate the PS3 menus. Moving hand in any direction will move the ps3 menus as if you were using the DPAD with those directions keys pressed. If you run out of the kinect&#8217;s watched space, then just do a backward push with your hand, bring your hand to center and then again do the backward push and continue scrolling. This is like you lift your finger up and then start dragging from edges of a laptop&#8217;s touchpad.For selecting any item, make two successive push movements with your hand without changing any x-y direction.<br />
Game Profile &#8211; This profile can be switched to by doing 3 successive backward movements of the hand while in Menu profile. Right now I&#8217;ve implemented only directional controls in game profile because I&#8217;m still struggling with multiple hands detections and skeletal tracking. A full profile will be activated soon enough. Currently, the your hand&#8217;s x/y movements and directly translated to right stick x/y movements (e.g. this is looking in different directions in various FPS games). Moving the hand towards or away from kinect (z-axis) translate to left stick y movements (e.g. this is moving fowards or backwards in most FPS games).<br />
<strong>Issues/Queries/Suggestions</strong></p>
<p>Please direct them to me by commenting here or emailing me at shantanu AT shantanugoel DOT com</p>
<p><strong>Coming Soon/ToDo</strong></p>
<p>-Full Menu and Game profiles</p>
<p>- Skeletal tracking for better game profiles</p>
<p>- Switching back to menu profiles from game profiles</p>
<p>- Easier way to specify user custom profiles instead of changing code for the same</p>
<p>- Performance improvement for game profiles</p>
<p>Full source code of the project has been released at <a href="https://github.com/shantanugoel/Kinect-PS3">https://github.com/shantanugoel/Kinect-PS3</a> under GNU GPL v2.</p>
<p style='border:thin dotted black; padding:3mm;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | This article, titled <strong><a href="http://tech.shantanugoel.com/2011/03/20/making-kinect-work-with-ps3.html">Making Kinect Work With PS3</a></strong>, was originally published on <a href="http://tech.shantanugoel.com/">Shantanu's Technophilic Musings</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2011/03/20/making-kinect-work-with-ps3.html/feed</wfw:commentRss>
		<slash:comments>211</slash:comments>
		</item>
		<item>
		<title>Mute (or Answer) Skype Calls with BT Headset Button in Linux</title>
		<link>http://tech.shantanugoel.com/2010/07/09/mute-answer-skype-calls-bluetooth-headset-button-in-linux.html</link>
		<comments>http://tech.shantanugoel.com/2010/07/09/mute-answer-skype-calls-bluetooth-headset-button-in-linux.html#comments</comments>
		<pubDate>Thu, 08 Jul 2010 18:31:55 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[blueman]]></category>
		<category><![CDATA[headset button skype linux]]></category>
		<category><![CDATA[mute calls skype linux]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[skype linux]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=285</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>Skype on linux works great but the problem that I faced was that it does not handle the buttons on the bluetooth headsets. My wife uses skype to call into her work related conference calls and was pretty frustrated that she had to keep sitting in front of my laptop (her laptop didn&#8217;t allow to <p>Continue reading <a href="http://tech.shantanugoel.com/2010/07/09/mute-answer-skype-calls-bluetooth-headset-button-in-linux.html">Mute (or Answer) Skype Calls with BT Headset Button in Linux</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>Skype on linux works great but the problem that I faced was that it does not handle the buttons on the bluetooth headsets. My wife uses skype to call into her work related conference calls and was pretty frustrated that she had to keep sitting in front of my laptop (her laptop didn&#8217;t allow to install skype) just to switch mute on and off. So, I whipped up this little trick to do so. Here is how:</p>
<p>1. First I looked at the skype API (pretty simple, based on dbus). Also found a sample script somewhere that allowed to answer and hang up calls through skype API.</p><!--test --><script type="text/javascript"><!--
google_ad_client = "ca-pub-7364296987674978";
/* 468x60, created 10/6/08 */
google_ad_slot = "0345781418";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<p>2. Modified the script to switch the mute on and off instead of answering/hanging up. Script can be downloaded at the end of this article. You can also modify it to take some other action that you want.</p>
<p>3. Install &#8220;blueman&#8221;. If you are using Ubuntu, just type &#8220;sudo apt-get install blueman&#8221; in shell.</p>
<p>4. Once blueman is installed and you have done your headset pairing etc, right click on the blueman icon in the system tray and click on &#8220;Local Services&#8221;.</p>
<p>5. In local services, click on headset tab and you can see a input box where you can give the path of a program/script which will be run whenever the &#8220;answer button&#8221; on the headset is pressed. This is important to note that blueman only supports the answer button and nothing else and I didn&#8217;t have the inclination to develop a full-fledged AVRCP compliant program to capture other buttons as all I was interested in mute functionality. You can see the screenshot of this below:<span id="more-285"></span><br />
<a href="http://tech.shantanugoel.com/uploads/blueman-skype-bluetooth-mute-button.png" target="_blank"><img src="http://tech.shantanugoel.com/uploads/blueman-skype-bluetooth-mute-button-thumb.png" alt="Skype Headset Button Settings for Blueman" /></a></p>
<p><a href="http://tech.shantanugoel.com/uploads/blueman-skype-bluetooth-mute-button.png" target="_blank"></a>6. Make sure that you give the path where you saved the script that you downloaded in step 4 and you are all set now. Make a call and click on the answer button of your headset to see the magic happen <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Let me know if you have your own hacks like this or know of a way to have a full fledged capturing of all headset buttons.</p>
<p><strong><a title="Skype Bluetooth Mute Button Linux" href="http://tech.shantanugoel.com/resources/downloads/skype-bluetooth-mute-button.zip">DOWNLOAD: Skype Bluetooth Mute Button Script</a></strong></p>
<p style='border:thin dotted black; padding:3mm;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | This article, titled <strong><a href="http://tech.shantanugoel.com/2010/07/09/mute-answer-skype-calls-bluetooth-headset-button-in-linux.html">Mute (or Answer) Skype Calls with BT Headset Button in Linux</a></strong>, was originally published on <a href="http://tech.shantanugoel.com/">Shantanu's Technophilic Musings</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/07/09/mute-answer-skype-calls-bluetooth-headset-button-in-linux.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Automatic Login For Beam Cable</title>
		<link>http://tech.shantanugoel.com/2010/04/14/beam-cable-automatic-login.html</link>
		<comments>http://tech.shantanugoel.com/2010/04/14/beam-cable-automatic-login.html#comments</comments>
		<pubDate>Wed, 14 Apr 2010 04:33:37 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Asus WL-500W]]></category>
		<category><![CDATA[automatic login to beam cable]]></category>
		<category><![CDATA[beam cable login settings]]></category>
		<category><![CDATA[beam cable pppoe settings]]></category>
		<category><![CDATA[beam telecom]]></category>
		<category><![CDATA[beam-cable]]></category>
		<category><![CDATA[beamtele]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/2010/04/14/beam-cable-automatic-login.html</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>This article will tell you a simple way to login automatically to beam cable (Beam-Telecom) internet connection instead of using the web login manually. Not only that, I’ll also tell you how to do this auto-login through your router if you have one with a custom linux firmware. I took a beam cable connection a <p>Continue reading <a href="http://tech.shantanugoel.com/2010/04/14/beam-cable-automatic-login.html">Automatic Login For Beam Cable</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p><strong>This article will tell you a simple way to login automatically to beam cable (Beam-Telecom) internet connection instead of using the web login manually.</strong> Not only that, I’ll also tell you how to do this auto-login through your router if you have one with a custom linux firmware. I took a beam cable connection a few days ago. The price is excellent and speeds are good but the only thing that bothered me was the web based login. You need to open up a browser and login through their online portal before you can access the internet. Now, if you don’t log off, then the login may persist even across PC/router reboots but many times it doesn’t. But in these times, it becomes a pain in the wrong place when I am just looking to play online on my PS3 or one of my various net-capable devices, scattered around the house, are trying to pull data and this forces me to open up my laptop just to login. Even for people who use the internet only on their PC, they might not be using the browser all the time and find it a hassle, minor one but still a hassle, to open a browser and login. Hence, I set out to find a way to do this automatically. (BTW, I’ll also be listing out how I came onto the solution in case you are in interested. If you are not, feel free to skip some paragraphs below to move to the solution)</p><!--test --><script type="text/javascript"><!--
google_ad_client = "ca-pub-7364296987674978";
/* 468x60, created 10/6/08 */
google_ad_slot = "0345781418";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<p> <span id="more-266"></span>
<p>First off, I came to know that Beam cable supports PPPoE logins, but for the life of me, I (and any of my friends) couldn’t get it working. So, I thought of an alternative approach. Since, this was just a login through a web page, there was a good chance that I could automate it through perl/wget/curl etc. I immediately opened up their portal and took a look at the source code in the hopes of finding out the login form, which I could use to find the POST data that they want and submit it through wget. But what I found was that they are using javascript to do the login process, so no direct way of finding this out. And on top of that, the functions are not embedded in the page but loaded through an external script.</p>
<p>Hmm, a setback but a minor one. Javascript is still a client-side executed environment so all hope wasn’t lost. I could have waded through the browser cache to find the js files loaded by the portal and went through the functions to reconstruct the data that I need but I chose an easier way. There is this excellent addon for firefox called “Live Headers”. It shows you all the transactions happening between your browser and the server. So, I just fired it up, filled in my login details in the portal and hit “Login”. On seeing the live headers log, I found out the exact url as well as the POST data that they were sending to do the actual login and from there it was a piece of cake. With “wget”, it is as simple as executing </p>
<blockquote><p>wget &lt;url&gt; &#8211;post-data=&lt;data&gt;</p>
</blockquote>
<p>So, by substituting the information that I got, this is the command that you need to execute on your PC (For linux/mac it is already installed generally and for windows, you will need to download from <a title="wget for windows" href="http://gnuwin32.sourceforge.net/packages/wget.htm" rel="external nofollow" target="_blank">here</a>)</p>
<blockquote><p>wget <a href="http://123.176.37.2/newportal/Ajax.php">http://123.176.37.2/newportal/Ajax.php</a> &#8211;post-data=&quot;function=ExecuteLogin&amp;user=YOURBEAMUSERNAME&amp;pwd=YOURBEAMPASSWORD&amp;remember=false&amp;timestamp=1271186686298&quot;</p>
</blockquote>
<p>Please remember to replace YOURBEAMUSERNAME and YOURBEAMPASSWORD with your actual username and password respectively. Also, please note that the above command is all one single line (it might appear in multiple lines in your browser).</p>
<p>So, everytime you need to login just run this command. Now, how to do this automatically? For linux, just put it inside a shell script for linux and set it to run automatically on bootup. For windows, paste the command in a text file, and save it as beam_login.bat and put it in your start up folder so that it runs everytime on boot. (You might want to put some delays in there as it might take some time to get connected to the network or you can query the network interface to run it when the network is up. Let me know if you want to know how to do this for your platform and I can help you).</p>
<p>So, this is for the PC, now how about if I need to use non-browser capable devices. This is easy if you have a router with a custom linux firmware (because they generally have wget installed or allow you to install it). I have an Asus wl-500w with oleg’s custom firmware installed and it was a piece of cake with it. I just created the following shell script</p>
<blockquote><p>#!/bin/sh </p>
<p>if [ -e Ajax.php ]     <br />then      <br />&#160; rm Ajax.php      <br />fi </p>
<p>#Limit the number of retries to prevent the router from going into continuous loop     <br />num_retries=10 </p>
<p>while [ $num_retries -gt 0 ]     <br />do      <br />wget <a href="http://123.176.37.2/newportal/Ajax.php">http://123.176.37.2/newportal/Ajax.php</a> &#8211;post-data=&quot;function=ExecuteLogin&amp;user=YOURBEAMUSERNAME&amp;pwd=YOURBEAMPASSWORD&amp;remember=false&amp;timestamp=1271186686298&quot;      <br />if [ -e Ajax.php ]      <br />then      <br />&#160; rm Ajax.php      <br />&#160; break      <br />else      <br />&#160; sleep 2s      <br />&#160; num_retries=`expr $num_retries &#8211; 1`      <br />fi      <br />done</p>
</blockquote>
<p>Then I set it to run on boot and voila!! A tip for other users of any of the asus routers with oleg’s firmware (like wl-500g, wl-520gu, wl-500gp etc). The firmware has some scripts in the /local/sbin folder that are run at various times. I suggest you put the above code inside the <strong>post-firewall</strong> script. (Do not forget to run “flashfs save &amp;&amp; flasfs commit &amp;&amp; flashfs enable” to save your changes). Now, every time my router reboots, it automatically logs in to the connection <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Hope I have been clear in the isntructions. If you are unclear about anything or need any help in implementing it for your specific platform, do let me know.</p>
<p style='border:thin dotted black; padding:3mm;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | This article, titled <strong><a href="http://tech.shantanugoel.com/2010/04/14/beam-cable-automatic-login.html">Automatic Login For Beam Cable</a></strong>, was originally published on <a href="http://tech.shantanugoel.com/">Shantanu's Technophilic Musings</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2010/04/14/beam-cable-automatic-login.html/feed</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
		<item>
		<title>Easiest Way to Shutdown Asus WL-500W</title>
		<link>http://tech.shantanugoel.com/2009/07/11/shutdown-asus-wl-500-w.html</link>
		<comments>http://tech.shantanugoel.com/2009/07/11/shutdown-asus-wl-500-w.html#comments</comments>
		<pubDate>Fri, 10 Jul 2009 23:19:12 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Asus wireless router]]></category>
		<category><![CDATA[Asus WL-500W]]></category>
		<category><![CDATA[external hard disk]]></category>
		<category><![CDATA[EZ Setup]]></category>
		<category><![CDATA[oleg]]></category>
		<category><![CDATA[oleg custom firmware]]></category>
		<category><![CDATA[setup button]]></category>
		<category><![CDATA[shut down script for asus]]></category>
		<category><![CDATA[usb port]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/2009/07/11/shutdown-asus-wl-500-w.html</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>If you are a proud owner of an Asus WL-500W wireless router (or maybe another one of the same series like wl-500g, wl-500gp, etc), then you know that this router has a very useful USB port with which you might have attached your external hard disk and have already offloaded all your downloding tasks to <p>Continue reading <a href="http://tech.shantanugoel.com/2009/07/11/shutdown-asus-wl-500-w.html">Easiest Way to Shutdown Asus WL-500W</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>If you are a proud owner of an Asus WL-500W wireless router (or maybe another one of the same series like wl-500g, wl-500gp, etc), then you know that this router has a very useful USB port with which you might have attached your external hard disk and have already offloaded all your downloding tasks to it, or maybe using it for various other purposes. Whatever maybe the reason, the main point is that because of this hard disk, now we cannot just turn off the power of the router any more. It has to be shut down gracefully like a PC. One way is to ssh/telnet to it and then give the &#8220;halt&#8221; command but then you have to switch on a PC specially just to turn off your router. Well not any more. I was looking for a better way to do this and just found out the simplest one. And if you are using Oleg&#8217;s custom firmware then you are in luck too.<br />
With the 1.9.2.7-g version of his firmware, oleg added a new feature with which if you press the <strong>EZ Setup </strong>button at the back of the router for 3 seconds, it executes a script &#8220;/usr/local/sbin/ez-setup&#8221;, if present. So, all you gotta do is create a new text file named &#8220;ez-setup&#8221;, and paste the following contents in it:</p><!--test --><script type="text/javascript"><!--
google_ad_client = "ca-pub-7364296987674978";
/* 468x60, created 10/6/08 */
google_ad_slot = "0345781418";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<blockquote><pre>#!/bin/sh
halt</blockquote>
</pre>
<p>Then save it at /usr/local/sbin in your router and make it executable by running &#8220;chmod +x ez-setup&#8221;. And you are done. You can now try out whether your router is shutting down gracefully or not by just pressing the EZ Setup button for 3 seconds.</p>
<p style='border:thin dotted black; padding:3mm;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | This article, titled <strong><a href="http://tech.shantanugoel.com/2009/07/11/shutdown-asus-wl-500-w.html">Easiest Way to Shutdown Asus WL-500W</a></strong>, was originally published on <a href="http://tech.shantanugoel.com/">Shantanu's Technophilic Musings</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2009/07/11/shutdown-asus-wl-500-w.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Secure Access To Your DSL Modem&#8217;s Telnet (telnet / ssh)</title>
		<link>http://tech.shantanugoel.com/2009/02/26/secure-access-dsl-modems-telnet-ssh.html</link>
		<comments>http://tech.shantanugoel.com/2009/02/26/secure-access-dsl-modems-telnet-ssh.html#comments</comments>
		<pubDate>Wed, 25 Feb 2009 18:30:00 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Airtel]]></category>
		<category><![CDATA[Asus WL-500W]]></category>
		<category><![CDATA[DSL Modem]]></category>
		<category><![CDATA[ssh dsl modem]]></category>
		<category><![CDATA[telnet]]></category>
		<category><![CDATA[WL-500W]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/2009/02/26/secure-access-to-your-dsl-modems-telnet-telnet-ssh.html</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>I have one of those crappy DSL modems that all these ISPs give to you with the connection. My ISP is Airtel and the modem that I have is Beetel 110&#8211;BXi (They also have other models like 220&#8211;BX and 220 BXi). One thing common among all these modems is that they do not provide secure <p>Continue reading <a href="http://tech.shantanugoel.com/2009/02/26/secure-access-dsl-modems-telnet-ssh.html">Secure Access To Your DSL Modem&#8217;s Telnet (telnet / ssh)</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>I have one of those crappy DSL modems that all these ISPs give to you with the connection. My ISP is Airtel and the modem that I have is Beetel 110&ndash;BXi (They also have other models like 220&ndash;BX and 220 BXi). One thing common among all these modems is that they do not provide secure access like Secure Shell (ssh) as all they provide is ftp/telnet/http etc which are all clear text protocols. Hence, it is a huge security risk to expose these interfaces to the internet and then access them from outside. So, I (and most others) don&rsquo;t allow these services to be accessed from WAN. But I do have the need some time to access it. So, what do I do? I follow a simple process to allow myself a pseudo-ssh or telnet picggy-backed over ssh connection. How is that?</p><!--test --><script type="text/javascript"><!--
google_ad_client = "ca-pub-7364296987674978";
/* 468x60, created 10/6/08 */
google_ad_slot = "0345781418";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<p>Well, I have an excellent&nbsp;wi-fi router (Asus WL-500W) that does have ssh (which I have configured to listen on, say,&nbsp;port XXXX). Now all I do is:</p>
<ol>
<li>Disable telnet access to modem from WAN but enable from LAN.&nbsp;</li>
<li>Forward this particular port XXXX in modem&rsquo;s configuration to the router&rsquo;s IP.</li>
<li>Optional: Register for a dynamic dns account (e.g. dyndns.org) and update the same in modem&rsquo;s config so I can access my modem through a domain name since I have a dynamic IP which changes all the time.</li>
<li>Now, ssh to my external (WAN) IP from outside (say from work). Since, the port is forwarded to my router, it the router that answers my ssh request.</li>
<li>After logging in to my router, simply telnet to the modem using its LAN IP and configure away.</li>
</ol>
<p>Simple, isn&rsquo;t it? I would advise you all to make a similar setup for yourself as well, if possible, rather than taking risks of unsecure access.[tags]Airtel, DSL Modem, ssh dsl modem, Asus WL-500W, WL-500W, telnet[/tags]</p>
<p style='border:thin dotted black; padding:3mm;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | This article, titled <strong><a href="http://tech.shantanugoel.com/2009/02/26/secure-access-dsl-modems-telnet-ssh.html">Secure Access To Your DSL Modem&#8217;s Telnet (telnet / ssh)</a></strong>, was originally published on <a href="http://tech.shantanugoel.com/">Shantanu's Technophilic Musings</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2009/02/26/secure-access-dsl-modems-telnet-ssh.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[TIP] Asus WL-500W Hacks:How To Reset Web Admin Password</title>
		<link>http://tech.shantanugoel.com/2009/01/24/tip-asus-wl-500w-hackshow-to-reset-web-admin-password.html</link>
		<comments>http://tech.shantanugoel.com/2009/01/24/tip-asus-wl-500w-hackshow-to-reset-web-admin-password.html#comments</comments>
		<pubDate>Fri, 23 Jan 2009 22:41:31 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[administration password]]></category>
		<category><![CDATA[AsAsus WL-500g]]></category>
		<category><![CDATA[Asus WL-500g]]></category>
		<category><![CDATA[Asus WL-500g Deluxe]]></category>
		<category><![CDATA[Asus WL-500gP]]></category>
		<category><![CDATA[Asus WL-500W]]></category>
		<category><![CDATA[Asus WL-500W hacks]]></category>
		<category><![CDATA[How to reset web admin password]]></category>
		<category><![CDATA[password hacks]]></category>
		<category><![CDATA[reset asus wl-500w password]]></category>
		<category><![CDATA[reset password]]></category>
		<category><![CDATA[web admin]]></category>
		<category><![CDATA[web administration]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/2009/01/24/tip-asus-wl-500w-hackshow-to-reset-web-admin-password.html</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>Most of you must be knowing by now that I bought the amazing Asus WL-500W router a few days back. This router builds on the great lineage it has in its predecessors, the WL-500g, WL-500g Deluxe, WL-500gP, WL-500gP v2 etc, and shines ahead with being much more than a router, rather a complete headless linux <p>Continue reading <a href="http://tech.shantanugoel.com/2009/01/24/tip-asus-wl-500w-hackshow-to-reset-web-admin-password.html">[TIP] Asus WL-500W Hacks:How To Reset Web Admin Password</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>Most of you must be knowing by now that I bought the amazing Asus WL-500W router a few days back. This router builds on the great lineage it has in its predecessors, the WL-500g, WL-500g Deluxe, WL-500gP, WL-500gP v2 etc, and shines ahead with being much more than a router, rather a complete headless linux PC. Anyways, to the point. In most routers/modems, if you forget the password to your web-administration gui (which generally resides as 192.168.1.1), the only option left is to reset the router, thereby losing all your settings etc. But not so with this little beast. If you remember your ssh password (which BTW is available if you have installed a custom firmware on our router), then you can just login through it to your router and execute the following commands to save your skin:</p><!--test --><script type="text/javascript"><!--
google_ad_client = "ca-pub-7364296987674978";
/* 468x60, created 10/6/08 */
google_ad_slot = "0345781418";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<p>
<blockquote>
<pre>nvram get http_passwd</blockquote>
</pre>
<p>This will display the current web administration password.</p>
<p>
<blockquote>
<pre>nvram set http_passwd=&rdquo;NewPasswd&rdquo;</blockquote>
</pre>
<p>This will set the new password. But remember that you have to enter another command (given below) to make sure that your new password is saved.</p>
<p>
<blockquote>
<pre>nvram commit</blockquote>
</pre>
<p>Now, just reboot and enjoy <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  [tags]AsAsus WL-500g, Asus WL-500g Deluxe, Asus WL-500gP, Asus WL-500W, Asus WL-500W hacks, How to reset web admin password, reset asus wl-500w password, reset password, Linux, Hack, administration password, password hacks, web administration, web admin[/tags]</p>
<p style='border:thin dotted black; padding:3mm;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | This article, titled <strong><a href="http://tech.shantanugoel.com/2009/01/24/tip-asus-wl-500w-hackshow-to-reset-web-admin-password.html">[TIP] Asus WL-500W Hacks:How To Reset Web Admin Password</a></strong>, was originally published on <a href="http://tech.shantanugoel.com/">Shantanu's Technophilic Musings</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2009/01/24/tip-asus-wl-500w-hackshow-to-reset-web-admin-password.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Firefox Incognito / Private Browsing Mode &#8211; Part II</title>
		<link>http://tech.shantanugoel.com/2008/09/11/firefox-incognito-private-browsing-mode-part-ii.html</link>
		<comments>http://tech.shantanugoel.com/2008/09/11/firefox-incognito-private-browsing-mode-part-ii.html#comments</comments>
		<pubDate>Thu, 11 Sep 2008 16:59:33 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Clear private data]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Firefox Profile Manager]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[Incognito mode]]></category>
		<category><![CDATA[Internet Explorer 8]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Private Browsing]]></category>
		<category><![CDATA[ramdisk]]></category>
		<category><![CDATA[undercover]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/?p=167</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>A few people (e.g. Varun) told me my previous post differed from the way how google chrome / Microsoft IE8 handle Incognito (Private Browsing) mode. The main consideration was that while chrome/IE8 don&#8217;t write anything to disk at all, the firefox method is an after-effect, i.e., writing to disk and then clearing it up while <p>Continue reading <a href="http://tech.shantanugoel.com/2008/09/11/firefox-incognito-private-browsing-mode-part-ii.html">Firefox Incognito / Private Browsing Mode &#8211; Part II</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>A few people (e.g. <a rel="nofollow" href="http://paheli.net/blog/2008/09/11/security-and-usability-google-chromes-incognito-mode/" target="_blank">Varun</a>) told me <a rel="me" href="http://tech.shantanugoel.com/2008/09/10/firefox-incognito-mode-is-here-move-over-chromeie8.html" target="_blank">my previous post</a> differed from the way how google chrome / Microsoft IE8 handle Incognito (Private Browsing) mode. The main consideration was that while chrome/IE8 don&#8217;t write anything to disk at all, the firefox method is an after-effect, i.e., writing to disk and then clearing it up while closing the window. Well, true but nothing is non-rectificable <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . So this is a post about a method that one can use to go &#8220;really&#8221; undercover with firefox. But before we begin, please make sure you have read Part 1 of my post, because here I&#8217;ll start from the point where we left off in the earlier post.</p><!--test --><script type="text/javascript"><!--
google_ad_client = "ca-pub-7364296987674978";
/* 468x60, created 10/6/08 */
google_ad_slot = "0345781418";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<p>I began thinking on the lines of setting up a ramdisk first (and remapping the browser cache folders to the new path in this ramdisk), so that nothing gets written to the hard disk, ever, even if the browser tries very hard. Best security right? Yes, but it involved a few issues like data is still there until you reboot also a part of your ram is always blocked, etc. So I went with the approach given below.</p>
<p><strong>Method: Easier and privacy on-par with Chrome/IE8</strong></p>
<p>Just do the following in addition to the Step 4.</p>
<ul>
<li>Uncheck &#8220;Keep my history&#8221;</li>
<li>Uncheck &#8220;Remember what I enter in forms and the search bar&#8221;</li>
<li>Uncheck &#8220;Remember what I&#8217;ve downloaded&#8221;</li>
<li>Choose &#8220;Keep until I close firefox&#8221; for cookies</li>
<li>Press advanced settings in &#8220;Private Data&#8221;, select unselect options according to your choice. For max protection, select everything.</li>
<li>Open a new tab, and write &#8220;about:config&#8221; (without quotes) in address bar, press enter.</li>
<li>Search for &#8220;browser.cache.disk.enable&#8221; and set it to false</li>
<li>Search for &#8220;browser.cache.offline.enable&#8221; and set it to false</li>
</ul>
<p>Done. You are secure and remember, this is just a one time setup, you won&#8217;t have to do this again and again.</p>
<p>Side Note: Usability is another concern. However, I think that is debatable and varies from user to user highly. The steps lined up in these 2 posts aren&#8217;t too hard to carry out and take around a minute to do, and is a one time effort. Now, compare this with option where you use google chrome and love its in-built incognito mode but then have to leave all the extensions and greasemonkey scripts of firefox behind which made browsing so much more accessible for you. Another path could be to use both the browsers. Anyways, I&#8217;ll not go further down this path. This is for you to decide what you feel is more usable for you <img src='http://tech.shantanugoel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . This is just something to say &#8220;It&#8217;s not impossible&#8221;.</p>
<p>PS: If anyone is still curious about the ramdisk approach, let me know..</p>
<p style='border:thin dotted black; padding:3mm;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | This article, titled <strong><a href="http://tech.shantanugoel.com/2008/09/11/firefox-incognito-private-browsing-mode-part-ii.html">Firefox Incognito / Private Browsing Mode &#8211; Part II</a></strong>, was originally published on <a href="http://tech.shantanugoel.com/">Shantanu's Technophilic Musings</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2008/09/11/firefox-incognito-private-browsing-mode-part-ii.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Firefox Incognito Mode Is Here: Move Over Chrome/IE8</title>
		<link>http://tech.shantanugoel.com/2008/09/10/firefox-incognito-mode-is-here-move-over-chromeie8.html</link>
		<comments>http://tech.shantanugoel.com/2008/09/10/firefox-incognito-mode-is-here-move-over-chromeie8.html#comments</comments>
		<pubDate>Wed, 10 Sep 2008 17:49:41 +0000</pubDate>
		<dc:creator>Shantanu Goel</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Clear private data]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Firefox Profile Manager]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[Incognito mode]]></category>
		<category><![CDATA[Internet Explorer 8]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Private Browsing]]></category>
		<category><![CDATA[undercover]]></category>

		<guid isPermaLink="false">http://tech.shantanugoel.com/2008/09/10/firefox-incognito-mode-is-here-move-over-chromeie8.html</guid>
		<description><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p>Update: Part 2 of this post is now up here to allay some of the drawbacks that were pointed out.</p> <p>There has been so much hype over the “Incognito” (or Private Browsing) mode of Google Chrome / Microsoft IE8, with many internet users screeming Hallelujiah. But I don’t understand what the hoopla is all about. <p>Continue reading <a href="http://tech.shantanugoel.com/2008/09/10/firefox-incognito-mode-is-here-move-over-chromeie8.html">Firefox Incognito Mode Is Here: Move Over Chrome/IE8</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Powered by Shantz WP Prefix Suffix. Tech Blog: http://tech.shantanugoel.com/ Secure Programming Blog: http://www.safercode.com/blog/ Blog: http://blog.shantanugoel.com/ --><p><strong>Update:</strong> Part 2 of this post is now up <a rel="me" href="http://tech.shantanugoel.com/2008/09/11/firefox-incognito-private-browsing-mode-part-ii.html" target="_blank">here</a> to allay some of the drawbacks that were pointed out.</p>
<p>There has been so much hype over the “Incognito” (or Private Browsing) mode of Google Chrome / Microsoft IE8, with many internet users screeming Hallelujiah. But I don’t understand what the hoopla is all about. This mode has always been there in Mozilla firefox as well. You just need to devote less than one minute (yes, you read that right, less than one minute) to set it up. Well, actions are better than words, so here it goes:</p><!--test --><script type="text/javascript"><!--
google_ad_client = "ca-pub-7364296987674978";
/* 468x60, created 10/6/08 */
google_ad_slot = "0345781418";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<p>Step 1.) Run the following command to start the firefox profile manager.(In Linux, press Alt+F2 and in Windows, press Win+R to bring up the run dialogue box)</p>
<blockquote><pre>firefox -ProfileManager</blockquote>
</pre>
<p>If it says something on the lines of “cannot find command” then use full path to firefox/firefox.exe in linux/Windows respectively.</p>
<p align="center"><a href="http://tech.shantanugoel.com/uploads/firefox_2Dprofile_2Dmanager.jpg"><img src="http://tech.shantanugoel.com/uploads/firefox_2Dprofile_2Dmanager_thumb.jpg" border="0" alt="Firefox-profile-manager" align="middle" /></a></p>
<p>Step 2.) Press “Create Profile” and enter “Incognito” (or a name of your choice) as your new profile name and press “Finish”.</p>
<p align="center"><a href="http://tech.shantanugoel.com/uploads/firefox_2Dprofile_2Dmanager2.jpg"><img src="http://tech.shantanugoel.com/uploads/firefox_2Dprofile_2Dmanager2_thumb.jpg" border="0" alt="Firefox-profile-manager2" align="middle" /></a></p>
<p>Step 3.) Select “Incognito” profile and press “Start Firefox”.</p>
<p align="center"><a href="http://tech.shantanugoel.com/uploads/firefox_2Dprofile_2Dmanager3.jpg"><img src="http://tech.shantanugoel.com/uploads/firefox_2Dprofile_2Dmanager3_thumb.jpg" border="0" alt="Firefox-profile-manager3" align="middle" /></a></p>
<p>Step 4.) Go to Edit-&gt;Preferences-&gt;Privacy. Select “Always clear my private data when I close Firefox” and unselect “Ask me before clearing private data”.</p>
<p align="center"><a href="http://tech.shantanugoel.com/uploads/firefox_2Dprivacy_2Dpreferences.jpg"><img src="http://tech.shantanugoel.com/uploads/firefox_2Dprivacy_2Dpreferences_thumb.jpg" border="0" alt="Firefox-privacy-preferences" align="middle" /></a></p>
<p>Step 5.) That’s it. Setup is done. Now, whenever you want to go undercover, run the following command</p>
<blockquote><pre>firefox -P Incognito -no-remote</blockquote>
</pre>
<p>Note 1: You can run incognito mode and normal mode together simultaneously.</p>
<p>Note 2: Its advised that you put the above command in a shortcut for easy/quick access.</p>
<p>Isn’t that simple? Now, can you roll back that drool factor of being able to go “undercover” in google chrome or Internet Explorer 8?</p>
<p style='border:thin dotted black; padding:3mm;'><a href="http://tech.shantanugoel.com/terms-of-use">©</a> <a href="http://tech.shantanugoel.com/">Shantanu Goel</a> | This article, titled <strong><a href="http://tech.shantanugoel.com/2008/09/10/firefox-incognito-mode-is-here-move-over-chromeie8.html">Firefox Incognito Mode Is Here: Move Over Chrome/IE8</a></strong>, was originally published on <a href="http://tech.shantanugoel.com/">Shantanu's Technophilic Musings</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.shantanugoel.com/2008/09/10/firefox-incognito-mode-is-here-move-over-chromeie8.html/feed</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
	</channel>
</rss>

