<?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>Uncertain Binary Thoughts &#187; Ubuntu</title>
	<atom:link href="http://ankurs.com/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://ankurs.com</link>
	<description>01110100110101010101011101100010</description>
	<lastBuildDate>Sun, 01 Jan 2012 18:20:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Ion Auto Login script in Python</title>
		<link>http://ankurs.com/2008/09/ion-auto-login-script-python/</link>
		<comments>http://ankurs.com/2008/09/ion-auto-login-script-python/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 17:28:42 +0000</pubDate>
		<dc:creator>Ankur Shrivastava</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[college]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[Indore]]></category>
		<category><![CDATA[Special]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[auto]]></category>
		<category><![CDATA[ION]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://ankurs.com/?p=399</guid>
		<description><![CDATA[i was just thinking about making the very famous IAL script of DJ in python and here is it and its damn simple import urllib, urllib2, time username = "Your username" password = "Your Password" interval = 10 data = {"loginID":username,"loginpassword":password,"flag":"0","popcheck":"0","submit":"Sign In"} value = urllib.urlencode(data) request = urllib2.Request("http://192.168.150.2:8080/clntAuth/clntAuth_main.jsp",value) print "Logging In\nMade by Ankur - http://ankurs.com"&#8230;]]></description>
			<content:encoded><![CDATA[<p>i was just thinking about making the very famous IAL script of DJ in python and here is it and its damn simple</p>
<pre><code>import urllib, urllib2, time
username = "Your username"
password = "Your Password"
interval = 10
data = {"loginID":username,"loginpassword":password,"flag":"0","popcheck":"0","submit":"Sign In"}
value = urllib.urlencode(data)
request = urllib2.Request("http://192.168.150.2:8080/clntAuth/clntAuth_main.jsp",value)
print "Logging In\nMade by Ankur - http://ankurs.com"
while (1):
        open = urllib2.urlopen(request)
        responce = open.read()
        for i in range (1,interval):
                print (interval-i),"min Till Next Login"
                time.sleep(60)
        print "Logging In\nMade by Ankur - http://ankurs.com"
</code></pre>
<p>or <a href="http://fb.ankurs.com/ial.py">downlaod</a><br />
run it by typing <code>python ial.py</code><br />
it uses urllib, urllib2 and time which are the default module, you have to change the username and password to your username and password, changing the interval changes the time interval in which auto login takes place. enjoy!!<br />
PS &#8211; current it does no check if your connection is active or not, will add that soon</p>
]]></content:encoded>
			<wfw:commentRss>http://ankurs.com/2008/09/ion-auto-login-script-python/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>3D effects on ubuntu 7.10 on ati 1250</title>
		<link>http://ankurs.com/2007/12/3d-effects-on-ubuntu-710-on-ati-1250/</link>
		<comments>http://ankurs.com/2007/12/3d-effects-on-ubuntu-710-on-ati-1250/#comments</comments>
		<pubDate>Fri, 28 Dec 2007 20:16:14 +0000</pubDate>
		<dc:creator>Ankur Shrivastava</dc:creator>
				<category><![CDATA[college]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Special]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[1250]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[7.10]]></category>
		<category><![CDATA[ati]]></category>
		<category><![CDATA[compiz]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[emerald]]></category>

		<guid isPermaLink="false">http://warofwords.wordpress.com/2007/12/29/3d-effects-on-ubuntu-710-on-ati-1250/</guid>
		<description><![CDATA[Well after going through a large number of guides like this i finally thought about giving guide at cchtml a try, well the hings mentioned are really great but not all steps are needed so here is a simplified version Here i assume that you have not done any of this step before and are&#8230;]]></description>
			<content:encoded><![CDATA[<p>Well after going through a large number of guides like <a href="http://www.blog.arun-prabha.com/2007/12/11/yet-another-guide-for-compiz-ati-ubuntu-gutsy/" target="_blank">this</a> i finally thought about giving guide at <a href="http://wiki.cchtml.com/index.php/Ubuntu_Gutsy_Installation_Guide">cchtml</a> a try, well the hings mentioned are really great but not all steps are needed so here is a simplified version</p>
<p>Here i assume that you have not done any of this step before and are doing it for the first time but if that is not the case then this <b>might</b> not work for you.<br />
Ok so first step installation of drivers, there are two steps for this as mentioned in the cchtml wiki one automatic and other manual, for automatic you  need to enable the restricted repositories by going to System&gt;&gt;Administration&gt;&gt;Software Sources, and the typing<br />
<code>sudo apt-get update<br />
sudo apt-get install linux-restricted-modules-generic restricted-manager<br />
sudo apt-get install xorg-driver-fglrx</code><br />
which will install the drivers by downloading them from net, if you dont have the bandwidth to download that much you can go for the manual install where we will build those file, here i assumed that you have copy of the ati drivers <b>.run</b> file which if your Ubuntu is installed by me could be found at &#8220;/&#8221;, to build we need to install certain packages<br />
<code>sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-generic dkms</code><br />
to build the packages type<br />
<code>sudo bash ati-driver-installer-8.443.1-x86.x86_64.run --buildpkg Ubuntu/gutsy</code><br />
in the directory where you have the ati-driver-installer-8.443.1-x86.x86_64.run file, this is the latest file at the time of writing but you might have a different file this will work with any driver after 8.38, as they have AIGLX support anyway now we need to install the packages made type<br />
<code>sudo dpkg -i xorg-driver-fglrx_8.443.1-1*.deb fglrx-kernel-source_8.443.1-1*.deb fglrx-amdcccle_8.443.1-1*.deb</code><br />
when you do that you might be asked<br />
<code>Configuration file `/etc/xdg/compiz/compiz-manager'<br />
==&gt; Deleted (by you or by a script) since installation.<br />
==&gt; Package distributor has shipped an updated version.<br />
What would you like to do about it ?  Your options are:<br />
Y or I  : install the package maintainer's version<br />
N or O  : keep your currently-installed version<br />
D     : show the differences between the versions<br />
Z     : background this process to examine the situation<br />
The default action is to keep your current version.<br />
*** compiz-manager (Y/I/N/O/D/Z) [default=N] ?</code><br />
just answer Y to the question and proceed, once this is done you now need to edit the xorg.conf file type (here &#8212; is [minus][minus] unlike a big [minus] as it appears to be )<br />
<code>aticonfig --initial<br />
sudo gedit /etc/X11/xorg.conf</code><br />
and replace<br />
<code>Section "Device"<br />
Identifier  "Generic Video Card"<br />
Driver      "vesa"<br />
BusID       "PCI:1:5:0"<br />
EndSection</code><br />
WITH<br />
<code>Section "Device"<br />
Identifier  "Generic Video Card"<br />
#Driver      "vesa"<br />
BusID       "PCI:1:5:0"<br />
Option		"VideoOverlay"		"on"<br />
Option		"OpenGLOverlay"		"off"<br />
EndSection</code> now just restart the X server but pressing Ctrl + ALT + Backspace, all done this will give you the Basic 3D effects but who is satisfied with  that we need more so we will go for installing Compiz settings manager, for this type<br />
<code> sudo apt-get install compizconfig-settings-manager gcompizthemer subversion<br />
svn ls https://svn.generation.no/emerald-themes</code><br />
now accept the certificate and fetch the themes by going to System&gt;&gt;Preferances&gt;&gt;Emerald Themes Manager,<br />
to enable 3D effects go to System&gt;&gt;Preferances&gt;&gt;Appearance then Visual Effects select Custom and edit your settings by Preferances<br />
now you are all set to blow  everyone up with your Linux box&#8217;s 3D effects enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://ankurs.com/2007/12/3d-effects-on-ubuntu-710-on-ati-1250/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Making a local Ubuntu / Debian repository on Fedora</title>
		<link>http://ankurs.com/2007/12/making-a-local-ubuntu-debian-repository-on-fedora/</link>
		<comments>http://ankurs.com/2007/12/making-a-local-ubuntu-debian-repository-on-fedora/#comments</comments>
		<pubDate>Mon, 24 Dec 2007 16:56:38 +0000</pubDate>
		<dc:creator>Ankur Shrivastava</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Special]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apt-cacher]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[LAN]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[repository]]></category>

		<guid isPermaLink="false">http://warofwords.wordpress.com/2007/12/24/making-a-local-ubuntu-debian-repository-on-fedora/</guid>
		<description><![CDATA[So now i know how to make a local Ubuntu / Debian LAN repository on Fedora using apt-cacher, apt-cacher as the name says caches all the packages with it when ever any client requests a package from it, it checks if the package that is there with it is latest or not if it is&#8230;]]></description>
			<content:encoded><![CDATA[<p>So now i know how to make a local Ubuntu / Debian LAN repository on Fedora using apt-cacher, apt-cacher as the name says caches all the packages with it when ever any client requests a package from it, it checks if the package that is there with it is latest or not if it is then it serves that package else it downloads the package and serves it, but well i am not discussing what it does here but how to set it up on Fedora 8, so lets begin</p>
<p>for apt-cacher to work you need to have a apache server installed and the source of apt-cacher which can be downloaded from <a href="http://packages.debian.org/etch/apt-cacher">here</a> just and extract it and follow the following step as root<br />
<code>mv apt-cacher-1.5.3 /usr/share/apt-cacher</code><br />
here 1.5.3 was the latest package during my writing, then rename apache.conf to /etc/httpd/conf.d/apt-cacher.conf and set the permisions<br />
<code>cd /usr/share/apt-cacher<br />
mv apache.conf /etc/httpd/conf.d/apt-cacher.conf<br />
chmod 644 /etc/httpd/conf.d/apt-cacher.conf<br />
chown root:root /etc/httpd/conf.d/apt-cacher.conf</code><br />
now just restart apache<br />
<code>/etc/init.d/httpd restart</code><br />
now rename apt-cacher2 to apt-cacher and move all the .conf files to /etc/apt-cacher/<br />
<code>mv apt-cacher2 apt-cacher<br />
mkdir /etc/apt-cacher<br />
mv *.conf /etc/apt-cacher/</code><br />
now edit /etc/httpd/conf.d/apt-cacher.conf and edit user and group to apache<br />
<code>gedit /etc/httpd/conf.d/apt-cacher.conf</code><br />
after doing that run install.pl<br />
<code>./install.pl</code><br />
now make /var/cache/apt-cacher and /var/log/apt-cacher owned by apache<br />
<code>chown -R apache /var/cache/apt-cacher<br />
chown -R apache /var/log/apt-cacher</code><br />
all done just goto http://yourip/apt-cacher and every thing should work fine, if it does not then check /var/log/http/error_log for what went wrong and dont forget to forward the port 3142 (default) so that everyone can access it<br />
you can see how to configure it <a href="http://www.debuntu.org/how-to-set-up-a-repository-cache-with-apt-cacher">here</a> and since you are on Fedora you will have to modify some steps a little<br />
enjoy<br />
Ankur Shrivastava</p>
]]></content:encoded>
			<wfw:commentRss>http://ankurs.com/2007/12/making-a-local-ubuntu-debian-repository-on-fedora/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Stuff.txt</title>
		<link>http://ankurs.com/2007/12/stufftxt/</link>
		<comments>http://ankurs.com/2007/12/stufftxt/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 07:38:45 +0000</pubDate>
		<dc:creator>Ankur Shrivastava</dc:creator>
				<category><![CDATA[Indore]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Special]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://warofwords.wordpress.com/2007/12/18/stufftxt/</guid>
		<description><![CDATA[I reached home 2 days ago and i have already completed 1/3 of my To-Do list&#8217;s task but still a lot remains to be done. the things that i have completed are, First setting up of a LAMP server and MediaWiki on that &#62;&#62; done this with a Fedora 8 based server on my desktop,&#8230;]]></description>
			<content:encoded><![CDATA[<p>I reached home 2 days ago and i have already completed 1/3 of my To-Do list&#8217;s task but still a lot remains to be done.<br />
the things that i have completed are, First setting up of a LAMP server and MediaWiki on that &gt;&gt; done this with a Fedora 8 based server on my desktop, it was really easy to do but i still have to learn a lot about MediaWiki as we are planning to use it for LUG Manipal&#8217;s Wiki. Second was trying to SSH form my cell &gt;&gt; done this by using MidpSSH as putty for symbian was giving me trouble with my E61i, i was able to do almost all the things through it like writing a simple C++ hello world program and compiling it by g++, but the best thing is that now i can run 3D effects on  ati 1250 on Ubuntu 7.10 , yes i finally found a way to make it work and it works pretty well without the need to downgrade xorg but still the process comprises of things taken from here and there so the final and the best part will come up shortly, so till then bye cya<br />
Ankur Shrivastava</p>
]]></content:encoded>
			<wfw:commentRss>http://ankurs.com/2007/12/stufftxt/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Enabling 3D effects in Ubuntu 7.10 on ATI x 1250</title>
		<link>http://ankurs.com/2007/11/enabling-3d-effects-in-ubuntu-710-on-ati-x-1250/</link>
		<comments>http://ankurs.com/2007/11/enabling-3d-effects-in-ubuntu-710-on-ati-x-1250/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 12:40:01 +0000</pubDate>
		<dc:creator>Ankur Shrivastava</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://warofwords.wordpress.com/2007/11/03/enabling-3d-effects-in-ubuntu-710-on-ati-x-1250/</guid>
		<description><![CDATA[So after a long time of SUSE use i went back to my Ubuntu install when i was reminded by Sohil about the 3D effects which were working on Ubuntu 7.04 with the new ATI 8.42.3 drivers and well it was like a challenge for me to enable those in my install. So here i&#8230;]]></description>
			<content:encoded><![CDATA[<p>So after a long time of SUSE use i went back to my Ubuntu install when i was reminded by Sohil about the 3D effects which were working on Ubuntu 7.04 with the new ATI 8.42.3 drivers and well it was like a challenge for me to enable those in my install. So here i present you the way to enable those in your Ubuntu 7.10 fresh install with the ATI 8.42.3 drivers, just install the xserver-xgl package <code> sudo apt-get install xserver-xgl </code> and reboot enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://ankurs.com/2007/11/enabling-3d-effects-in-ubuntu-710-on-ati-x-1250/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Wifi in Ubuntu on HP 6515b (broadcom)</title>
		<link>http://ankurs.com/2007/10/using-wifi-in-ubuntu-on-hp-6515b-broadcom/</link>
		<comments>http://ankurs.com/2007/10/using-wifi-in-ubuntu-on-hp-6515b-broadcom/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 17:42:08 +0000</pubDate>
		<dc:creator>Ankur Shrivastava</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://warofwords.wordpress.com/2007/10/08/using-wifi-in-ubuntu-on-hp-6515b-broadcom/</guid>
		<description><![CDATA[so after the install the thing that is left is the WiFi support so here it goes first disable the bcm43xx driver sudo rmmod bcm43xx then black list the driver by adding &#8220;balcklist bcm43xx&#8221; in sudo gedit /etc/modprobe.d/blacklist then download diswrapper-utils-1.9 deb file and install it offline or if you have a LAN connection, For&#8230;]]></description>
			<content:encoded><![CDATA[<p>so after the install the thing that is left is the WiFi support so here it goes<br />
first disable the bcm43xx driver<br />
<code>sudo rmmod bcm43xx</code><br />
then black list the driver by adding &#8220;balcklist bcm43xx&#8221; in<br />
<code> sudo gedit /etc/modprobe.d/blacklist</code><br />
then download diswrapper-utils-1.9 deb file and install it offline or if you have a LAN connection, For the next step you should have a copy of the windows driver on HDD or flash drive and type<br />
<code>sudo ndiswrapper -i /the location of windows driver/bcmwl5.inf</code><br />
now check if driver is there or not<br />
<code>sudo ndiswrapper -l</code><br />
you should get a output like<br />
<code>bcmwl5 : driver installed<br />
device (14E4:4312) present (alternate driver: bcm43xx)</code><br />
then type<br />
<code>sudo ndiswrapper -m</code><br />
to write wlan0 to ndiswrapper, then you need to start ndiswrapper type<br />
<code>sudo modprobe ndiswrapper</code><br />
Now you just need to enable ndiswrapper to start on boot, for that add &#8220;ndiswrapper&#8221; in /etc/modules<br />
<code>sudo gedit /etc/modules</code><br />
all done enjoy</p>
<p>Ankur Shrivastava</p>
]]></content:encoded>
			<wfw:commentRss>http://ankurs.com/2007/10/using-wifi-in-ubuntu-on-hp-6515b-broadcom/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using Ubuntu on HP 6515b ( ATI X1250 )</title>
		<link>http://ankurs.com/2007/10/using-ubuntu-on-hp-6515b-ati-x1250/</link>
		<comments>http://ankurs.com/2007/10/using-ubuntu-on-hp-6515b-ati-x1250/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 19:10:16 +0000</pubDate>
		<dc:creator>Ankur Shrivastava</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://warofwords.wordpress.com/2007/10/07/using-ubuntu-on-hp-6515b-ati-x1250/</guid>
		<description><![CDATA[So there are a lot of people having trouble installing Linux ( Ubuntu ) on those ATI Radeon Xpress 1250 or any other ATI card here is the solution ( i have given this example with ubuntu but it can be used with any other Linux distro ) first go to ATI&#8217;s site and download&#8230;]]></description>
			<content:encoded><![CDATA[<p>So there are a lot of people having trouble installing Linux ( Ubuntu ) on those ATI Radeon Xpress 1250 or any other ATI card here is the solution ( i have given this example with ubuntu but it can be used with any other Linux distro ) first go to ATI&#8217;s site and <a href="http://ati.amd.com/support/driver.html" target="_blank">download the driver</a> then all we have to do is boot into your linux distro and just install the drivers, for that we will first need a copy of the drivers on HDD or flash drive, and then just cd into that directory and type<br />
<code>sh ati-driver-installer-8.40.4-x86.x86_64.run</code><br />
where ati-driver-installer-8.40.4-x86.x86_64.run is the name of the driver file with me, it will start the install procedure just follow that and after the install just configure your  resolution with<br />
<code>aticonfig --resolution=0,1280x800</code><br />
as my resolution was 1280&#215;800 your can be 1024&#215;786 or some other just type what ever it is.<br />
after this we just need to start the X server again type <code>startx</code> and enjoy every thing in graphical mode.</p>
<p>Note:- if you used a Live CD you will have to install the drivers 2 times first for the live CD and then for your system, enjoy!!!</p>
<p>Ankur Shrivastava</p>
]]></content:encoded>
			<wfw:commentRss>http://ankurs.com/2007/10/using-ubuntu-on-hp-6515b-ati-x1250/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>HowTo copy VCD in Ubuntu</title>
		<link>http://ankurs.com/2007/07/howto-copy-vcd-in-ubuntu/</link>
		<comments>http://ankurs.com/2007/07/howto-copy-vcd-in-ubuntu/#comments</comments>
		<pubDate>Sun, 01 Jul 2007 21:07:10 +0000</pubDate>
		<dc:creator>Ankur Shrivastava</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Special]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://warofwords.wordpress.com/2007/07/02/howto-copy-vcd-in-ubuntu/</guid>
		<description><![CDATA[Some the biggest problem with Ubuntu that i find is copying a VCD ( the one copying whom is legal!!!), But not anymore here is a simple way to copy those VCDs into simple mpeg files u just need to install a program with apt-get and type a command and thats it. So first install&#8230;]]></description>
			<content:encoded><![CDATA[<p>Some the biggest problem with Ubuntu that i find is copying a VCD ( the one copying whom is legal!!!), But not anymore here is a simple way to copy those VCDs into simple mpeg files  u just need to install a program with apt-get and type a command and thats it. So first install vcdimager type<br />
<code>sudo apt-get install vcdimager</code><br />
after it gets installed just type<br />
<code>vcdxrip</code><br />
and you will find the avseq**.mpeg files in your home folder enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://ankurs.com/2007/07/howto-copy-vcd-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

