<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tech Wisdom &#187; ubuntu</title>
	<atom:link href="http://blog.ujjwalkumar.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ujjwalkumar.com</link>
	<description>Its all about Zeroes or Ones</description>
	<lastBuildDate>Sun, 11 Sep 2011 05:19:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>configuring network in kubuntu intrepid</title>
		<link>http://blog.ujjwalkumar.com/2009/01/09/configuring-network-in-kubuntu-intrepid/</link>
		<comments>http://blog.ujjwalkumar.com/2009/01/09/configuring-network-in-kubuntu-intrepid/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 14:37:47 +0000</pubDate>
		<dc:creator>ujjwal</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[proxy server]]></category>

		<guid isPermaLink="false">http://blog.ujjwalkumar.com/?p=61</guid>
		<description><![CDATA[I don&#8217;t know why kubuntu/ubuntu has made it so difficult to configure network running with a proxy server.. When it happened on my pc, I thought, I must have mistaken somewhere during the installation.. but, the same thing happens in my friends&#8217; computers too.. so, its nothing more than a bug, and this post will [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know why kubuntu/ubuntu has made it so difficult to configure network running with a proxy server.. When it happened on my pc, I thought, I must have mistaken somewhere during the installation.. but, the same thing happens in my friends&#8217; computers too.. so, its nothing more than a bug, and this post will be very useful for those who don&#8217;t want to waste 6 hours at a stretch to figure out the correct network configuration..</p>
<p>The gui network doesn&#8217;t work, I don&#8217;t know why.. so, we shall be using the console way..</p>
<ol>
<li>cd /etc/network/</li>
<li>sudo kate interfaces .. note that, kate is the text editor in KDE.. if u don&#8217;t have kate installed, use any other text editor like gedit..</li>
<li> provide ur password..</li>
<li>add the following lines of code in &#8216;interfaces&#8217;</li>
</ol>
<p>auto lo<br />
iface lo inet loopback</p>
<p>iface eth0 inet static<br />
address 10.111.4.114<br />
netmask 255.255.255.0<br />
gateway 10.111.4.2</p>
<p>auto eth0</p>
<p>Note that the first 2 lines r for the local addresses.. and, initially, as with me, u will find only the first two lines.. add the next 4 lines, with ur IP in address, subnet mask in netmast and default gateway in gateway..</p>
<p>by now, u r almost half way done.. only the nameservers need to be configured&#8230;</p>
<p>now, check out ur network status by going to /etc/init.d</p>
<p>code: cd /etc/init.d/</p>
<p>now start the networking service with the super user privileges:</p>
<p>sudo ./networking start</p>
<p>u will get an error message like, can&#8217;t find resolv.conf .. it is the configuration file which stores ur nameserver settings.. if u don&#8217;t get any error messages, u can check if ur network is working by pinging to some address like :</p>
<p>ping 10.111.4.60</p>
<p>if u get replies, ur network has been configured, else, u will have to add the nameserver settings in resolv.conf (if u earlier got a message like resolv.conf not found..).. the procedure for this is:</p>
<p>cd /etc</p>
<p>sudo kate resolv.conf</p>
<p>now, add any no. of nameservers in the following format:</p>
<p>nameserver 144.16.192.2<br />
nameserver 144.16.192.55</p>
<p>All the configuration finished, u now have to start the networking service by going to /etc/init.d/</p>
<p>code: cd /etc/init.d/</p>
<p>sudo ./networking start</p>
<p>Finally, u can check ur network by pinging to any IP .. Congrats!!</p>
<p>If u have proxy servers, u can configure them in console by setting the $http_proxy environmental variable..</p>
<p>code: export http_proxy = http://144.16.192.245:8080</p>
<p>where 144.16.192.245 is the host and 8080 is the port ..</p>
<p> <img src='http://blog.ujjwalkumar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://blog.ujjwalkumar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://blog.ujjwalkumar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ujjwalkumar.com/2009/01/09/configuring-network-in-kubuntu-intrepid/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing intex usb pc camera/vimicro zc0301H in ubuntu</title>
		<link>http://blog.ujjwalkumar.com/2009/01/09/installing-intex-usb-pc-camera-vimicro-zc0301h-in-ubuntu/</link>
		<comments>http://blog.ujjwalkumar.com/2009/01/09/installing-intex-usb-pc-camera-vimicro-zc0301h-in-ubuntu/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 14:10:06 +0000</pubDate>
		<dc:creator>ujjwal</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[intex usb pc camera]]></category>
		<category><![CDATA[vimicro]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[zc0301]]></category>

		<guid isPermaLink="false">http://blog.ujjwalkumar.com/?p=58</guid>
		<description><![CDATA[Its really a very difficult job to install your webcam especially when its not officially provided by the kernel itself.. This tutorial is all about installing webcam drivers that do not get installed automatically on plugging the webcam.. if the driver gets installed automatically, then its ur day, else u may have to struggle for [...]]]></description>
			<content:encoded><![CDATA[<p>Its really a very difficult job to install your webcam especially when its not officially provided by the kernel itself..</p>
<p>This tutorial is all about installing webcam drivers that do not get installed automatically on plugging the webcam.. if the driver gets installed automatically, then its ur day, else u may have to struggle for days to find a suitable driver..</p>
<p>To begin with, u must get the gspca module installed with ur kernel.. Its reported that from Ubuntu Hardy (8.04), gspca driver is installed in the kernel by default.. else, u can follow a tutorial <a href="http://translate.google.com/translate?u=http%3A%2F%2Fmmejiav.wordpress.com%2F2007%2F06%2F07%2Fmodulo-gspca%2F&amp;hl=en&amp;ie=UTF-8&amp;sl=es&amp;tl=en" target="_blank">here</a> .. the original gspca module can be found <a href="http://mxhaard.free.fr/download.html" target="_blank">here</a> .. to check if ur gspca is installed correcly or not, install a package called ekiga with the synaptic package manager (or apt-get).. in that, u can find ur cam working after going/skipping the registration process.. but, at this stage, u may not be able to use cam at other places like skype or kopete.. <img src='http://blog.ujjwalkumar.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  to check, u can also check &#8220;dmesg&#8221; in console to see if the cam is detected after the cam is plugged..</p>
<p>again for some this process works, but if u r as unlucky as me, it wont work for u.. so, u will have to follow some additional steps:</p>
<ol>
<li>install easycam2 .. a very good tutorial can be found <a href="https://help.ubuntu.com/community/EasyCam" target="_blank">here</a> ..</li>
<li>open easycam and u will see that it has started downloading the correct driver.. good for u.. make sure the cam was plugged in while the driver gets downloaded and installed..</li>
<li>after the driver is installed, plug out the cam, and restart the computer.. make sure that the cam is not connected while the computer boots up..</li>
<li>once the bootup is complete, install a cam viewing software like cheese (very easy through synaptic package manager) .. this step could have been done earlier..</li>
<li>plug in the cam.. u will find that cheese opens up automatically, and u can see ur pic.. <img src='http://blog.ujjwalkumar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p>But, the bad thing is, u may not see the cam working again after a reboot (which is the case with me) <img src='http://blog.ujjwalkumar.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  .. as, with every boot, default cam modules are loaded and easycam drivers are not loaded (I think so).. there is a trick for that.. u can plug out ur cam every time u shut down ur machine.. and plugin only after the computer is booted completely, in which, the easy cam drivers get a preference <img src='http://blog.ujjwalkumar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>What if u have booted up, and don&#8217;t want to restart the computer to see the cam working.. there is a trick to make the cam working without a reboot!! the trick is to restart the gspca modules, so that the easycam drivers are picked up by the cam <img src='http://blog.ujjwalkumar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ..</p>
<p>To restart the cam modules, follow these steps:</p>
<ol>
<li>sudo modprobe -r zc0301</li>
<li>sudo modprobe -r gspca</li>
<li>sudo modprobe gspca</li>
</ol>
<p>The first 2 steps are to stop the modules: zc0301 and gspca.. and the last one is to start the gspca module <img src='http://blog.ujjwalkumar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Do post comment if that solves ur problem .. or even adds to ur problem <img src='http://blog.ujjwalkumar.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  .. it took me 6 days to figure this thing out in ubuntu hardy <img src='http://blog.ujjwalkumar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ujjwalkumar.com/2009/01/09/installing-intex-usb-pc-camera-vimicro-zc0301h-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Killing unresponsive programs in Debian</title>
		<link>http://blog.ujjwalkumar.com/2009/01/09/killing-unresponsive-programs-in-debian/</link>
		<comments>http://blog.ujjwalkumar.com/2009/01/09/killing-unresponsive-programs-in-debian/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 13:40:36 +0000</pubDate>
		<dc:creator>ujjwal</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[kill program]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.ujjwalkumar.com/?p=55</guid>
		<description><![CDATA[Unresponsive process management is a common problem for windows users switching to linux, as here there is nothing like ctrl+alt+delete.. But, there are other cool things you can do in linux, which is otherwise not possible in windows. Analogous to windows’ “end process”, in linux, we have “kill process”.. To Kill a process, u can [...]]]></description>
			<content:encoded><![CDATA[<p>Unresponsive process management is a common problem for windows users switching to linux, as here there is nothing like ctrl+alt+delete..</p>
<p>But, there are other cool things you can do in linux, which is otherwise not possible in windows. Analogous to windows’ “end process”, in linux, we have “kill process”..</p>
<p>To Kill a process, u can simply open console, and type</p>
<p>kill &lt;pid&gt;</p>
<p>where pid is the process ID.. to get the process ID list of all processes, type</p>
<p>ps ax</p>
<p>in the console..</p>
<p>This command gives u the list of all the processes, which may be very long, and fill up the whole screen.. but, if u wish to know the pid of a specific process, use a filter called grep to filter the output from “ps ax”</p>
<p>code: ps ax | grep skype</p>
<p>where skype is the process of which u want to know the procees id (pid) ..</p>
<p>once u get the pid, type</p>
<p>kill 84001</p>
<p>where 84001 is the process id of the process.. u can check by doing “ps ax | grep skype” again to check if the process is killed.. in some cases, if the program is unresponsive, and doesn’t get killed.. in such a case, u can use a parameter called -9 to terminate the program..</p>
<p>code: kill -9 84001</p>
<p>still, there can be a situation, when the entire o/s gets unresponsive, and u don’t get an option to even open the console.. in that case, switch to the text only console mode by pressing:</p>
<p>ctrl + alt +F2</p>
<p>There kill the unresponsive programs using kill &lt;pid&gt; or kill -9 &lt;pid&gt; and then switch back to the desktop environment by pressing:</p>
<p>ctrl + alt + F7</p>
<p>there can be one more situation, in which, u don’t know which process has got unresponsive, and the whole o/s gets unstable.. in that case, save ur work and force logout by pressing:</p>
<p>ctrl + alt + backspace</p>
<p>note that, in case of forcing logout, u may loose ur work.. so, save all ur important data and sessions..</p>
<p>Thats All!!!</p>
<p>*This procedure is tested on debian based ubuntu hardy, gutsy and intrepid&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ujjwalkumar.com/2009/01/09/killing-unresponsive-programs-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

