Twitter Updates

Sunday, January 15, 2012

Wireshark in Ubuntu is not showing interfaces


Run the following in the Terminal:

root@fakrul3350-laptop:/# sudo addgroup -quiet -system wireshark
root@fakrul3350-laptop:/# sudo chown root:wireshark /usr/bin/dumpcap
root@fakrul3350-laptop:/# sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
root@fakrul3350-laptop:/# sudo usermod -a -G wireshark USERNAME

Replace USERNAME with your login username. Now open the wireshark program. You will get the available interfaces.

Thursday, January 12, 2012

Ubuntu GPG signature error


Sometime you get signature verification error when you run apt-get update. Bellow is a sample output:

W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 83FBA1751378B444

To resolve the issue run the following command:

root@fakrul3350-laptop:/home# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys KEYID

Wednesday, December 28, 2011

Pidgin behind proxy (Ubuntu Desktop)

If you face problem to access your google chat from pidgin when you are behind proxy; please do the following settings:

1. Go to Tools > Manage Accounts > Modify Account
2. Go to Advance Tab. Uncheck "Require SSL/TLS" & "Allow plaintext auth over unencrypted streams". Please check "Force old (port 5223) SSL"
3. Change the connect port to 443
4. Change connect server to "talk.google.com"
5. Go to proxy tab. Select HTTP and put your proxy related information.

Tuesday, December 27, 2011

Virtualbox on Ubuntu 10.04.3 LTS with kernel version (3.0.0-14-generic-pae)


After upgrading Ubuntu 10.04.3 LTS kernel version (3.0.0-14-generic-pae), VirtualBox has been crashed. After searching google I fond the following solution which works for me.

Just use the Ubuntu Software Center GUI, rather than having to use the apt-get command line

Search for Virtualbox. Should get at least two hits.

First remove x86 virtualization solution-base binaries (highlight and click remove)
Then highlight and remove Virtualbox.

Than go to command line and do the following:

1. add to /etc/apt/sources.list:
deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free

2. install the public key:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

3. prepare and install:
sudo apt-get update
sudo apt-get install virtualbox-4.0


After running the virtualbox sometime it's required to run the vboxdrv service setup.


--------------------


Error & Troubleshoot:



root@fakrul3350-laptop:~# /etc/init.d/vboxdrv setup
 * Stopping VirtualBox kernel modules                                                                              [ OK ] 
 * Uninstalling old VirtualBox DKMS kernel modules                                                                 [ OK ] 
 * Trying to register the VirtualBox kernel modules using DKMS                                                            
Error! Your kernel headers for kernel 3.0.0-14-generic-pae cannot be found at
/lib/modules/3.0.0-14-generic-pae/build or /lib/modules/3.0.0-14-generic-pae/source.


 * Failed, trying without DKMS
 * Recompiling VirtualBox kernel modules                                                                                  
 * Look at /var/log/vbox-install.log to find out what went wrong

root@fakrul3350-laptop:# tail -f /var/log/vbox-install.log
You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-3.0.0-14-generic-pae package.
Failed to install using DKMS, attempting to install without
Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.

root@fakrul3350-laptop:# sudo apt-get install linux-headers-`uname -r`


Monday, December 26, 2011

Upgrade Ubuntu Kernel

Step 1: Check you existing kernel version
root@fakrul3350-laptop:/# uname -r

Step 2: Find available kernel release
root@fakrul3350-laptop:/# apt-cache search linux-image

Step 3: Install kernel by specifying the kernel version
root@fakrul3350-laptop:/# apt-get install linux-image-3.0.0-14-generic-pae