<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2438067404862958625</id><updated>2024-10-07T12:01:53.051+05:30</updated><category term="GT-S5670"/><category term="Samsung Galaxy Fit"/><category term="Ubuntu"/><category term="android"/><category term="kernel"/><category term="optimizations"/><category term="swap"/><category term="3G"/><category term="DNS"/><category term="Google"/><category term="cache"/><category term="custom"/><category term="linux"/><category term="satisfied"/><category term="upgrade"/><category term="xconfig"/><category term="DNS cache"/><category term="DOS"/><category term="GUI"/><category term="MBR"/><category term="PDA"/><category term="PalmPilot"/><category term="RAM"/><category term="Unity"/><category term="WiFi"/><category term="Windows"/><category term="affordability"/><category term="apps"/><category term="attack"/><category term="backup"/><category term="boot loader"/><category term="bug"/><category term="compelling"/><category term="compiz"/><category term="cryptfs"/><category term="cryptsetup"/><category term="desktop environment"/><category term="directions"/><category term="dual boot"/><category term="firmware"/><category term="footprint"/><category term="grub"/><category term="issue"/><category term="learning"/><category term="maps"/><category term="memory"/><category term="mobile"/><category term="network security"/><category term="partition table"/><category term="phone"/><category term="port scan"/><category term="recover"/><category term="recovery"/><category term="reduction"/><category term="resolved"/><category term="responsiveness"/><category term="security"/><category term="shell"/><category term="smart phone"/><category term="suspicion"/><category term="swappiness"/><category term="testdisk"/><category term="travel"/><category term="window manager"/><title type='text'>Hacking experiences</title><subtitle type='html'>Ongoing experiments to understand, fine tune the tech systems and gadgets I use. Sharing for the benefit of other curious minds.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2438067404862958625.post-8415230955850771094</id><published>2012-07-26T14:20:00.000+05:30</published><updated>2012-07-26T14:20:24.357+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="compiz"/><category scheme="http://www.blogger.com/atom/ns#" term="GUI"/><category scheme="http://www.blogger.com/atom/ns#" term="recover"/><category scheme="http://www.blogger.com/atom/ns#" term="shell"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Unity"/><title type='text'>Recover non-responsive frozen Unity desktop GUI</title><content type='html'>Apparently the new Unity based desktop environment introduced in Ubuntu 12.04 has some stability issues to sort out. Once in a while, the GUI becomes non-responsive. Mouse pointer is alive, so is the keyboard CAPS lock kind of keys that give LED indications. Just that nothing happens on the UI. It&#39;s frozen. So, what do you do? Kind of obvious for some, but still...&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Login to a text-only terminal by pressing Ctrl+Alt+F1 (or F2..F6). This is assuming the keyboard is still responding.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Run &lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;top&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt; at command prompt. You will see all your application programs running happily in the status shown. You need to kill &lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;compiz&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;. That&#39;s the name of the program for Unity shell.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Press &#39;k&#39;. Enter PID for compiz. Press Enter. And then Enter again for the second time to accept the default kill signal [15] to send to compiz. That&#39;s it! You can logoff from terminal.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Get back to X-Windows GUI by pressing Ctrl+Alt+F7. You shall see the GUI applications again. In a few seconds, the system will revive compiz and you shall see the Unity UI consisting of the app launch bar, the Dash, etc.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/8415230955850771094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hackathalon.blogspot.com/2012/07/recover-non-responsive-frozen-unity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/8415230955850771094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/8415230955850771094'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/2012/07/recover-non-responsive-frozen-unity.html' title='Recover non-responsive frozen Unity desktop GUI'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2438067404862958625.post-2752272111318342260</id><published>2012-07-13T10:46:00.000+05:30</published><updated>2012-07-13T15:57:05.793+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cryptfs"/><category scheme="http://www.blogger.com/atom/ns#" term="cryptsetup"/><category scheme="http://www.blogger.com/atom/ns#" term="custom"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="swap"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="xconfig"/><title type='text'>Got swap partition back - Ubuntu 12.04 custom kernel</title><content type='html'>I am making efforts to save time for others, and to show how not to name symbols, how not to miss information required for kernel config help, and broken sanity checks.&lt;br /&gt;
&lt;br /&gt;
Many days after I started using custom built kernel with Ubuntu 12.04 LTS, I noticed that the swap partition was missing. During a busy session involving Google Chrome, the biggest memory hog of all apps I use, VirtualBox, LibreOffice, etc., the system was thrashing non-stop. I had to power off the PC to gain any control! The swap was present with the stock kernel. So, the obvious candidate was tried:&amp;nbsp;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;update-initramfs&lt;/span&gt;. No change.&lt;br /&gt;
&lt;br /&gt;
Inspection of &lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;fstab&lt;/span&gt; config revealed that &lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;cryptswap&lt;/span&gt; is being used now! So far, I did not have any of the related settings in my custom config. Worse, there was no hint while wading through the config to let me know of this change and the needful config setting. That is the real culprit!&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;$ cat /etc/fstab&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;# swap was on /dev/sdaX during installation&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: #ea9999;&quot;&gt;#UUID=&lt;/span&gt;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx none &amp;nbsp;swap &amp;nbsp;sw &amp;nbsp;0 &amp;nbsp;0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: #9fc5e8;&quot;&gt;/dev/mapper/&lt;b&gt;cryptswap1&lt;/b&gt;&lt;/span&gt; none swap sw 0 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;$ cat /etc/crypttab&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;# &lt;target name=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;source device=&quot;&quot;&gt;&lt;/source&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;key file=&quot;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;options&gt;&lt;/options&gt;&lt;/key&gt;&lt;/target&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: #9fc5e8;&quot;&gt;&lt;b&gt;cryptswap1&lt;/b&gt;&lt;/span&gt; /dev/sdaX /dev/urandom swap,cipher=aes-cbc-xxx...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;$ file &amp;nbsp;/dev/mapper/cryptswap1&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;/dev/mapper/cryptswap1: symbolic link to `../dm-0&#39;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
These config flags are hidden under apparently unrelated sub-part &lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;&quot;Multiple device driver support (RAID and LVM)&quot;&lt;/span&gt; under Drivers config:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;&lt;b&gt;CONFIG_DM_CRYPT=m&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;&lt;b&gt;CONFIG_MD=y&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
These flags cannot be searched under &lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;xconfig&lt;/span&gt;. You will have to enable &lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;&quot;Device mapper support&quot;&amp;nbsp;&lt;/span&gt;and only then they appear in search. Due to bad inter-dependent code, the compilation fails on usage of debug output function/ macros; so you will have to also enable &lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;&quot;RAID support&quot;&lt;/span&gt;. For brevity I have not listed config settings that get enabled due to that.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Encrypted file system config is (still!?) under experimental. I learned that earlier, similarly the hard way. It will be nice if these changes are available on the Ubuntu wiki that lists instructions for building custom kernels using Ubuntu released kernel code.&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;,Courier,monospace; font-size: x-small;&quot;&gt;&lt;b&gt;CONFIG_ECRYPT_FS=y&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
Backgrounder about crypt on Ubuntu:&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Ubuntu &lt;a href=&quot;https://help.ubuntu.com/community/EncryptedFilesystemHowto&quot;&gt;encrypted file system HowTo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Dm-crypt&quot;&gt;dm-crypt&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/2752272111318342260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hackathalon.blogspot.com/2012/07/got-swap-partition-back-ubuntu-1204.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/2752272111318342260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/2752272111318342260'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/2012/07/got-swap-partition-back-ubuntu-1204.html' title='Got swap partition back - Ubuntu 12.04 custom kernel'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2438067404862958625.post-1046986289459392800</id><published>2011-09-03T22:47:00.003+05:30</published><updated>2011-09-03T23:58:05.016+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="firmware"/><category scheme="http://www.blogger.com/atom/ns#" term="GT-S5670"/><category scheme="http://www.blogger.com/atom/ns#" term="Samsung Galaxy Fit"/><category scheme="http://www.blogger.com/atom/ns#" term="upgrade"/><title type='text'>Firmware upgrade failed Android phone Samsung Galaxy Fit GT-S5670 (2.2.1 -&gt; 2.3.x)</title><content type='html'>I was excited today when Samsung Kies offered firmware upgrade for my Android phone Samsung Galaxy Fit GT-S5670. This happened many months after buying the phone and similar upgrades were reportedly being offered in Europe since May 2011. Too bad, after following all the instructions, having new firmware downloaded for about half an hour and &lt;i&gt;&#39;driver installed&#39;&lt;/i&gt; message, this idiot Kies declares that upgrade failed. The phone had yellow logo depicting a worker with spade and written underneath&amp;nbsp;&lt;i&gt;&#39;Downloading...&#39;&lt;/i&gt;. What a disappointment.&lt;br /&gt;
&lt;br /&gt;
I tried upgrading on another Windows PC that does not have similar paranoid security software that may have prevented previous attempt. Kies does not offer the upgrade anymore :-(&lt;br /&gt;
&lt;br /&gt;
The only positive aspect is that &#39;Emergency firmware restore&#39; worked and my phone is restored to the last known working version. All data and apps intact.&lt;br /&gt;
&lt;br /&gt;
Anyone else out there who experienced similar?</content><link rel='replies' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/1046986289459392800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hackathalon.blogspot.com/2011/09/firmware-upgrade-failed-android-phone.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/1046986289459392800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/1046986289459392800'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/2011/09/firmware-upgrade-failed-android-phone.html' title='Firmware upgrade failed Android phone Samsung Galaxy Fit GT-S5670 (2.2.1 -&gt; 2.3.x)'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2438067404862958625.post-1238266401882218822</id><published>2011-08-20T02:30:00.000+05:30</published><updated>2011-08-20T02:30:52.702+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cache"/><category scheme="http://www.blogger.com/atom/ns#" term="DNS"/><category scheme="http://www.blogger.com/atom/ns#" term="DNS cache"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="optimizations"/><title type='text'>DNS caching Linux for faster Internet access</title><content type='html'>If you are familiar with what is a &lt;a href=&quot;http://en.wikipedia.org/wiki/Domain_Name_System&quot;&gt;DNS&lt;/a&gt;, please skip to next paragraph. Internet protocol enabled network interface on your computer typically receives its IP address and related parameters when the computer starts and enables this interface. When one refers Web sites by name, like google.com in their browser software, that name (technically called &lt;i&gt;domain name&lt;/i&gt;) is translated into a numeric address. That address is then used by browser to reach the desired Web site. This process of converting human readable name of a site into numeric address is served by another computer that can be reached over network connected to your computer. Such remote computer is called &lt;i&gt;domain name server&lt;/i&gt; (DNS). It is assigned to you by your Internet service provider. You can even override that and choose the ones like &lt;a href=&quot;http://en.wikipedia.org/wiki/Google_Public_DNS&quot;&gt;Google public DNS&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
So each such name lookup takes finite time for the request to travel to the name server and back, plus the time taken by the server for lookup. Typically these name-to-address mappings do not change rapidly over time. One can harness this fact to their advantage by saving the results of name lookups locally on their computer. This is called &lt;i&gt;DNS caching&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;djbdns, the DNS cache software&lt;/b&gt;&lt;br /&gt;
This site provides details on how to setup: http://cr.yp.to/djbdns.html.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Some vital but missing points in the How-To instructions&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;NetworkManager on Ubuntu was found diligently adding &lt;i&gt;nameserver&lt;/i&gt; entries in /etc/resolv.conf as assigned by my router each time the network interface was brought up. This nullified the advantage of having a local cache and queries were anyways sent to the external name server over and over. So I set the DHCP settings to obtain only IP address from my router, sans the DNS address, as shown below:&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt0rfqxbzyRQh6c82pur4DanQY_rFW2s4G0l-3piWP-KTBn8g63hkUJuBEGEXetGmAukT56jHur-9j6D9eZITPMPpaf8lBDFSEnkWTWau9XR-9viifWKYr_qwUByfNUGXT9tb_QWsKJO8l/s1600/DHCP+config+for+DNS+cache.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt0rfqxbzyRQh6c82pur4DanQY_rFW2s4G0l-3piWP-KTBn8g63hkUJuBEGEXetGmAukT56jHur-9j6D9eZITPMPpaf8lBDFSEnkWTWau9XR-9viifWKYr_qwUByfNUGXT9tb_QWsKJO8l/s400/DHCP+config+for+DNS+cache.png&quot; width=&quot;306&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;DHCP settings for network interface&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;
&lt;li&gt;Now how do I know whether DNS cache is indeed being used for name resolution and how fast are subsequent/ repeat requests served by this cache? So there&#39;s this utility called &lt;b&gt;dig&lt;/b&gt; (&lt;a href=&quot;http://en.wikipedia.org/wiki/Domain_Information_Groper&quot;&gt;domain information groper&lt;/a&gt;). Here&#39;s sample output:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ dig google.com&amp;nbsp; &lt;b style=&quot;background-color: yellow;&quot;&gt;(first query)&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3 &amp;lt;&amp;lt;&amp;gt;&amp;gt; google.com&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; global options: +cmd&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; Got answer:&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 41195&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; QUESTION SECTION:&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; ANSWER SECTION:&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 74.125.235.52&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 74.125.235.51&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 74.125.235.48&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 74.125.235.50&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 74.125.235.49&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;b style=&quot;background-color: yellow;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; Query time: 301 msec&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; SERVER: 127.0.0.1#53(127.0.0.1)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; WHEN: Sat Aug 20 01:49:04 2011&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; MSG SIZE&amp;nbsp; rcvd: 108&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ dig google.com&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &lt;b style=&quot;background-color: yellow;&quot;&gt;(second query)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;&lt;snip&gt;&lt;/snip&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; Query time: 0 msec&lt;/span&gt;&lt;br style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; SERVER: 127.0.0.1#53(127.0.0.1)&lt;/span&gt;&lt;/b&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; WHEN: Sat Aug 20 01:49:08 2011&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; MSG SIZE&amp;nbsp; rcvd: 108&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ dig google.co.in&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &lt;b style=&quot;background-color: yellow;&quot;&gt;(first query)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3 &amp;lt;&amp;lt;&amp;gt;&amp;gt; google.co.in&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; global options: +cmd&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; Got answer:&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 38836&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; QUESTION SECTION:&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;google.co.in.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; ANSWER SECTION:&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;google.co.in.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 74.125.235.50&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;google.co.in.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 74.125.235.51&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;google.co.in.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 74.125.235.48&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;google.co.in.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 74.125.235.49&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;google.co.in.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp; 74.125.235.52&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;b style=&quot;background-color: yellow;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; Query time: 1713 msec&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; SERVER: 127.0.0.1#53(127.0.0.1)&lt;/span&gt;&lt;/b&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; WHEN: Sat Aug 20 01:49:15 2011&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; MSG SIZE&amp;nbsp; rcvd: 110&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ dig google.co.in&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp; &lt;b style=&quot;background-color: yellow;&quot;&gt;(second query)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;&lt;snip&gt;&lt;/snip&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; Query time: 1 msec&lt;/span&gt;&lt;br style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; SERVER: 127.0.0.1#53(127.0.0.1)&lt;/span&gt;&lt;/b&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; WHEN: Sat Aug 20 01:49:18 2011&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;;; MSG SIZE&amp;nbsp; rcvd: 110&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;The&amp;nbsp; improvement in response time is noticeable. Hope you like this and consider applying to your Linux computer, too.</content><link rel='replies' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/1238266401882218822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hackathalon.blogspot.com/2011/08/dns-caching-linux-for-faster-internet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/1238266401882218822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/1238266401882218822'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/2011/08/dns-caching-linux-for-faster-internet.html' title='DNS caching Linux for faster Internet access'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt0rfqxbzyRQh6c82pur4DanQY_rFW2s4G0l-3piWP-KTBn8g63hkUJuBEGEXetGmAukT56jHur-9j6D9eZITPMPpaf8lBDFSEnkWTWau9XR-9viifWKYr_qwUByfNUGXT9tb_QWsKJO8l/s72-c/DHCP+config+for+DNS+cache.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2438067404862958625.post-2322260695762409483</id><published>2011-06-04T20:05:00.001+05:30</published><updated>2011-06-06T20:02:54.117+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="3G"/><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="apps"/><category scheme="http://www.blogger.com/atom/ns#" term="directions"/><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="maps"/><category scheme="http://www.blogger.com/atom/ns#" term="satisfied"/><category scheme="http://www.blogger.com/atom/ns#" term="travel"/><title type='text'>My first Android phone experience!</title><content type='html'>So I&#39;m a 3G enabled smartphone user even before I had thought&amp;nbsp; I would be. Following have happened:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;the week immediately following the purchase, I went on road trip. Google Maps was tremendously useful navigating through unfamiliar crowded city roads leading to highways. We never had to stop once to ask for directions. Isn&#39;t that nice? For me, that alone recovered my investment in the phone :-). Too bad, Google Maps does not have navigation with voice prompt enabled for the country I live/ travel within.&lt;/li&gt;
&lt;li&gt;used &lt;i&gt;&lt;a href=&quot;https://market.android.com/details?id=com.google.android.maps.mytracks&amp;amp;feature=search_result&quot;&gt;My Tracks&lt;/a&gt;&lt;/i&gt; app for the driving trip as well as on-feet trips to the nearby markets. My Tracks seems to have some bug while handling GPS data collected over 10 hours of continuous usage. After initial correct tracking for five hours or so, it started showing incorrect track of the path already traveled by road. I did not investigate enough whether it was error in the recording of data in CSV format or presentation of it when volumes are high. The market description claims that it is still an app under development. So I am expecting reliability improvements there.&lt;/li&gt;
&lt;li&gt;was pleasantly surprised to get 3G coverage throughout the journey, including remote highway side locations&lt;/li&gt;
&lt;li&gt;successfully worked remotely using 3G tethered as WiFi from my phone to the PC. Even attended remote presentations having slides and audio/ video. Ability of WiFi tethering was one of the main reason why I got my Android 2.2 phone.&lt;/li&gt;
&lt;li&gt;as expected, got my shock of the first bill after having accessed data extensively over 3G. It was not a very rude shock, though as I was watchful of the usage. Thanks to wonderful apps like &lt;a href=&quot;https://market.android.com/details?id=net.rgruet.android.g3watchdog&amp;amp;feature=search_result&quot;&gt;&lt;i&gt;3G Watchdog&lt;/i&gt;&lt;/a&gt; and &lt;a href=&quot;https://market.android.com/details?id=com.google.code.apndroid&amp;amp;feature=search_result&quot;&gt;&lt;i&gt;APNdroid&lt;/i&gt;&lt;/a&gt;. Use WiFi wherever available instead of 3G HSPA or GPRS access. I was trying to be under the special data limits the operator had promised for a new 3G sign-up. The service provider has attributed the high bill amount to my voice calls, though. Need to sort that out.&lt;/li&gt;
&lt;li&gt;I capture more personal moments with the camera handily available in the phone. Also, with that camera, now I scan documents readily that I would have stashed away for weekend chores. Can share with people right away. Like immediately following up on a correspondence received by ordinary post.&lt;/li&gt;
&lt;li&gt;I impressed my colleagues with the things my phone can do with &lt;a href=&quot;https://market.android.com/details?id=com.google.android.apps.unveil&amp;amp;feature=search_result&quot;&gt;&lt;i&gt;Google Goggles&lt;/i&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;For some bragging: there are some people I know who have been using Android phones for close to an year now and still did not know of all the standard applications that make Android such a compelling platform. Now they know and have installed those apps :-)&lt;/li&gt;
&lt;li&gt;My Android phone experience prompted many others to consider it favorably and they bought it. That&#39;s how Android has been successful and such a hit in short time. Google must have envisioned it earlier on the drawing boards.&lt;/li&gt;
&lt;li&gt;There are so many useful apps at &lt;a href=&quot;https://market.android.com/&quot;&gt;&lt;i&gt;Android Market&lt;/i&gt;&lt;/a&gt; and so many of them free of cost. As a thank-you gesture, I translated &lt;i&gt;3G Watchdog&lt;/i&gt; app in two other languages. It is updated at the market with my humble contributions.&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Thank you Google&lt;/span&gt; for making Android such a great experience:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;for the robust, Linux based open source operating system and a great, extensible platform that makes my phone smart!&lt;/li&gt;
&lt;li&gt;compelling, trustworthy applications readily available for free from the Google house itself. I searched for installed almost &lt;a href=&quot;https://market.android.com/developer?pub=Google+Inc.&quot;&gt;all of them from Google Inc&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;&lt;!-- Place this tag in your head or just before your close body tag --&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://apis.google.com/js/plusone.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!-- Place this tag where you want the +1 button to render --&gt;&lt;br /&gt;
&lt;g:plusone&gt;&lt;/g:plusone&gt;</content><link rel='replies' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/2322260695762409483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hackathalon.blogspot.com/2011/06/my-first-android-phone-experience.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/2322260695762409483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/2322260695762409483'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/2011/06/my-first-android-phone-experience.html' title='My first Android phone experience!'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2438067404862958625.post-6645809483806729560</id><published>2011-05-01T14:50:00.002+05:30</published><updated>2011-06-06T20:02:34.770+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="GT-S5670"/><category scheme="http://www.blogger.com/atom/ns#" term="issue"/><category scheme="http://www.blogger.com/atom/ns#" term="resolved"/><category scheme="http://www.blogger.com/atom/ns#" term="Samsung Galaxy Fit"/><category scheme="http://www.blogger.com/atom/ns#" term="WiFi"/><title type='text'>Samsung Galaxy Fit - WiFi issue (solved)</title><content type='html'>After a few days of using my new Android based phone, I noticed that WiFi would not turn on. It appeared occurring randomly. And the only way to get it to work was power off the phone and turn it back on. Going into flight mode (turn off all radios) and back did not help. Careful observation suggests that it has to with reclaiming the RAM using the following sequence of steps:&lt;br /&gt;
&lt;blockquote&gt;Task Manager -&amp;gt; RAM tab -&amp;gt; Clear memory button&lt;/blockquote&gt;&lt;br /&gt;
The phone warns about gracefully closing applications before doing that. However I did not think it would affect WiFi, like it never affected the ability to connect to 3G or make a voice call. This may be an implementation issue in the Samsung phone I use. After I stopped clearing the used memory, the issue has not recurred.&lt;br /&gt;
&lt;br /&gt;
Before coming up with this observation I also reported the issue to Samsung tech support on phone. As expected, initially the tech support started doubting trivial things without even completely understanding my issue. They promised to get back and I&#39;m yet to hear (4 days and counting)...&lt;br /&gt;
&lt;!-- Place this tag in your head or just before your close body tag --&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://apis.google.com/js/plusone.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!-- Place this tag where you want the +1 button to render --&gt;&lt;br /&gt;
&lt;g:plusone&gt;&lt;/g:plusone&gt;</content><link rel='replies' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/6645809483806729560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hackathalon.blogspot.com/2011/05/samsung-galaxy-fit-wifi-issue-solved.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/6645809483806729560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/6645809483806729560'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/2011/05/samsung-galaxy-fit-wifi-issue-solved.html' title='Samsung Galaxy Fit - WiFi issue (solved)'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2438067404862958625.post-3009674004977783886</id><published>2011-05-01T14:17:00.002+05:30</published><updated>2011-06-06T20:03:09.292+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="3G"/><category scheme="http://www.blogger.com/atom/ns#" term="affordability"/><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="compelling"/><category scheme="http://www.blogger.com/atom/ns#" term="GT-S5670"/><category scheme="http://www.blogger.com/atom/ns#" term="mobile"/><category scheme="http://www.blogger.com/atom/ns#" term="PalmPilot"/><category scheme="http://www.blogger.com/atom/ns#" term="PDA"/><category scheme="http://www.blogger.com/atom/ns#" term="phone"/><category scheme="http://www.blogger.com/atom/ns#" term="Samsung Galaxy Fit"/><category scheme="http://www.blogger.com/atom/ns#" term="smart phone"/><title type='text'>What prompted a PalmPilot guy get an Android phone?</title><content type='html'>I have been an enthusiastic adopter of digital  devices starting with a Casio digital diary since back in 1995. Today I have an Android based smart phone. In between, I used two different Palm Pilot devices. The first one was the original US Robotics made PDA, &lt;a href=&quot;http://en.wikipedia.org/wiki/PalmPilot&quot;&gt;PalmPilot&lt;/a&gt;, bought in 1997 and the second was &lt;a href=&quot;http://en.wikipedia.org/wiki/Zire#Palm_Zire_.26_Palm_Zire_21&quot;&gt;Palm Zire&lt;/a&gt;, bought in 2004. This is a personal perspective from my, a user&#39;s, point of view.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;The Evolution&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
For the functionality they offered back then, though at a price that seems unreasonable today, I had liked those early devices and benefited from their use. Remarkably, all those devices have been in good working condition even today. It is only the additional functionality of newer devices that prompted an upgrade to new ones.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Durability speed; but rigidity&lt;/b&gt;&lt;br /&gt;
I have hard time accepting the fact that the early gadgets had  such limited and fixed functionality. The Casio digital diary would  offer mere personal information management: an address book, notepad, searching through those and  miscellaneous utilities like a simple arithmetic calculator. For  marginally improved functionality of existing utilities, one would have  to buy different, higher-end device. No customization whatsoever. Today, a smart phone user retains  the hardware and simply upgrades the software application.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PC Sync; but multiplicity&lt;/b&gt;&lt;br /&gt;
After being used to seeing 1GHz processors, double-digit GB RAM for  portable devices these days, I was shocked to get my memory refreshed by  the specifications and price of the PalmPilot device! Check out the &lt;a href=&quot;http://en.wikipedia.org/wiki/PalmPilot&quot;&gt;wiki&lt;/a&gt;!&lt;br /&gt;
&lt;br /&gt;
I still have the same master contact list I had entered over years in PalmPilot since 1997. Each time I had used the PDA to lookup a phone number and then dial it  manually on a landline phone, I had wished that I could simply tap the  phone number to call right from the PDA... or could compose and send an  e-mail to the contact. I waited till year 2011 to avail that  functionality! Technical capability was available for many years; just  that I never found it compelling to pay the extra price--until &lt;u&gt;&lt;i&gt; affordable&lt;/i&gt;&lt;/u&gt; Android phones were available with high speed 3G data access. Being able to access the same data from a PC and then back it up was a big plus over Casio diary.&lt;br /&gt;
&lt;br /&gt;
Though I had to carry two portable devices all the time: the PDA and the mobile phone for many years, I am glad I postponed getting a smart phone. Following factors played role in considering an Android device:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;need for backup Internet access for PC&lt;/li&gt;
&lt;li&gt;introduction of 3G by mobile service provider and offering limited data usage under my existing voice plan&lt;/li&gt;
&lt;li&gt;my list of features in an ideal mobile phone (developed over years of mobile usage)&lt;/li&gt;
&lt;li&gt;long pending need to integrate a PDA and a mobile device&lt;/li&gt;
&lt;li&gt;need for a navigation device during travels&lt;/li&gt;
&lt;li&gt;experience of using an iPod Touch and multiple limitations imposed by Apple App Store versus what I have gathered about the open Android market&lt;/li&gt;
&lt;li&gt;experience of using Symbian, Windows and Linux operating systems as a software developer to appreciate their differences and individual strong points&lt;/li&gt;
&lt;li&gt;enjoying benefits for &lt;a href=&quot;http://hackathalon.blogspot.com/2009/08/compiling-and-installing-latest-stable.html&quot;&gt;using custom Linux kernel&lt;/a&gt; for PC and a hope to do similar with a mobile phone&lt;/li&gt;
&lt;li&gt;infinite potential for developing own apps for my phone: self help!&lt;/li&gt;
&lt;li&gt;arrival of multiple &lt;a href=&quot;http://androidos.in/all-about-android-phones-in-india/&quot;&gt;new and reasonably priced devices&lt;/a&gt; that made a compelling sense&lt;/li&gt;
&lt;/ul&gt;&lt;b&gt;Android (device): highly integrated, extensible, secured&lt;/b&gt;&lt;br /&gt;
Choosing a specific phone was rather simpler than I thought. I knew what I was looking for and what was unnecessary. Like mobile gaming was out of my typical use pattern. I chose the right priced phone from a reliable vendor: &lt;a href=&quot;http://www.samsung.com/galaxyace/fit_overview.html&quot;&gt;Samsung Galaxy Fit&lt;/a&gt; GT-S5670!&lt;br /&gt;
&lt;br /&gt;
More about my first experience with Android in later posts....&lt;br /&gt;
&lt;!-- Place this tag in your head or just before your close body tag --&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://apis.google.com/js/plusone.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!-- Place this tag where you want the +1 button to render --&gt;&lt;br /&gt;
&lt;g:plusone&gt;&lt;/g:plusone&gt;</content><link rel='replies' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/3009674004977783886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hackathalon.blogspot.com/2011/05/what-prompted-palmpilot-guy-get-android.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/3009674004977783886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/3009674004977783886'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/2011/05/what-prompted-palmpilot-guy-get-android.html' title='What prompted a PalmPilot guy get an Android phone?'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2438067404862958625.post-2096359086929590157</id><published>2010-05-09T19:12:00.003+05:30</published><updated>2010-05-09T19:33:21.786+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="backup"/><category scheme="http://www.blogger.com/atom/ns#" term="boot loader"/><category scheme="http://www.blogger.com/atom/ns#" term="bug"/><category scheme="http://www.blogger.com/atom/ns#" term="dual boot"/><category scheme="http://www.blogger.com/atom/ns#" term="grub"/><category scheme="http://www.blogger.com/atom/ns#" term="learning"/><category scheme="http://www.blogger.com/atom/ns#" term="MBR"/><category scheme="http://www.blogger.com/atom/ns#" term="partition table"/><category scheme="http://www.blogger.com/atom/ns#" term="recovery"/><category scheme="http://www.blogger.com/atom/ns#" term="testdisk"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="upgrade"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Shame Ubuntu! (unable to boot Windows after upgrade to 10.04 - Lucid Lynx)</title><content type='html'>And I say this because I still have higher regards and consequent expectations about products coming from Ubuntu community.&lt;br /&gt;
&lt;br /&gt;
The &lt;a href=&quot;https://help.ubuntu.com/community/LucidUpgrades&quot;&gt;network based upgrade&lt;/a&gt; itself went smooth. Seems like things are messed up with the new GRUB. When I rebooted the PC to boot Windows XP (can we live without one?), GRUB did show Windows as an option to boot. Earlier during the upgrade I had noticed this entry was added as the upgrade process prompted me whether to replace existing copy of&lt;br /&gt;
&lt;pre&gt;/boot/grub/grub.cfg&lt;/pre&gt;Thankfully at the point I had saved a copy of the one being replaced! So, when I selected to boot Windows, all I was shown was a blank screen with a text mode cursor blinking at me infinitely.&lt;br /&gt;
&lt;br /&gt;
Thanks to the active community out there, I realized I&#39;m not alone :-)&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Many talk about this: (&lt;b&gt;and it worked for me!&lt;/b&gt;): &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;a href=&quot;http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot_Problems:Boot_Sector&quot;&gt;http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot_Problems:Boot_Sector&lt;/a&gt;&lt;/pre&gt;Found via &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=1466230&quot;&gt;a thread at Ubuntu Forum&lt;/a&gt;.&lt;br /&gt;
Earlier I was not sure about applicability of this to my issue. People claim this solved theirs).   &lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=1469763&quot;&gt;Online Update to 10.04: loss of Windows Boot&lt;/a&gt;. One suggested solution is &lt;a href=&quot;http://ubuntuforums.org/showpost.php?p=9222224&amp;amp;postcount=8&quot;&gt;in post #8&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Short but &lt;a href=&quot;http://www.linuxforums.org/forum/ubuntu-help/155131-solved-unable-boot-windows-after-karmic-install.html&quot;&gt;laborious, unpredictable solution&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;And finally, &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/571893&quot;&gt;the  official bug report&lt;/a&gt;... (&lt;i&gt;Shame!&lt;/i&gt; I expected a better job after  all that Microsoft product bashing we have witnessed for so many years).&lt;/li&gt;
&lt;/ul&gt;People say this issue slipped between release candidate and actual production release as they never faced issue during beta testing. That highlights importance of freezing development/ new check-ins before an important milestone.&lt;br /&gt;
&lt;br /&gt;
During this exploration, I discovered some useful tools:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.cgsecurity.org/wiki/TestDisk&quot;&gt;&lt;b&gt;TestDisk&lt;/b&gt;&lt;/a&gt; (GPL):&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;TestDisk is a powerful free data recovery software, primarily&lt;br /&gt;
designed to help recover lost partitions and/or make non-booting&lt;br /&gt;
disks bootable again when these symptoms are caused by faulty&lt;br /&gt;
software, certain types of viruses or human error (such as&lt;br /&gt;
accidentally deleting a Partition Table).&lt;/blockquote&gt;This tool really did the job for me! And I learned that there exists a backup copy of MBR on the disk. I&#39;m not newbie to OS internals and its programming; but never had chance to deal with gory details of boot record, partition tables, disk geometry, and the likes (yikes! :-) )&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://www.cgsecurity.org/wiki/CmosPwd&quot;&gt;CMOSpwd&lt;/a&gt;&lt;/b&gt; BIOS password recovery from CMOS.</content><link rel='replies' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/2096359086929590157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hackathalon.blogspot.com/2010/05/shame-ubuntu-unable-to-boot-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/2096359086929590157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/2096359086929590157'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/2010/05/shame-ubuntu-unable-to-boot-windows.html' title='Shame Ubuntu! (unable to boot Windows after upgrade to 10.04 - Lucid Lynx)'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2438067404862958625.post-2615097666759080870</id><published>2010-03-16T19:39:00.004+05:30</published><updated>2010-03-16T19:52:18.837+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="attack"/><category scheme="http://www.blogger.com/atom/ns#" term="DNS"/><category scheme="http://www.blogger.com/atom/ns#" term="DOS"/><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="network security"/><category scheme="http://www.blogger.com/atom/ns#" term="port scan"/><category scheme="http://www.blogger.com/atom/ns#" term="security"/><category scheme="http://www.blogger.com/atom/ns#" term="suspicion"/><title type='text'>Why is Google Public DNS scanning ports on my host computer?!</title><content type='html'>Being fade up with poor DNS response during peak hours from the ISP assigned resolver or occasional complete blackouts, recently I opted to use &lt;a href=&quot;http://code.google.com/speed/public-dns/&quot;&gt;Google Public DNS&lt;/a&gt;. While the &lt;a href=&quot;http://code.google.com/speed/public-dns/docs/performance.html&quot;&gt;performance&lt;/a&gt; and &lt;a href=&quot;http://code.google.com/speed/public-dns/docs/security.html&quot;&gt;security benefits&lt;/a&gt; of the latter are impressive and I trust Google being able to safeguard against &lt;a href=&quot;http://en.wikipedia.org/wiki/DNS_cache_poisoning&quot;&gt;DNS poisoning&lt;/a&gt; compared to an average, unaware ISP, recently I found myself on the receiving side of &lt;a href=&quot;http://en.wikipedia.org/wiki/Port_scanner&quot;&gt;port scan&lt;/a&gt; or &lt;a href=&quot;http://en.wikipedia.org/wiki/Denial-of-service_attack&quot;&gt;DoS&lt;/a&gt; attempts from Google DNS directed to the private IP of my host computer! Here is a firewall log from my Internet facing router. The router is on a private LAN shared with the host computer. I have intentionally masked the time and the private IP addresses on my host.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:33:04 - UDP Packet - Source:8.8.8.8 Destination:192.168.x.y - [PORT SCAN]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:34:43 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,52344 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:34:44 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,59397 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:34:44 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,36034 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:34:49 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,58507 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:34:49 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,47320 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:34:49 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,43986 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:34:54 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,57783 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:34:54 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,46381 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:34:54 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,37386 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:34:59 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,42595 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:34:59 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,49444 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:00 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,46906 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:05 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,50278 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:05 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,42480 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:05 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,46706 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:10 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,33430 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:10 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,37712 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:10 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,58394 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:16 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,39228 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:16 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,41935 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:16 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,57780 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:21 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,60592 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:21 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,45238 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:21 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,37143 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:26 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,47709 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:26 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,58876 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:26 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,42900 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:35:32 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,56628 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:50:59 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,35201 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:50:59 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,58851 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:51:00 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,59257 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:51:05 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,44891 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:51:05 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,36661 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:51:05 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,56824 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:51:11 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,43335 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:51:11 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,44840 - [DOS]&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tue, 2010-03-16 03:51:11 - UDP Packet - Source:8.8.8.8,53 Destination:192.168.x.y,48039 - [DOS]&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Notice the time difference between two successive scanning or reported DoS attempts. Why is Google scanning these ports? Isn&#39;t DNS resolver supposed to be a passive entity responding only to user requests and not initiate a connection with the client host computer? Is this some sort of opportunistic spying?</content><link rel='replies' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/2615097666759080870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hackathalon.blogspot.com/2010/03/google-public-dns-scanning-ports-on.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/2615097666759080870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/2615097666759080870'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/2010/03/google-public-dns-scanning-ports-on.html' title='Why is Google Public DNS scanning ports on my host computer?!'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2438067404862958625.post-5729731702872149159</id><published>2010-02-28T19:41:00.002+05:30</published><updated>2010-02-28T21:38:09.467+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cache"/><category scheme="http://www.blogger.com/atom/ns#" term="RAM"/><category scheme="http://www.blogger.com/atom/ns#" term="responsiveness"/><category scheme="http://www.blogger.com/atom/ns#" term="swap"/><title type='text'>Fit more in limited RAM -- compcache</title><content type='html'>&lt;i&gt;&#39;What&#39;s new&#39;&lt;/i&gt; for Linux kernel version 2.6.33 had mention for it; so I tried out this &lt;a href=&quot;http://code.google.com/p/compcache/&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;compcache&lt;/span&gt;&lt;/a&gt;--using part of RAM for saving &lt;a href=&quot;http://www.linux.com/news/software/applications/8208-all-about-linux-swap-space&quot;&gt;swapped out&lt;/a&gt; memory contents after compressing them &lt;a href=&quot;http://lwn.net/Articles/334649/&quot;&gt;to fit more&lt;/a&gt;. While the argument for using it is to let CPU do more work and save on disk access latencies, after having &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=1040087&quot;&gt;configured it&lt;/a&gt; the difference in responsiveness on my desktop was somewhat noticeable. The &lt;a href=&quot;https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2008-March/003493.html&quot;&gt;mouse movements were jerky&lt;/a&gt;. Firefox browser was not responding for tab switch when loading a large Web page... Guess, this argument works better on multi-core, faster processors than my single core 1.6GHz Intel P4 running Ubuntu.&lt;br /&gt;
&lt;br /&gt;
Was going to disable it. However, when I re-ran the same tests without &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;compcache&lt;/span&gt; configured, the issue with Firefox persisted. So, in the interest of using less of my aging disk having the swap partition, I have retained &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;compcache&lt;/span&gt; and bear with that minor mouse jerkiness :-). To benefit better from the same, I have increased the value for &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;swappiness&lt;/span&gt; kernel tunable parameter to 50 from a &lt;a href=&quot;http://hackathalon.blogspot.com/2009/09/frugal-configuration-for-ubuntu-linux.html&quot;&gt;previous lower value&lt;/a&gt; of 40.&lt;br /&gt;
&lt;br /&gt;
Using &lt;a href=&quot;http://en.wikipedia.org/wiki/Solid-state_drive&quot;&gt;SSD&lt;/a&gt; memory for swap partition may be a better idea. A good friend had originally mentioned this idea to me few months back. What do you say?</content><link rel='replies' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/5729731702872149159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hackathalon.blogspot.com/2010/02/fit-more-in-limited-ram-compcache.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/5729731702872149159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/5729731702872149159'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/2010/02/fit-more-in-limited-ram-compcache.html' title='Fit more in limited RAM -- compcache'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2438067404862958625.post-2020904608615907912</id><published>2009-09-08T21:01:00.004+05:30</published><updated>2010-02-28T19:44:18.694+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="desktop environment"/><category scheme="http://www.blogger.com/atom/ns#" term="footprint"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="memory"/><category scheme="http://www.blogger.com/atom/ns#" term="optimizations"/><category scheme="http://www.blogger.com/atom/ns#" term="reduction"/><category scheme="http://www.blogger.com/atom/ns#" term="swap"/><category scheme="http://www.blogger.com/atom/ns#" term="swappiness"/><category scheme="http://www.blogger.com/atom/ns#" term="window manager"/><title type='text'>Frugal configuration for an optimal performance Ubuntu Linux desktop</title><content type='html'>&lt;span style=&quot;font-size: small;&quot;&gt;Further to the &lt;a href=&quot;http://hackathalon.blogspot.com/2009/08/compiling-and-installing-latest-stable.html&quot;&gt;kernel reconfiguration&lt;/a&gt; done earlier, I continued my quest to make life better with the limited resources on my seven year old PC with &lt;i&gt;just&lt;/i&gt; 512MB DDR RAM. These things helped reduce total memory consumption and &lt;a href=&quot;http://en.wikipedia.org/wiki/Thrash_%28computer_science%29&quot;&gt;thrashing&lt;/a&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Choosing leaner &lt;a href=&quot;http://en.wikipedia.org/wiki/Desktop_environment&quot;&gt;desktop environment&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;While &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New [monotype]&amp;quot;,&amp;quot;Courier&amp;quot;,monospace; font-size: small;&quot;&gt;fvwm&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; was the leanest, it was provided crappiest user experience. More so after you are used to GNOME or Windows. I did not have enough patience to customize &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New [monotype]&amp;quot;,&amp;quot;Courier&amp;quot;,monospace; font-size: small;&quot;&gt;fluxbox&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; to the n&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;th degree to come up with an acceptable set. Using it with &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New [monotype]&amp;quot;,&amp;quot;Courier&amp;quot;,monospace; font-size: small;&quot;&gt;iDesk&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; made life a bit easier; but still laborious to keep creating those icons for commonly used applications. I felt as if I had deprived myself of something. &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New [monotype]&amp;quot;,&amp;quot;Courier&amp;quot;,monospace; font-size: small;&quot;&gt;WindowMaker&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; (WM) and &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New [monotype]&amp;quot;,&amp;quot;Courier&amp;quot;,monospace; font-size: small;&quot;&gt;Xfce&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; provided more acceptable, closer-to-GNOME GUI in that order. Needed to add a taskbar and notification area using &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;perlpanel&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; under WM environment. The real turn-off with WM was its inability to properly show OpenOffice.org Spreadsheet. Though &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New [monotype]&amp;quot;,&amp;quot;Courier&amp;quot;,monospace; font-size: small;&quot;&gt;Xfce&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; is not as lean as WM&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;, it is still leaner than GNOME and yet provides almost similar functionality as GNOME. Interestingly, I found application response (GUI update) was faster with Xfce than even fluxbox!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Kernel tunable parameters&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://lwn.net/Articles/83588/&quot;&gt;swappiness&lt;/a&gt;: reduced the default value 60 to 40. More memory available for applications and less greediness in dedicating it for buffers/ cache. Resulting in lesser swap out. I open multiple programs and my usage needs frequent switch between them; hence this choice. I read in [2, 3] that for I/O intensive applications, more aggressive value is recommended.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Useful references&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://www.ibm.com/developerworks/linux/library/l-linux-memory.html&quot;&gt;Reduce your Linux memory footprint&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://lwn.net/Articles/83588/&quot;&gt;2.6 swapping behavior&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://kerneltrap.org/node/3000&quot;&gt;Linux: Tuning Swappiness&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/2020904608615907912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hackathalon.blogspot.com/2009/09/frugal-configuration-for-ubuntu-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/2020904608615907912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/2020904608615907912'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/2009/09/frugal-configuration-for-ubuntu-linux.html' title='Frugal configuration for an optimal performance Ubuntu Linux desktop'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2438067404862958625.post-6846105043620658030</id><published>2009-08-22T16:40:00.004+05:30</published><updated>2009-11-18T19:23:25.909+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="custom"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="optimizations"/><category scheme="http://www.blogger.com/atom/ns#" term="satisfied"/><category scheme="http://www.blogger.com/atom/ns#" term="xconfig"/><title type='text'>Compiling and installing latest stable Linux kernel for Ubuntu</title><content type='html'>Just finished installing the latest stable Linux kernel 2.6.30.5 on my PC running Ubuntu. It was not a tedious experience at all as some had hinted earlier. Primarily, thanks to the instructions available at Ubuntu forum:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=56835&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;http://ubuntuforums.org/showthread.php?t=56835&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The procedure mentioned there is compatible with &#39;deb&#39;. Though I have used Linux for software development for some time now, I am still a newbie for hands-on administration. This was my first ever experience with building and installing the kernel.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Few optimizations I applied using &#39;make xconfig&#39;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;chose specific processor instead of the existing &#39;generic 686&#39; and disabled SMP stuff (CONFIG_SMP not defined)&lt;/li&gt;
&lt;li&gt;changed timer interrupt frequency from 250 to 1000 Hz (CONFIG_HZ_1000=y) for increased responsiveness &lt;/li&gt;
&lt;li&gt;disabled support for lots of vendor hardware I knew I will never have: laptops, backlit display, touchscreen, etc. &lt;/li&gt;
&lt;li&gt;opted out unwanted file systems &lt;/li&gt;
&lt;li&gt;disabled lots of debug stuff--this one is not for meant for development &lt;/li&gt;
&lt;li&gt;opted out ATM stuff from networking support. Yes, I know what I am doing! Left most of the rest unchanged. Don&#39;t have the patience for now to make sure... Perhaps I could have turned off routing, some rarely used QoS schedulers, etc. It&#39;s just a poor desktop PC.&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Perceived improvements in experience&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;Kernel build time:&lt;/b&gt;&lt;br /&gt;
Removing unwanted stuff also saved compilation time by about an hour, that too, with &#39;nice -n 5 make make-kpkg ...&#39;. Did not really want to simply watch the build happen. It allowed using the PC for normal daily usage. Without nice, even GDM failed to respond when I wanted to switch user :-).&lt;br /&gt;
&lt;b&gt;Kernel image size:&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;3.4M vmlinuz-2.6.28-14-generic&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;7.3M initrd.img-2.6.28-14-generic&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; 2.4M vmlinuz-2.6.30.5-custom&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;6.4M initrd.img-2.6.30.5-custom&lt;/span&gt;&lt;br /&gt;
(CONFIG_KERNEL_BZIP2=y)&lt;br /&gt;
&lt;b&gt;Memory savings: (free -m)&lt;/b&gt;&lt;br /&gt;
12MB more user RAM available upon shell load&lt;br /&gt;
6M more buffered RAM available&lt;br /&gt;
Application performance:&lt;br /&gt;
OpenOffice Writer load time reduced by 1.25 seconds&lt;br /&gt;
&lt;b&gt;Miscellaneous:&lt;/b&gt;&lt;br /&gt;
Bootup time reduction by 1.57s&lt;br /&gt;
Shutdown time reduction by 3.1s&lt;br /&gt;
&lt;br /&gt;
Mouse, bash output and other UI interactions seem a bit more responsive.&lt;br /&gt;
&lt;br /&gt;
Nothing is known to be broken while using the freshly compiled kernel, yet :-)&lt;br /&gt;
&lt;br /&gt;
Plus, now I know what is running in the kernel for having created .config from scratch before kernel code compile. Happier :-)</content><link rel='replies' type='application/atom+xml' href='http://hackathalon.blogspot.com/feeds/6846105043620658030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hackathalon.blogspot.com/2009/08/compiling-and-installing-latest-stable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/6846105043620658030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2438067404862958625/posts/default/6846105043620658030'/><link rel='alternate' type='text/html' href='http://hackathalon.blogspot.com/2009/08/compiling-and-installing-latest-stable.html' title='Compiling and installing latest stable Linux kernel for Ubuntu'/><author><name>Access</name><uri>http://www.blogger.com/profile/15332544912934407824</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>