<?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>noorul islam :: my thoughts &#187; debian</title>
	<atom:link href="http://noorul.com/blog/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://noorul.com/blog</link>
	<description>gnu/linux, emacs and random thoughts</description>
	<lastBuildDate>Wed, 01 Aug 2012 02:24:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Setting up wpa_supplicant on Debian etch (linux 2.6.25.3)</title>
		<link>http://noorul.com/blog/2008/06/04/setting-up-wpa_supplicant-on-debian-etch-linux-26253/</link>
		<comments>http://noorul.com/blog/2008/06/04/setting-up-wpa_supplicant-on-debian-etch-linux-26253/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 01:38:53 +0000</pubDate>
		<dc:creator>noorul</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[wpa]]></category>
		<category><![CDATA[wpa+psk]]></category>
		<category><![CDATA[wpa_supplicant]]></category>

		<guid isPermaLink="false">http://noorul.wordpress.com/?p=15</guid>
		<description><![CDATA[Recently, I was trying to connect to a WiFi access point in my room. Some how the system not able to associate to the access point. It took lots of time for me to find out that WPA-PSK encryption is used. Following steps helped me to setup wpa_supplicant which encrypts the stream. 1. Create wpa_supplicant.conf. [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I was trying to connect to a WiFi access point in my room. Some how the system not able to associate to the access point. It took lots of time for me to find out that WPA-PSK encryption is used. Following steps helped me to setup wpa_supplicant which encrypts the stream.</p>
<p>1. Create wpa_supplicant.conf. Mine is located at /etc/</p>
<pre>ctrl_interface=/var/run/wpa_supplicant
network={
	ssid="Access Point SSID"
	scan_ssid=1
	proto=WPA
	key_mgmt=WPA-PSK
	psk="Really Secret"
	priority=5
}</pre>
<p>2. Put following commands inside a shell script</p>
<pre>
#!/bin/sh
wpa_supplicant -Dwext -ieth2 -c/etc/wpa_supplicant.conf -Bw
dhclient eth2
</pre>
<p>3. Run the above script to bring the link up.</p>
<p>Now have fun with browsing!</p>
<p><b>Update:</b> Recently I upgraded my Debian version to Squeeze (6.0). When I was using etch, I used the above script to start wpa_supplicant. Now I no longer use that method. Now I have the following entry in /etc/network/interfaces</p>
<pre>
auto eth1
iface eth1 inet dhcp
	wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
</pre>
<p>This will automatically load wpa_supplicant during start up. Also the following commands can be used to bring up and down wireless network.</p>
<pre>
$ ifdown eth1
$ ifup eth1
</pre>
]]></content:encoded>
			<wfw:commentRss>http://noorul.com/blog/2008/06/04/setting-up-wpa_supplicant-on-debian-etch-linux-26253/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compile issues with ieee80211 and ipw2200 on linux kernel 2.6.25.</title>
		<link>http://noorul.com/blog/2008/06/04/compile-issues-with-ieee80211-and-ipw2200-on-linux-kernel-2625/</link>
		<comments>http://noorul.com/blog/2008/06/04/compile-issues-with-ieee80211-and-ipw2200-on-linux-kernel-2625/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 01:04:22 +0000</pubDate>
		<dc:creator>noorul</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[ieee80211]]></category>
		<category><![CDATA[ipw2200]]></category>

		<guid isPermaLink="false">http://noorul.wordpress.com/?p=14</guid>
		<description><![CDATA[The latest version of iee80211 (ieee80211-1.2.18) and ipw220 (ipw2200-1.2.2) are not compiling properly on the latest linux kernel 2.6.25.3. I got the following error when I compiled ipw2200 on my laptop. /home/noorul/software/ipw2200/ipw2200-1.2.2/ipw2200.c: In function ‘ipw_pci_probe’: /home/noorul/software/ipw2200/ipw2200-1.2.2/ipw2200.c:11937: error: implicit declaration of function ‘SET_MODULE_OWNER’ In my case I was able to find out a solution from some [...]]]></description>
			<content:encoded><![CDATA[<p>The latest version of iee80211 (ieee80211-1.2.18) and ipw220 (ipw2200-1.2.2) are not compiling properly on the latest linux kernel 2.6.25.3.</p>
<p>I got the following error when I compiled ipw2200 on my laptop.</p>
<blockquote><p>/home/noorul/software/ipw2200/ipw2200-1.2.2/ipw2200.c: In function ‘ipw_pci_probe’:<br />
/home/noorul/software/ipw2200/ipw2200-1.2.2/ipw2200.c:11937: error: implicit declaration of function ‘SET_MODULE_OWNER’</p></blockquote>
<p>In my case I was able to find out a solution from some other project. But there is a patch in the bug database. Here is the link <a href="http://www.intellinuxwireless.org/bugzilla/attachment.cgi?id=1378">http://www.intellinuxwireless.org/bugzilla/attachment.cgi?id=1378</a></p>
<p>But in the case of iee80211, I couldn&#8217;t find a straight forward solution. But the following steps helped me. There were several errors across multiple files.</p>
<p>1. I had to make changes to ieee80211_module.c. Here is the patched file.</p>
<p><a href="https://sites.google.com/site/noorul/Home/ieee80211_module.c?attredirects=0">ieee80211_module.c</a></p>
<p>2. Then the files ieee80211_crypt_wep.c, ieee80211_crypt_tkip.c</p>
<p><a href="https://sites.google.com/site/noorul/Home/ieee80211_crypt_wep.c?attredirects=0">ieee80211_crypt_wep.c</a><br />
<a href="https://sites.google.com/site/noorul/Home/ieee80211_crypt_tkip.c?attredirects=0">ieee80211_crypt_tkip.c</a></p>
<p>Once I made the above changes, I followed the normal compilation procedure and everything worked fine. Posting this one through wireless internet connection.</p>
]]></content:encoded>
			<wfw:commentRss>http://noorul.com/blog/2008/06/04/compile-issues-with-ieee80211-and-ipw2200-on-linux-kernel-2625/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Compiling and Installing E17 on Debian Sarge &#8211; GNU/Linux.</title>
		<link>http://noorul.com/blog/2008/05/25/compiling-and-installing-e17-on-debian-sarge-gnulinux/</link>
		<comments>http://noorul.com/blog/2008/05/25/compiling-and-installing-e17-on-debian-sarge-gnulinux/#comments</comments>
		<pubDate>Sun, 25 May 2008 15:37:45 +0000</pubDate>
		<dc:creator>noorul</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[e17]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[window+manager]]></category>

		<guid isPermaLink="false">http://noorul.wordpress.com/?p=13</guid>
		<description><![CDATA[I was struggling to install E17 from CVS on my Debian system. I couldn&#8217;t find out the exact steps that I have to follow. Recently I joined e-users mailing list and I got help from one the members. The steps are given below. cd mkdir src cd src cvs -z3 -d:pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e co e17/libs/eet cvs -z3 [...]]]></description>
			<content:encoded><![CDATA[<p>I was struggling to install E17 from CVS on my Debian system. I couldn&#8217;t find out the exact steps that I have to follow. Recently I joined e-users mailing list and I got help from one the members. The steps are given below.</p>
<pre>
cd
mkdir src
cd src
cvs -z3 -d:pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e co e17/libs/eet
cvs -z3 -d:pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e co e17/libs/edb
cvs -z3 -d:pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e co e17/libs/evas
cvs -z3 -d:pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e co e17/libs/ecore
cvs -z3 -d:pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e co e17/libs/embryo
cvs -z3 -d:pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e co e17/libs/edje
cvs -z3 -d:pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e co e17/apps/e

cd e17/lib/eet
./autogen.sh &amp;&amp; ./configure &amp;&amp; make &amp;&amp; sudo make install

cd ../edb
./autogen.sh &amp;&amp; ./configure &amp;&amp; make &amp;&amp; sudo make install

cd ../evas
./autogen.sh &amp;&amp; ./configure &amp;&amp; make &amp;&amp; sudo make install

cd ../ecore
./autogen.sh &amp;&amp; ./configure &amp;&amp; make &amp;&amp; sudo make install

cd ../embryo
./autogen.sh &amp;&amp; ./configure &amp;&amp; make &amp;&amp; sudo make install

cd ../edje
./autogen.sh &amp;&amp; ./configure &amp;&amp; make &amp;&amp; sudo make install

cd ../../apps/e
./autogen.sh &amp;&amp; ./configure &amp;&amp; make &amp;&amp; sudo make install

enlightenment_start
</pre>
<p>These steps are derived from the user guide at<br />
<a href="http://www0.get-e.org/E17_User_Guide/English/_pages/2.1.html">http://www0.get-e.org/E17_User_Guide/English/_pages/2.1.html</a></p>
<p>Here is my initial screen shot.</p>
<p><img src="http://farm1.static.flickr.com/160/360159827_6887c09e20.jpg" alt="My E17 Desktop Screenshot" /></p>
]]></content:encoded>
			<wfw:commentRss>http://noorul.com/blog/2008/05/25/compiling-and-installing-e17-on-debian-sarge-gnulinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Struggling with playing VCD on GNU/Linux.</title>
		<link>http://noorul.com/blog/2008/05/25/struggling-with-playing-vcd-on-gnulinux/</link>
		<comments>http://noorul.com/blog/2008/05/25/struggling-with-playing-vcd-on-gnulinux/#comments</comments>
		<pubDate>Sun, 25 May 2008 15:34:50 +0000</pubDate>
		<dc:creator>noorul</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[cdrom]]></category>
		<category><![CDATA[linux+cdrom]]></category>
		<category><![CDATA[linux+vcd]]></category>
		<category><![CDATA[vcd]]></category>

		<guid isPermaLink="false">http://noorul.wordpress.com/?p=12</guid>
		<description><![CDATA[Few months back I tried playing a VCD on my linux laptop but I couldn&#8217;t play it. I spent some time trying to find out what went wrong. dmesg showed lots of error messages like this. hdc: command error: status=0x51 { DriveReady SeekComplete Error } hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 } ide: failed [...]]]></description>
			<content:encoded><![CDATA[<p>Few months back I tried playing a VCD on my linux laptop but I couldn&#8217;t play it. I spent some time trying to find out what went wrong. dmesg showed lots of error messages like this.</p>
<pre>
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
ATAPI device hdc:
  Error: Illegal request -- (Sense key=0x05)
  Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
  The failed "Read 10" packet command was:
  "28 00 00 00 01 3e 00 00 02 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdc, sector 1276
</pre>
<p>Even when I tried to mount cd-rom drive and access the file /media/cdrom/MPEGAV/AVSEQ01.dat, I got following error;</p>
<pre>
AVSEQ01.DAT: ERROR: cannot read `AVSEQ01.DAT' (Input/output error)
</pre>
<p>I even tried using dd to copy and create an image of the VCD onto hard disk and loop mount it. But this also lead to input/output error. At that time I was not in a mood to spent more time and find out a solution. I use mplayer for playing media files on my laptop. Today I noticed few things when I ran mplayer command. It displayed the following and hanged.</p>
<pre>
MPlayer dev-SVN-r19208-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.86GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing vcd://.
track 01:  adr=1  ctrl=4  format=2  00:02:00  mode: 1
track 02:  adr=1  ctrl=4  format=2  00:18:74  mode: 1
track 03:  adr=1  ctrl=4  format=2  37:52:32  mode: 1
</pre>
<p>When I carefully went through those last three lines I could see the length of the 3rd track to be more meaningful. So I tried playing the 3rd track using the following command and it worked. I need to google and find out why exactly I am not able to access this file directly.</p>
<pre>
$ mplayer vcd://3
or
$ mplayer -vcd 3
</pre>
<p>Okay! I have to watch this movie now.</p>
]]></content:encoded>
			<wfw:commentRss>http://noorul.com/blog/2008/05/25/struggling-with-playing-vcd-on-gnulinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
