Tuesday, January 26, 2010

Once again Webcam issue

OS: UBUNTU 9.10 Karmic Koala
Kernel: 2.6.32-020632-generic (Reason to have development version of kernel)
Date: Jan 26th, 2010

Hi,
I've Inspiron 1525 and Omnivision webcam with it, it seems every time I upgrade my Ubuntu webcam stops responding. Apparently for Ubuntu 9.10 (Kernel 2.6.31.xx-generic) this is a confirmed bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/462336. As a remedy it says I should have 2.6.32.xx kernel which is stable however https://help.ubuntu.com/community/Kernel/Compile says you should not compile from source code to get further updates for kernel and support.

So the only thing need to be done is download a new kernel deb package from ppa http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/ and install it, it solved me the problem and now webcam is working smooth as ever. And ohh Ubuntu continues updates and support :)

P.S. I've not added ppa to repository and I'm not sure if that is a good idea so comments are welcome

I got the solution by asking at ubuntu forums http://ubuntuforums.org/showthread.php?t=1378109 Last checked Jan 26th, 2010

Monday, January 25, 2010

Installing ns2 (Network Simulator2) on UBUNTU the easy way

OS: UBUNTU 9.10 (Karmic Koala)
Kernel: 2.6.32.020632-generic
Date: Jan 25th, 2010

Hi,
It seems been ages since last post.
The day before yesterday one of my friend called up asking he have difficulties installing ns and nam on Ubuntu 9.10. So I searched a bit and I agreed that general installation process sure looked bit overwhelming.
However here is very easy way actually there is a ppa available for ns packages which needs to be included in repositories:
Export the key for Wouter Horre's ppa
  • sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B3F334F
Next thing is to add ppa repository to repository list (either by editing repository list with any editor or through Synaptic package manager)
Synaptic Package Manager -> Settings -> Repositories -> Other Software and then click on Add and paste following lines
  • deb http://ppa.launchpad.net/wouterh/ppa/ubuntu Karmic main
  • deb-src http://ppa.launchpad.net/wouterh/ppa/ubuntu Karmic main
Reload the package listing through Reload of Synaptic or use
  • sudo apt-get update
Select and install ns, nam and xgraph through package manager or through command line with
  • sudo apt-get install ns nam xgraph
And you are good to go.

This solution was posted at http://ns2onubuntu.blogspot.com/2009/11/easiest-way-to-install-ns2-on-ubuntu.html Last checked Jan 23rd, 2010