<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Geek is a lifestyle</title>
	
	<link>http://blog.amanjain.com</link>
	<description>Aman's Blog</description>
	<lastBuildDate>Thu, 10 Sep 2009 09:05:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/amanjain" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Making mail() function of PHP work under windows os</title>
		<link>http://feedproxy.google.com/~r/amanjain/~3/SoSErfZEjE8/</link>
		<comments>http://blog.amanjain.com/2009/09/making-mail-function-of-php-work-under-windows-os/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 05:24:52 +0000</pubDate>
		<dc:creator>Aman</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.amanjain.com/?p=255</guid>
		<description><![CDATA[mail() is a useful function in PHP for sending mails, but many developers face problems in making mail() work properly on Windows.

In the section [mail function] in the php.ini file, you&#8217;ll find three settings:
SMTP, sendmail_from, and sendmail_path.

If your server runs on a Windows machine, you&#8217;ll have to set the SMTP option to point to your [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #800080;">mail()</span> is a useful function in <span style="color: #800080;">PHP</span> for sending mails, but many developers face problems in making mail() work properly on Windows.<br />
<br/><br />
In the section <span style="color: #800080;">[mail function]</span> in the <span style="color: #800080;">php.ini</span> file, you&#8217;ll find three settings:<br />
<span style="color: #800080;">SMTP</span>, <span style="color: #800080;">sendmail_from</span>, and <span style="color: #800080;">sendmail_path</span>.<br />
<br/><br />
If your server runs on a <span style="color: #800080;">Windows</span> machine, you&#8217;ll have to set the SMTP option to point to your SMTP server for sending mail using PHP.<br />
<br/><br />
So, we must understand that PHP must have the address of some SMTP server where it would deliver the mail to be sent and that is all PHP can actually do.<br />
<br/><br />
So, we need  to set SMTP to the SMTP server and the sendmail_from option to the required email address.<br />
Now if we want to use <span style="color: #800080;">localhost</span> as the <span style="color: #800080;">SMTP server</span>, we must have some SMTP server running on our system, simple isn&#8217;t it?  So we can download and install <span style="color: #800080;">hMailServer</span> from <a href="http://www.hmailserver.com/">www.hmailserver.com</a>/ for serving our purpose.<br />
<br/><br />
After installing the mail server make sure that you<span style="color: #800080;"> switch off  SMTP authentication for connections coming from localhost / 127.0.0.1</span> in hMailServer for your mail() function to work.<br />
<br/><br />
And this is how <span style="color: #800080;">[mail function] </span>part of your php.ini should look:<br />
<br/><br />
[mail function]<br />
; Setup for Windows systems<br />
SMTP = localhost<br />
sendmail_from = me@mydomain.tld</p>
<img src="http://feeds.feedburner.com/~r/amanjain/~4/SoSErfZEjE8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.amanjain.com/2009/09/making-mail-function-of-php-work-under-windows-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.amanjain.com/2009/09/making-mail-function-of-php-work-under-windows-os/</feedburner:origLink></item>
		<item>
		<title>Height Adjustment of Multicoulmn Page Layout</title>
		<link>http://feedproxy.google.com/~r/amanjain/~3/MZhv4OyRRoU/</link>
		<comments>http://blog.amanjain.com/2009/08/multi-column-background-color-adjustment/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 09:26:03 +0000</pubDate>
		<dc:creator>Aman</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.amanjain.com/?p=232</guid>
		<description><![CDATA[There are times when we need to make a multi-column layout for our webpage with different background colors. One way is to set the float property of style attribute accordingly:

&#60;div&#62;
&#60;div style=&#8221;float:left;background:#c1ece0;width:380px&#8221;&#62;
&#8230;someText
&#60;/div&#62;
&#60;div style=&#8221;float:left;background:#63ecc7;width:380px&#8221;&#62;
&#8230;otherText
&#60;/div&#62;
&#60;/div&#62;

but this results in something like below :



		Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc suscipit, ligula et cursus dignissim, mi tellus suscipit [...]]]></description>
			<content:encoded><![CDATA[<p>There are times when we need to make a multi-column layout for our webpage with different background colors. One way is to set the float property of style attribute accordingly:</p>
<p><br/><br />
&lt;div&gt;<br />
&lt;div style=&#8221;float:left;background:#c1ece0;width:380px&#8221;&gt;<br />
&#8230;someText<br />
&lt;/div&gt;<br />
&lt;div style=&#8221;float:left;background:#63ecc7;width:380px&#8221;&gt;<br />
&#8230;otherText<br />
&lt;/div&gt;<br />
&lt;/div&gt;<br />
<br/><br />
but this results in something like below :<br />
<br/></p>
<div style="height:580px">
<div style="float:left;background:#c1ece0;width:380px">
		Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc suscipit, ligula et cursus dignissim, mi tellus suscipit felis, quis fringilla lorem nisl non orci. Integer euismod nisl at velit ultricies rhoncus volutpat arcu mollis. Ut pharetra facilisis lacinia. Phasellus justo massa, bibendum ac gravida non, tempor vel felis. Etiam ac libero ut orci lacinia volutpat. Quisque quis nunc vel orci auctor fringilla. Aenean aliquam orci non mi accumsan ultricies. Cras vestibulum venenatis purus sed pretium. Nam erat sapien, pharetra ac rutrum mollis, cursus quis dui. Sed est turpis, rhoncus at auctor vitae, fermentum nec erat. Suspendisse potenti.<br />
		<br/><br />
		Aenean diam arcu, sodales a dapibus sed, tristique non nulla. Etiam quis felis eu purus malesuada elementum. Integer ac metus justo. Morbi iaculis erat id nisl ultrices iaculis. Aenean leo risus, congue eget tincidunt eget, tincidunt vel leo. Pellentesque malesuada lacus fermentum est euismod a cursus sem scelerisque. Nunc sodales luctus accumsan. Sed iaculis egestas vestibulum. Pellentesque vehicula purus ac nunc ullamcorper id cursus neque posuere. Maecenas tincidunt, libero eu tincidunt eleifend, turpis tellus auctor dolor, nec feugiat elit diam sed purus. Proin augue nunc, pretium sit amet sodales faucibus, feugiat et ligula. Aliquam ut ipsum arcu, in lacinia neque. Aliquam id enim vitae nisi viverra pharetra tempus viverra nisl. Integer sit amet egestas sem. Curabitur tempus, ante quis bibendum pretium, enim neque placerat justo, ac posuere nisi odio non mi. Donec fringilla massa in turpis commodo a fringilla erat ornare. Phasellus aliquet tellus vitae risus viverra convallis. Nam convallis sagittis nibh.
	</div>
<div style="float:left;background:#63ecc7;width:380px">
		In publishing and graphic design, lorem ipsum is the name given to commonly used placeholder text (filler text) to demonstrate the graphic elements of a document or visual presentation, such as font, typography, and layout. The lorem ipsum text, which is typically a nonsensical list of semi-Latin words, is a hacked version of a Latin text by Cicero, with words/letters omitted and others inserted, but not proper Latin.<br />
		As nonsense (not actual Latin), the text is not italicized. The text often begins as, &#8220;Lorem ipsum dolor sit amet, consectetur adipisicing elit&#8221;. Substituting this dummy text for meaningful content should not be confused with &#8220;greeking&#8221;.<br />
		Even though using &#8220;lorem ipsum&#8221; often arouses curiosity because of its resemblance to classical Latin, it is not intended to have meaning. Where text is visible in a document, people tend to focus on the textual content rather than upon overall presentation, so publishers use lorem ipsum when displaying a typeface or design elements and page layout in order to direct the focus to the publication style and not the meaning of the text.
	</div>
</div>
<p><br/><br/><br />
Now as we can see that the heights of the columns are unequal and therefore the page looks dirty. What we can do is:<br />
<br/><br />
1. Put the whole thing in a div, and set overflow:hidden<br />
2. Set margin-bottom: -3500px; padding-bottom: 3500px; i.e. to an extent which cannot be the difference in height of the column.<br />
<br/><br />
&lt;div style=&#8221;overflow:hidden&#8221;&gt;<br />
&lt;div style=&#8221;float:left;background:#c1ece0;width:380px;margin-bottom: -3500px; padding-bottom: 3500px;&#8221;&gt;<br />
&#8230;someText<br />
&lt;/div&gt;<br />
&lt;div style=&#8221;float:left;background:#63ecc7;width:380px;margin-bottom: -3500px; padding-bottom: 3500px;&#8221;&gt;<br />
&#8230;otherText<br />
&lt;/div&gt;<br />
&lt;/div&gt;<br />
<br/><br/><br />
Output:<br />
<br/><br/></p>
<div style="height:580px;overflow:hidden;">
<div style="float:left;background:#c1ece0;width:380px;margin-bottom: -3500px; padding-bottom: 3500px;">
		Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc suscipit, ligula et cursus dignissim, mi tellus suscipit felis, quis fringilla lorem nisl non orci. Integer euismod nisl at velit ultricies rhoncus volutpat arcu mollis. Ut pharetra facilisis lacinia. Phasellus justo massa, bibendum ac gravida non, tempor vel felis. Etiam ac libero ut orci lacinia volutpat. Quisque quis nunc vel orci auctor fringilla. Aenean aliquam orci non mi accumsan ultricies. Cras vestibulum venenatis purus sed pretium. Nam erat sapien, pharetra ac rutrum mollis, cursus quis dui. Sed est turpis, rhoncus at auctor vitae, fermentum nec erat. Suspendisse potenti.<br />
		<br/><br />
		Aenean diam arcu, sodales a dapibus sed, tristique non nulla. Etiam quis felis eu purus malesuada elementum. Integer ac metus justo. Morbi iaculis erat id nisl ultrices iaculis. Aenean leo risus, congue eget tincidunt eget, tincidunt vel leo. Pellentesque malesuada lacus fermentum est euismod a cursus sem scelerisque. Nunc sodales luctus accumsan. Sed iaculis egestas vestibulum. Pellentesque vehicula purus ac nunc ullamcorper id cursus neque posuere. Maecenas tincidunt, libero eu tincidunt eleifend, turpis tellus auctor dolor, nec feugiat elit diam sed purus. Proin augue nunc, pretium sit amet sodales faucibus, feugiat et ligula. Aliquam ut ipsum arcu, in lacinia neque. Aliquam id enim vitae nisi viverra pharetra tempus viverra nisl. Integer sit amet egestas sem. Curabitur tempus, ante quis bibendum pretium, enim neque placerat justo, ac posuere nisi odio non mi. Donec fringilla massa in turpis commodo a fringilla erat ornare. Phasellus aliquet tellus vitae risus viverra convallis. Nam convallis sagittis nibh.
	</div>
<div style="float:left;background:#63ecc7;width:380px;margin-bottom: -3500px; padding-bottom: 3500px;">
		In publishing and graphic design, lorem ipsum is the name given to commonly used placeholder text (filler text) to demonstrate the graphic elements of a document or visual presentation, such as font, typography, and layout. The lorem ipsum text, which is typically a nonsensical list of semi-Latin words, is a hacked version of a Latin text by Cicero, with words/letters omitted and others inserted, but not proper Latin.<br />
		As nonsense (not actual Latin), the text is not italicized. The text often begins as, &#8220;Lorem ipsum dolor sit amet, consectetur adipisicing elit&#8221;. Substituting this dummy text for meaningful content should not be confused with &#8220;greeking&#8221;.<br />
		Even though using &#8220;lorem ipsum&#8221; often arouses curiosity because of its resemblance to classical Latin, it is not intended to have meaning. Where text is visible in a document, people tend to focus on the textual content rather than upon overall presentation, so publishers use lorem ipsum when displaying a typeface or design elements and page layout in order to direct the focus to the publication style and not the meaning of the text.
	</div>
</div>
<img src="http://feeds.feedburner.com/~r/amanjain/~4/MZhv4OyRRoU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.amanjain.com/2009/08/multi-column-background-color-adjustment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.amanjain.com/2009/08/multi-column-background-color-adjustment/</feedburner:origLink></item>
		<item>
		<title>gnUnify 2009 – Ajax with PHP</title>
		<link>http://feedproxy.google.com/~r/amanjain/~3/z-Jt8dASpcU/</link>
		<comments>http://blog.amanjain.com/2009/02/gnunify-2009-my-talk-on-ajax-with-php/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 11:06:47 +0000</pubDate>
		<dc:creator>Aman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.amanjain.com/?p=213</guid>
		<description><![CDATA[I gave a talk on ajax at gnunify&#8217;09. This is the slide I used to give the talk.


View more presentations from jainaman.


]]></description>
			<content:encoded><![CDATA[<p>I gave a talk on ajax at gnunify&#8217;09. This is the slide I used to give the talk.</p>
<div align="center">
<div style="width:425px;text-align:center" id="__ss_1027025"><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=ajax-1234603554874246-3&#038;stripped_title=ajax-1027025" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=ajax-1234603554874246-3&#038;stripped_title=ajax-1027025" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/jainaman">jainaman</a>.</div>
</div>
</div>
<img src="http://feeds.feedburner.com/~r/amanjain/~4/z-Jt8dASpcU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.amanjain.com/2009/02/gnunify-2009-my-talk-on-ajax-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.amanjain.com/2009/02/gnunify-2009-my-talk-on-ajax-with-php/</feedburner:origLink></item>
		<item>
		<title>gnUnify – 2009 on 13th &amp; 14th Feb at SICSR</title>
		<link>http://feedproxy.google.com/~r/amanjain/~3/7k9vjJuObu4/</link>
		<comments>http://blog.amanjain.com/2009/02/gnunify-2009-on-13-14-feb/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 14:00:28 +0000</pubDate>
		<dc:creator>Aman</dc:creator>
				<category><![CDATA[Camp]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[gnUnify]]></category>
		<category><![CDATA[Mozilla Camp]]></category>

		<guid isPermaLink="false">http://blog.amanjain.com/?p=207</guid>
		<description><![CDATA[

]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;"><a title="gnUnify 2009" href="http://gnunify.in" target="_blank"><br />
<img class="size-full wp-image-208" title="gnUnify 2009" src="http://blog.amanjain.com/wp-content/uploads/2009/02/poster1.jpg" alt="gnUnify 2009" width="473" height="626" /><br />
</a></div>
<img src="http://feeds.feedburner.com/~r/amanjain/~4/7k9vjJuObu4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.amanjain.com/2009/02/gnunify-2009-on-13-14-feb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.amanjain.com/2009/02/gnunify-2009-on-13-14-feb/</feedburner:origLink></item>
		<item>
		<title>Create database backup &amp; email using php</title>
		<link>http://feedproxy.google.com/~r/amanjain/~3/HO8Vz-ohLug/</link>
		<comments>http://blog.amanjain.com/2009/02/create-database-backup-email-using-php/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 15:40:33 +0000</pubDate>
		<dc:creator>Aman</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[email]]></category>

		<guid isPermaLink="false">http://blog.amanjain.com/?p=198</guid>
		<description><![CDATA[It is generally difficult to backup our database regularly and store them. With more and more storage space being provided by our email providers, we can write a script that can be called when required and it will automatically create database backup and mail it to the specified email.
The following zip contains two files:
1. ajDbBackup.class
2. [...]]]></description>
			<content:encoded><![CDATA[<p>It is generally difficult to backup our database regularly and store them. With more and more storage space being provided by our email providers, we can write a script that can be called when required and it will automatically create database backup and mail it to the specified email.</p>
<p>The following <a href="http://blog.amanjain.com/wp-content/uploads/2009/02/ajdbbackup1.zip">zip</a> contains two files:<br />
1. ajDbBackup.class<br />
2. backup.php</p>
<p>ajDbBackup.class file contains the ajDbBackup class which can be used to backup the database. An example of usage is given in file backup.php .<br />
To email backup create a php file in the same directory where ajDbBackup.class is kept with the following data:<br />
&lt;?php<br />
include &#8216;./ajDbBackup.class&#8217;;<br />
$backup = new ajDbBackup;<br />
$backup-&gt;emailTo = &#8220;email@domain.tld&#8221;;<br />
$backup-&gt;emailFrom = &#8220;emailTwo@domain.tld&#8221;;<br />
$backup-&gt;host = &#8220;mysqlHost&#8221;;<br />
$backup-&gt;user = &#8220;mysqlUser&#8221;;<br />
$backup-&gt;password = &#8220;mysqlUserPassword&#8221;;<br />
$backup-&gt;dbName = &#8220;mysqlDbNameToBeBacked&#8221;;<br />
$backup-&gt;ajMail();<br />
?&gt;</p>
<p>Give execution and read/write permissions to the files. Just call the file you have created through any web browser.</p>
<img src="http://feeds.feedburner.com/~r/amanjain/~4/HO8Vz-ohLug" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.amanjain.com/2009/02/create-database-backup-email-using-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.amanjain.com/2009/02/create-database-backup-email-using-php/</feedburner:origLink></item>
		<item>
		<title>Skipping pass phrase requirement while restarting a server</title>
		<link>http://feedproxy.google.com/~r/amanjain/~3/Vrp_fpzKc-k/</link>
		<comments>http://blog.amanjain.com/2009/01/skipping-pass-phrase-requirement-while-restarting-a-server/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 16:08:32 +0000</pubDate>
		<dc:creator>Aman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.amanjain.com/?p=194</guid>
		<description><![CDATA[There are a lot of times we need to write automated script which can start/restart a server when ever required. Or generally if we are restarting the server quite a lot of time (maybe for testing purpose), we are prompted to enter pass phrase if we have installed  libapache-mod-ssl and have configured with any one [...]]]></description>
			<content:encoded><![CDATA[<p>There are a lot of times we need to write automated script which can start/restart a server when ever required. Or generally if we are restarting the server quite a lot of time (maybe for testing purpose), we are prompted to enter pass phrase if we have installed  <span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: 'times new roman'; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">libapache-mod-ssl<span class="Apple-converted-space"> </span></span>and have configured with any one of the domains on the server.</p>
<p>So, sometimes we feel the need of skipping the pass phrase prompt. Here is what we need to do:<br />
1. Remove the encryption from the RSA private key (we will also preserve the original file):<br />
<strong> $ cp server.key serverOld.key</strong><br />
<strong>$ openssl rsa -in serverOld.key -out server.key </strong><br />
2. We should make sure that server.key is only readable by root by:<br />
<strong> $ chmod 400 server.key </strong></p>
<p>After this we won&#8217;t be prompted for pass phrase every time we restart the server.<strong><br />
</strong></p>
<img src="http://feeds.feedburner.com/~r/amanjain/~4/Vrp_fpzKc-k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.amanjain.com/2009/01/skipping-pass-phrase-requirement-while-restarting-a-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.amanjain.com/2009/01/skipping-pass-phrase-requirement-while-restarting-a-server/</feedburner:origLink></item>
		<item>
		<title>Using BSNL EVDO modem on Ubuntu 8.10</title>
		<link>http://feedproxy.google.com/~r/amanjain/~3/3D5sOpDX6a8/</link>
		<comments>http://blog.amanjain.com/2009/01/using-bsnl-evdo-modem-on-ubuntu-810/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 15:45:59 +0000</pubDate>
		<dc:creator>Aman</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[EVDO]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.amanjain.com/?p=188</guid>
		<description><![CDATA[We will use wvdial for using EVDO. Wvdial dialer is PPP dialer, which dials a modem and starts PPP to connect to the Internet.
Steps to connect are:
1. As root, in terminal, type :
# wvdialconf /etc/wvdial.conf
2. Now edit /etc/wvdial.conf, type:
# vim /etc/wvdial.conf
2. Now enter your username, password, &#38; phone no as:
Phone = #777
Username = cdma
Password = [...]]]></description>
			<content:encoded><![CDATA[<p>We will use wvdial for using EVDO. Wvdial dialer is PPP dialer, which dials a modem and starts PPP to connect to the Internet.</p>
<p>Steps to connect are:<br />
1. As <em>root</em>, in terminal, type :<br />
<span class="input"># wvdialconf /etc/wvdial.conf</span><br />
2. Now edit <strong>/etc/wvdial.conf, type:</strong><br />
<span class="input"># vim /etc/wvdial.conf</span><br />
2. Now enter your <strong>username</strong>, <strong>password</strong>, &amp; <strong>phone no</strong> as:<br />
<span class="input">Phone = #777<br />
Username = cdma<br />
Password = cdma</span><br />
3.Check your <em>wvdial.conf </em> file for these two entries:<br />
Stupid Mode = 1<br />
Auto DNS = 1<br />
If they are not there, add them.<br />
4. Save the file <strong>wvdial.conf</strong> and exit the text editor.<br />
5. Now type <strong>sudo wvdial</strong> in the terminal and the EVDO should start working <img src='http://blog.amanjain.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>FOR REFERENCE:</strong><br />
My <strong>/etc/wvdial.conf </strong>contains:</p>
<p>[Dialer Defaults]<br />
Modem = /dev/ttyUSB1<br />
Init1 = ATZ<br />
Init2 = ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0<br />
Stupid Mode = 1<br />
Modem Type = Analog Modem<br />
Phone = #777<br />
New PPPD = yes<br />
ISDN = 0<br />
Username = cdma<br />
Password = cdma<br />
Baud = 9600</p>
<img src="http://feeds.feedburner.com/~r/amanjain/~4/3D5sOpDX6a8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.amanjain.com/2009/01/using-bsnl-evdo-modem-on-ubuntu-810/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://blog.amanjain.com/2009/01/using-bsnl-evdo-modem-on-ubuntu-810/</feedburner:origLink></item>
		<item>
		<title>Announcing PHPCamp.net</title>
		<link>http://feedproxy.google.com/~r/amanjain/~3/Ya7ZmwZQVUk/</link>
		<comments>http://blog.amanjain.com/2009/01/announcing-phpcamp/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 05:53:54 +0000</pubDate>
		<dc:creator>Aman</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpcamp]]></category>

		<guid isPermaLink="false">http://blog.amanjain.com/?p=185</guid>
		<description><![CDATA[It is my pleasure to let you know that most awaited PHPCamp.net is now launched.
I am happy to give you an early invite to join PHPCamp.net- a site dedicated to our PHP community.
It&#8217;s just not yet another website for campers but much more to it.
In words of Denham Grey:
&#8220;Knowledge is embodied in people gathered in communities [...]]]></description>
			<content:encoded><![CDATA[<p>It is my pleasure to let you know that most awaited PHPCamp.net is now launched.</p>
<p>I am happy to give you an early invite to <a href="http://phpcamp.net/become-a-camper" target="_blank">join PHPCamp.net</a>- a site dedicated to our PHP community.</p>
<p>It&#8217;s just not yet another website for campers but much more to it.</p>
<p>In words of Denham Grey:<br />
<em>&#8220;Knowledge is embodied in people gathered in communities and networks. The road to knowledge is via people, conversations, connections and relationships. Knowledge surfaces through dialog, all knowledge is socially mediated and access to knowledge is by connecting to people that know or know who to contact.&#8221;</em></p>
<p>The aim of PHPCamp.net is to bring together all the PHP developers and share knowledge with each other by posting articles, comments, news, events, happenings and much more. It is easy to use, has a friendly UI and above all provides a platform where all campers could build contacts with each other.<br />
This stands our one more contribution to the PHP community.</p>
<p>Just click on <a href="http://phpcamp.net/" target="_blank">http://phpcamp.net/</a> and start reading the latest articles contributed by the campers.</p>
<p>I look forward to see you soon on <a href="http://phpcamp.net/" target="_blank">PHPCamp.net</a></p>
<img src="http://feeds.feedburner.com/~r/amanjain/~4/Ya7ZmwZQVUk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.amanjain.com/2009/01/announcing-phpcamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.amanjain.com/2009/01/announcing-phpcamp/</feedburner:origLink></item>
		<item>
		<title>Mr. L K Advani blogging</title>
		<link>http://feedproxy.google.com/~r/amanjain/~3/clMsz3N-EGY/</link>
		<comments>http://blog.amanjain.com/2009/01/mr-l-k-advani-blogging/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 19:16:02 +0000</pubDate>
		<dc:creator>Aman</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[L K AAdvani]]></category>

		<guid isPermaLink="false">http://blog.amanjain.com/?p=177</guid>
		<description><![CDATA[Yeah! you read it correct!
After seeing the effect of web media in election, now Indian politicians are also following the same path. It&#8217;s good to know that! I don&#8217;t have much idea about other politician&#8217;s blogging. But here is a link to Mr. L K Advani&#8217;s blog. Please do add a comment here if you [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah! you read it correct!<br />
After seeing the effect of web media in election, now Indian politicians are also following the same path. It&#8217;s good to know that! I don&#8217;t have much idea about other politician&#8217;s blogging. But here is a link to <a title="Mr. L K Advani's Blog" href="http://blog.lkadvani.in" target="_blank">Mr. L K Advani&#8217;s blog</a>. Please do add a comment here if you find the link to blog of other political people so that I can add &#8216;em here.</p>
<p>So, now directly post a comment on his blog and ask him a question!</p>
<img src="http://feeds.feedburner.com/~r/amanjain/~4/clMsz3N-EGY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.amanjain.com/2009/01/mr-l-k-advani-blogging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.amanjain.com/2009/01/mr-l-k-advani-blogging/</feedburner:origLink></item>
		<item>
		<title>IdeaCamp Pune 2</title>
		<link>http://feedproxy.google.com/~r/amanjain/~3/c9AmtILzuKg/</link>
		<comments>http://blog.amanjain.com/2009/01/ideacamp-pune-2/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 04:49:27 +0000</pubDate>
		<dc:creator>Aman</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[IdeaCamp]]></category>
		<category><![CDATA[Pune]]></category>

		<guid isPermaLink="false">http://blog.amanjain.com/?p=170</guid>
		<description><![CDATA[What is IdeaCamp ?
IdeaCamp, is a self-organized gathering to share ideas and see them shape by applying divergent thinking. The objective of the camp is to get people from different roles like designers, entrepreneurs, financers, creative minds, technology evangelists, product managers and marketers together to bandy ideas from everyone’s viewpoint. Ideally by end of the [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #3366ff;">What is IdeaCamp ?</span></strong></p>
<p>IdeaCamp, is a self-organized gathering to share ideas and see them shape by applying divergent thinking. The objective of the camp is to get people from different roles like designers, entrepreneurs, financers, creative minds, technology evangelists, product managers and marketers together to bandy ideas from everyone’s viewpoint. Ideally by end of the gathering we should have ‘proof of potential’ for our ideas.</p>
<p><strong><span style="color: #3366ff;">When &amp; Where?</span></strong></p>
<p>January 17, 2009<br />
SICSR<br />
<a title="SICSR" rel="nofollow" href="http://www.symbiosiscomputers.com/v5/home/index.php" target="_blank"> Symbiosis Institute of Computer Studies and Research</a>,<br />
7th Floor, Atur Centre, Gokhale Cross Road,<br />
Model Colony, Pune &#8211; 411016.<br />
Check for directions: <a title="SICSR Driving direction" rel="nofollow" href="http://www.sadakmap.com/p/SICSR/map/" target="_blank">http://www.sadakmap.com/p/SICSR/map/</a></p>
<p><strong><span style="color: #3366ff;">Who all are attending?</span></strong></p>
<p>As the description of IdeaCamp says people from different roles like designers, entrepreneurs, financers, creative minds, technology evangelists, product managers are a part of it. And not just from Pune, people form different places get together here at IdeaCamp.</p>
<p><strong><span style="color: #3366ff;">Did u find Lunch removed from the provided list and wondering what to do?</span></strong></p>
<p>Here is a list of  nearby places where you can rush:</p>
<p>1. College Canteen<br />
2. ELTIS Canteen (It&#8217;s again a symbi canteen, in the next building. It&#8217;s better than SICSR canteen.)<br />
3. Just want to have bada pao, or bread pattis ? You can go to Siddhivinayak  (a tapri near om super market)<br />
4. Ah! are you a pure veggi ? no problem! Go to Akshay pure veg restaurant . You can even  have good juices and shakes here. (It&#8217;s near Pyramid Mall)<br />
5. Other places nearby are: Subham, Dragons (for chinese food), Shai(again near Pyramid Mall).</p>
<p>I guess that&#8217;s enough. I&#8217;m not here to advertise about the restaurants! huhhh! <img src='http://blog.amanjain.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong><span style="color: #3366ff;">What&#8217;s Next?</span></strong><br />
1. You can visit the <a title="IdeaCamp Pune 2" href="http://barcamp.org/IdeaCampPune2" target="_blank" rel="nofollow">IdeaCamp</a> website and register yourself there.<br />
2. You can follow the <a title="IdeaCamp Twitter" href="http://twitter.com/IdeaCampPune2" target="_blank" rel="nofollow" >IdeaCamp twitter </a>to have the latest informations.<br />
3. You can continue reading my blog <img src='http://blog.amanjain.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<img src="http://feeds.feedburner.com/~r/amanjain/~4/c9AmtILzuKg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.amanjain.com/2009/01/ideacamp-pune-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.amanjain.com/2009/01/ideacamp-pune-2/</feedburner:origLink></item>
	</channel>
</rss>
