Posts Tagged ‘night’
Posted on November 2, 2008 - by Sarath
The Bugfix day
Last sunday I had been to Navin’s house in agreement of certain deals. I go for outing very rarely and went to Hotel Abad Plaza for giving Navin and Navas a treat for completing gsoc2008. It took a couple of hours to arrive the ordered food and finally resulted in missing my train to home. They suggested me to stay at Navin’s house in Elamkkara and fix certain bugs. I had a couple of things to be done as a part of ending semester. I have my electronics lab record in pending and came up with a deal that I would try to fix those problems related to computers and Nawaz agreed to fill my graphs of electronics lab record.
Soon after we reached home, Navin and I de assembled his desktop box. His machine has been rebooting frequently due to overheating. I just re plugged the CPU and it started working fine. Voila.
Next we installed Kubuntu 8.10 for a try. KDE 4.1.2 looks really much better than earlier with 100s of bugfixes. I started loving dolphin, the filemanager for KDE 4. It has a cool feature, When pressed F4 a terminal slides up from the bottom. Also pwd for the terminal changes automatically when we navigate through different locations. Its cool !
Navin has been complaining for a long time that his nvidia graphics card hates his ethernet card. Whenever he install nvidia-glx proprietary driver, his Ethernet goes down. It was a real headache for him. So he used to install the nvidia driver with a third party tool called Envy. He tried envy-ng, the latest version with Kubuntu 8.10 and it failed returning some error. I confidently told him to install nvidia-glx. He installed it and soon after a reboot he was pulled into darkness.
I just found that loading nvidia module before the ethernet module makes it some conflict. I just blacklisted the nvidia module.
# echo modprobe nvidia >> /etc/rc2.d/K45nvidia
I manually loaded it via init script making sure after ethernet is loaded.
The problem got solved
I dont know exactly how ethernet module and nvidia module is loaded in present day distros. In earlier days I used find a module list. I assume that nowadays it is performed via UDEVD.
Here comes the second problem. Navin uses his Asianet Dataline for internet connection. Basically it is cable modem based one. Hence the connection is permanent to a MAC ID for Ethernet card. Nawas wanted to do an OpenSuse upgrade from his lappy with Navin’s internet connection.
I went for MAC ID spoofing and its done.
Find out the mac id for the ethernet card.
Found it to be 00:1C:23:FB:37:23
Now on the other machine.
# /etc/init.d/network restart
Everything went fine. I had a 3 hour sleep and went to home via Ernakulam – Cannanore Express in the morning.
It feels like a bugfix day.

Solve real-world shell scripting problems with over 110 simple but incredibly effective recipes.

