Simple ringtone ad

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

Thursday, February 12, 2015

Problem with ap-hotspot in ubuntu 14.04

In Ubuntu 14.04 is not working anymore after update ap-hotspot package. It's showing ap-hotspot starting wireless hotspot and stuck there.

Problem is not in ap-hotspot package but hostapd. Upgraded hostapd package has some bugs and that's why ap-hotspot is working with latest hostapd


#Remove ap-hotspot
sudo apt-get remove --purge apt-hotspot

#download last working version

#install hostapd
sudo dpkg -i hostapd_1.0-3ubuntu2.1_amd64.deb

#prevent hostapd to update
sudo apt-mark hold hostapd 

#install ap-hotspot
sudo apt-get install ap-hotspot

#configure hotspot 
sudo ap-hotspot configure

#start hotspot 
sudo ap-hotspot start  

Saturday, October 18, 2014

skype error while loading shared libraries in ubuntu

Sometimes in 64 bit skype doesn't find the lib in appropriate path. By adding a LD_LIBRARY_PATH we can fix this problem easily. LD_LIBRARY_PATH contains the path (32bit) where is located.

1. To test, run the following command in terminal

env LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/mesa PULSE_LATENCY_MSEC=30 skype

2. If it works then add this line after EXEC= in skype.desktop located in /usr/share/applications/ or ~/.local/share/applications.

Exec =env LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/mesa PULSE_LATENCY_MSEC=30 skype

Monday, September 15, 2014

How to reset user password in ubuntu

To reset password for a user (i.e john) follow the steps.

Step1: Hold Left Shift key when grub2 start loading(OS selection menu). From list, choose advance options

Step2: From next list of menu, choose recovery mode

Step3: After loading the system a window with list of menu should appear. Choose root shell from this menu

Step4: In recovery, system mount in read only mode. So lets remount it r/w mode

mount -o remount,rw /

Step5: Set password for user (i.e john)

passwd john

That's it. Now reboot the system using following command


How to open multiple instance of Skype in Linux

Skype saves database information(user, chat history) in ~/.Skype by default. ~/ denotes home directory of a user. Assume your user name is abc so ~/=/home/abc

To create multiple instance of Skype we will set multiple database path for each instance. In this example we will create two additional Skype (i.e Skype office and Skype home)

Step1: Create database directory
mkdir -p ~/.Skype_office
mkdir -p ~/.Skype_home

Step2: Create or copy  Skype launcher(skype.desktop) for multiple instance.
#for skype office
cp /usr/share/applications/skype.desktop ~/.local/share/applications/skypeoffice.desktop
gedit ~/.local/share/applications/skypeoffice.desktop

#change Name and Exec
Name=Skype Office
Exec=skype --dbpath=~/.Skype_office

#for skype home
cp /usr/share/applications/skype.desktop ~/.local/share/applications/skypehome.desktop
gedit ~/.local/share/applications/skypehome.desktop

#change Name and Exec
Name=Skype Home
Exec=skype --dbpath=~/.Skype_home

That's it. Now you have three instance of Skype (i.e Skype, Skype home, Skype office)