Search This Blog

Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Sunday, April 29, 2012

Getting CDMA datacards to work in Ubuntu 12.04

I was just trying out the new Ubuntu 12.04 and surprisingly, after a full update via the update center, the system just wouldn't enable my CDMA modem. However, the GSM modems were working fine. After a lot of searching in the vast resources of the internet I found the solution. It's a simple 2 line execution in the Terminal.

sudo rmmod -f iwlagn
sudo modprobe iwlagn 11n_disable=1

Apparently, there is some problem in the system and it's not recognizing the n channels of the CDMA network, thus causing the problem.  So try this if you ever get the same problem. Hopefully it will help.

Ciao!

Install Python 3 on Linux Mint

First of all, I don't see a point to show you how to install Python on Windows. It's dead easy download the installer from python.org and in few clicks you will have python up and running. Installing Python on Linux is bit different and requires some pre-work to be done.

So Let's get started.

Note: Every Modern Linux had a python Installed. You can verify this by opening your Terminal and typing python. It will open the python shell for you. Do not remove the installed version.
Step 1: Pre-requisites for Ubuntu

To be able to compile Python Source, you will need few packages. Fire up the terminal and execute this command
sudo apt-get install build-essential libncursesw5-dev libreadline5-dev libssl-dev libgdbm-dev libc6-dev libsqlite3-dev tk-dev
It will take some time to finish depending upon your bandwidth. :)

Step 2: Downloading Python Sources and extracting them on your disk

Download a tarball from the python site here is a direct link. Once, the download is completed you can extract the files by doing a right-click on the file and then clicking the extract option
OR
Fire up the terminal and execute this command which will download the file first and extract it on the disk.
wget http://www.python.org/ftp/python/3.2/Python-3.2rc2.tgz && tar -xvf Python-3.2rc2.tgz
Step 3: Installing Python 3.2

Fire up a new Terminal and execute the following commands individually.

1.   ./configure
2.   make
3.  sudo make altinstall

Saturday, April 28, 2012

Add applications to startup in Linux Mint or Ubuntu

For everything there is a hard way and the not so hard way. Similarly, you can add Startup application using the Terminal or just use the GUI.

We always look for the not so hard way of doing things. So here's the same for adding applications to your startup.

Open Startup Applications from Menu. I will add Brightside to my startup applications for example.


Click on Add


Click on Browse and go to /usr/bin. This is where almost all the applications are stored. Click on the application you want and click Open.


 Now add a Name and Comment to your Startup application. And then click Add.


Congratulations! You have just added the application of your choice to Startup!!


Share and enjoy your newfound knowledge!