Skip to main content

Posts

Showing posts with the label ubuntu

Setting Android Environment Variables in Ubuntu Linux

Recently I moved to Ubuntu OpenSource Platoform. While setting my development environment I had to set up environment variables there. I installed most of the packages such as phonegap jdk etc by either using apt or npm package managers. But In the case of android bundle, I just downloaded it from android site and extracted to a location. In order to set up environment variables, I did the following : 1. In terminal type the following command : gksudo gedit ~/.bashrc  2. Type your password. This will open the text editor.  3. In the file opened, type the following, # Android Path export PATH=${PATH}:~/android-sdk-linux/tools export PATH=${PATH}:~/android-sdk-linux/platform-tools  4. Save. The path you enter should be the absolute path to android_sdk's tools and platform-tools folder This helps me to run android commands such as Adb, android etc.

Configure WLL Modem in Ubuntu

People who are using WLL wireless modem may often found that they can't configure it in Ubuntu or other linux distros. Some distros like OpenSuse automatically detects WLL modem but in ubuntu auto configuration is not possible. manual configuration requires following steps:- Before starting this you need to ensure that your WLL phone is connected with the PC through USB cable. Step 1: Open terminal (Applications -> Accessories -> terminal) Step 2: Type the command : sudo wvdialconf. This will add the device file ttyACM0 the dev directory. Step 3: Type gksudo gedit /etc/wvdial.conf This will display a text document like: [Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = USB Modem ISDN = 0 New PPPD = yes Modem = /dev/ttyACM0 Baud = 460800 Phone = Username = Password = Stupid Mode = 1 Step 4: Type your user name, password and phone number in the required areas and save the file. Step 5: On Terminal Type wvdial. This command is requir...