Mukesh Chauhan

Just another WordPress.com weblog

Network disconnect in fedora 9 x86_64

Using a x86_64 DVD version of Fedora 9, I have installed the system and noticed an issue: the network is not active. The issue seems to be with NetworkManager service.
To resovle the issue, follow these steps –
#vim /etc/sysconfig/network-scripts/ifcfg-eth0

and add line or change it, if already there-
NM_CONTROLLED=yes

If you like to use GUI than execute this command as root
#system-config-network
it will open a Network configuration window. Edit eth0 configuration. Select the checkbox “Controlled by NetworkManager”.

Once you have made the changes by either way reboot the system. It should enable the network.

August 10, 2009 Posted by | Linux | Leave a comment

Enable root login in Fedora 10 (GNOME)

Log in as your average user, then elevate yourself to root (su -). First, make a backup of the file you’re about to edit:

# cp -a /etc/pam.d/gdm /etc/pam.d/gdm.orig

Now edit /etc/pam.d/gdm and change the line:

auth required pam_succeed_if.so user != root quiet

…to:

auth required pam_succeed_if.so user quiet

…save it, log out and now you can log back into GDM as root.

July 30, 2009 Posted by | Linux | Leave a comment

Browse linux source online

LXR (formerly “the Linux Cross Referencer”) is a toolset to browse linux source code online.

lxray-large

The sources for 0.0.1 to latest 2.6.30 kernels are available on LXR.

July 28, 2009 Posted by | Linux | 1 Comment

Installing Flash Player Plugin on Firefox without having Admin access

Sometimes, we get the windows machine with only limited access. We need Administrator access to install any software on the system.

I am having the same problem in my office. We do not get administrator access. Being a Firefox addicted user, I found a way to install firefox and a useful plugin, flash player.
Continue reading

July 24, 2009 Posted by | Other | Leave a comment

Critical security hole in Firefox 3.5

There has been a highly critical security hole found in recently released Firefox 3.5. The bug is in newly used Just-in-Time (JIT) JavaScript compiler.

Following are the excerpts from Mozilla blog.
Continue reading

July 16, 2009 Posted by | Uncategorized | Leave a comment

Brace Expansion

Brace expansion takes a list of strings separated by commas and expands those strings into separate arguments for you. The list is enclosed by braces, the symbols { and }, and there should be no spaces around the commas. For example:

$ echo {one,two,red,blue}
one two red blue
Continue reading

July 10, 2009 Posted by | Linux | Leave a comment

Install Linux Straight from an ISO without CD/DVD

GNU/Linux comes in many different flavours, apart from the fact that each individual distro has a new release almost every six months, if not less. Everytime we need to try the new distro, we burn the ISO image on the dvd and than install it. I came across a very good article on Linuxforu magzine. In this article , the author shares a simple trick by which you can install the new distro without burning it to a CD/DVD.

The only requirement is that you should have a pre-installed GNU/Linux system—which you already have, I assume.

Click here to see the article.

July 10, 2009 Posted by | Linux | Leave a comment

Installing Fedora on Dell laptops

Recently, I installed Fedora on one of my friend’s laptop. It was already having Windows vista and we wanted to make it a dual boot system. However, after installing Fedora, Windows was not able to come up. Though, GRUB shows two operating systems in the system but selecting Other was not booting Windows.
Continue reading

June 24, 2009 Posted by | Linux | Leave a comment

The Importance of Command Line

I understand, we are so much used to GUI that we almost forget the CLI. Remembering all those commands with different options seems like a big hassle. GUI has all the buttons, click on it and job done. But here we miss one part the power of CLI. If used wisely, they can speed up your working many fold.

Take an example, you want to close a tab in firefox. Take your mouse to cross button and than click or simply say CTRL-w. Interesting, right. Linux has got a really powerful shell. You can almost write a program there. See the following code –

$ for f in *.c
> do cp -p $f OLD_$f
> done

It will find every filename ending with .c in the current directory and makes a copy with OLD_ preceding the filename.

Read this to know the power of CLI. If the link asks you to register, than continue reading the blog. I have dumped the contents in the post.

Continue reading

April 10, 2009 Posted by | Linux | 3 Comments

Firefox plug-ins

As you all know, Firefox is the fastest growing browser and the most powerful browser too. The Firefox 2.0 saw 1.5 millions download within 24 hours, whereas firefox 3.0 witnessed massive 8 millions download in 24 hours. It is really amazing when the estimation was 3 millions download.

Now, you would be wondering that why it is so powerful and popular. First look and you say, it looks so normal. There are two cool features in firefox, one is you type in address bar and it will search for substring not for the entire string. Second, it can start searching on page as you start typing. Cool, but you need to enable this option.

The real power of firefox is the plug-ins which makes it outstanding browser from a normal browser. I would be listing here most popular plug-ins for firefox. I will keep updating the list time to time, so keep an eye on this post.

Continue reading

April 8, 2009 Posted by | Open source | Leave a comment