Tethering Motorola Defy. Internet over USB on Windows and Linux

I purchased Motorola Defy Android mobile phone running Android 2.2.2, ( the later Defy+ runs Android 2.3). the phone supports 3G hotspot over  WIFI. But for some reason my phone kept crashing after few minutes of use of the hot spot feature. So I wanted to setup the tethering over USB. I use Kubuntu and Windows . Here, I wil explain how to tether your Motorola Defy phone using USB. The same should work on DEFY+, though I have not tested on it. Both the approaches doesnot require the phone to be rooted. And I use Airtel 3G in India

Tether on Windows:
Follow the instruction here. https://forums.motorola.com/posts/bc40b2fbdc Its stratigh forward and works for DEFY.

Tether on Linux:
This involves litle bit of tinkering. Follow the instructions in this article http://www.humans-enabled.com/2009/12/how-to-tether-your-verizon-droid-as.html . The original article itself is capable of tethering DEFY. I have altered couple of steps to suit me and am sharing it here.

Step 4:
my rule for DEFY is
SUBSYSTEM==”usb”, SYSFS{“22b8:428c”}==”22b8″, MODE=”0666″,

Step 10:
If you are using DEFY with android 2.2.2 , then don’t bother to download the Azilink with Android 2.3 patch. Download the latest release from the Azilink site itself.
cd ~
mkdir azilink
cd azilink
wget http://azilink.googlecode.com/files/azilink-2.0.2.apk
adb install -r azilink-2.0.2.apk
wget http://azilink.googlecode.com/files/azilink.ovpn

Step 11 & 12:
I had merged steps 11& 12 as follows
vi start_modem

#Type in the text below, then hit ZZ to save
adb forward tcp:41927 tcp:41927
sudo echo “domain lan” > /etc/resolv.conf
sudo echo “search lan” >> /etc/resolv.conf
sudo echo “nameserver 192.168.56.1” >> /etc/resolv.conf
sudo openvpn –config azilink.ovpn

Follow the rest of the steps from the original article. Azilink About page quotes ” since this program doesnot run as root it cannot forward ICMP-based ping requests. To simulate this all pings are translated internally into UDP pings. Unfortunately, many hosts do not respond to UDP ping requests.” So don’t be surprised if you cannot ping your host but still able to use the internet.

Microsoft Mathematics – free Problem solving and graphing tool.

When Microsoft released the Powertoy calc for XP , I was very relieved and ditched the default calculator program that comes with Windows. But that was almost 5 years ago. Finally somebody in Redmond had realised that lot of students are using Windows and released an excellent problem solving and graphing tool for free. Much more powerful than the Powertoy calculator.

Microsoft Mathematics provides a set of mathematical tools that help students get school work done quickly and easily. With Microsoft Mathematics, students can learn to solve equations step-by-step while gaining a better understanding of fundamental concepts in pre-algebra, algebra, trigonometry, physics, chemistry, and calculus.
Microsoft Mathematics includes a full-featured graphing calculator that’s designed to work just like a handheld calculator. Additional math tools help you evaluate triangles, convert from one system of units to another, and solve systems of equations.

I should admit that I like this candy from Microsoft. Download Microsoft Mathematics.

How to configure Pidgin 2.7.8 or greater with Facebook chat

I am big fan of pidgin, the multi protocol free and open source messenger. It supports Yahoo, Gtalk, MSN, AOL, etc… on one single app. And has an huge list of useful plugins.

When facebook allowed third party clients to communicate with their facebook messenger infrastructure, pidgin immediately added support for it . You can try configuring facebook account on pidgin with the help of this page

However the default support inbuilt in pidgin doesn’t seem to work anymore on Pidgin 2.7.8 and  later versions.

Luckily there is a opensource Facebook chat plugin for Pidgin. Download the appropriate installer for your OS from here and install it. Restart the Pidgin. Before configuring the account you need a facebook username. This is different from having a facebook account. Though you might be using the facebook account for a long time it is possible that you might not have registered a facebook username. Register the username here before you proceed.

 

 

Ignore the Facebook(xmpp) which is the inbuilt facebook module which is not working for many.

Visual studio Add-ins

You can find lot of useful Add-ins(free and paid) in the Microsoft Visual Studio Gallery .

Here are some of my fav

MetalScroll – MetalScroll replaces the editor scrollbar with a graphic representation of the code. (my favorite)

CodeCompare – CodeCompare is a totally free designed to compare code. It offers simple and familiar interface, enhanced Visual Studio editor, advanced code comparing and merging functionality.

Build Version Increment Add-In Visual Studio – An addin for Visual Studio to auto increment build versions of projects.

AnkhSVN – Subversion SCC Provider – AnkhSVN open source (free) Subversion SourceControl Provider.

Create Zoom buttons in Visual Studio – Though there is no Add-in that I could find to Zoom in/out in Visual studiio, this article shows a simple way to add the feature to Visual Studio.