<?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"
	>

<channel>
	<title>The Innovation Lover</title>
	<atom:link href="http://www.sarathlakshman.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sarathlakshman.info</link>
	<description>A geek's hacking workspace..</description>
	<pubDate>Sun, 14 Mar 2010 08:32:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Wireless LTSP</title>
		<link>http://www.sarathlakshman.info/2010/03/14/wireless-ltsp/</link>
		<comments>http://www.sarathlakshman.info/2010/03/14/wireless-ltsp/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 00:44:48 +0000</pubDate>
		<dc:creator>Sarath</dc:creator>
		
		<category><![CDATA[FOSS World]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[My Experiments]]></category>

		<category><![CDATA[fun]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[ltsp]]></category>

		<category><![CDATA[scripting]]></category>

		<category><![CDATA[terminal server]]></category>

		<category><![CDATA[thin client]]></category>

		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.sarathlakshman.info/?p=442</guid>
		<description><![CDATA[It is miniproject time for every Sixth semester B Tech students. I would like to update about my miniproject.
I am implementing a Wireless Linux Terminal Server project, Which is an extension to LTSP project. 
Basically LTSP as quoted from wikipedia &#8220;Linux Terminal Server Project (LTSP) is a free and open source add-on package for Linux [...]]]></description>
			<content:encoded><![CDATA[<p>It is miniproject time for every Sixth semester B Tech students. I would like to update about my miniproject.<br />
I am implementing a Wireless Linux Terminal Server project, Which is an extension to LTSP project. </p>
<p>Basically LTSP as quoted from wikipedia &#8220;Linux Terminal Server Project (LTSP) is a free and open source add-on package for Linux that allows many people to simultaneously use the same computer. Applications run on the server with a terminal known as a thin client (also known as an X terminal) handling input and output. Generally, terminals are low-powered, lack a hard disk and are quieter than desktop computers because they do not have any moving parts.&#8221;</p>
<p>LTSP facilities to use a powerful machine shared by many users from different terminals or thin clients. Thin client machines actually don&#8217;t do any processing rather than setting up a minimal system to run an X server. Basic principle of an LTSP system are as follows.</p>
<p>There will  be a server machine which is having considerable ram, processing power and attached to a network. The client machines are low end machine with few megabytes of ram, low processing power and attached to the same network over LAN through ethernet card. Ethernet cards come with a special chip socket. We can actually flash a chip / ROM containing a minimal OS. We flash a minimal OS in it and call it PXE ( Preboot Execution Environment).<br />
This ROM will setup a Linux kernel and an initial ramdisk atmost of <span id="more-442"></span>10MB. Thus the minimal OS will boot and detect the required devices, like ethernet card. The it loads nfs kernel module and establishes network connection through DHCP and  remote root filesystem is mounted via NFS as read only. It places symbolic links to the core parts of root filesystem structure like /bin , /sbin, /lib, /usr  and other directories are created in the ram and copies from the readonly directory. The system switches the root to the new root filesystem, sets up a minimal system that can run X. Now it remote login to the server machine using XDMCP.</p>
<p>I am implementing a similar version of LTSP with wireless support. The limitation of Wireless card is that it does not have a facility like PXE to boot the minimal OS. So we have to look at some other ways to boot the minimal OS. So I decided to use either a CDRom or USB pendrive to make an equivalent setup like PXE. I am basing Pardus 2009 for my project though Pardus 2009.1 has recently released.</p>
<p>I have been hacking around Linux distros over 4-5 years. My first tryst with hacking a distro was with Knoppix in 2005.<br />
My first task was to hack around the Pardus initial ramdisk scripts. Basically to boot a Linux OS, we need Linux kernel and a filesystem to support it. We use a bootloader like GRUB, Lilo, Syslinux. GRUB is the most advanced one among them now. I will be using syslinux as my client bootloader since we need something very light weight.</p>
<p>A custom compiled kernel or native Pardus 2009 kernel ( 2.6.30-123), an initrd file to act as base filesystem for the WLTSP client. My aim is to implement wireless support and reinventing LTSP with Pardus. I was more enthusiastic to see how it would work such that a client boots from a 10MB ROM and runs a full fledged OS. I wrote a small script to decompress and compress the initrd.img file.</p>
<div id="coding">
<pre>
#!/bin/bash

if [ "$1" == "extract" ];
then
	mkdir fsroot;
	cp initrd.img fsroot/
	cd fsroot
	mv initrd.img initrd.gz
	gunzip initrd.gz
	cpio -i < initrd
	rm initrd ;

elif [ "$1" == "bake" ];
then
	cd fsroot;
	find ./ | cpio -H newc -o > ../initrd.cpio
	cd ..
	gzip -c initrd.cpio > initrd.img
	rm initrd.cpio
	rm -rf fsroot
fi
</pre>
</div>
<p>I customized the init script to add few more features, I cut off some of the unnecessary things from the script. Basically an initrd.img file consists of a Busybox filesystem. Busybox is a commonly used initial ramdisk base. There are a lot of interesting things about Busybox. Busybox looks a small real Root filesystem as most GNU/Linux operating systems has.  Firing an ls inside initrd would look like this.</p>
<div id="coding">
<pre>
slynux@slynux-laptop:~/miniproject/initrd_bake/fsroot$ ls
bin  bootsplash  dev  etc  init  lib  newroot  proc  sbin  sys
</pre>
</div>
<p>/bin and /sbin contain lots of binaries. There are many common utilities that comes along it including ifconfi, grep, sed, awk etc. I thought they are similar to real elf files, like they are individual binaries. Interestingly, in Busybox there is only one elf file. All other binaries are hardlinked to the same <img src='http://www.sarathlakshman.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> It actually checks for argv[0] and finds its name and does its function. That is, suppose if i rename /bin/ls to /bin/ifconfig. It will work as ifconfig rather than showing ls ouput. It is done to keep the system really small. You can also put your own binaries to the busybox environment. But it should be noted that dynamically linked binaries won&#8217;t work. You have to compile as static. For that, use -static option for gcc while compiling.</p>
<p>The initrd that came with pardus had no wireless extensions since no kernel modules required to fire up the drivers were present. I looked to to /lib/modules/2.6.30-123 and went through .ko files, modprobe.dep, modprobe.alias. The device probing and corresponding module loading is handled by coolplug, an excellent program written by Pardus developers. Kudos to them. I went to my Pardus 2009 installation, looked into lsmod and figured out some of the required modules and their dependencies. I hacked the initrd again and added the dependencies, required kernel modules. I booted from the minimal system I had. I am using intel wireless card, so I tried to load manually modprobe iwl3945. It worked fine, but no wlan0 interface comes up. I looked into dmesg and found some errors related to crypt auth etc. I troubled me a little to figure out what was happening around. Finally I understood that some more kernel modules are required to make it work. The culprit were &#8220;arc4 and ecb&#8221;. I added those modules. The wlan0 interface came up. Next task was to port some of the wireless utilities to busybox environment. I decided to use klcc, which klibc compiler to make it small and simple. I tried to port iwconfig first. I failed to do it since it required lots of changes to make it suit for klibc. After trying out for some days, i left it and went through new set of wireless utils called iw. After few tweaks with Makefile, I got iw compiled with klcc. But the problem is that I couldn&#8217;t make it static. I fired up ldd to check the dependencies and found that it is dependent on lib-nl (netlink lib). So in order to make it static, lib-nl is also made to be static as libnl.a. So went tweaking libnl Makefile also. Finally i got iw as static bin having huge size around 1MB. It was the first time I was encountering with iw. A funny thing happened, I found iw being very experimental so it was not working as I expected :P. I went back to iwconfig and tweaked the Makefiles to get a static version. I placed iwconfig and iwlist in /bin of initrd and executed a shell to check the wireless. Everything went fine. But when I used ifconfig to set IP or making the wireless interface up, it hangs up. I got clueless. After going through enough googleing and mailing lists, I learned that it was problem with firmware loading. Devices like wireless cards require firmware to work, when they are first used, the kernel will look for a specific location,  /sys$DEVPATH/data for firmware data. It is to be made available at request time. Usually, it is handled by Linux hotplug daemon. Currently in most distros, udev is the device node creation and management backend. udev handles the firmware loading. In busybox environment, there is no udev available, so I have to manually do the firmware loading somehow. /proc/sys/kernel/hotplug can be manupulated to run a hotplug application so that, when the kernel does some requests it executes the file that is set as hotplug with some environment variables like $SUBSYSTEM,$ACTION,$FIRMWARE. </p>
<p>So I setup a script to handle the firmware loading to act as firmware loader.</p>
<div id="coding">
<pre>
if [ "$SUBSYSTEM/$ACTION" == "firmware/add" ]; then
    [ -e "/sys$DEVPATH/loading" ] || exit 1
    DIR=/lib/firmware
    [ -e "$DIR/$FIRMWARE" ] || exit 1
    echo 1 > /sys$DEVPATH/loading

    cat "$DIR/$FIRMWARE" > /sys$DEVPATH/data
    echo 0 > /sys$DEVPATH/loading
    exit 0
fi
</pre>
</div>
<p>passed it path to /proc/sys/kernel/hotplug</p>
<p># echo /bin/hotplug > /proc/sys/kernel/hotplug</p>
<p>Required fimware are placed in /lib/firmware. For iwl, its iwlwifi-3945-1.ucode.</p>
<p>Now everything went fine. iwconfig and ifconfig tuned well and wireless connectivity is up. </p>
<p>I setup another machine with Pardus-2009 to act as the server. Installed NFS server. </p>
<p>Next thing to be done is to get connectivity from client, mount an NFS share from the server. Build the newroot and switch to it. I needed to build a small and custom version of Pardus that just requires to run an X server. Pardusman, my GSOC-2009 project came for the help. Oh. I didn&#8217;t upload any videos of Pardusman yet ? I will do it in a couple of days. Using pardusman, I built a small iso having size around 130 MB. I extracted the pardus.img squashfs and exported via NFS share. The client could now mount the share using mount -o nfs, nolock, ro 192.168.1.100:/opt/pardusroot /newroot/mnt/client. Now some of the required directories to be writable are copied from the ro filesystem. The init script is setup to handle all things. I added a little configuration parser so that init script will read a .conf file and perform the actions like wifi ip, nfs server etc.</p>
<p>After a couple of days of effort i could setup the minimal system with X server support. I used XDMCP to remote login. So the remote login worked pretty well. Now the client can login to a beatiful KDE 4 desktop <img src='http://www.sarathlakshman.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It wasn&#8217;t that slow as I expected through wifi. It was working considerably well. Now it does everything from the server. Now as the final task, I need to forward the sound and device discovery. Since it logs into the server, once you play some music, it plays it at server. No sound comes out of client. Similarly devices plugged in the client are not shown, it shows the storage devices from the server only. Pulse audio came to help for sound forwarding. Pulse server is an awesome sound server that can be used to reroute sound. I also added pulseaudio server to the base pardus.img. Pulseaudio is very advanced so that it can run in session mode and system wide mode.  We need system wide. Enough configuration tweaks are to be done in /etc/pulseaudio/system.pa to allow the tcp via authentication over a network. In the server side, /etc/X11/ a script is added to setup the PULSE_SERVER env variable to IP address from $DISPLAY. Now the X will be started by passing the environment variable PULSE_SERVER=client_ip:port. Hence sound will be rerouted.</p>
<p>Next and final thing to be done was forwarding devices <img src='http://www.sarathlakshman.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ~/Drives directory is created in user home directories. lbuscd and ltspfs came to help. ltspfs is a fuse extension like sshfs which and remotely mount a filesystem. lbuscd can handle a pseudo fstab so that it can listen and mount,umount devices as it comes. lbuscd is a daemon that listens to /tmp/lbus.fifo, which is a first in first out file. A udev rule is setup such that once devices like [sh]d[a-z] or [sh]d[a-z][0-9] appears their dev path is notified to another script so that it can update the fifo. The lbusd which listens to it handles the mounting and umounting. ltspfs updates the availability of devices in ~/Drives and synchronises the changes.</p>
<p>Finally the 11MB Client is ready it boots to a full fledged KDE 4 powered desktop in a couple of minutes. I check out the free -m and found that it is taking atmost 150 MB ram usage for caching all the remote readonly filesystem.</p>
<p>Right now I am tweaking it more to make it lightweight. Probably using desktop like XFCE4 will scale down the memory usage to very minimal level. KDE is a heavy desktop environment.</p>
<p>I will push the WLTSP code to github soon.</p>
<p>Happy Hacking.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sarathlakshman.info/2010/03/14/wireless-ltsp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FOSSMeet @ NITC</title>
		<link>http://www.sarathlakshman.info/2010/02/10/fossmeet-nitc/</link>
		<comments>http://www.sarathlakshman.info/2010/02/10/fossmeet-nitc/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 03:16:52 +0000</pubDate>
		<dc:creator>Sarath</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.sarathlakshman.info/?p=438</guid>
		<description><![CDATA[My frequency of blog posts are exponentially decreasing these days. There is a common trend among netizens that frequency blogs are changing in  inverse proportion to the number of tweets. Tweets are heavily gaining momentum.
This is a post which was tagged in draft  from the day I&#8217;m back from NITC FOSSMeet. But due [...]]]></description>
			<content:encoded><![CDATA[<p>My frequency of blog posts are exponentially decreasing these days. There is a common trend among netizens that frequency blogs are changing in  inverse proportion to the number of tweets. Tweets are heavily gaining momentum.</p>
<p>This is a post which was tagged in draft  from the day I&#8217;m back from NITC FOSSMeet. But due to hectic life around college and end of the semester, I couldn&#8217;t post it.</p>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/oKB2wqywxNt9cEFABwmb4g?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');"><img src="http://lh5.ggpht.com/_DtNSSwv0BQs/S4lESBB_tBI/AAAAAAAAA6I/mtblDMm1wM4/s400/IMG_3864.JPG" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/sarathlakshman/FOSSMeetNITC2010?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');">FOSSMeet@NITC 2010</a></td>
</tr>
</table>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/Qne_EVjvSHlGvJdQuBh8ZA?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');"><img src="http://lh6.ggpht.com/_DtNSSwv0BQs/S4lESEwwTWI/AAAAAAAAA6E/Xi1YtKLDums/s400/IMG_3868.JPG" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/sarathlakshman/FOSSMeetNITC2010?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');">FOSSMeet@NITC 2010</a></td>
</tr>
</table>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/IkmsKPw9J4RGx5rZhvBnPQ?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');"><img src="http://lh3.ggpht.com/_DtNSSwv0BQs/S4lER-ruBjI/AAAAAAAAA6A/ODM_VU6cyyw/s400/IMG_3870.JPG" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/sarathlakshman/FOSSMeetNITC2010?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');">FOSSMeet@NITC 2010</a></td>
</tr>
</table>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/2I3_-LnQ_bo-FBo3JSCR_Q?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');"><img src="http://lh4.ggpht.com/_DtNSSwv0BQs/S4NQVZ_PpAI/AAAAAAAAA5I/pYLezByqc0g/s400/IMG_3872.JPG" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/sarathlakshman/FOSSMeetNITC2010?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');">FOSSMeet@NITC 2010</a></td>
</tr>
</table>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/ZYtMdnx_kXNURmoPmpkyoQ?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');"><img src="http://lh6.ggpht.com/_DtNSSwv0BQs/S4NQVDZWOBI/AAAAAAAAA5E/AsQ3RudWqwk/s400/IMG_3888.JPG" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/sarathlakshman/FOSSMeetNITC2010?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');">FOSSMeet@NITC 2010</a></td>
</tr>
</table>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/n_lWv4zo81J0jH55InMKPA?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');"><img src="http://lh6.ggpht.com/_DtNSSwv0BQs/S4NQU0fbuNI/AAAAAAAAA48/F545j9iZ-L8/s400/IMG_3894.JPG" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/sarathlakshman/FOSSMeetNITC2010?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');">FOSSMeet@NITC 2010</a></td>
</tr>
</table>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/UaFyRVe2ZbC8KBziBnfa9w?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');"><img src="http://lh6.ggpht.com/_DtNSSwv0BQs/S4NQUhPwKDI/AAAAAAAAA44/9aFAco6Q-a4/s400/IMG_3896.JPG" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/sarathlakshman/FOSSMeetNITC2010?feat=embedwebsite" onclick="javascript:pageTracker._trackPageview('/outbound/article/picasaweb.google.com');">FOSSMeet@NITC 2010</a></td>
</tr>
</table>
<p>FOSSMeet @ NITC was a nice experience meet all the FOSS folks whom we used to meet online frequently. It was a good chance to meet all of them in real time and have fun. One of the surprizes during the event was <a href="http://www.j4v4m4n.in/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.j4v4m4n.in');">Praveen</a>&#8217;s birthday. His friends and FOSS community surprised him announcing it.</p>
<p><a href="http://binnyva.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/binnyva.com');">Binny VA</a> and I conducted a split session Web frameworks - workshop. Binny gave a short tutorial on CakePHP and Ruby on Rails. I conducted a short kickstart workshop on Django development.</p>
<p>Blender workshop was one of the highlight of FOSSMeet this time. Many participants got much enthusiastic about it.</p>
<p>Every FOSSMeet looks at having a few new contributors at the end of the day.</p>
<p>See you all folks at FOSSMeet next year <img src='http://www.sarathlakshman.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>UPDATE:</strong>There is a Django development tutorial written by me published in Linux For You Magazine, March 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sarathlakshman.info/2010/02/10/fossmeet-nitc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>See you at FOSSMeet@NITC</title>
		<link>http://www.sarathlakshman.info/2010/02/04/see-you-at-fossmeetnitc/</link>
		<comments>http://www.sarathlakshman.info/2010/02/04/see-you-at-fossmeetnitc/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 02:23:30 +0000</pubDate>
		<dc:creator>Sarath</dc:creator>
		
		<category><![CDATA[FOSS World]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[calicut]]></category>

		<category><![CDATA[fossmeet]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[nitc]]></category>

		<guid isPermaLink="false">http://www.sarathlakshman.info/?p=434</guid>
		<description><![CDATA[
I will be conducting a basic Django Web development workshop on Saturday 6th Feb. Check out the schedule from the website. [link]
]]></description>
			<content:encoded><![CDATA[<div id="fossmeet"><a href="http://fossmeet.in" onclick="javascript:pageTracker._trackPageview('/outbound/article/fossmeet.in');"><img src="http://fossmeet.in/sites/default/files/promote/fossmeet-2010-banner.png" style="border: none" /></a></div>
<p>I will be conducting a basic Django Web development workshop on Saturday 6th Feb. Check out the schedule from the website. <a href="http://fossmeet.in/workshops" onclick="javascript:pageTracker._trackPageview('/outbound/article/fossmeet.in');">[link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sarathlakshman.info/2010/02/04/see-you-at-fossmeetnitc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Speaking at TocH</title>
		<link>http://www.sarathlakshman.info/2010/01/22/speaking-at-toch/</link>
		<comments>http://www.sarathlakshman.info/2010/01/22/speaking-at-toch/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 11:36:48 +0000</pubDate>
		<dc:creator>Sarath</dc:creator>
		
		<category><![CDATA[FOSS World]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Photos]]></category>

		<guid isPermaLink="false">http://www.sarathlakshman.info/?p=417</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://lh5.ggpht.com/_DtNSSwv0BQs/S1mLH2hIJ1I/AAAAAAAAA3w/IdsrsA_eMi8/s400/DSC01915.JPG" align=left"><br />
Last week I had been to <a href="http://www.tistcochin.edu.in/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.tistcochin.edu.in');">Toc H Institute of Science &amp; Technology</a>, to address the Computer science and Engineering students. It was a nice experience to share some bits and bytes about Free and Open Source Software development to the students assembled there.</p>
<p>I was being invited to the college being a Google Summer of Coder 2009 to share about my experience on FOSS and how to get started. I spoke to the students about how I started using the Revolution OS &#8216;GNU/Linux&#8217;, how does the community work and all. The students were very new to the GNU/Linux and they hadn&#8217;t been exposed to any GNU/Linux technology stuff before. They were really enthusiastic and excited hearing about it. After my talk on how to get started working with open source projects and how it benefits them, they shot me with numerous questions. They were really enthusiastic about it. After the formal session, we had another one hour question and answers session around the auditorium.</p>
<p>I never had seen this much of questions from any of my audiences before. I felt very glad about it. Felt like a mass transformation would happen around TocH students to GNU/Linux. After the session I had been in conversation with the Jayakumar sir, The head of the Department, Computer Science and Engineering. He told that they were trying to build a FOSS cell around TocH and transforming atleast the computer science labs to GNU/Linux.</p>
<p>It was really nice experience to inspire students to Free Software.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sarathlakshman.info/2010/01/22/speaking-at-toch/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Asianet dataline internet autoconnect script</title>
		<link>http://www.sarathlakshman.info/2010/01/05/asianet-dataline-internet-autoconnect-script/</link>
		<comments>http://www.sarathlakshman.info/2010/01/05/asianet-dataline-internet-autoconnect-script/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 06:01:56 +0000</pubDate>
		<dc:creator>Sarath</dc:creator>
		
		<category><![CDATA[FOSS World]]></category>

		<category><![CDATA[My Experiments]]></category>

		<category><![CDATA[asianet]]></category>

		<category><![CDATA[automation]]></category>

		<category><![CDATA[internet]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://www.sarathlakshman.info/?p=410</guid>
		<description><![CDATA[In my hostel, we use asianet dataline internet connection. The connection is established through a webpage authentication and it needs to keep that webpage always open in the browser to get the stable connection. Once we login and releave that page, after five minutes it will require a re-login. Its a real hurdle to keep [...]]]></description>
			<content:encoded><![CDATA[<p>In my hostel, we use asianet dataline internet connection. The connection is established through a webpage authentication and it needs to keep that webpage always open in the browser to get the stable connection. Once we login and releave that page, after five minutes it will require a re-login. Its a real hurdle to keep a page open in the browser for internet authentication.</p>
<p>I just analyzed the http requests from that page and automated using the curl utility.</p>
<p>Here is the script it feel, it would be useful for many.</p>
<div id="coding">
<pre  style="overflow:auto">
#!/bin/bash

customer=CNXXXX
password=XXXXXX

if [ -n "`ifconfig | grep -A 1  wlan0 | grep "inet addr"`" ];
then

curl https://mwcp-ekm-04.adlkerala.com:8001 --data "auth_user=$customer&#038;auth_pass=$password&#038;accept=Login" &#038;> /dev/null

echo "Connected :)"

while true
do
	sleep 300
	curl https://mwcp-ekm-04.adlkerala.com:8001 --data "alive=y&#038;un=$customer" &#038;> /dev/null ;

done

else

echo "Wifi not connected";

fi
</pre>
</div>
<p>Copy down the above script in a text file and rename to internet.sh</p>
<div id="coding">
<pre>
slynux@slynux-laptop:~$ chmod a+x  internet.sh
slynux@slynux-laptop:~$ ./internet.sh
Connected <img src='http://www.sarathlakshman.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> 
</pre>
</div>
<p>This script has an initial check for ethernet interface. Here it is given Wifi interface, wlan0. If you use a LAN for connection change wlan0 to eth0 and the message as well <img src='http://www.sarathlakshman.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sarathlakshman.info/2010/01/05/asianet-dataline-internet-autoconnect-script/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The new year post :)</title>
		<link>http://www.sarathlakshman.info/2010/01/02/the-new-year-post/</link>
		<comments>http://www.sarathlakshman.info/2010/01/02/the-new-year-post/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 17:18:30 +0000</pubDate>
		<dc:creator>Sarath</dc:creator>
		
		<category><![CDATA[Friends]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[Life]]></category>

		<category><![CDATA[2010]]></category>

		<category><![CDATA[fun]]></category>

		<category><![CDATA[linux love]]></category>

		<category><![CDATA[new year]]></category>

		<guid isPermaLink="false">http://www.sarathlakshman.info/?p=407</guid>
		<description><![CDATA[
Happy New year to all  
The 2009 has end. When I look back to the year 2009, lots of events and moments scroll around my mind. It was a very unique year in my life till now. Till 2009, I was very rigid with my thinking and activities around. I was categorized to be [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/buyie/3154073496/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flickr.com');"><img class="alignnone" title="New Year" src="http://farm4.static.flickr.com/3293/3154073496_5b8820949a.jpg" alt="" width="500" height="333" align=left /></a></p>
<p>Happy New year to all <img src='http://www.sarathlakshman.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The 2009 has end. When I look back to the year 2009, lots of events and moments scroll around my mind. It was a very unique year in my life till now. Till 2009, I was very rigid with my thinking and activities around. I was categorized to be a geek and I lived around that circle. But there happened lots of changes and the environment was totally different in the year 2009. I watched more around the world rather than sitting in front of an electronic box most of the time. i started to become more social. I received more new friends, lots of fun, lots of serious stuff and lot more.<br />
Only one word suits better for that year with respect to my life, its very &#8220;Dynamic&#8221;. The year brought to me a lot of changes, lots of life learnings, lots of visions. It was really awesome to keep in memory.</p>
<p>2010 started off with nice traits. We had a lot of fun with friends around. I am doing absolutely nothing these days. But I love the very calm and peaceful environment around.</p>
<p>But more techie savvy stuffs are in my workshop TODO, it includes Android, Linux kernel and more fun.</p>
<p>Once again, wishing you all a very Happy new year 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sarathlakshman.info/2010/01/02/the-new-year-post/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FYSE Future100</title>
		<link>http://www.sarathlakshman.info/2009/11/14/fyse-future100/</link>
		<comments>http://www.sarathlakshman.info/2009/11/14/fyse-future100/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 18:57:39 +0000</pubDate>
		<dc:creator>Sarath</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.sarathlakshman.info/?p=404</guid>
		<description><![CDATA[Foundation for Youth Social Entrepreneurship(FYSE) has launched their Paragon100 website and has published the list of Asia&#8217;s most inspiring and social change makers. Check out http://www.paragon100.asia
It is interesting to see that around 50 out of 100 entreprenuers are from India.
It is glad that Ram Kumar is chosen to be one of the future 100 entrepreneurs [...]]]></description>
			<content:encoded><![CDATA[<p>Foundation for Youth Social Entrepreneurship(FYSE) has launched their Paragon100 website and has published the list of Asia&#8217;s most inspiring and social change makers. Check out <a href="http://www.paragon100.asia" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.paragon100.asia');">http://www.paragon100.asia</a></p>
<p>It is interesting to see that around 50 out of 100 entreprenuers are from India.</p>
<p>It is glad that <a href="http://www.paragon100.asia/index.php/component/content/article/51-india/123-ram-kumar" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.paragon100.asia');">Ram Kumar</a> is chosen to be one of the future 100 entrepreneurs in Asia. <a href="http://www.dreamajax.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.dreamajax.com');">Dreamajax</a> has been growing fast in the recent couple of months. They have recently launched <a href="http://wsnindia.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/wsnindia.com');">WSNIndia</a>, A platform for Wireless Sensor research based on Zigbee protocol. During the time I first visited Dreamajax during last july, it was a small company with 25 people around. Now the employee number has grown around 100 and they are expanding in more cities.</p>
<h3 class="r"><a class="l" onmousedown="return rwt(this,'','','res','1','AFQjCNEXWnRq22Yzy8r3Qh4kHuarSPiagw','&amp;sig2=vr70SxZ5RDgxPjGa2tzsAA','0CAcQFjAA')" href="http://www.fyse.org/"><em><em><br />
</em></em></a></h3>
]]></content:encoded>
			<wfw:commentRss>http://www.sarathlakshman.info/2009/11/14/fyse-future100/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pranav Mistry&#8217;s Sixth Sense</title>
		<link>http://www.sarathlakshman.info/2009/11/06/pranav-mistrys-sixth-sense/</link>
		<comments>http://www.sarathlakshman.info/2009/11/06/pranav-mistrys-sixth-sense/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 02:19:46 +0000</pubDate>
		<dc:creator>Sarath</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.sarathlakshman.info/?p=402</guid>
		<description><![CDATA[See the bleeding edge research of 2009  
			
						
						
						
						
						
http://www.ted.com/talks/pattie_maes_demos_the_sixth_sense.html
http://www.pranavmistry.com/projects/sixthsense
Once after I have completed watching this video, a relevent question came to my mind. Why does these kind of innovative research never happens in Indian universities ? 
]]></description>
			<content:encoded><![CDATA[<p>See the bleeding edge research of 2009 <img src='http://www.sarathlakshman.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>			<object height="326" width="446"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"><param name="allowFullScreen" value="true"><param name="wmode" value="transparent"><param name="bgColor" value="#ffffff"><param name="flashvars" value="vu=http://video.ted.com/talks/embed/PattieMaes_2009-embed_high.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/PattieMaes-2009.embed_thumbnail.jpg&amp;vw=432&amp;vh=240&amp;ap=0&amp;ti=481"><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgcolor="#ffffff" allowfullscreen="true" flashvars="vu=http://video.ted.com/talks/embed/PattieMaes_2009-embed_high.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/PattieMaes-2009.embed_thumbnail.jpg&amp;vw=432&amp;vh=240&amp;ap=0&amp;ti=481" height="326" width="446"><br />
						</object></p>
<p>						<object height="364" width="445"><param name="movie" value="http://www.youtube.com/v/ZfV4R4x2SK0&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/ZfV4R4x2SK0&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="364" width="445"><br />
						</object></p>
<p>						<object height="284" width="445"><param name="movie" value="http://www.youtube.com/v/nZ-VjUKAsao&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/nZ-VjUKAsao&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="284" width="445"><br />
						</object></p>
<p><a href="http://www.ted.com/talks/pattie_maes_demos_the_sixth_sense.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.ted.com');">http://www.ted.com/talks/pattie_maes_demos_the_sixth_sense.html</a></p>
<p><a href="http://www.pranavmistry.com/projects/sixthsense" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.pranavmistry.com');">http://www.pranavmistry.com/projects/sixthsense</a></p>
<p>Once after I have completed watching this video, a relevent question came to my mind. Why does these kind of innovative research never happens in Indian universities ? </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sarathlakshman.info/2009/11/06/pranav-mistrys-sixth-sense/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Web admin @ college</title>
		<link>http://www.sarathlakshman.info/2009/10/20/web-admin-college/</link>
		<comments>http://www.sarathlakshman.info/2009/10/20/web-admin-college/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 19:53:06 +0000</pubDate>
		<dc:creator>Sarath</dc:creator>
		
		<category><![CDATA[FOSS World]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.sarathlakshman.info/?p=397</guid>
		<description><![CDATA[Life has been very busy these days around college. Series exams, crap assignments and lots of useless stuffs. Getting very irritated of these unworthy junks. Classes for Semester V are winding up these week. University exams are scheduled from November 3rd to 19th. So go confused !
Currently I am the official Web admin at Model [...]]]></description>
			<content:encoded><![CDATA[<p>Life has been very busy these days around college. Series exams, crap assignments and lots of useless stuffs. Getting very irritated of these unworthy junks. Classes for Semester V are winding up these week. University exams are scheduled from November 3rd to 19th. So go confused !</p>
<p>Currently I am the official Web admin at <a href="http://www.mec.ac.in" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.mec.ac.in');">Model Engineering College</a>. Its been a long time since I am elected to be the web admin, but I haven&#8217;t been doing any work regarding that being busy with Summer of Coding.</p>
<p>Our official college website <a href="http://www.mec.ac.in" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.mec.ac.in');">http://www.mec.ac.in</a> is a well designed site with a template system and plain html static files + php in the backend. But we don&#8217;t have any CMS used to maintain the website. But once you look at the website, it would seem like some CMS is running backend. It the successful design which gives such an impression. Kudos to the Alumnis of MEC who spent lots of sleepless night coding the MEC website and the template. Currently we give edit access to different departments and staff via a web based file manager. We were using phpfm, which is dead project and of consists of numerous bugs. Recent days, I have noticed a good amount of attacks towards the website. I was pretty sure that the phpfm would be the vulnerability made use by the attackers. They injected base64 encrypted shellcode into all the php scripts. Once they are executed, it made copies of html and php files with extension filename.infected.</p>
<p>I removed the phpfm and replaced it with <a href="http://www.solitude.dk/filethingie/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.solitude.dk');">File Thingie</a>.<img class="alignleft" title="file thingies" src="http://www.solitude.dk/sites/solitude.dk.filethingie/files/screenshots/ft_default_thumb.png" alt="" width="270" height="210" /></p>
<p>File Thingies seems to be a easy to use and fine web file manager. It supports multiple user accounts restricted to subdirectories other than giving access to the entire website.</p>
<p>MEC Webserver hosts not only http://www.mec.ac.in, but also several other college websites. So it handles large amount of data. Once some attack happens, it is really hard to recover the data since some proper backup techniques are used. So I have decided to go with decisio to install subversion in the webserver and make all the changes occuring to the website to be written through subversion version control only. It would help to maintain a changelog of all changes which are made in the website/webserver. Once we need some rollback or recovery, within seconds we can rollback to the prevous states. Also it enables to implement several users. It would keep track of users made changes to the website, and what are the changes. It can maintain a history of all changes happening to the website. Once new webadmins come, they can easily trace the history from the changelog and he would be able to learn a lot from the changelog also. Like how some problem is identified, how are they rectified, how is an update made etc.</p>
<p>Anyway I am going to implement the version control system. I haven&#8217;t decided whether to go with git or subversion.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sarathlakshman.info/2009/10/20/web-admin-college/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Got ROOT on my G1.. Now free as in freedom</title>
		<link>http://www.sarathlakshman.info/2009/09/18/got-root-on-my-g1-now-free-as-in-freedom/</link>
		<comments>http://www.sarathlakshman.info/2009/09/18/got-root-on-my-g1-now-free-as-in-freedom/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 13:24:11 +0000</pubDate>
		<dc:creator>Sarath</dc:creator>
		
		<category><![CDATA[FOSS World]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[My Experiments]]></category>

		<guid isPermaLink="false">http://www.sarathlakshman.info/?p=387</guid>
		<description><![CDATA[Hi all.
These days I have been hacking with my Android phone. It is a great device to play with. Yesterday, I got enough time and I couldn&#8217;t stop myself in flashing the default OS with a customised android ROM.
Android is an Open Source Operating System. Hence anyone who loves to play with it can modify [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all.</p>
<p>These days I have been hacking with my Android phone. It is a great device to play with. Yesterday, I got enough time and I couldn&#8217;t stop myself in flashing the default OS with a customised android ROM.</p>
<p>Android is an Open Source Operating System. Hence anyone who loves to play with it can modify the OS and release their on firmware builds. Currently two types of HTC G1 are available. They are Google Dev phone1 and retail phones available with T-Mobile in US. Developer phone is a fully free(dom) phone and is for experimental purposes by build. Other ones are meant for users. Hence they vendor locks the Root access and restricts the users freedom to play with its internals.</p>
<p>Luckly no software is bugfree <img src='http://www.sarathlakshman.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Android hackers made use of some bugs to exploit and get the root access on the phones. Several rooting methods can be found at xda-developers forum. The methods varies according to the firmware version.</p>
<p>Android also has got GNU/Linux distros like flavour effect these days. You can hear the names Cyanogen, Huykuro, JacX ROMS in the community. These are popular android hackers who releases their own improved android builds.</p>
<p>I used a simple method to root my phone. It is recovery image flashing method.?  I downloaded the Recovery Flasher package and installed it. <a href="http://zenthought.org/system/files/asset/2/flashrec-1.1.1-20090908.apk" onclick="javascript:pageTracker._trackPageview('/outbound/article/zenthought.org');">http://zenthought.org/system/files/asset/2/flashrec-1.1.1-20090908.apk</a></p>
<p>Ran it. and flashed the the recovery image with new cyanogen&#8217;s recovery image.</p>
<p>The phone rebooted and I got a bootloader like menu. (Recalls GRUB ).</p>
<p><img class="alignnone" title="recovery flasher" src="http://lh6.ggpht.com/_DtNSSwv0BQs/SrOHi4L7x0I/AAAAAAAAAzw/ICgxZ1z3x74/Custom_Recovery.png" alt="" width="405" height="412" /></p>
<p>So the phone got Rooted. It exploited some bug and could managed to get ROOT access. Now that I can install any custom ROM on it.</p>
<p>I prefered Cyanogen&#8217;s ROM. Get it from <a href="http://www.cyanogenmod.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.cyanogenmod.com');">http://www.cyanogenmod.com/</a></p>
<p>I connected the USB cable and mounted the sdcard. Copied? the firmware image I downloaded from Cyangen&#8217;s site and placed it in root of SD Card and renamed it to update.zip</p>
<p>From the recovery flasher I rebooted to recovery mode. Then I selected apply sdcard:update.zip option. I didnt wipe out the ROM to factory settings. The installation went fine. I did a reboot.</p>
<p>Here comes the panic. The phone became stuck at T-mobile G1 splash screen nothing in progress. I waited for around 15 mins. I got tensed whether my phone will get bricked. If the Flashing of the ROM gets corrupted somehow, the phone will get useless like a &#8216;Brick&#8217;.</p>
<p>I went to IRC channel, #android-root and the folks at community helped me out to recover the stuff. God I am saved <img src='http://www.sarathlakshman.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The problem was that I didnt wipe out to factory settings. I removed the battery manually. After holding the Home Button, inserted the battery. It straight away went to recovery mode.</p>
<p><img class="alignnone" title="install rom" src="http://lh4.ggpht.com/_DtNSSwv0BQs/SrOHinhyMtI/AAAAAAAAAzs/6_FqCc4vnEs/s288/P1000219.jpg" alt="" width="267" height="288" /></p>
<p>Did Alt+w to wipe out. After wiping out, I went for flashing the firmware. It went fine.</p>
<p>It took a couple of minutes to boot for the initial time.</p>
<p>Android has an great SDK with a set of utilities ADB is such a great utility. Download the SDK from here, <a href="http://developer.android.com/sdk" onclick="javascript:pageTracker._trackPageview('/outbound/article/developer.android.com');">http://<cite>developer.<strong>android</strong>.com/<strong>sdk</strong></cite></a>. I connected the USB datacable and ran the command</p>
<div id="coding">
<pre>slynux@slynux-laptop:~/android-sdk/tools# ./adb logcat | head
* daemon not running. starting it now *
* daemon started successfully *
W/System.err( 1150): ?? ?at com.rechild.advancedtaskkiller.AdvancedTaskKiller.getRunningProcess(AdvancedTaskKiller.java:207)
W/System.err( 1150): ?? ?at com.rechild.advancedtaskkiller.AdvancedTaskKiller$5.run(AdvancedTaskKiller.java:157)
W/System.err( 1150): ?? ?at java.lang.Thread.run(Thread.java:1060)
I/AdMob SDK( 1150): AdMob SDK version is 20090331-ANDROID-cc0d740c1b8c3da5
D/AdMob SDK( 1150): Publisher ID read from AndroidManifest.xml is a14a6ac7fd9f387
I/AdMob SDK( 1150): Publisher ID set to a14a6ac7fd9f387
D/dalvikvm( 1150): GC(2) freed 2368 objects / 164776 bytes in 148ms
I/AdMob SDK( 1150): The user ID is 490BCF661AA5AB2645C71F147068194C</pre>
</div>
<p>It printed out the background stuffs going on on android. When I did logcat during the first boot after flashing Cyanogen&#8217;s ROM I could see some applications installs were going on. That is why it took lots of time for the boot.</p>
<p>We can also get the Root shell on our development machine using,</p>
<div id="coding">
<pre>root@slynux-laptop:~android-sdk/tools# ./adb shell
#
# ls
cache                 init.goldfish.rc      root
data                  init.rc               sbin
default.prop          init.sapphire.rc      sdcard
dev                   init.trout.rc         sqlite_stmt_journals
etc                   lib                   sys
init                  proc                  system
# cat /proc/cpuinfo
Processor	: ARMv6-compatible processor rev 2 (v6l)
BogoMIPS	: 245.36
Features	: swp half thumb fastmult edsp java
CPU implementer	: 0x41
CPU architecture: 6TEJ
CPU variant	: 0x1
CPU part	: 0xb36
CPU revision	: 2

Hardware	: trout
Revision	: 0080
Serial		: 0000000000000000
# cat /proc/meminfo
MemTotal:          97880 kB
MemFree:            2760 kB
Buffers:             416 kB
Cached:            22584 kB
SwapCached:         1292 kB
Active:            36848 kB
Inactive:          38540 kB
Active(anon):      25188 kB
Inactive(anon):    27736 kB
Active(file):      11660 kB
Inactive(file):    10804 kB
Unevictable:         252 kB
Mlocked:               0 kB
SwapTotal:         24464 kB
SwapFree:          13516 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         52148 kB
Mapped:            15852 kB
Slab:               6044 kB
SReclaimable:        820 kB
SUnreclaim:         5224 kB
PageTables:         4112 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       73404 kB
Committed_AS:    1125304 kB
VmallocTotal:     811008 kB
VmallocUsed:       57508 kB
VmallocChunk:     676860 kB</pre>
</div>
<p>Now I have cyanogen&#8217;s ROM running on my phone. It is a very nicely customized rom with good performance. The improvements in the ROM includes Multitouch support, better camera options, Faster applications, 5 desktops etc. Anway I am addicted to Android. Trying out more and more hacks these days.</p>
<p>Thinking of trying, HERO ROM for G1 <img src='http://www.sarathlakshman.info/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sarathlakshman.info/2009/09/18/got-root-on-my-g1-now-free-as-in-freedom/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
