<?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>twistedgenes.com - Blogs by Rakesh Gupta &#187; Experiences</title>
	<atom:link href="http://www.twistedgenes.com/category/experiences/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.twistedgenes.com</link>
	<description>Blogs on truth, technology, food, linux, leisure, experiences, adventure, romance, friends etc !</description>
	<lastBuildDate>Sat, 12 Jun 2010 14:24:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ISP related issues. Reliance Communications WiMax problems solved</title>
		<link>http://www.twistedgenes.com/2010/01/isp-related-issues-reliance-communications-wimax-problems-solved/</link>
		<comments>http://www.twistedgenes.com/2010/01/isp-related-issues-reliance-communications-wimax-problems-solved/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 10:51:17 +0000</pubDate>
		<dc:creator>Rakesh</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rocking]]></category>
		<category><![CDATA[all]]></category>
		<category><![CDATA[Bangalore]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.twistedgenes.com/?p=341</guid>
		<description><![CDATA[Recently a lot of issues have turned up with my ISP provider, Reliance Communications in this case. I happen to use multiple laptops and a router. They lock a system based on MAC address or a long duration dhcp lease file. There are various ways to get rid of this situation. A few which I [...]]]></description>
			<content:encoded><![CDATA[<p>Recently a lot of issues have turned up with my ISP provider, Reliance Communications in this case. I happen to use multiple laptops and a router. They lock a system based on MAC address or a long duration dhcp lease file. There are various ways to get rid of this situation. A few which I could figure out and seem to work are</p>
<p><span style="text-decoration: underline;">&#8211; Do neatly logout of their web application, before switching machines. As they keep the records, which would not let you login using a different machine till a session timeout which ranges from 0.5 to 6 hours.</span></p>
<p><span style="text-decoration: underline;">&#8211; Spoof Your MAC Address, if you are using multiple laptops/desktops</span></p>
<p>use<strong> ifconfig</strong> utility:</p>
<p><span style="color: #000000;">MAC address can be changed very easily using <em>ifconfig</em>. Run the following command as root user.</span></p>
<p>#<em><strong>ifconfig eth0 down hw ether address</strong></em></p>
<p><em><strong>eth0</strong></em> is the name of the interface/NIC which address is to be changed.</p>
<p><em><strong>down</strong></em> means the NIC is to be shutdown before changing address.</p>
<p><em><strong>hw ether </strong></em>means hardware address class is ether(which indicates ethernet).</p>
<p><em><strong>address</strong></em> is the address which will used as the new mac.</p>
<p>After the successful execution of the command. start the NIC again using the command:</p>
<p><em><strong># /sbin/ifconfig eth0 up</strong></em></p>
<p><span style="text-decoration: underline;">&#8211; Release your IP after successful log out</span></p>
<p><em><strong># dhclient -r -pf  &lt; path to the current dhclient pid file &gt; </strong></em></p>
<p>The path of current dhclient pid file can be found using</p>
<p><strong><em># ps -eaf  | grep dhclient </em></strong></p>
<p>Path is usually /var/run/dhclient-eth0.pid or /var/run/dhclient-wlan0.pid</p>
<p><em><strong><br />
</strong></em></p>
<p><strong><em><br />
</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.twistedgenes.com/2010/01/isp-related-issues-reliance-communications-wimax-problems-solved/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>2012 &#8211; The Movie impact &#8211; Worth Sharing</title>
		<link>http://www.twistedgenes.com/2009/12/2012-the-movie-impact-worth-sharing/</link>
		<comments>http://www.twistedgenes.com/2009/12/2012-the-movie-impact-worth-sharing/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 13:05:08 +0000</pubDate>
		<dc:creator>Rakesh</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Crazy]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Hilarious]]></category>
		<category><![CDATA[Truth]]></category>
		<category><![CDATA[Bangalore]]></category>
		<category><![CDATA[Gosh]]></category>
		<category><![CDATA[Movie]]></category>

		<guid isPermaLink="false">http://www.twistedgenes.com/?p=293</guid>
		<description><![CDATA[Case 1 : One fine morning in Bangalore, I had to hire an auto to some place. Apparently, the name of the road was uncommon. Barely any autowala was ready to go. I managed to convince one autowala. His chatty nature throughout the way kept me quite engrossed as well.
This is the MG Road, this [...]]]></description>
			<content:encoded><![CDATA[<p>Case 1 : One fine morning in <a href="http://en.wikipedia.org/wiki/Bangalore" target="_self">Bangalore</a>, I had to hire an auto to some place. Apparently, the name of the road was uncommon. Barely any autowala was ready to go. I managed to convince one autowala. His chatty nature throughout the way kept me quite engrossed as well.</p>
<p>This is the MG Road, this one goes to Indian Express Bus stop .. bla bla etc. At one junction, the auto stopped under semi-constructed <a href="http://en.wikipedia.org/wiki/Bangalore_metro" target="_blank">namma metro</a> flyover.  He started enriching my knowlege with some stats. Construction of these metro tracks started way back in Dec. 2006 and its 2009, they have not achieved anything concrete yet. They are spoiling the garden city by erasing all the gardens. What&#8217;s the point, 2012 is near, nothing is gonna survive.</p>
<p>Gosh !! I was amazed. The movie <a href="http://www.imdb.com/title/tt1190080/" target="_blank">2012</a>, seems to have made a real impact even on the autowalas.</p>
<p>Case 2: Weekly shopping at <a href="http://en.wikipedia.org/wiki/Reliance_Fresh" target="_blank">Reliance Fresh</a> for the vegetables. At the vegetable counter, the reliance guy, <em>Bhaiyya </em><a href="http://www.imdb.com/title/tt1190080/" target="_blank">2012</a><em> dekhi kya? Ekdum mast movie hai .. jarur dekhiye &#8230; kya mast effects hai &#8230; </em></p>
<p>Looks like the movie has made an impact in different segments and sectors of the Indian Population. What&#8217;s your take on this ? Bunch of my friends liked it and appreciated. I am yet to watch it <img src='http://www.twistedgenes.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.twistedgenes.com/2009/12/2012-the-movie-impact-worth-sharing/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Huntplace &#8211; The idea, reason and future</title>
		<link>http://www.twistedgenes.com/2009/11/huntplace-the-idea-reason-and-future/</link>
		<comments>http://www.twistedgenes.com/2009/11/huntplace-the-idea-reason-and-future/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 17:07:30 +0000</pubDate>
		<dc:creator>Rakesh</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Rocking]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[all]]></category>
		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://www.twistedgenes.com/?p=238</guid>
		<description><![CDATA[Travelling, excursions, adventures who doesn&#8217;t like them . A vast chunk of population likes to freak out on  small adventurous trips on weekends. The reason for this drive is to get rid of the mundane and mechanical cycle of office-home-offce and destress oneself. But the major question that arises is where to go? why this [...]]]></description>
			<content:encoded><![CDATA[<p>Travelling, excursions, adventures who doesn&#8217;t like them . A vast chunk of population likes to freak out on  small adventurous trips on weekends. The reason for this drive is to get rid of the mundane and mechanical cycle of office-home-offce and destress oneself. But the major question that arises is where to go? why this one and why not that one ? what kind of place is it ( historic, nature, modern etc).   How do we decide on this, googling and talking to colleagues. After all this exercise of mining tonnes of pages and talking to bunch of friends, the decision becomes more difficult. Differences of opinion starts among the group.</p>
<p><a href="http://www.huntplace.in" target="_blank">Huntplace</a> as the name suggests let&#8217;s you hunt for the place where you want to go . It basically aggregates/mines the data from resourceful and rich web applications like Flickr, Youtube, Wiki, etc. and makes your life easier. Instead of stumbling upon those stale and old sites, get the data from the popular and reliable sources. It is a mashup that calls the pulic APIs and let&#8217;s u explore your travel destination based on the content received.</p>
<p>The whole idea is in a very early phase and has been implemented. There are bunch of enhancements and ramifications that can be done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.twistedgenes.com/2009/11/huntplace-the-idea-reason-and-future/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>When it rains in Bangalore</title>
		<link>http://www.twistedgenes.com/2009/06/when-it-rains-in-bangalore/</link>
		<comments>http://www.twistedgenes.com/2009/06/when-it-rains-in-bangalore/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 19:34:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Crazy]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[all]]></category>
		<category><![CDATA[Bangalore]]></category>
		<category><![CDATA[Rainfall]]></category>
		<category><![CDATA[traffic]]></category>

		<guid isPermaLink="false">http://www.twistedgenes.com/?p=213</guid>
		<description><![CDATA[9:30 PM &#8211; 20 K.Ms &#8211; Shutdown the system. Lappy goes in the bag, lights off. Door locked. Into the parking, hit the road.
9:45PM &#8211; 12 K.Ms - Old Madras Road signal. Lights, red.  Gigantic water drops started falling. Being on a two wheeler, had no option but to stop. Parked in Indira Nagar on [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="underline;">9:30 PM &#8211; 20 K.Ms</span></strong> &#8211; Shutdown the system. Lappy goes in the bag, lights off. Door locked. Into the parking, hit the road.</p>
<p><strong><span style="underline;">9:45PM &#8211; 12 K.Ms</span> </strong>- Old Madras Road signal. Lights, red.  Gigantic water drops started falling. Being on a two wheeler, had no option but to stop. Parked in Indira Nagar on the juice shop. Had an awesome mango shake. Rain pouring in at gushing speed. Roads started submerging , water everywhere. All traffic rules violated, everyone rushing here and there. No option , but to wait, cosy and dry under the shop.</p>
<p><strong><span style="underline;">10:15PM &#8211; 12K.Ms</span> </strong> &#8211; Making calls to friends to kill boredom</p>
<p><strong><span style="underline;">10:20PM &#8211; 12K.Ms</span> </strong> &#8211; More calls !!! geez, I am bored.</p>
<p><strong><span style="underline;">10:30PM &#8211; 12K.Ms</span></strong> &#8211; More calls !!! geez, I am bored.</p>
<p><strong><span style="underline;">10:40PM &#8211; 12K.Ms</span> </strong> &#8211; Rain seemed to reduce in intensity. Made an attempt to proceed further, drenched slighlty. But bearable. Heading south.</p>
<p><strong><span style="underline;">10:50PM &#8211; 10K.Ms</span></strong> &#8211; Whoa, what&#8217;s that? Never seen so many vehicles and jam on a flyover (Domlur flyover). Cars coming in from all the directions. What&#8217;s happening. Rainfall intensified.</p>
<p><strong><span style="underline;">11:00PM &#8211; 10K.Ms</span></strong> &#8211; Managed to get down from the flyover, swerving in between car spaces. Drenched badly. Roads submerged in water till knee length. Parked the vehicle and hid under the big stationary shop.</p>
<p><strong><span style="underline;">11:00PM &#8211; 10K.Ms</span> </strong>- Waiting for rain to reduce. Cars, trucks , buses all stuck up on the road. Honking honking ! Jam packed. No one goes anywhere. No movement on other side of the road. Looks like the other end is witnessing a phoenix, ganges in south !!! World came to standstill.  People trying to manoeuvre their bikes across the water logged gaps, pavements. People falling in water logged ditches, heading in some direction. Total chaos. Power went off. Street lights off. Can see big shiny blue DELL on the far end.</p>
<p style="center;"><a href="http://www.twistedgenes.com/wp-content/uploads/2009/06/dsc01505.jpg"><img class="aligncenter size-medium wp-image-214" src="http://www.twistedgenes.com/wp-content/uploads/2009/06/dsc01505-300x225.jpg" alt="" /></a></p>
<p style="center;"><a href="http://www.twistedgenes.com/wordpress/wp-content/uploads/2009/06/dsc01505.jpg"><img class="size-medium wp-image-214 aligncenter" src="http://www.twistedgenes.com/wp-content/uploads/2009/06/dsc01505-300x225.jpg" alt="" width="0" height="0" /></a></p>
<p style="center;"><a href="http://www.twistedgenes.com/wordpress/wp-content/uploads/2009/06/dsc01505.jpg"><img class="size-medium wp-image-214 aligncenter" src="http://www.twistedgenes.com/wordpress/wp-content/uploads/2009/06/dsc01505-300x225.jpg" alt="" /></a></p>
<p><span style="underline;"><strong>11:30PM &#8211; 10K.Ms</strong></span><strong> </strong> No traffic movement ahead. Looks like the inner ring roads are submerged totally under water for a stretch of 4KMs. No one goes ahead<span style="underline;">. The mob broke the divider to let the water flow out.<br />
</span></p>
<p><strong><span style="underline;">12:00 AM &#8211; 10K.Ms</span></strong> Still waiting under the shop. A noble voice shouted: The inner ring road is totally submerged and vehicle movement is impossible. Cars take a reverse and follow Old Airport Road, Old Madras Road, MG Road etc. Slight movement in vehicle began.<span style="underline;"> </span></p>
<p><strong><span style="underline;">12:15 AM &#8211; 10K.Ms</span> </strong>The traffic reduced. All vehicles headed in reverse direction. Drizzling. I too took the reverse route .</p>
<p><strong><span style="underline;">12:30AM &#8211; 8K.Ms.</span></strong> Brigade Road . Roads damp, but not flooded.</p>
<p><strong><span style="underline;">12:30AM &#8211; 6K.Ms.</span></strong> Bannerghatta Road.  I am an idiot that i did not take this route. May be I would have escaped that Domlur inner ring road crisis.</p>
<p><strong><span style="underline;">12:45AM &#8211; 2K.Ms</span> </strong>Outer Ring Road. Whoa, I am reaching home finally . Hurray.</p>
<p><strong><span style="underline;">12:50 AM &#8211; 0K.Ms</span> </strong> Alas ! Reached home. Drenched. Took a shower to freshen. Had dinner. Did some tweeting and finally slept at 2:00AM . It was a tiring day .</p>
<p><strong>Epilogue </strong></p>
<p>Wallet got drenched badly. It took two full days to dry. Luckily, the two 500 notes managed to stay off from getting biologically recycled owing to excessive hydration.</p>
<p>Catastrophes bring people closer. They seamlessly start helping each other without thinking as otherwise they would.</p>
<p>Voila, it was an amazing experience <img src='http://www.twistedgenes.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.twistedgenes.com/2009/06/when-it-rains-in-bangalore/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>A strikingly odd web application exposure</title>
		<link>http://www.twistedgenes.com/2008/12/a-strikingly-odd-web-application-exposure/</link>
		<comments>http://www.twistedgenes.com/2008/12/a-strikingly-odd-web-application-exposure/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 19:06:39 +0000</pubDate>
		<dc:creator>Rakesh</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Crazy]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[all]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Curl]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.twistedgenes.com/?p=124</guid>
		<description><![CDATA[Without having to expose your backend stuff to the internet, how do you service a WAP/WEB request. The blog below discusses a typical method of achieving the same. Assuming that whole web system is being developed in a intranet and not hosted outside. Let us call the internal unexposed server as A. We need a [...]]]></description>
			<content:encoded><![CDATA[<p>Without having to expose your backend stuff to the internet, how do you service a WAP/WEB request. The blog below discusses a typical method of achieving the same. Assuming that whole web system is being developed in a intranet and not hosted outside. Let us call the internal unexposed server as A. We need a server hosted on internet to fetch the WAP/WEB requests from the mobile or computer. This server is called as B. The request is being fired on the server B, the request is written to a flat file called request file. Server A runs a shell program viz fetchrequest.sh which reads the request file every second for any new requests coming  using the curl unix utility. Meanwhile, the server B sleeps off and waits for a response from server A. Server A will read the request and if its new (newness of a request is determined by saving the previous  request number in a global shell environment variable) server A processes it and shoots back the response to server B in the form of a file via FTP. Server B, in its sleeping state waits for the this FTP response file. Once recieved, it pushes back the response to the user. The whole wait process is scheduled for a fixed period of time, after which a dummy response is send like server is down, request failed, bla bla etc . Let us see how the same is achieved in fetchreques.sh running on server A.</p>
<p>File fetchrequest.sh</p>
<pre>
#!/bin/bash
while [ 10 -eq 10 ]

#Runs in a infinite loop checking request file at server B every second
do
if [ `env | grep -c lastCounter` = 1 ];then
newCounter=`curl -s http://serverB/requestFile.txt | tail -1 | cut -d: -f1`

#Reading request file at server B
param=`curl -s serverB/requestFile.txt | tail -1 | cut -d: -f2` #Extracting the request parameters
echo newCounter : $newCounter lastCounter : $lastCounter

#If there is a new request, sending a response back to the server B
if [ "$newCounter" != "$lastCounter" ]; then
echo "Need to send a response"
echo "Response URL : http://serverA/something.pl?action=something&amp;param1&amp;param2"

#Trimming of the response that needs to be send to serverB and storing it in a variable
output=`curl -s "http://serverA/something.pl?action=something&amp;param1&amp;param2" | grep 'cap\\|img' |
sed \ 's/&lt;src&gt;.*&lt;\/src&gt;//g;s/&lt;cap&gt;/\:/g;s/&lt;\/cap&gt;//g;s/&lt;img&gt;/\:/g;s/&lt;\/img&gt;//g'`
echo "Response received : $output"

#writing the response to a flat file to be FTPed to server B
`echo $output&gt;"rp_$newCounter.txt"`
`export filename==rp_$newCounter.txt`
`echo ls -l "rp_$newCounter.txt"`
typeset -i responseSize=`wc -c rp_$newCounter.txt | cut -d" " -f1`
echo "Response size $responseSize"

#If the process response is garbled, small or null, sending a dummy error in FTP file
if [ $responseSize = 1 ];then
`echo "We are working , try later" &gt; "rp_$newCounter.txt"`
fi

#making an FTP connection to serverB and launching the response file
`curl -s -T "rp_$newCounter.txt" -u username:password"ftp://serverB/rp_$newCounter.txt"`
echo "Uploaded the FTP file for $newCounter request"
`rm -f rp_$newCounter.txt`
echo "Deleting rp_$newCounter.txt after upload"

#Updating the request environment variable
lastCounter=$newCounter
export lastCounter
fi
else
lastCounter=`curl -s http://serverB/mobRequests.txt | tail -1 | cut -d: -f1`
export lastCounter
fi
done
</pre>
<p>The whole system works very well, and the requests are processed and response send to user. There are however limitations to this model.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.twistedgenes.com/2008/12/a-strikingly-odd-web-application-exposure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade Fedora without burning the DVD/CDs</title>
		<link>http://www.twistedgenes.com/2008/11/upgrade-fedora-without-burning-the-dvdcds/</link>
		<comments>http://www.twistedgenes.com/2008/11/upgrade-fedora-without-burning-the-dvdcds/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 17:27:27 +0000</pubDate>
		<dc:creator>Rakesh</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rocking]]></category>
		<category><![CDATA[Truth]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://www.twistedgenes.com/?p=130</guid>
		<description><![CDATA[An upgrade of Fedora Core version normally requires burning the new version&#8217;s image in a DVD or CDs.  An alternate approach to the same is upgrading by copying the same to a hard drive or a pen drive. The approach mentioned below worked very well from me for an upgrade of FC9 to FC10.
Download the [...]]]></description>
			<content:encoded><![CDATA[<p>An upgrade of <a href="http://fedoraproject.org" target="_blank">Fedora Core</a> version normally requires burning the new version&#8217;s image in a DVD or CDs.  An alternate approach to the same is upgrading by copying the same to a hard drive or a pen drive. The approach mentioned below worked very well from me for an upgrade of FC9 to FC10.</p>
<p>Download the new version&#8217;s (say FC 10)  iso(DVD) image and save it to a disk drive partition. I used a pen drive for the same. It works very well for filesystems viz. FAT32,ext2 and not NTFS. Copy the image file to any directory say for example /mnt/FedoraCoreDVD.iso( Assuming, that pen drive is mounted at /mnt) . Mount the iso image in a directory(any) to extract the isolinux folder.</p>
<p><span style="#ff0000;"><span style="#ff0000;">#mount -o loop /mnt/FedoraCoreDVD.iso /home/user/Fedora/</span></span></p>
<p>Copy the isolinux folder and paste it inside the boot folder.</p>
<p><span style="#ff0000;">#cp -r /home/user/Fedora/isolinux /boot</span></p>
<p>Now we need to make an entry in the <a href="http://www.gnu.org/software/grub" target="_blank">grub file</a> to boot the copied isolinux folder&#8217;s install.img</p>
<p><span style="#ff0000;"># cat /etc/grub.conf</span></p>
<p>______________________________</p>
<p><span style="#ff0000;">title Fedora Upgrade<br />
root (hd0,8) </span>&#8212;&#8212;&#8212;&#8211;&gt; should be your  partition containing the current linux installation (0-&gt;First Hard Drive,8-&gt; Partition number on this drive )<br />
<span style="#ff0000;">kernel /isolinux/vmlinuz<br />
initrd /isolinux/initrd.img</span><br />
______________________________</p>
<p>Copy the isolinux folder also to the pen drive(/dev/sdb, mounted at /mnt in this case) and reboot the system. Select the &#8221; Fedora Upgrade&#8221; option in grub and the normal installation/upgrade demon anaconda will start. It will ask for the option of disk partition and folder containing the iso image and iso linux folder, which is /dev/sdb1 in this case. Select the same and the upgradation works like a charm.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.twistedgenes.com/2008/11/upgrade-fedora-without-burning-the-dvdcds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An IT corporate giant vs a product startup ! my perception and experience</title>
		<link>http://www.twistedgenes.com/2008/11/a-big-it-corporate-giant-vs-a-product-startup-my-perception-and-experience/</link>
		<comments>http://www.twistedgenes.com/2008/11/a-big-it-corporate-giant-vs-a-product-startup-my-perception-and-experience/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 18:34:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Truth]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[mnc]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.twistedgenes.com/?p=100</guid>
		<description><![CDATA[Both of these share their own importances and have wide differences in functioning, lifestyle, work culture, ambience etc. Working at each of them has its own pros and cons. Let us see what are the striking differences among them that can be of interest to you. Here onwards I shall designate MNC by M and [...]]]></description>
			<content:encoded><![CDATA[<p>Both of these share their own importances and have wide differences in functioning, lifestyle, work culture, ambience etc. Working at each of them has its own pros and cons. Let us see what are the striking differences among them that can be of interest to you. Here onwards I shall designate MNC by M and a startup with S.</p>
<p>M: Large coffee machines, surplus supply of beverage, good enough for coffee/tea addicts.</p>
<p>S: Limited supply of beverages, may vary depending on where startup is located, its own office, or a business incubation center.</p>
<p>M: Manager says, you need to be in the office at 9:00AM sharp, they are aussies, ahead of us by 4.5 hrs. We need to bridge this gap. Mails need to be checked every second. Sticking your ass in the office without doing anything is the motto. Punch the clock, 9:15 hrs a day. Some companies have started a early bird offer, earlier you reach the office, say before 8:30 AM, you acquire credit points making you eligible for the lucky draw coupon of Rs 500, Rs 1000 and so on.</p>
<p>S: A product based startup, timings are flexible, no one is going to ask you to push your ass at 9:00AM. But you have critical goals and targets to be achieved, which are of extreme significance for the startup. Hence, you cannot simply laze around in the office. You need to get things done and if you are passionate about work, this can be your dream come true.</p>
<p>M: Please display your ID, where is your ID. I hate this. You are like one in a million. Just another piece of shit in the campus.</p>
<p>S: You know everyone else. The whole comapny is a team and you are a integral part of the company. ID card?  I don&#8217;t remember the last time I wore it. Only thing you need is the incubation center&#8217;s access card. No one is going to pester you to hang the id round the clock, as if you may be a terrorist.</p>
<p>M: Dress Code. This is the most fascinating part. Mondays-Tuesdays- Ultra Formal, Wed-Thurs- Mild Formals, Fridays-Freedom, but with a limit, off course. Thank god they do not have any restriction your undies.</p>
<p>S: Dress is not a restriction. Work is all what matters. But that doesn&#8217;t mean that you can park yourself in the office wearing your sleeping t shirt and shorts <img src='http://www.twistedgenes.com/wordpress/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> .</p>
<p>M: Use of brain, minimal, rather its a rare event. And if you are a fresher, I suppose you will be doomed in most of the cases, they treat you really fresh. They may put you in some low profile, time consuming work and may not listen or ascertain your technical capabilities.</p>
<p>S: Ideas are supposed to nurture in a startup. Brainstorming and impelmentation of cool  thoughts to reality is inevitable.</p>
<p>P.S. Writings here are solely based on writer&#8217;s life experience and may not match up with the real scenarios or your beliefs. Contradications are likely to occur. Comments are welcome.</p>
<p><a href="http://www.2GBhosting.com/aff.php?aff=523"><img src="http://www.2gbhosting.com/custompages/reseller_hosting_banner.jpg" width="728" height="90" border="0"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.twistedgenes.com/2008/11/a-big-it-corporate-giant-vs-a-product-startup-my-perception-and-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SELinux, Apache and Postgres SQL Connectivity</title>
		<link>http://www.twistedgenes.com/2008/09/selinux-apache-and-postgres-sql-connectivity/</link>
		<comments>http://www.twistedgenes.com/2008/09/selinux-apache-and-postgres-sql-connectivity/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 23:31:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rocking]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://rak19.wordpress.com/2008/09/25/selinux-apache-and-postgres-sql-connectivity/</guid>
		<description><![CDATA[Recently, I decided to migrate the work from Apache windows to the Apache running on my Vmware fedora machine. Everything was supposed to work like a charm. Unfortunately, it did not. The perl  in the cgi-bin directory was throwing internal server error 500. The apache error log indicated &#8216;permission denied to create a socket&#8217;, [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align:justify;font-family:verdana;">Recently, I decided to migrate the work from Apache windows to the Apache running on my Vmware fedora machine. Everything was supposed to work like a charm. Unfortunately, it did not. The perl  in the cgi-bin directory was throwing internal server error 500. The apache error log indicated &#8216;permission denied to create a socket&#8217;, &#8216;premature end of the script headers&#8217;. The stuff was supposed to be retrieved from postgres sql database by the perl thingy. It appeared to me that database server is not allowing my IP address to establish a connection, as recomended by pgadmin as well. After a successful entry of my IP in the conf file of postgres database server, problem still persisted. I tried almost everything, changing the file owner to apache, suexec in apache and hell lots of other possibilities. Then in the trial process I noticed a small pop up in the corner of the window, SELinux denial. SELinux is an enhanced feature in Linux, that can put restrictions on your applications in apache making database connection, nmap, access to network filesystem and lots and lots more. After giving apache persmission to make database connections, the error was resolved and application ran smoothly.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.twistedgenes.com/2008/09/selinux-apache-and-postgres-sql-connectivity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQUID Proxy Server Authenticated Mode</title>
		<link>http://www.twistedgenes.com/2008/09/squid-proxy-server-authenticated-mode/</link>
		<comments>http://www.twistedgenes.com/2008/09/squid-proxy-server-authenticated-mode/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 00:45:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Crazy]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rocking]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://rak19.wordpress.com/2008/09/21/squid-proxy-server-authenticated-mode/</guid>
		<description><![CDATA[We run a squid proxy server at our two system network at home   in unauthenticated mode. I was just going through the squid logs at /var/logs/squid/access.log, and I saw few miscreant IPs eating up my network bandwith by using our proxy server. Then, I decided to tune up the authentication mode for squid proxy [...]]]></description>
			<content:encoded><![CDATA[<div align="justify"><span>We run a squid proxy server at our two system network at home <img src='http://www.twistedgenes.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  in unauthenticated mode. I was just going through the squid logs at /var/logs/squid/access.log, and I saw few miscreant IPs eating up my network bandwith by using our proxy server. Then, I decided to tune up the authentication mode for squid proxy server. Squid doesn&#8217;t have its authentication module and we need to us LDAP,PAM or NCSA. I came accross NCSA based authentication at http://www.cyberciti.biz/tips/linux-unix-squid-proxy-server-authentication.html. Given below. It worked very well in our case. </p>
<p><strong>Configure an NCSA-style username and password authenticatio</strong>n</p>
<p>I am going to assume that squid is installed and working fine.</p>
<p>Tip: Before going further, test basic Squid functionality. Make sure squid is functioning without requiring authorization <img src='http://www.twistedgenes.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />Step # 1: Create a username/password</p>
<p>First create a NCSA password file using htpasswd command. htpasswd is used to create and update the flat-files used to store usernames and password for basic authentication of squid users.<br /># htpasswd /etc/squid/passwd user1<br />Output:</p>
<p>New password:<br />Re-type new password:<br />Adding password for user user1</p>
<p>Make sure squid can read passwd file:<br /># chmod o+r /etc/squid/passwd<br />Step # 2: Locate nsca_auth authentication helper</p>
<p>Usually nsca_auth is located at /usr/lib/squid/ncsa_auth. You can find out location using rpm (Redhat,CentOS,Fedora) or dpkg (Debian and Ubuntu) command:<br /># dpkg -L squid | grep ncsa_auth<br />Output:</p>
<p>/usr/lib/squid/ncsa_auth</p>
<p>If you are using RHEL/CentOS/Fedora Core or RPM based distro try:<br /># rpm -ql squid | grep ncsa_auth<br />Output:</p>
<p>/usr/lib/squid/ncsa_auth</p>
<p>Step # 3: Configure nsca_auth for squid proxy authentication</p>
<p>Now open /etc/squid/squid.conf file<br /># vi /etc/squid/squid.conf<br />Append (or modify) following configration directive:<br />auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd<br />auth_param basic children 5<br />auth_param basic realm Squid proxy-caching web server<br />auth_param basic credentialsttl 2 hours<br />auth_param basic casesensitive off</p>
<p>Also find out your ACL section and append/modify<br />acl ncsa_users proxy_auth REQUIRED<br />http_access allow ncsa_users<br />Make sure that you do not have any other http_access statement.  <br />Save and close the file.</p>
<p>Where,</p>
<p>  * auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd : Specify squid password file and helper program location<br />  * auth_param basic children 5 : The number of authenticator processes to spawn.<br />  * auth_param basic realm Squid proxy-caching web server : Part of the text the user will see when prompted their username and password<br />  * auth_param basic credentialsttl 2 hours : Specifies how long squid assumes an externally validated username:password pair is valid for &#8211; in other words how often the helper program is called for that user with password prompt. It is set to 2 hours.<br />  * auth_param basic casesensitive off : Specifies if usernames are case sensitive. It can be on or off only<br />  * acl ncsa_users proxy_auth REQUIRED : The REQURIED term means that any authenticated user will match the ACL named ncsa_users<br />  * http_access allow ncsa_users : Allow proxy access only if user is successfully authenticated.</p>
<p>Restart squid:<br /># /etc/init.d/squid restart</span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.twistedgenes.com/2008/09/squid-proxy-server-authenticated-mode/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Vaccum kills us, space kills javascript</title>
		<link>http://www.twistedgenes.com/2008/09/vaccum-kills-us-space-kills-javascript/</link>
		<comments>http://www.twistedgenes.com/2008/09/vaccum-kills-us-space-kills-javascript/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 09:40:00 +0000</pubDate>
		<dc:creator>Rakesh</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rocking]]></category>
		<category><![CDATA[Truth]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://rak19.wordpress.com/2008/09/16/vaccum-kills-us-space-kills-javascript/</guid>
		<description><![CDATA[I was exporting certain attributes viz roadname, ids, ways etc which were of alphanumeric type by appending them with a &#8216;+&#8217; charachter from my server side perl program to the javascript program at the client. The firebug popped up, unterminated string literal, lets see whats that &#8230;. Googling did not turned out to be of [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align:justify;"><span class="Apple-style-span" style="font-family:'trebuchet ms';">I was exporting certain attributes viz roadname, ids, ways etc which were of alphanumeric type by appending them with a &#8216;+&#8217; charachter from my server side perl program to the javascript program at the client. The firebug popped up, </span><span class="Apple-style-span" style="color:rgb(255,0,0);"><span class="Apple-style-span" style="font-family:'trebuchet ms';">unterminated string literal</span></span><span class="Apple-style-span" style="font-family:'trebuchet ms';">, lets see whats that &#8230;. Googling did not turned out to be of much help. I tried making the string short, taking into an array etc. Sometimes it worked, sometimes it did not. Amazed, I came to a stupid conclusion on the size of the arguments that need to be passed. Perhaps, that was not the cause.On of my appended field was having a space, and string thereafter was considered as a different argument by javascript. Due to mismatch in the number of arguments for that js function, it was breaking. Such a silly mistake !!! <img src='http://www.twistedgenes.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</span></div>
<div style="text-align:justify;"><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'trebuchet ms';">Hence,</span></span><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'trebuchet ms';"> </span></span><span class="Apple-style-span" style="white-space:pre;"><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'trebuchet ms';">Vaccum kills us, space kills javascript or rather any function in any damn<br />language.</span></span><span class="Apple-style-span" style="font-size:medium;"><span class="Apple-style-span" style="font-family:'trebuchet ms';"> </span></span></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.twistedgenes.com/2008/09/vaccum-kills-us-space-kills-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-4811008-2");
pageTracker._setDomainName(".twistedgenes.com");
pageTracker._trackPageview();
} catch(err) {}</script>