Wednesday, June 10, 2009

Leonidas on Vbox


Hi All,

As I removed the widget that ran the JS for Leonidas countdown, I thought why not add a small post.

I could not download the Fedora 11 DVD. Folks it is 3.8 Gb. I am waiting for my copy from Fedora. So mean time, I downloaded the Live CDs of 11.

By Vbox - I meant Virtual Box. By default, Lenny comes with an older version of vbox, i.e 1.6. Use the backports of Debian or download virtualbox from the sun site.

Note that you may need some guest and ose modules before installing vbox successfully. For installing ose and guest modules, keep note of the Kernel versions - use 'uname -a'

Create a new VDI and try out the live cds. If you may want to proceed further - use the Install to Hard Drive Option.

The Live KDE cd comes with KDE4.

Hey folks if you may want to install KDE4 to your lenny, try the kde4 backports.

I will be posting more details on running XP in Virtual box, configuring KDE4 on Lenny and many more. Keep waiting and happy reading and blogging.

I have added an attachment - screen shot. [ No mood to write more. Sorry :( ]

Enjoy maadi.

Thanks,
Ananth Gouri

Tuesday, June 9, 2009

Happy Birthday

Hi All,

Its Happy Birthday to Fedora....

Good Night,
Ananth Gouri

Thursday, June 4, 2009

IRC

Hi All,

I just wanted to share with you all the creation and usage of IRC - Internet Relay Chat.

I. Linux Way using Pidgin Messenger

1. Install Pidgin from your package manager
2. Click on Manage Account in the file menu
3. Click on Add button
4. Select IRC from protocol, type your new username..ex: geekyMan, type your new password..ex:passwd
5. If you are under proxy, go to Advance Tab and give your proxy settings.
6. Save it.

Now after 6th step, you get a new window from IRC's freenode stating that geekyMan is not registered.

Then type the following in the text space - register passwd "your_email_id"
The syntax of the above line is as follows - register "your username's password, ie passwd" "your email_id"
So after this, if you want to join any channel, give the following command
/join #debian
..to join to Debian channel.

From the next time you start your pidgin, you just need to re-register your password as
/msg nickserv identify "your password"

Note to type the password in the space of "your password"

II. Windows way using MIRC

1. Go to mirc.com and follow the instructions.

Thats it, enjoy....

Thanks,
Ananth Gouri

Wednesday, June 3, 2009

GRUB on MBR

Hi All,

Though I never want to do this any time now, but I remember that I used to do it in my college days.

Removing GRUB from the MBR.

Though many of us tweak around with Linux OSS, we may one day need to know how to remove the GRUB too.

Ok here by GRUB - I mean the Grand Unified Boot Record - which is a multiboot boot loader and MBR is Master Boot Record - the first LBA partitioned sector of a harddisk - where most people install their GRUBs to.

Removing your GRUB from your MBR is as simple as running the below command from your Windows Machine -

Go to command prompt or Win + run -- type cmd and then type - fdisk / mbr.

Thats it. You are done.

But always note, by giving the above command - only your GRUB is removed and not your Linux partition. You always need to manually delete that partition and reuse it to your Windows Machine according to your file system of C Drive.

Thanks,
Ananth Gouri

Comments on "...simple linux"

Hi All,

If you all have observed, I have 2 contributors to my site other than myself. One is Ravi Shankar, my good school classmate and the other Chetan Jayanna, a Tech Lead in my company and also a very good mentor and friend.

Though Chetan has never written any thing else than his application's code, Ravi finds some time now and then from his busy EEE work.

For Ravi, who as I remember was a fan of Suse Linux then in his college days, always used to complain that Linux is complex, tough this that and et al.

Now these days, I doubt if he still has Linux installed in his system, but always keeps some time in praising the things that I do on Linux. Though never flattery by any means, and true to his heart, he always kept saying many things now and then and I would keep him updated on the latest stuff on Linux OSS.

Finally thanks to you - Ravi for posting something that you felt and I can see the sense and the meaning of the words that you blogged.

The things that I like in Ravi are - he is a pakka environmentalist, no plastic user, no CFC user [He uses powder to his body ;-)], a very good artist, a nature lover, a very good photographer and finally very professional by all means. Keep going Ravi.

Thanks once again,
Ananth Gouri

Computer Name / Hostname

Hi All,

I have a feeling some times, that I dont have much of Java stuff on my blog. Though this post does not talk much about some Java code, I have at least something.

My computer assembler - Ananth Ram had a problem in wading off a boot virus in one of his client's system. During the same time I called him and he wanted some help. Nevertheless the help that I gave him did not work, I learnt some things and I finally recalled that I had studied them somewhere.

He wanted the Computer Name, a.k.a the hostname of that infected virus's machine. So I was googling the net finding ways to find the hostname without logging into the machine.

I found out these things:

1. The easiest way:

If one can login into a system running XP, we have the easiest way. Right click on My Computer and go to properties. In one of the tabs there, you would find the Computer name.

2. The Network way:

Give the following command in your cmd prompt - ipconfig /all

3. The DOS way:

You had the following command - NET Status

4. The Linux ways:

4.a Using an UNIX command:

Give the following command on your konsole - hostname

4.b The Lenny way:

Open the following command in your konsole - gnome-system-monitor
The first line in the opened window is the hostname / computername

5. The Java / Programmatic way:

Copy paste the below bolded code in a file called ComputerName.java and run the application.

package test;

import java.net.* ;

public class ComputerName {

public static void main ( String[] args ) {


try {
String computerName = InetAddress.getLocalHost( ).getHostName ();
System.out.println ( "Computer Name: " + computerName ) ;
}
catch ( Exception e ) {
System.out.println ( " Cannot get computer name " + e ) ;
}
}
}



Finally before ending, I could recall that I had read the above 5th way's code in Java Complete Reference book written by Herbert Schildt.

Try out which ever way you like to. Enjoy!!!!

Thanks,
Ananth Gouri

System Sounds

Hi All,

These days I am getting busier and busier, that too with the number of bug fixes that I need to fix for a week increasing exponentially and also with the French Open going on...I dont have time to blog.

Now - the System sounds...Ok, this thing kept running in my mind for a long time.

I did not like the way my Lenny's Gnome logged me in daily or every time. It had no start up sound at all. May be I was still thinkin that I would hear that crap XP start up sound each time. Ha Ha nope.

I wanted a change, something new and interesting which I could change every now and then.

I did------

1. Logged into gnome-look.org and searched for System sounds.
2. I downloaded the best wav sound that I liked the most.
3. Finally went to System->Preferences->Sound.
4. Next the Sounds tab there.
5. Checked Enable software sound mixing(ESD) checkbox.
6. Next checked Play system sounds checkbox.
7. Lastly in the same window, I looked for Log in: and I selected the wav file that I had downloaded from the given drop down.

Thats it.

Now what are you waiting for? Do it!!!

Thanks,
Ananth Gouri