I stumbled across a few new stuffs today…

To find the PCI ID of a particular device use the lspci command. depending on the version and usage of the lspci command various output is shown. In Fedora, I use the following to identify the PCI ID (Note: the grep is added to filter the output):

$ /sbin/lspci -nn | grep 'VGA\|NV'
01:00.0 VGA compatible controller [0300]: nVidia Corporation NV34 [GeForce FX 5200] 
[10de:0322] (rev a1)

Use the PCI ID and look it up under Appendix A. Supported NVIDIA GPU Products in any

Nvidia driver documentation (also provided on the Nvidia website).

In this example the PCI ID is 0322. According to Appendix A, this ID corresponds to the

Legacy version (173.14.xx series) driver.

Installation Using RPMFusion

To install the nvidia driver using RPMFusion and YUM.

1. First Install the repository configuration files for YUM. Run the following

(enter ‘root’ password when prompted):

[rtnpro@xps ~]$ su -c 'rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion
-free-release-stable.noarch.rpm \
[rtnpro@xps ~]$ su -c 'rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-*'

Note: It is very important to know which driver your hardware requires. Typically many users will have newer hardware and not have to worry about this issue. However users with older hardware who install a newer driver may have non functional X-servers.

I wrote a shell script…

We were facing a lot of difficulties in setting up Fedora after the installation. Reason? Poor internet connection in the locality. It was a great dissatisfaction for me and Kishan (my friend) and also for the newbies. To resolve this, Arindam Ghosh gave me a copy of “Fedora-mirror” and taught me the How-Tos to setup an offline Fedora-mirror and do the requisite installations. It was really a needed gift for us. We set-up many a system successsfully with its help.

Then I thought of trying to automate this process. So, I started writing shell scripts. My idea was simple. Take a backup of the contents of yum.repos.d and place the local repository files in yum.repos.d. Start the ftp server (vsftpd), and use the loopback (lo) interface which generally has the proxy Then provide the user with a terminal to do the requisite installations. Then exiting that terminal, turning off the ftp server and replacing the original contents of  yum.repos.d. I transferred the entire Fedora-mirror to my Maxtor-Portable hard drive.

I created 3 shell scripts – 1)mirror-setup.sh, 2)mirror-start.sh and 3)mirror-stop.sh.

The user jsut needs to invoke the mirror-setup.sh as root and he gets the terminal for doing installations. To exit the terminal, he just needs to type ‘exit’ and press <enter>. The scripts mirror-start.sh is for starting the ftp mirror and the mirro-stop.sh is for stopping the mirror. These two scripts are being called by the mirror-setup.sh. Below are the details of the scripts….



cd /media/My\ storage/fedora-mirror/

sh ./mirror-start.sh
echo You are now ready to install packages offline…To  quit…enter ‘exit’
su –
sh /media/My\ storage/fedora-mirror/mirror-stop.sh
echo Local Fedora-mirror stopped…



/etc/init.d/vsftpd start

mkdir /tmp/yum.repos.bak
mv /etc/yum.repos.d/* /tmp/yum.repos.bak/

cd ~

mount –bind /media/My\ storage/fedora-mirror/ /var/ftp/pub/

cd /etc/yum.repos.d/

wget -ivh*



rm  /etc/yum.repos.d/*
mv /tmp/yum.repos.bak/* /etc/yum.repos.d/

rm -r /tmp/yum.repos.bak

Any suggestions or comments on the topic are welcome.

Thank you.

Fedora 10 issues with X Server

Exams ended, and today in the morning I was heading as fast as I can towards my Mess to get my hands on the Fedora 10 DVD. Also I had to fix some issues regarding another Fedora 10 installation in my friend’s notebook, which is a Compaq Presario with Nvidia graphics card.

The thing that I found there was that his X-server was not running. I tried to peek into the xorg.conf but in vain, it was not there. Then I tried to boot using the kernel option
and then Plymouth started working. I was impressed by the booting screen. Alas! It again landed on the CLI, but this time it was much more crisp (might be due to Plymouth). I did google a bit on the issue regarding xorg.conf not present in Fedora 10, I stepped across a method to create the xorg.conf file. I then did the following steps:
1)$ su -c “yum install system-config-display”
2)$Xorg -configure :1
it created a new file xorg.conf.new in the current directory.
3)Then I pasted the file as xorg.conf in /etc/X11/ and tried to invoke the X-server, it failed…saying that display not comatible.

Then I downloaded the nvidia drivers from rpmfusion.org…
$su -c “yum -y install kmod-nvidia”
After installing the nvidia drivers, invoking the X-server worked. But on reboot, it again landed on the CLI. Each time I had to manually invoke the X-server to get to the GUI.
I am searching and still couldn’t find a solution to this.

If anybody has any suggestions or ideas on this issue, feel free to post a comment.

A bolt from the blue!

12 December was my Maths examination. As most of my friends know that maths and I don’t get along. But this instant was a little more than expected. I took heavy pounding from the Maths paper. Now I am all flat, lying in bed, and blogging and trying to shed off the frustration…

What a GREAT NEWS!!!! Dunno whether to be happy or sad

Its 3:00 PM , 1 December 2003. Just now I got my medical report and I am very happy to see that I recovered from Hepatitis. The Bilirubin level is 0.8 now. What a relief! But not for long. Do you know why? Semester exam starts from 4th December. Pressure from all the ends. Last week was a long frustrating week. We had practical exams. Bruised like anything in the electronics and electrical viva voce, but PPL practical exam was great.

What could be more frustrating? Have been suffering since the beginning of November, could not use 500 MB of my free net usage, could not study, no FOSS activities…and now the EXAM. Its like I am on FIRE right now!!! Enough of blogging for now. Later.