<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8245815</id><updated>2011-04-21T12:23:32.512-07:00</updated><title type='text'>Linux by Sankar San</title><subtitle type='html'>I'm learning how to fall..</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>45</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8245815.post-2759841114867698411</id><published>2007-02-08T16:19:00.000-08:00</published><updated>2007-02-08T16:24:23.945-08:00</updated><title type='text'>Perl-Expect</title><content type='html'>It's been a long time since I actually wrote a program to solve a problem. Ditch the previous post, 'cuz I found a much better SSH daemon for Win called &lt;a href="http://www.freesshd.com/"&gt;FreeSSHD&lt;/a&gt; which lets you run it with "ssh host command" just like I wanted. But even with a help page I found on the topic, I was unable to configure it to work without requiring a password, so I decided to finally get down to Expect (something I've claimed to know, tho' I never got it working to simulate a telnet job like I wanted) and found out that this code works!&lt;br /&gt;&lt;br /&gt;#!/usr/bin/perl&lt;br /&gt;use Expect;&lt;br /&gt;my $timeout=2;&lt;br /&gt;my $exp=Expect-&gt;spawn("ssh xtp2 \"cmd.exe /c dir\"");&lt;br /&gt;$exp-&gt;expect($timeout,&lt;br /&gt; [ "password:" =&gt; sub { my $self = shift;&lt;br /&gt;                        $self-&gt;send("root123\n")&lt;br /&gt;                      } ]&lt;br /&gt;            );&lt;br /&gt;$exp-&gt;soft_close();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-2759841114867698411?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/2759841114867698411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=2759841114867698411' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/2759841114867698411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/2759841114867698411'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2007/02/perl-expect.html' title='Perl-Expect'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-7939416803261072197</id><published>2007-01-23T12:39:00.000-08:00</published><updated>2007-01-23T12:58:06.111-08:00</updated><title type='text'>SSH on Windows!</title><content type='html'>Oh yes, I got &lt;a href="http://caspian.dotconf.net/menu/Software/SSHD-NT/"&gt;this package&lt;/a&gt; and actually used PuTTY to ssh to my Windows machine and ran dir! :) &lt;a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/rexec.mspx?mfr=true"&gt;rexec&lt;/a&gt; would work, but I couldn't find rexecd.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-7939416803261072197?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/7939416803261072197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=7939416803261072197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/7939416803261072197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/7939416803261072197'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2007/01/ssh-on-windows.html' title='SSH on Windows!'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-115797856208727416</id><published>2006-09-11T05:25:00.000-07:00</published><updated>2007-07-18T02:30:08.147-07:00</updated><title type='text'>Ubuntu</title><content type='html'>&lt;div align="justify"&gt;Its been all of seven months off this blog, but get ready for its rebirth 'cuz &lt;a href="http://www.ubuntu.com/" title="linux for human beings"&gt;Ubuntu&lt;/a&gt; has breathed a new lease of life into my Linux World! All you have to do is enter your postal address &lt;a href="https://shipit.ubuntu.com/"&gt;here&lt;/a&gt; (which is what I did) and they send you free CDs within a month! &lt;b&gt;I'm impressed!!&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I cannot but regale you with the exciting new features you have, which leaves Fedora way behind. 6.06 LTS (Long Term Support) was released in June '06. It comes with:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. Firefox Version 1.5.0.3&lt;/b&gt;&lt;br /&gt;Get &lt;a href="http://www.google.com/tools/firefox/browsersync/"&gt;Google Browser Sync&lt;/a&gt; to get all your settings (saved passwords, bookmarks, etc.) from Windows to Ubuntu.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. Evolution with MS Exchange support&lt;/b&gt;&lt;br /&gt;No more entering &lt;i&gt;hajjar&lt;/i&gt; server hostnames/IP addresses and obscure username/password combinations to get it working. All it asks for is your OWA (Outlook Web Access) URL and your login/password and tada! Its all there up and running. What's more, the GAL (Global Address List) works.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3. Rhythmbox&lt;/b&gt;&lt;br /&gt;iTunes-like music player which has Library, Podcasts, Sharing and even support for your iPod, from which it lets you play off everything (once you have the codecs installed, which I'll describe how to do shortly) even (I suspect) if your PC is not synced with the iPod (!!!)&lt;br /&gt;&lt;br /&gt;The first thing you have to do after you've installed it, is to get &lt;a href="http://easyubuntu.freecontrib.org/"&gt;Easy Ubuntu&lt;/a&gt; or &lt;a href="http://www.getautomatix.com/"&gt;Automatix&lt;/a&gt;, which gives you all the codecs you need to get started on MP3s, DVDs and whatnot. For this, I faced huge difficulties to configure my HTTP Proxy with Authentication. Finally, I put this in my .bashrc:&lt;br /&gt;&lt;br /&gt;export http_proxy= &lt;br /&gt;"http://(workgroup)\\(username):(password)@(proxy):(port)/"&lt;br /&gt;export ftp_proxy= &lt;br /&gt;"http://(workgroup)\\(username):(password)@(proxy):(port)/"&lt;br /&gt;&lt;br /&gt;and PHEW! Its working now! Here's a screenshot by the way:&lt;br /&gt;&lt;a href="http://www.flickr.com/photos/snkutty/241438338/" title="Photo Sharing"&gt;&lt;img src="http://static.flickr.com/93/241438338_06443bd555.jpg" width="500" height="375" alt="Ubuntu Screenshot" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;More later...&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-115797856208727416?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/115797856208727416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=115797856208727416' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/115797856208727416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/115797856208727416'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2006/09/ubuntu.html' title='Ubuntu'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-113955235570832636</id><published>2006-02-09T22:05:00.001-08:00</published><updated>2006-02-09T22:42:30.653-08:00</updated><title type='text'>Hash</title><content type='html'>My new teammate is a Mandhala-like Gulti character. Quite fundoo (Thank God I didn't get some dumbass) and (almost;) as fast as I am. I've had a lot of technical quarrels with him and most are left hanging. One conclusive blow from either of us would settle all in one's favor.&lt;br /&gt;&lt;br /&gt;We are dealing with associative arrays today at the advanced perl session. My teammate stated that the hash key contains the memory location of the corresponding hash value. I retorted that this need not be true. He was supported by the facilitator too. This &lt;a href="http://72.14.207.104/search?q=cache:QsHYgMVwzwEJ:docs.sun.com/app/docs/doc/817-6223/6mlkidlg8%3Fa%3Dview+associative+array+key+contains+the+address+of+the+value&amp;hl=en&amp;gl=in&amp;ct=clnk&amp;cd=2"&gt;SUN docs page cache&lt;/a&gt; saved face!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-113955235570832636?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/113955235570832636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=113955235570832636' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/113955235570832636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/113955235570832636'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2006/02/hash_10.html' title='Hash'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-113940857121139294</id><published>2006-02-08T06:22:00.000-08:00</published><updated>2006-02-08T06:22:51.296-08:00</updated><title type='text'>Forgot root password?</title><content type='html'>&lt;div align="justify"&gt;Gaurav gave me this useful tip:&lt;br /&gt;&lt;br /&gt;Allow the system to reboot to the GRUB splash screen, and then press "e". Select the line containing "kernel", and press "e" again. GRUB will display the line in edit mode. Add "single" to the end of the line, and press return. GRUB will return you to the previous screen. Press "b" to boot the system into what will now be single user mode. The system will come part of the way up, and then drop you into a root shell - the prompt will look like this: sh-2.05# _&lt;br /&gt;Type "passwd" and set a new password. Type "exit"&lt;/div&gt;&lt;br /&gt;&lt;div class="media"&gt;[Listening to: Led Zeppelin - Physical Graffiti - Kashmir (8:32)]&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-113940857121139294?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/113940857121139294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=113940857121139294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/113940857121139294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/113940857121139294'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2006/02/forgot-root-password.html' title='Forgot root password?'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-113334515748927476</id><published>2005-11-30T02:05:00.000-08:00</published><updated>2005-11-30T02:07:41.426-08:00</updated><title type='text'>SSH without password</title><content type='html'>Realised that if they took this page off, we'd be done for, so I've decided to duplicate it here.&lt;br /&gt;Courtesy: &lt;a href="http://www.csua.berkeley.edu/~ranga/notes/ssh_nopass.html" title="SSH without password"&gt;Ranga&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The following steps can be used to ssh from one system to another without specifying a password.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;   1.&lt;/span&gt;&lt;br /&gt;      On the client run the following commands:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;$ mkdir -p $HOME/.ssh&lt;br /&gt;$ chmod 0700 $HOME/.ssh&lt;br /&gt;$ ssh-keygen -t dsa -f $HOME/.ssh/id_dsa -P ''&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;      This should result in two files, $HOME/.ssh/id_dsa (private key) and $HOME/.ssh/id_dsa.pub (public key).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;   2.&lt;/span&gt;&lt;br /&gt;      Copy $HOME/.ssh/id_dsa.pub to the server.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;   3.&lt;/span&gt;&lt;br /&gt;      On the server run the following commands:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;$ cat id_dsa.pub &gt;&gt; $HOME/.ssh/authorized_keys2&lt;br /&gt;$ chmod 0600 $HOME/.ssh/authorized_keys2&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;      Depending on the version of OpenSSH the following commands may also be required:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;$ cat id_dsa.pub &gt;&gt; $HOME/.ssh/authorized_keys&lt;br /&gt;$ chmod 0600 $HOME/.ssh/authorized_keys&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;      An alternative is to create a link from authorized_keys2 to authorized_keys:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;$ cd $HOME/.ssh &amp;&amp; ln -s authorized_keys2 authorized_keys&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;   4.&lt;/span&gt;&lt;br /&gt;      On the client test the results by ssh'ing to the server:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;$ ssh -i $HOME/.ssh/id_dsa server&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;   5.&lt;/span&gt;&lt;br /&gt;      (Optional) Add the following $HOME/.ssh/config on the client:&lt;br /&gt;&lt;br /&gt;Host server&lt;br /&gt;         IdentityFile ~/.ssh/id_dsa&lt;br /&gt;&lt;br /&gt;      This allows ssh access to the server without having to specify the path to the id_dsa file as an argument to ssh each time.&lt;br /&gt;&lt;br /&gt;Helpful manpages:&lt;br /&gt;&lt;br /&gt;    * ssh(1)&lt;br /&gt;    * ssh-keygen(1)&lt;br /&gt;    * ssh_config(5)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-113334515748927476?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/113334515748927476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=113334515748927476' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/113334515748927476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/113334515748927476'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/11/ssh-without-password.html' title='SSH without password'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-113037582966956325</id><published>2005-10-26T18:15:00.000-07:00</published><updated>2005-11-03T01:43:36.750-08:00</updated><title type='text'>File associations in Fedora</title><content type='html'>&lt;div align="justify"&gt;Needed to open MP3 files with XMMS by just double-clicking them in Nautilus, so I looked up on how to change file associations. The Fedora Forum rocks! I &lt;a href="http://forums.fedoraforum.org/showthread.php?t=26875" title="How-To: Mime Types and file associations with FC3 - Gnome 2.8"&gt;learnt&lt;/a&gt; its quite a task! Here's how (with mplayer as example):&lt;br /&gt;&lt;br /&gt;-&gt; /usr/share/applications/[application_name].desktop&lt;br /&gt;This is the file where "defaults.list" will point to. One of the most important things inside this file is the entry "MimeType=".&lt;br /&gt;&lt;br /&gt;&lt;i&gt;E.g:&lt;/i&gt; vi /usr/share/applications/mplayer.desktop&lt;br /&gt;&lt;i&gt;[Desktop Entry]&lt;br /&gt;Name=Movie Player&lt;br /&gt;Comment=Play multimedia files and media&lt;br /&gt;Icon=mplayer.xpm&lt;br /&gt;Exec=mplayer %f&lt;br /&gt;Terminal=false&lt;br /&gt;MimeType=video/mpeg;video/x-msvideo;video/quicktime;video/x-ms-asf;video/x-ms-wmv&lt;br /&gt;Type=Application&lt;br /&gt;Categories=Application;AudioVideo;&lt;br /&gt;Encoding=UTF-8&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;-&gt; /usr/share/applications/defaults.list&lt;br /&gt;This file contains the applications which cause a double-click success. All Mime types will point to a desktop file. &lt;br /&gt;&lt;br /&gt;&lt;i&gt;E.g:&lt;/i&gt; Separate multiple app names with ;'s.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;video/x-ms-asf=mplayer.desktop&lt;br /&gt;video/x-ms-wmv=mplayer.desktop&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;-&gt; /usr/share/applications/mimeinfo.cache&lt;br /&gt;Contains information in similar form shown for file "defaults.list" in same directory. This file contains ALL associations given to a mime type. There is no need for a specified order of desktop files. &lt;i&gt;E.g:&lt;/i&gt; Repeat above&lt;br /&gt;&lt;br /&gt;To do the same for XMMS, replace &lt;i&gt;realplayer.desktop&lt;/i&gt; with &lt;i&gt;redhat-audio-player.desktop&lt;/i&gt; in all these files..&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-113037582966956325?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/113037582966956325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=113037582966956325' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/113037582966956325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/113037582966956325'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/10/file-associations-in-fedora.html' title='File associations in Fedora'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-112966618152921310</id><published>2005-10-18T13:03:00.000-07:00</published><updated>2005-10-18T13:11:13.040-07:00</updated><title type='text'>Perfect boot</title><content type='html'>Added these lines to my /etc/grub.conf and now its booting Windows too!&lt;br /&gt;&lt;br /&gt;&lt;i&gt;title Windows XP&lt;br /&gt;   map (hd0) (hd1)&lt;br /&gt;   map (hd1) (hd0)&lt;br /&gt;   rootnoverify (hd1,0)&lt;br /&gt;   makeactive&lt;br /&gt;   chainloader +1&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Also copied &lt;a href="http://www.linuxquestions.org/questions/showthread.php?threadid=368226" title="pppoe-start as user"&gt;scripts&lt;/a&gt; to let everyone connect to the net. &lt;br /&gt;With it, I've gotten mom up to speed as well..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-112966618152921310?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/112966618152921310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=112966618152921310' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/112966618152921310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/112966618152921310'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/10/perfect-boot.html' title='Perfect boot'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-112950352115273862</id><published>2005-10-16T15:15:00.000-07:00</published><updated>2005-10-16T16:06:20.256-07:00</updated><title type='text'>Fedora Core 4</title><content type='html'>&lt;div align="justify"&gt;When I got FC3, I configured it to multi-boot, which caused a terrible &lt;a href="http://sanlinux.blogspot.com/2005_01_01_sanlinux_archive.html" title="grub: WinXP/FC3 combo problems"&gt;problem&lt;/a&gt; to crop up later. I didn't want to risk it happening again, so I decided I'd explore the possibilities of installing FC4 without letting it affect my Windows &lt;a href="http://www.wdc.com/" title="Western Digital Hard Drives"&gt;hard drive&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;There was only way I could leave the boot sector unchanged; Change the boot-up sequence in the BIOS and install GRUB and FC4 on my secondary hard drive. However, the kernel panicked while booting from the CD, saying "RAMDISK: Couldn't find valid ramdisk image starting at 0." It took me a while to find the &lt;a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159026" title="machine oopses on booting from CD"&gt;fix&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;I came across the usual network configuration issue next. I'm using a BSNL DataOne ADSL Internet connection now, with a Huawei SmartAX MT880. I had no idea how to configure it, until I stumbled upon this &lt;b&gt;amazing&lt;/b&gt; &lt;a href="http://www.roaringpenguin.com/penguin/open_source_rp-pppoe.php" title="Roaring Penguin - PPPoE for Linux"&gt;client&lt;/a&gt;!&lt;br /&gt;&lt;br /&gt;The next problem was accessing my Windows volumes; NTFS is not supported, as usual. I got that &lt;a href="http://linux-ntfs.sourceforge.net/rpm/instructions.html" title="NTFS RPMs for Fedora &amp; RedHat"&gt;resolved&lt;/a&gt; in a jiffy, after which I started on MP3 support and XMMS download. The XMMS site didn't give me any leads for FC4 though.&lt;br /&gt;&lt;br /&gt;Thats when I came across &lt;a href="http://linux.duke.edu/projects/yum/" title="Yellow dog Updater, Modified"&gt;YUM&lt;/a&gt;, which I'll rate the best thing ever made to help Fedora users! This behaves like a charm unlike up2date, probably thanks to the BSNL PPPoE connection. All thats left now is to save my WinAMP EQF settings and import them, and I'll be up n' running on all cylinders..!&lt;br /&gt;&lt;br /&gt;[Listening to Eric Clapton - Bell Bottom Blues]&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-112950352115273862?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/112950352115273862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=112950352115273862' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/112950352115273862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/112950352115273862'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/10/fedora-core-4.html' title='Fedora Core 4'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-112117295012485911</id><published>2005-07-12T05:55:00.000-07:00</published><updated>2005-07-12T05:56:56.176-07:00</updated><title type='text'>Controller</title><content type='html'>I found &lt;a href="http://www.acnc.com/04_01_00.html" title="Advanced Computer &amp; Networking Corporation"&gt;the best RAID page&lt;/a&gt; yet. I'm back to RAID for my new project which involves automating tests somehow, for Controller Firmware. I also have to study &lt;a href="http://www.telelogic.com/products/synergy/cmsynergy/index.cfm" title="Telelogic"&gt;CM Synergy&lt;/a&gt;, a Config Mgmt tool.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-112117295012485911?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/112117295012485911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=112117295012485911' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/112117295012485911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/112117295012485911'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/07/somehow.html' title='Controller'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-112064316636253547</id><published>2005-07-06T02:46:00.000-07:00</published><updated>2005-07-06T02:51:49.720-07:00</updated><title type='text'>ssh -n</title><content type='html'>After y'day's &lt;a href="http://snkutty.blogspot.com/2005/07/promotion.html" title="Insult wrapped as a hIKE"&gt;fiasco&lt;/a&gt;, today was a rewarding day. I made a &lt;a href="http://sanlinux.blogspot.com/2005/04/fast.html" title="Framework to Automate SNKutty's Tests"&gt;test framework&lt;/a&gt; in April (just a month :-), tho' testing n' debugging took another month, 'cuz there were 100+ bugs. Its been two months since then.. n' y'day I was called to deploy it in the biggest project ($1m) in the RnD services part of my company. Its working perfectly, i.e. ZERO bugs! &lt;br /&gt;&lt;br /&gt;I encountered a major problem tho', 'cuz &lt;a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?ssh+1" title="UNIX man pages : ssh (1)"&gt;SSH commands&lt;/a&gt; were causing the shellscript (thats what the framework is, a 700-line one at that!!) to exit! I broke my head for 24 hours since then till now, to discover the &lt;b&gt;'-n'&lt;/b&gt; switch! Only the &lt;a href="http://bama.ua.edu/cgi-bin/man-cgi?rsh+1" title="UNIX man pages : rsh (1)"&gt;Solaris rsh page&lt;/a&gt; told me what &lt;i&gt;"avoids unfortunate interactions between rsh and the shell which invokes it"&lt;/i&gt;. I tried it for ssh and thankfully, it worked!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-112064316636253547?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/112064316636253547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=112064316636253547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/112064316636253547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/112064316636253547'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/07/ssh-n.html' title='ssh -n'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-112010598371725457</id><published>2005-06-29T21:33:00.000-07:00</published><updated>2005-06-29T21:34:58.706-07:00</updated><title type='text'>Python</title><content type='html'>I've started learning &lt;a href="http://python.org/" title="Python Programming Language"&gt;Python&lt;/a&gt;.. looks good. There's a nice guide &lt;a href="http://wiki.python.org/moin/BeginnersGuide/Programmers" title="Python Tutorial"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-112010598371725457?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/112010598371725457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=112010598371725457' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/112010598371725457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/112010598371725457'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/06/python.html' title='Python'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-111391549177380116</id><published>2005-04-19T05:58:00.000-07:00</published><updated>2005-04-28T00:12:36.416-07:00</updated><title type='text'>FAST</title><content type='html'>That stands for &lt;b&gt;Framework to Automate SNKutty's Tests&lt;/b&gt;. I just finished its BASH shell script implementation and will soon be putting up the code. I found a &lt;a href="http://www.csua.berkeley.edu/~ranga/notes/ssh_nopass.html" title="SSH Without a Password"&gt;good page&lt;/a&gt; here on how to configure SSH.. which I needed to do to capture server log files. I'll be posting links to more resources soon..&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;Update:&lt;/u&gt;&lt;/b&gt; &lt;br /&gt;&lt;a href="http://geocities.com/snkutty/fast/design.doc" title="Word document"&gt;FAST documentation&lt;/a&gt;&lt;br /&gt;&lt;a href="http://geocities.com/snkutty/fast/fast.doc" title="TAR file"&gt;FAST code&lt;/a&gt; (tar xvf fast.doc)&lt;br /&gt;&lt;br /&gt;To convert Excel-copy-textfile-pasted stuff to configuration file format, run this script on it:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;#!/bin/bash&lt;br /&gt;while read line&lt;br /&gt;do&lt;br /&gt; if [[ $line == TC_UC* ]]&lt;br /&gt; then&lt;br /&gt;  num=1&lt;br /&gt;  ucid=$line&lt;br /&gt;  ufil="${ucid}_Test.cfg"&lt;br /&gt; elif [[ x$line != x ]]&lt;br /&gt; then&lt;br /&gt;  if [ ! -e $ufil ]&lt;br /&gt;  then&lt;br /&gt;   echo "Default_Verify_String=" &gt;&gt; $ufil&lt;br /&gt;   echo "[Default_Cleanup]" &gt;&gt; $ufil&lt;br /&gt;   echo "[@Default_Cleanup]" &gt;&gt; $ufil&lt;br /&gt;  fi # End of if file doesn't exist&lt;br /&gt;  echo "TCID@${ucid}_${num}" &gt;&gt; $ufil&lt;br /&gt;  echo "[Test_Body]" &gt;&gt; $ufil&lt;br /&gt;  echo "$line" &gt;&gt; $ufil&lt;br /&gt;  echo "VERIFY@" &gt;&gt; $ufil&lt;br /&gt;  echo "[@Test_Body]" &gt;&gt; $ufil&lt;br /&gt;  echo " " &gt;&gt; $ufil&lt;br /&gt;  let "num+=1"&lt;br /&gt; fi # End of line identify process&lt;br /&gt;done&lt;$1&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-111391549177380116?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/111391549177380116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=111391549177380116' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/111391549177380116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/111391549177380116'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/04/fast.html' title='FAST'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-111148058978733363</id><published>2005-03-22T00:36:00.000-08:00</published><updated>2005-03-22T00:36:29.786-08:00</updated><title type='text'>BASH</title><content type='html'>After Expect, its now time for me to learn &lt;a href="http://www.gnu.org/software/bash/bash.html" title="BASH"&gt;Bash&lt;/a&gt; [Bourne-Again Shell] n' shellscripting.. I found this excellent &lt;a href="http://www.tldp.org/LDP/abs/html/part1.html" title="Advanced Bash-Scripting Guide"&gt;guide&lt;/a&gt; which I'm looking through. As I'm sure you all know, bash is the command prompt or shell that is mainly used by Linux, so its really the most essential thing for someone who's going to work on such UNIX-like OSes..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-111148058978733363?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/111148058978733363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=111148058978733363' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/111148058978733363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/111148058978733363'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/03/bash.html' title='BASH'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-111113464823496844</id><published>2005-03-18T00:30:00.000-08:00</published><updated>2005-03-18T00:30:48.233-08:00</updated><title type='text'>Expect</title><content type='html'>Its been a long time. I'm in a new project again, where I've to automate interactive applications as part of testing. I'm consulting my ex-PM (an outside resource) to work and he suggested &lt;a href="http://expect.nist.gov/" title="The Expect Home Page"&gt;Expect&lt;/a&gt; as a solution. Its done for the US Govt., viz. &lt;a href="http://www.nist.gov/" title="National Institute of Standards and Technology"&gt;NIST&lt;/a&gt; by this &lt;a href="http://www.mel.nist.gov/msidstaff/libes/" title="Don Libes"&gt;dude&lt;/a&gt;. To start off, I found this really helpful &lt;a href="http://www.csc.calpoly.edu/~dbutler/tutorials/winter96/expect/" title="Expect Tutorial"&gt;tutorial&lt;/a&gt;, with which I wrote my first Expect script. Besides, I found a good &lt;a href="http://www.cotse.com/dlf/man/expect/index.html" title="Index of Expect commands"&gt;index&lt;/a&gt; at another &lt;a href="http://www.cotse.com/dlf/man/expect/bulletproof1.htm" title="Expect Reference"&gt;resource&lt;/a&gt; on the &lt;a href="http://www.cotse.net/" title="Church Of The Swimming Elephant"&gt;Cotse site&lt;/a&gt;.. I'll keep this updated.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-111113464823496844?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/111113464823496844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=111113464823496844' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/111113464823496844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/111113464823496844'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/03/expect.html' title='Expect'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-110733332280919756</id><published>2005-02-02T00:35:00.000-08:00</published><updated>2005-02-02T00:36:13.286-08:00</updated><title type='text'>Makefile</title><content type='html'>Here's what your makefile (&lt;i&gt;with dmalloc support&lt;/i&gt;) should look like..&lt;br /&gt;&lt;i&gt;DMALLOC = ../dmalloc-5.4.2&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;CC      = gcc&lt;br /&gt;INCLUDE = ./include&lt;br /&gt;SOURCE  = ./src&lt;br /&gt;BIN     = ./bin&lt;br /&gt;OBJ     = ./object&lt;br /&gt;CFLAGS  = -g -Wall -Werror -I$(INCLUDE) &lt;i&gt;-I$(DMALLOC) -DDMALLOC&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;OBJECTS = file1.o file2.o ... &lt;br /&gt;&lt;br /&gt;vpath %.h $(INCLUDE)&lt;br /&gt;vpath %.c $(SOURCE)&lt;br /&gt;&lt;br /&gt;binary:    $(OBJECTS)&lt;br /&gt;                $(CC) -o $(BIN)/binary $(OBJECTS) &lt;i&gt;${DMALLOC}/libdmalloc.a&lt;/i&gt;&lt;br /&gt;                mv *.o $(OBJ)&lt;br /&gt;&lt;br /&gt;$(OBJECTS): common.h&lt;br /&gt;&lt;br /&gt;file1.o: file1.h&lt;br /&gt;file2.o : file2.h&lt;br /&gt;main.o : main.h&lt;br /&gt;&lt;br /&gt;clean :&lt;br /&gt;        rm -f $(BIN)/binary&lt;br /&gt;        rm -f $(OBJ)/*.o&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-110733332280919756?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/110733332280919756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=110733332280919756' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110733332280919756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110733332280919756'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/02/makefile.html' title='Makefile'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-110732031765911404</id><published>2005-02-01T20:58:00.000-08:00</published><updated>2005-02-01T20:58:37.660-08:00</updated><title type='text'>Scripting and dmalloc</title><content type='html'>You've to save it and make it executable: &lt;i&gt;chmod 775 modreg.tcl&lt;/i&gt;&lt;br /&gt;I wrote an ordinary shellscript too.. start off with &lt;i&gt;#!/bin/sh&lt;/i&gt; or wherever sh exists. Running it with sh filename also works, just like tcl filename will..&lt;br /&gt;&lt;br /&gt;I also learnt how to test for memory leaks with &lt;b&gt;dmalloc&lt;/b&gt;. All you need is a folder dmalloc containing the program. Then..&lt;br /&gt;&lt;br /&gt;dmalloc-5.4.2]$ sh ./configure&lt;br /&gt;dmalloc-5.4.2]$ make (make threadssl and make shlib)&lt;br /&gt;dmalloc-5.4.2]$ cd ../Feb1/&lt;br /&gt;Feb 1]$ alias dmalloc=../dmalloc-5.4.2/dmalloc&lt;br /&gt;Feb 1]$ export DMALLOC_OPTIONS=log-stats,log-non-free,log-trans,log=logfile,inter=1 &lt;br /&gt;Feb 1]$ dmalloc&lt;br /&gt;&lt;br /&gt;The output should contain the line: &lt;br /&gt;Logpath      'logfile'&lt;br /&gt;&lt;br /&gt;Feb 1]$ make -f Makefile.dmalloc&lt;br /&gt;Feb 1]$ ./bin/binary&lt;br /&gt;&lt;br /&gt;I'll supply details of the dmalloc Makefile shortly..&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-110732031765911404?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/110732031765911404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=110732031765911404' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110732031765911404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110732031765911404'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/02/scripting-and-dmalloc.html' title='Scripting and dmalloc'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-110731977926332812</id><published>2005-02-01T20:49:00.000-08:00</published><updated>2005-02-01T20:49:39.263-08:00</updated><title type='text'>TCL</title><content type='html'>I've been looking up a lot of TCL lately. Wrote my first script. Its for &lt;b&gt;modreg.tcl&lt;/b&gt;, which modifies a field within a register without disturbing surrounding bits. Assume commands &lt;b&gt;readreg&lt;/b&gt; (which reads the contents of a register, specified by its hexadecimal address in memory) and &lt;b&gt;writereg&lt;/b&gt; (which writes a value to a register).&lt;br /&gt;&lt;br /&gt;#!/usr/bin/tclsh&lt;br /&gt;#&lt;br /&gt;# Usage : modreg.tcl reg value low high&lt;br /&gt;#&lt;br /&gt;# Example : modreg.tcl 0x340 0x11 3 7&lt;br /&gt;#&lt;br /&gt;# Now, this would read register 0x340, write the value 0x11 into&lt;br /&gt;# bits 3 through 7 and write this back into register 0x340.&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# Power procedure&lt;br /&gt;proc power {base p} {&lt;br /&gt;   set res 1&lt;br /&gt;   while {$p&gt;0} {&lt;br /&gt;      set res [expr $res*$base]&lt;br /&gt;      set p [expr $p-1]&lt;br /&gt;   }&lt;br /&gt;   return $res&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# Check arguments&lt;br /&gt;if {$argc != 4} {&lt;br /&gt;   puts "Invalid arguments!"&lt;br /&gt;   return 0&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# Read arguments into variables&lt;br /&gt;set reg  [lindex $argv 0]&lt;br /&gt;set new  [lindex $argv 1]&lt;br /&gt;set low  [lindex $argv 2]&lt;br /&gt;set high [lindex $argv 3]&lt;br /&gt;&lt;br /&gt;# Swap low and high if user entered them backwards&lt;br /&gt;if {$low &gt; $high} {&lt;br /&gt;   set temp $low&lt;br /&gt;   set low  $high&lt;br /&gt;   set high $temp&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# Process high&lt;br /&gt;set high [expr $high+1]&lt;br /&gt;&lt;br /&gt;# Read register value into 'val' with the 'readreg' command&lt;br /&gt;set val [exec readreg $reg]&lt;br /&gt;&lt;br /&gt;# Process variables 'highp' and 'lowp' from low bits and high bits&lt;br /&gt;set highp [expr {[power 2 $high]-1}]&lt;br /&gt;&lt;br /&gt;if {$low == 0} {&lt;br /&gt;   set lowp 0&lt;br /&gt;} else {&lt;br /&gt;   set lowp [expr {[power 2 $low]-1}]&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# Find number to AND with 'val' to clear the appropriate bits&lt;br /&gt;set and [expr {0xffffffff - $highp + $lowp}]&lt;br /&gt;&lt;br /&gt;# Clear the appropriate bits&lt;br /&gt;set clear [expr {$val &amp; $and}]&lt;br /&gt;&lt;br /&gt;# Left-shift the value to be written to the field by appropriate amount&lt;br /&gt;set or [expr {$new &lt;&lt; $low}]&lt;br /&gt;&lt;br /&gt;# Find result by ORing this with 'clear'&lt;br /&gt;set result [expr {$clear | $or}]&lt;br /&gt;&lt;br /&gt;# Write this result into the register with the 'writereg' command&lt;br /&gt;set ret [exec writereg $reg $result]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-110731977926332812?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/110731977926332812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=110731977926332812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110731977926332812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110731977926332812'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/02/tcl.html' title='TCL'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-110594483854437744</id><published>2005-01-16T22:53:00.000-08:00</published><updated>2005-01-16T22:55:24.520-08:00</updated><title type='text'>grub: update</title><content type='html'>Darn, I just found &lt;a href="http://forums.techguy.org/archive/index.php/t-259611.html" target="_blank"&gt;this page&lt;/a&gt; which possibly has a fix to the problem mentioned below! Omigosh, what would people do without the Internet?! Format the C drive and re-install Windows probably!! Just like the dunce did on my home PC :`-(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-110594483854437744?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/110594483854437744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=110594483854437744' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110594483854437744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110594483854437744'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/01/grub-update.html' title='grub: update'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-110594457102931214</id><published>2005-01-16T22:49:00.000-08:00</published><updated>2005-01-16T22:53:04.240-08:00</updated><title type='text'>grub: WinXP/FC3 combo problems</title><content type='html'>A major &lt;a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=115980" target="_blank"&gt;problem&lt;/a&gt; cropped up on the PC at home. &lt;br /&gt;Grub stopped booting WinXP, saying:&lt;br /&gt;&lt;br /&gt;rootnoverify (hd0,0)&lt;br /&gt;chainloader +1&lt;br /&gt;Error 13: Invalid or unsupported executable format&lt;br /&gt;&lt;br /&gt;They got a technician, who knew zilch about Linux. He tried repairing WinXP, which I knew wouldn't work. Finally, he had to format C drive and re-install Windows, overwriting the MBR n' removing access to FC3.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;My advice:&lt;/u&gt; If you're installing Fedora on a system which already has Redhat, do NOT upgrade grub- leave it as it is..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-110594457102931214?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/110594457102931214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=110594457102931214' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110594457102931214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110594457102931214'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/01/grub-winxpfc3-combo-problems.html' title='grub: WinXP/FC3 combo problems'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-110544150135439844</id><published>2005-01-11T03:05:00.000-08:00</published><updated>2005-01-11T03:09:10.586-08:00</updated><title type='text'>strtod</title><content type='html'>Funny.. &lt;i&gt;&lt;b&gt;strtod&lt;/b&gt;&lt;/i&gt; doesn't support hexadecimal in &lt;i&gt;FreeBSD&lt;/i&gt;. Use this instead:&lt;br /&gt;&lt;br /&gt;/*************************************************************************&lt;br /&gt; * NAME:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strtodec &lt;br /&gt; * SUMMARY:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Converts string to decimal number&lt;br /&gt; * RETURNS:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Returns the decimal number.&lt;br /&gt; * AUTHOR:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Sankar N.&lt;br /&gt; ************************************************************************/&lt;br /&gt;int strtodec (const CHAR8 *src) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Integer to hold resulting value */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;int dec;&lt;br /&gt;    &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Check if the string contains a hexadecimal number */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if ( ('0' == *(src)) &amp;&amp; ( ('x' == *(src+1)) || ('X' == *(src+1)) ) ) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sscanf (src, "%x", &amp;dec);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* String contains decimal number */&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sscanf (src, "%d", &amp;dec);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return (dec);&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-110544150135439844?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/110544150135439844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=110544150135439844' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110544150135439844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110544150135439844'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/01/strtod.html' title='strtod'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-110544112024480058</id><published>2005-01-11T02:58:00.000-08:00</published><updated>2005-01-11T03:00:13.586-08:00</updated><title type='text'>smp</title><content type='html'>I read that a Linux kernel suffix of &lt;i&gt;smp&lt;/i&gt; implies a multi-processor system. Funny.. FC3 installed 2.6.9-1.667smp on my Intel P4 @ 2.8GHz (with HT)..&lt;br /&gt;&lt;br /&gt;&lt;i&gt;(Listening to Temple of the dog - Say hello to heaven...)&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-110544112024480058?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/110544112024480058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=110544112024480058' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110544112024480058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110544112024480058'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/01/smp.html' title='smp'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-110535681201768625</id><published>2005-01-10T03:26:00.000-08:00</published><updated>2005-01-10T03:33:32.016-08:00</updated><title type='text'>automount</title><content type='html'>Have been battling with /etc/fstab to automount the ntfs partitions at startup and make them accessible to ordinary users. Almost had to admit defeat, when I came across &lt;a href="http://www.mjmwired.net/resources/mjm-fedora-fc3.shtml#ntfs"&gt;the key&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;/dev/hda1     /mnt/C     ntfs     ro,user,umask=0222 0 0&lt;br /&gt;/dev/hda5     /mnt/F     ntfs     ro,user,umask=0222 0 0&lt;br /&gt;&lt;br /&gt;&lt;i&gt;(Listening to Collective Soul - The world I know...)&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-110535681201768625?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/110535681201768625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=110535681201768625' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110535681201768625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110535681201768625'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/01/automount.html' title='automount'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-110508903809177615</id><published>2005-01-07T01:02:00.000-08:00</published><updated>2005-01-07T01:10:38.090-08:00</updated><title type='text'>Music</title><content type='html'>I was stunned when XMMS didn't play MP3, popping up some message about copyright/patent issues. Well, I found the solution by doing an &lt;a href="http://rpm.pbone.net/"&gt;rpm search&lt;/a&gt; for xmms-mpg123. The XMMS site showed me &lt;a href="http://www.xmms.org/faq.php#General3"&gt;where to get winamp equalizer presets&lt;/a&gt;. Useful!&lt;br /&gt;&lt;br /&gt;&lt;i&gt;(Listening to Eric Clapton - My Father's Eyes...)&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-110508903809177615?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/110508903809177615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=110508903809177615' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110508903809177615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110508903809177615'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/01/music.html' title='Music'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-110508379580067178</id><published>2005-01-06T23:30:00.000-08:00</published><updated>2005-01-07T00:35:37.006-08:00</updated><title type='text'>FC3</title><content type='html'>I was home last week. I didn't have Linux, so I thought I'd install it. The ISO images were there at the &lt;a href="http://www.redhat.com/fedora/"&gt;Fedora site&lt;/a&gt;.. for 3 CD's! My connection doesn't let me download that much, so I went to a shop and found just what I wanted! &lt;a href="http://www.linuxforu.com/"&gt;LFY&lt;/a&gt; were giving a &lt;b&gt;&lt;i&gt;Fedora Core 3 DVD&lt;/i&gt;&lt;/b&gt; with their mag! Everything worked fine- sound, cable modem, etc. all detected.. &lt;br /&gt;&lt;br /&gt;What's more, my dream came true.. It packaged Ximian Connector (MS Exchange support) with &lt;a href="http://www.novell.com/products/desktop/features/evolution.html"&gt;Evolution&lt;/a&gt;. Back at work, I had to check it out pronto, so with the CDs, I installed it over Redhat and got the usual problem with the sound card, resolved from the &lt;a href="http://www.alsa-project.org/"&gt;ALSA site&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;Next, the &lt;i&gt;mount: ntfs not supported by kernel&lt;/i&gt;. I followed instructions and downloaded the rpm from the &lt;a href="http://linux-ntfs.sf.net/"&gt;Linux-NTFS site&lt;/a&gt;. Now thats working too! :)&lt;br /&gt;Put the icing on the cake by configuring the drives to automount by editing the &lt;a href="http://www.humbug.org.au/talks/fstab/fstab.html"&gt;/etc/fstab&lt;/a&gt; file. Ready to rock n' roll!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-110508379580067178?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/110508379580067178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=110508379580067178' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110508379580067178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110508379580067178'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2005/01/fc3.html' title='FC3'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-110422055799243763</id><published>2004-12-27T23:55:00.000-08:00</published><updated>2005-01-06T23:28:52.326-08:00</updated><title type='text'>Man Page</title><content type='html'>I'm back after a long hiatus.. have been very busy with the new project. A tool has been developed by Santosh, the guy who's mantle I've donned in this project, called Randomizer. Additional requirements keep coming from the client, so my role is to change/add to the tool to support these. One of them was a man page, which I made today. I'd like to show you how you to do it and killing two birds with one stone too, 'cuz it explains what the tool does! :)&lt;br /&gt;&lt;br /&gt;\" Process this file with groff -man -Tascii rand.txt&lt;br /&gt;\" Thank goodness for the Linux Man-Page Mini-HOWTO.&lt;br /&gt;\" And for man 7 man.&lt;br /&gt;\" This is my first attempt at writing a man page. Bear with me.&lt;br /&gt;\"&lt;br /&gt;\" Note: This is for version 1 of the randomizer.&lt;br /&gt;.TH RANDOMIZER l 2004-12-28 Linux "User Manuals"&lt;br /&gt;.SH NAME&lt;br /&gt;randomizer \- A tool to produce random values for variables supplied.&lt;br /&gt;.SH SYNOPSIS&lt;br /&gt;.B randomizer -file&lt;br /&gt;.I FILENAME&lt;br /&gt;.B [-prefix string] [-ignore varlist] [-change] [-verbose] [-strict]&lt;br /&gt;.B [-scriptfile&lt;br /&gt;.I FILENAME&lt;br /&gt;.B ] [-assertmode]&lt;br /&gt;.SH DESCRIPTION&lt;br /&gt;.B Randomizer&lt;br /&gt;takes in a rules file and optional switches to control output. The rules file&lt;br /&gt;has variables and rules describing the relationships between them.&lt;br /&gt;&lt;br /&gt;.B Randomizer&lt;br /&gt;produces random values for these variables as output, such that the rules&lt;br /&gt;governing the relationships between those variables are not, any of them,&lt;br /&gt;violated. If run for long enough, Randomizer would eventually produce all&lt;br /&gt;possible legal combinations for the given input variable sets.&lt;br /&gt;&lt;br /&gt;.B Randomizer&lt;br /&gt;assigns a value of -1 to the concerned variable on encountering invalid &lt;br /&gt;rules. Errors are printed to stderr and other output to stdout.&lt;br /&gt;.SH RETURN VALUE&lt;br /&gt;.nf&lt;br /&gt;0 - on successful completion&lt;br /&gt;1 - on encountering error(s)&lt;br /&gt;.fi&lt;br /&gt;.SH OPTIONS&lt;br /&gt;.IP "-file FILENAME"&lt;br /&gt;Specify the rules file for randomizer&lt;br /&gt;.IP "-prefix string"&lt;br /&gt;Specify string to be prefixed for each o/p&lt;br /&gt;.IP "-ignore var1, var,..."&lt;br /&gt;Ignore variables var1, var2,... during o/p&lt;br /&gt;.IP -change&lt;br /&gt;Print only variables that undergo a change&lt;br /&gt;.IP -verbose&lt;br /&gt;Enable debug level messages at runtime&lt;br /&gt;.IP -strict&lt;br /&gt;Compel all variables to be declared with initialisations&lt;br /&gt;.IP "-scriptfile FILENAME"&lt;br /&gt;Specify the scriptfile for variable replacement&lt;br /&gt;.IP -assertmode&lt;br /&gt;Treat randomization rules as assertions&lt;br /&gt;.SH USAGE&lt;br /&gt;A variable must lie in the range (0, 2147483647) to be valid.&lt;br /&gt;&lt;br /&gt;The inits file must contain variable initialisations, in the format:&lt;br /&gt;.B variable = value&lt;br /&gt;where the variable name must start with an alphabet or underscore.&lt;br /&gt;&lt;br /&gt;The rules file must contain relationships between operands. Operands are&lt;br /&gt;either variables or constants. Rules must adhere to the format:&lt;br /&gt;.B variable ; expression (&amp;&amp;/||) expression (&amp;&amp;/||) expression...&lt;br /&gt;&lt;br /&gt;Expressions are to be defined in the format:&lt;br /&gt;.B operand operator operand&lt;br /&gt;, using the operators&lt;br /&gt;.B &lt;=, &lt;, &gt;=, &gt;, !=, ==&lt;br /&gt;and their combination with the ternary operator ?:, which is used as&lt;br /&gt;.B a ? b : c&lt;br /&gt;(if a, then b, else c)&lt;br /&gt;&lt;br /&gt;.P Multi-line rules should be enclosed in curly braces.&lt;br /&gt;The rules file may contain comments, beginning with a hash (#) symbol.&lt;br /&gt;.SH AUTHORS&lt;br /&gt;.nf&lt;br /&gt;Santosh B. Kulkarni&lt;br /&gt;Sankar Narayanankutty&lt;br /&gt;.fi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-110422055799243763?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/110422055799243763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=110422055799243763' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110422055799243763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/110422055799243763'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/12/man-page.html' title='Man Page'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109818688328627382</id><published>2004-10-19T04:54:00.000-07:00</published><updated>2004-10-19T04:55:51.056-07:00</updated><title type='text'>Found direction</title><content type='html'>Now I know how crucial it is, not to lose sight of the goal.. I forgot the whole reason why we're trying to get &lt;b&gt;dm&lt;/b&gt; to work with RAID devices .. 'cuz with &lt;b&gt;md&lt;/b&gt;, you can't take a snapshot!!! I I just went to talk to Manu, to tell him I wuz stuck.. n' was reminded of this!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109818688328627382?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109818688328627382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109818688328627382' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109818688328627382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109818688328627382'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/10/found-direction.html' title='Found direction'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109748039367061999</id><published>2004-10-11T00:39:00.003-07:00</published><updated>2004-10-15T03:36:47.220-07:00</updated><title type='text'>MD</title><content type='html'>I've been reading through some storage-related websites. At my interview, I remember claiming to know a bit about computer hardware. The interviewer proceeded to ask me what I knew about ways of connecting a hard drive and I talked about IDE and SCSI, and tho' I didn't even know what they stood for, I remarked that the latter was better. I shot in the dark with an insane mumbling of 'Integrated Development Environment', but immediately realised my mistake and admitted it. Today, I came across a couple of good pages on &lt;a href="http://www.acc.umu.se/~sagge/scsi_ide/" target="_blank"&gt;SCSI&lt;/a&gt; vs. &lt;a href="http://www.pcmech.com/show/harddrive/79/" target="_blank"&gt;IDE&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;I've also been browsing through a lot of MD code (MD is an EVMS plugin) lately. Manu came over today n' we cracked our heads trying to find out the flow from the Engine, through the InternalAPI, to the setting up of the plugins by loading them as modules. My current task is to understand how the &lt;a href="http://www.tldp.org/LDP/EVMSUG/html/appxmdreg.html" target="_blank"&gt;MDRegMgr&lt;/a&gt; decides what to call.. linear, raid0, raid1, raid5 or multipath... &lt;i&gt;Update: It doesn't. You have to call &lt;a href="http://www.tldp.org/LDP/EVMSUG/html/createmdreg.html" target="_blank"&gt;MDRaid1RegMgr&lt;/a&gt; for eg.&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109748039367061999?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109748039367061999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109748039367061999' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109748039367061999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109748039367061999'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/10/md_109748039367061999.html' title='MD'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109697372862055712</id><published>2004-10-05T03:55:00.000-07:00</published><updated>2004-10-05T03:56:47.223-07:00</updated><title type='text'>I'm back !!</title><content type='html'>The top-secret thingy is almost scrapped. So' I'm back to the &lt;i&gt;Linux&lt;/i&gt; &lt;b&gt;Snapshot Driver&lt;/b&gt; project! Yippee!! :D&lt;br /&gt;&lt;br /&gt;Reading code again to try n' find out where EVMS uses MD for RAID1. My task is to get DM to do this instead.. My "walking through the code" has taken me a few steps ahead. Discovered &lt;i&gt;Dm.c&lt;/i&gt; n' &lt;i&gt;Devmapper.h&lt;/i&gt; which talk about stuff I need to know. On an impulse, I searched for Md n' Voila! Hit upon &lt;i&gt;Md.h&lt;/i&gt;.. I coulda kicked myself for not finding this stuff earlier!&lt;br /&gt;&lt;br /&gt;Also found a perl module &lt;i&gt;MD.pm&lt;/i&gt;, which I'm trying to decipher..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109697372862055712?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109697372862055712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109697372862055712' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109697372862055712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109697372862055712'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/10/im-back.html' title='I&apos;m back !!'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109630057898164569</id><published>2004-09-27T08:43:00.000-07:00</published><updated>2004-09-29T03:12:49.373-07:00</updated><title type='text'>Boohoo!</title><content type='html'>Today, I thought, "Why do I use Windows?" n' pat came the answer, "Outlook!". Yes, the only real reason I select DOS in GRUB each time is 'cuz checking mail n' the calendar wuz never easier than with Outlook. OK, I did get Evolution to behave really well, but what if IS (Information Systems) decide one day, to take away the exclusive SMTP/POP access that I enjoy here? How did this happen? &lt;br /&gt;&lt;br /&gt;Well.. I went home once last year n' tried to configure Outlook Express to work. It didn't. I got back n' raised a complaint that my SMTP/POP didn't work. I think someone enabled just my username! That wuz that n' it even helped me in my previous project where I had to configure Winfax' internal mail client to work. Predictably, it worked only with my login, n' not even with my PM's! :p&lt;br /&gt;&lt;br /&gt;OK, so if IS suddenly discover the undeserved privilege that I've been accorded, they might just strip me of access. I will then have to fall back on the MS Exchange 2000 access that everyone else has. Why not get it to work in Linux? 'cuz therez only Ximian Connector that will support it.&lt;br /&gt;&lt;br /&gt;I fought with obstinate &lt;b&gt;wget&lt;/b&gt; to get Red Carpet installed, to no avail. But perseverance paid off today, when I found the&lt;a href="http://gnome.org/projects/evolution/stable.shtml"&gt; Novell location&lt;/a&gt; where I could download Connector without red-carpet! I did it n' discovered that it required a newer version of Evolution. Well, I found that there too..!!&lt;br /&gt;&lt;br /&gt;But it asked for this package and that.. n' I gave up trying to download dependencies. I then hit upon &lt;a href="http://cipherfunk.org/garnome/"&gt;GARNOME&lt;/a&gt; which is currently taking care of all my troubles. I hope everything's OK when I get back tomorrow..&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Update: It wasn't. GARNOME also did its part of the asking- it wanted libbz2..&lt;/i&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109630057898164569?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109630057898164569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109630057898164569' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109630057898164569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109630057898164569'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/boohoo.html' title='Boohoo!'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109593057558203936</id><published>2004-09-23T02:09:00.000-07:00</published><updated>2004-09-23T02:13:02.333-07:00</updated><title type='text'>ProjDemise</title><content type='html'>Tho' I shall try to the utmost to keep it alive, Linux stuff will henceforth cease.. 'cuz I got assigned a new testing project, where we have to try n' automate testing. For this, we looked at &lt;a href="http://staf.sourceforge.net/index.php" title="Software Testing Automation Framework" target="_blank"&gt;STAF&lt;/a&gt;, which is available for Windows too. STAF works with Perl. So I'm trying to learn some Perl. I came across this excellent &lt;a href="http://archive.ncsa.uiuc.edu/General/Training/PerlIntro/" title="Practical Extraction and Report Language" target="_blank"&gt;tutorial&lt;/a&gt;, which I'm going through now..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109593057558203936?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109593057558203936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109593057558203936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109593057558203936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109593057558203936'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/projdemise.html' title='ProjDemise'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109577696341571853</id><published>2004-09-21T07:29:00.000-07:00</published><updated>2004-09-21T08:03:11.123-07:00</updated><title type='text'>Hard drive</title><content type='html'>With that BAD fs [filesystem] report, I wonder if my hard drive will conk off?! I guess I should take an image of C: sometime. Cool.. if what I'm working on is developed, one would be able to take a snapshot of Linux as well! Herez some interesting stuff Manu told me, which I didn't know earlier.&lt;br /&gt;&lt;br /&gt;The hard drive has an &lt;a href="http://www.pcguide.com/ref/hdd/file/structMBR-c.html" target="_blank"&gt;MBR&lt;/a&gt;, which has the location of the OS on the Primary Partition. From what I understood, when you install Linux on a computer running Windows, this location is overwritten with that of &lt;a href="http://www.gnu.org/software/grub/" target="_blank"&gt;GRUB&lt;/a&gt; (the multi-boot boot loader). At the same time, GRUB records the location of the Windows OS loader. So, when you switch on the computer, the first thing that comes up is GRUB. It lets you choose between booting Linux or Windows. Neat, huh?&lt;br /&gt;&lt;br /&gt;I came across this lovely page on &lt;a href="http://www.uni-mainz.de/~neuffer/scsi/what_is_raid.html" target="_blank"&gt;RAID&lt;/a&gt;. &lt;br /&gt;EVMS interfaces to the disk through two interfaces:&lt;br /&gt;1) &lt;a href="http://sources.redhat.com/dm/" target="_blank"&gt;DM&lt;/a&gt;, i.e. Device Mapper (regular, striped n' RAID0 disks), and&lt;br /&gt;2) &lt;a href="http://www.tux.org/pub/devel/md/md-FAQ" target="_blank"&gt;MD&lt;/a&gt;, i.e. Multiple Device (used for RAID0/1/4/5 n' linear devices)&lt;br /&gt;&lt;br /&gt;I've to trace the code from &lt;b&gt;/usr/src/evms-2.3.4/ui/cli/evms.c&lt;/b&gt; (Command-Line Interface) to find out how the engine (&lt;b&gt;/usr/src/evms-2.3.4/engine/&lt;/b&gt;) uses dm and md. Great Scott!&lt;br /&gt;&lt;br /&gt;Me trying to read evms code&lt;br /&gt;On how to create an inode&lt;br /&gt;I'm browsing with Source Insight&lt;br /&gt;But C's putting up a valiant fight&lt;br /&gt;Guess I'll soon have to hit the road&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109577696341571853?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109577696341571853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109577696341571853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109577696341571853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109577696341571853'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/hard-drive.html' title='Hard drive'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109576209418450805</id><published>2004-09-21T03:21:00.000-07:00</published><updated>2004-09-21T03:24:15.740-07:00</updated><title type='text'>Its working!</title><content type='html'>Finally got EVMS working y'day. I connected a Fujitsu 4 GB hard disk to play around with. I managed to do a &lt;b&gt;%: fdisk hdb&lt;/b&gt; and get away with it :D&lt;br /&gt;&lt;br /&gt;After the '&lt;b&gt;d&lt;/b&gt;' and '&lt;b&gt;w&lt;/b&gt;' commands, it did pop up the same thing about the new partition table and kernel adopting the old table till reboot. I almost burst into tears, but decided to reboot n' check to see if it really wuz screwed. Thanked my stars when GRUB loaded and the kernel came up OK..&lt;br /&gt;&lt;br /&gt;Once in a while, the computer still craps about the filesystem when I start it, and obstinately forces a check. &lt;a href="http://www.powerquest.com/partitionmagic/" target="_blank"&gt;PartitionMagic &lt;/a&gt;still calls Disk1's partition type 'BAD' and probably wants it spanked :p&lt;br /&gt;&lt;br /&gt;Here's how to create a snapshot with EVMS. After you install it, do a &lt;br /&gt;&lt;b&gt;%: ldconfig&lt;/b&gt; or else you'll be scolded for missing a library! &lt;br /&gt;[Thank God it doesn't ask you to replace all the books :| OK sorry!]&lt;br /&gt;&lt;b&gt;&lt;br /&gt;%: evms_activate&lt;br /&gt;%: evms&lt;br /&gt;&lt;br /&gt;EVMS : create:segment,hdb_freespace1,size=100MB&lt;/b&gt;&lt;br /&gt;&lt;i&gt;(You could open %: evmsgui and click the small +'s to find out which /dev/hd has enough freespace..)&lt;/i&gt;&lt;br /&gt;This will return a handle (the hd created). Lets assume its &lt;b&gt;hdb1.&lt;br /&gt;&lt;br /&gt;EVMS : create:container,LvmRegMgr={name="container",pe_size=16MB},hdb1&lt;br /&gt;EVMS : create:region,LvmRegMgr={name="region",size=100MB},"lvm/container/Freespace"&lt;br /&gt;EVMS : create:object,Snapshot={original="/dev/evms/hda1",snapshot=snap},"lvm/container/region"&lt;br /&gt;EVMS : create:volume,snap,n="volume"&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;(Here, &lt;b&gt;/dev/evms/hda1 &lt;/b&gt;is the drive you want to take a snapshot of.)&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Tip&lt;/b&gt;: If you want your Windows partition mounted when you start Linux, herez the line you could add in your &lt;b&gt;/etc/fstab&lt;/b&gt; file.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;/dev/hda1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/mnt/C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;auto&amp;nbsp;&amp;nbsp;&amp;nbsp;auto,users,ro&amp;nbsp;&amp;nbsp;&amp;nbsp;0 0&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Replace the first parameter with your Windows drive and the second with the directory where you want it mounted. n' btw there's a &lt;a href="http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm" target="_blank"&gt;Explore2FS&lt;/a&gt; utility, which lets you view your Linux partitions in Windows :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109576209418450805?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109576209418450805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109576209418450805' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109576209418450805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109576209418450805'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/its-working.html' title='Its working!'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109543550509419229</id><published>2004-09-17T08:21:00.000-07:00</published><updated>2004-09-17T08:46:10.780-07:00</updated><title type='text'>Firefox</title><content type='html'>Hooboy! I'm finally up and running! WITH NTFS support..&lt;br /&gt;&lt;br /&gt;Here's something I wanna tell ya about. &lt;a href="http://www.mozilla.org/"&gt;Mozilla&lt;/a&gt;'s Preview Release 1.0 of &lt;a href="http://www.mozilla.org/products/firefox/"&gt;Firefox&lt;/a&gt;. If you're using Linux and was cribbing like me that you couldn't get any blog stuff to work, go and get it before you do anything else!!&lt;br /&gt;&lt;br /&gt;The blogger 'insert link' button works properly unlike in Mozilla. I heard first about Firefox from a &lt;a href="http://jacking-jill.blogspot.com/2004/09/firefox.html"&gt;post&lt;/a&gt; on nidrajiva's blog and decided to try it out after reading Ashik's comment about a blogger plugin. Well folks, it does &lt;a href="http://sage.mozdev.org/installation.html"&gt;exist&lt;/a&gt;! Neat job, complete with the all-important OPML import/export too! n' if you are an Opera fan just for mouse gestures, here's an &lt;a href="http://update.mozilla.org/extensions/moreinfo.php?id=12&amp;vid=741"&gt;extension&lt;/a&gt; for that! ;) &lt;br /&gt;&lt;br /&gt;More &lt;a href="http://update.mozilla.org/extensions/"&gt;plugins&lt;/a&gt; exist, but this thoughtful &lt;a href="http://update.mozilla.org/extensions/moreinfo.php?id=173&amp;vid=504"&gt;Gmail Notifier&lt;/a&gt; is special indeed!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109543550509419229?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109543550509419229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109543550509419229' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109543550509419229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109543550509419229'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/firefox.html' title='Firefox'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109542271865627875</id><published>2004-09-17T04:46:00.000-07:00</published><updated>2004-09-17T05:08:37.246-07:00</updated><title type='text'>Why?!</title><content type='html'>Oh Why?! Did it happen to me?! I remember selecting Keep old partitions and use free space, when I installed Redhat. Well, I checked &lt;b&gt;%: /dev&lt;/b&gt; and found a coupla extra &lt;b&gt;hdx&lt;/b&gt;s. Mounted them n' discovered that my old linux partitions were intact. Retrieved all my downloads into my current partition. n' wonder of wonders! I could also mount my NTFS partitions in 2.4.26!&lt;br /&gt;&lt;br /&gt;Well.. but I found out that the new installation had used up all the 7 GB I'd freed from my Windows partitions using &lt;b&gt;Disk Management&lt;/b&gt; (Right-click &lt;b&gt;My Computer&lt;/b&gt;, select &lt;b&gt;Manage&lt;/b&gt; and navigate in &lt;b&gt;Computer Management&lt;/b&gt;). I approached Manu n' he told me the higher numbers were the newly created partitions n' so I could delete the old linux / and swap partitions to free up space. I launched &lt;b&gt;%: fdisk&lt;/b&gt;. Note that hitting 'p' and 'd' to your heart's content doesn't affect anything permanently, until you deliver the final death-blow 'w', which writes the table to partition and exits. Well, all was well until it popped up a scary message saying the new table is unacceptable and that the kernel would use the old table till reboot.&lt;br /&gt;&lt;br /&gt;I typed in reboot n' waited. The computer presented me with.. GRUB in text! A &lt;b&gt;grub&gt;&lt;/b&gt; prompt waited for me to respond. I gazed stupidly at the screen, thoughts tumbling one over the other. The prospect of Windows being wiped out struck me full n' hard in the face. I got up groggily n' tottered over to Manu's desk. Breathlessly, I told him what happened.. He sauntered over n' casually asked me to insert the Redhat Installation CD. The bash prompt came up n' he entered that dreadful command: &lt;b&gt;%: fdisk&lt;/b&gt;. We watched n' waited. He gingerly pressed 'p' n' it printed the partition table..&lt;br /&gt;&lt;br /&gt;Hurrah! My Windows partitions are intact! I thought I'd truly lost both my OS's. I couldn't care less if Linux was wiped out, which it wuz as soon as Manu deleted all the ext partitions.! He restarted the computer n' it brought up the Redhat Install screen without an Upgrade option. I set to the task of reinstalling everything.. again.. This time I made no mistake. Remove all Linux partitions n' Install Redhat.&lt;br /&gt;&lt;br /&gt;I'm back to square one. Up n' running.. on 2.4.20-8. &lt;br /&gt;PHEW! TGIF! Have a great weekend!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109542271865627875?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109542271865627875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109542271865627875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109542271865627875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109542271865627875'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/why.html' title='Why?!'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109540725608509099</id><published>2004-09-17T00:32:00.000-07:00</published><updated>2004-09-17T00:49:56.406-07:00</updated><title type='text'>eth0</title><content type='html'>When I restarted and booted the new kernel, it did not Bring up my &lt;b&gt;eth0&lt;/b&gt; (in my case, an &lt;b&gt;Intel® PRO/1000 Gigabit Ethernet&lt;/b&gt; adapter). I discovered you HAVE to support it as a loadable module in the &lt;b&gt;Network Devices&lt;/b&gt; section &lt;b&gt;Ethernet (1000 Mbit)&lt;/b&gt;, when you configure the kernel. &lt;br /&gt;&lt;br /&gt;But then, it Failed to obtain IP information. I wonder why only the new kernel presented these problems. Well, running &lt;b&gt;%: neat&lt;/b&gt;, which incidentally is the &lt;b&gt;Network Configuration&lt;/b&gt; tool, Editing the Device and Statically setting the IP address resolved the problem.&lt;br /&gt;&lt;br /&gt;You'd do well to sign up at &lt;a href="http://www.experts-exchange.com/"&gt;Experts Exchange&lt;/a&gt;!&lt;br /&gt;I'm up and blogging on 2.4.26 now.. :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109540725608509099?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109540725608509099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109540725608509099' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109540725608509099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109540725608509099'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/eth0.html' title='eth0'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109534160557111515</id><published>2004-09-16T06:12:00.000-07:00</published><updated>2004-09-16T06:48:48.190-07:00</updated><title type='text'>Kernel compile</title><content type='html'>Make sure you have &lt;a href="http://www.atnf.csiro.au/people/rgooch/linux/"&gt;devfsd&lt;/a&gt; installed in your old kernel. This is 'cuz once you build the new kernel, it maps drives assuming you have devfs in your old kernel, n' I didn't!! All thanks to Damaru for helping me with this one!&lt;br /&gt;&lt;br /&gt;While you configure the kernel, make sure you enable support for your sound card, ethernet controller n' other devices. You can include them with the kernel, or as loadable modules. In the latter case, you'll find them as .o's in the &lt;b&gt;lib/modules/2.4.26/kernel/drivers/&lt;/b&gt; directory. You can insert them with the &lt;b&gt;/sbin/insmod&lt;/b&gt; command. &lt;b&gt;/sbin/lsmod&lt;/b&gt; lists your loaded modules. Note that if you've included them with the kernel, they won't be listed! n' do a &lt;b&gt;%: ln -s /linux-2.4.26/ linux&lt;/b&gt; to ease things. Ah, but I digress..&lt;br /&gt;&lt;br /&gt;Fine! Now you're ready for some serious making out ;)&lt;br /&gt;&lt;b&gt;%: make dep ; make bzImage ; make modules ; make modules_install&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You could do a &lt;b&gt;%: make install&lt;/b&gt; too, so that your boot loader file (&lt;b&gt;/etc/grub.conf&lt;/b&gt; in my case, as I use &lt;a href="http://www.gnu.org/software/grub/"&gt;GRUB&lt;/a&gt;) is updated to display your new kernel. Now you type in &lt;b&gt;%: reboot&lt;/b&gt; to do the obvious..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109534160557111515?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109534160557111515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109534160557111515' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109534160557111515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109534160557111515'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/kernel-compile.html' title='Kernel compile'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109534009223779044</id><published>2004-09-16T05:49:00.000-07:00</published><updated>2004-09-16T06:12:37.760-07:00</updated><title type='text'>Kernel 2.4.26</title><content type='html'>I hit an issue when I tried to install D4X. The GLIB [GNU Library probly] needs to be version 2.4.0 or higher. I decided I'd better do all this after getting on with the immediate need of upgrading the 2.4.20-8 kernel which came with the Redhat 9.0 distro, to 2.4.26, so that I can run EVMS.&lt;br /&gt;&lt;br /&gt;I need EVMS for my project. n' it needs 2.4.26. The &lt;a href="http://evms.sourceforge.net/"&gt;EVMS website&lt;/a&gt; gives you ALL the instructions you need to building the new kernel and getting EVMS to work with it. Make sure you get device-mapper.1.00.18, 'cuz EVMS doesn't work well with 1.00.19.&lt;br /&gt;&lt;br /&gt;Also, if you're using a multi-boot with Windows like I am, make sure you configure the kernel &lt;b&gt;%: make xconfig&lt;/b&gt; to support the appropriate file system (NTFS in my case- Windows 2000) so that you can mount your Windows partitions in Linux. The &lt;b&gt;%:mount /dev/hdXX /mnt/C -t ntfs&lt;/b&gt; worked perfectly in 2.4.20-8. However, I couldn't get it to work in 2.4.26. You might need to download the latest &lt;a href="http://linux-ntfs.sourceforge.net/"&gt;Linux-NTFS driver&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109534009223779044?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109534009223779044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109534009223779044' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109534009223779044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109534009223779044'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/kernel-2426.html' title='Kernel 2.4.26'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109533564369400336</id><published>2004-09-16T04:47:00.000-07:00</published><updated>2004-09-16T04:58:28.710-07:00</updated><title type='text'>/usr/bin</title><content type='html'>I did something ingenious about an hour ago. I was removing &lt;b&gt;opera&lt;/b&gt; from my system in order to install &lt;a href="http://www.mozilla.org/"&gt;Mozilla&lt;/a&gt;'s new pre-release version 1.0 of &lt;a href="http://www.mozilla.org/products/firefox/"&gt;Firefox&lt;/a&gt;. Well.. did a few &lt;b&gt;%: locate opera&lt;/b&gt;s to find out the folders and wuz merrily doing &lt;b&gt;%:rm -Rf &lt;i&gt;directory_name&lt;/i&gt;&lt;/b&gt; when I did it on &lt;b&gt;/usr/bin&lt;/b&gt;. :`-(&lt;br /&gt;&lt;br /&gt;Trust me. Do NOT try this at home.. or in the office.. or anywhere else for that matter! :( Ah well! Looking on the bright side of things, I can at least relive my experience from scratch on this blog :) I'm up n' running now with just &lt;b&gt;evolution&lt;/b&gt; in my &lt;b&gt;%:ls /home/sankarnk&lt;/b&gt; output!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109533564369400336?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109533564369400336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109533564369400336' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109533564369400336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109533564369400336'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/usrbin.html' title='/usr/bin'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109531569563898118</id><published>2004-09-15T23:21:00.000-07:00</published><updated>2004-09-15T23:25:59.296-07:00</updated><title type='text'>Lynx</title><content type='html'>I used to browse the web when I was in 10th std. with my &lt;b&gt;shell internet account&lt;/b&gt;. It was my first experience with UNIX, 'cuz my ISP (VSNL) ran a UNIX host which I connected to (using HyperTerminal) thru' dial-up. My account allowed 500 hours of access for Rs.5k per year. The TCP/IP equivalent cost thrice as much. I used &lt;b&gt;Lynx&lt;/b&gt;, a text browser. &lt;br /&gt;&lt;br /&gt;Here are some Links. Thanx to Vin's comments, I had a discussion with Kishore on &lt;a href="http://computer.howstuffworks.com/ram1.htm" target="_blank"&gt;RAM&lt;/a&gt;. I found this nice &lt;a href="http://www.webreference.com/graphics/column14/index.html" target="_blank"&gt;Memory Primer&lt;/a&gt; on the net.  However, for knowledge on hardware in general, I recommend &lt;a href="http://computer.howstuffworks.com/" target="_blank"&gt;howstuffworks&lt;/a&gt;. Today on the Computer Channel, Vinu's needs have strangely been catered to by a page on &lt;a href="http://computer.howstuffworks.com/bios.htm" target="_blank"&gt;How BIOS Works&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109531569563898118?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109531569563898118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109531569563898118' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109531569563898118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109531569563898118'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/lynx.html' title='Lynx'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109516582428797508</id><published>2004-09-14T05:19:00.000-07:00</published><updated>2004-09-14T05:43:44.286-07:00</updated><title type='text'>Download</title><content type='html'>&lt;a href="http://www.krasu.ru/soft/chuchelo/"&gt;D4X&lt;/a&gt; is one app I can't live without! &lt;a href="http://www.openoffice.org/"&gt;OpenOffice.org&lt;/a&gt; is another thing that falls in the same category. When you want software that can do a particular task, you'd do well to look for it on the universal resource for a LOT of projects, viz. &lt;a href="http://www.sf.net"&gt;SourceForge.Net&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;Some useful stuff:&lt;br /&gt;1) &lt;a href="http://gaim.sourceforge.net/"&gt;Gaim&lt;/a&gt; n' &lt;a href="http://amsn.sourceforge.net/"&gt;aMSN&lt;/a&gt; - IM apps [I need to make a glossary!]&lt;br /&gt;2) &lt;a href="http://rssowl.sourceforge.net/"&gt;RSSOwl&lt;/a&gt; - RSS|ATOM news feed reader (aggregator)&lt;br /&gt;3) &lt;a href="http://linux-ntfs.sourceforge.net/"&gt;NTFS&lt;/a&gt; driver - to access your Win2K partitions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109516582428797508?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109516582428797508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109516582428797508' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109516582428797508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109516582428797508'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/download.html' title='Download'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109516398194382384</id><published>2004-09-14T04:58:00.000-07:00</published><updated>2004-09-14T05:13:01.943-07:00</updated><title type='text'>dev</title><content type='html'>As a developer, you need a tool to browse source code. For my first testing project in avionics, I used &lt;a href="http://www.sourceinsight.com/"&gt;Source Insight&lt;/a&gt;. Manu just came over to tell me it is in fact, the best tool. Unfortunately its for Windows. Since this is a Linux blog, you should instead, read about &lt;a href="http://cscope.sourceforge.net/"&gt;Cscope&lt;/a&gt;, developed by Bell Labs and an official part of the AT&amp;T UNIX distro. ViM is built in with Cscope support, so I'm all excited! &lt;a href="http://cscope.sourceforge.net/cscope_vim_tutorial.html"&gt;Read about it!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109516398194382384?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109516398194382384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109516398194382384' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109516398194382384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109516398194382384'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/dev.html' title='dev'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109514492695886931</id><published>2004-09-14T00:40:00.000-07:00</published><updated>2004-09-14T06:09:14.903-07:00</updated><title type='text'>Install</title><content type='html'>My favorite editor is &lt;a href="http://www.vim.org/"&gt;ViM&lt;/a&gt;. Incidentally, I love it so much, I use it the Windows version of it too.. Once you get used to it, everything else, including Notepad, is trash! Btw, here's a lovely page I came across on &lt;a href="http://catcode.com/teachmod/"&gt;chmod&lt;/a&gt;.   &lt;br /&gt;The equivalent of Windows Explorer in Redhat is a graphical shell called &lt;b&gt;Nautilus&lt;/b&gt; (for &lt;a href="http://www.gnome.org/"&gt;Gnome&lt;/a&gt;). You can access network drives from Nautilus by typing in smb://&lt;i&gt;network_folder&lt;/i&gt; in the &lt;b&gt;Location&lt;/b&gt; region.&lt;br /&gt;&lt;br /&gt;Herez how you install a package. "%" is your shell prompt:&lt;br /&gt;&lt;br /&gt;If you have the RPM:&lt;br /&gt;&lt;b&gt;%: rpm -i &lt;i&gt;filename.rpm&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;If you have the tarball, unzip it:&lt;br /&gt;&lt;b&gt;%: tar xvzf &lt;i&gt;filename.tar.gz&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;OR&lt;/i&gt;&lt;br /&gt;&lt;b&gt;%: tar xvjf &lt;i&gt;filename.tar.bz2&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Become root:&lt;br /&gt;&lt;b&gt;%: su&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Usually, you've to type in this:&lt;br /&gt;&lt;b&gt;%: ./configure&lt;br /&gt;%: make&lt;br /&gt;%: make install&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You could also type in:&lt;br /&gt;&lt;b&gt;%: ./configure ; make ; make install&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;n' go for a coffee break! ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109514492695886931?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109514492695886931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109514492695886931' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109514492695886931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109514492695886931'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/install.html' title='Install'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109514395973361225</id><published>2004-09-13T23:09:00.000-07:00</published><updated>2004-09-13T23:39:19.733-07:00</updated><title type='text'>MyConfig</title><content type='html'>OK, first things first.. here's my configuration:&lt;br /&gt;&lt;br /&gt;A Dell OptiPlex GX270 running Redhat 9.0 (Shrike) [Kernel 2.4.20-8]&lt;br /&gt;&lt;br /&gt;Why did I put this up? So that people who search &lt;a href="http://www.google.com/"&gt;Google&lt;/a&gt; for problems on this config. are benefitted by solutions published on this blog.&lt;br /&gt;&lt;br /&gt;Now that that's over with, lets proceed..&lt;br /&gt;&lt;br /&gt;What did I do first? The display was behaving queer. I found out it wuz 'cuz only 1MB RAM wuz being reported by the motherboard. Changing it to 8MB in the BIOS didn't help. So I flashed the BIOS with a previous revision, viz. &lt;a href="ftp://ftp.dell.com/bios/gx270a02.exe"&gt;A02&lt;/a&gt; and it started working fine. But the sound still didn't work. Well, I got the &lt;i&gt;ALSA&lt;/i&gt; driver from their site- version 1.0.2a, but there wuz no RPM, so I just did 'make'. Previously it wouldn't detect anything, but then it detected the AC'97 on Intel board, but still &lt;i&gt;/dev/mixer&lt;/i&gt; couldn't be written to. &lt;br /&gt;&lt;br /&gt;But then I got it &lt;a href="http://snkutty.blogspot.com/2004/02/music-on-linux.html"&gt;working&lt;/a&gt;! Next, I configured &lt;a href="http://www.samba.org/"&gt;Samba Server&lt;/a&gt; to run successfully on my comp. Then, I discovered &lt;a href="http://www.ximian.com/products/connector/"&gt;Ximian Connector&lt;/a&gt; an Email client for Linux, which actually has MS Exchange support! Novell has now made it free! I haven't been able to get it working yet and am still on Ximian Evolution, using SMTP/POP3.&lt;br /&gt;&lt;br /&gt;More later..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109514395973361225?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109514395973361225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109514395973361225' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109514395973361225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109514395973361225'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/myconfig.html' title='MyConfig'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8245815.post-109470780928866245</id><published>2004-09-08T22:30:00.000-07:00</published><updated>2004-09-10T03:32:00.456-07:00</updated><title type='text'>Why SANLinux?</title><content type='html'>SANLinux can be interpreted in three ways:&lt;br /&gt;&lt;br /&gt;1) SAN [Storage Area Networks] Linux&lt;br /&gt;2) SAN[kar's] Linux&lt;br /&gt;3) Linux-san [Mr. Linux]&lt;br /&gt;&lt;br /&gt;Pretty weak, eh?&lt;br /&gt;Well, thats how this site will go forth..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8245815-109470780928866245?l=sanlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sanlinux.blogspot.com/feeds/109470780928866245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8245815&amp;postID=109470780928866245' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109470780928866245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8245815/posts/default/109470780928866245'/><link rel='alternate' type='text/html' href='http://sanlinux.blogspot.com/2004/09/why-sanlinux.html' title='Why SANLinux?'/><author><name>Aslan</name><uri>http://www.blogger.com/profile/03049266073181850129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://www.geocities.com/snkutty/snkmedit0cv.jpg'/></author><thr:total>2</thr:total></entry></feed>
