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.

Next generation phone – Conceptualized by Mozilla

We have seen many concept phone’s video form Nokia, Motorola and other players. Surprisingly , Mozilla, the company that gave us the wonderful open source browser Firefox, has released a video of the next generation phone , called Seabird, that uses pico projectors, and Wii like motion controlled accessories .

Mozilla have clearly stated that they may not be producing the phone. But the effort had come from the Mozilla Labs community which peeks in to next generation technology.

you can also watch the video in 3D here

Wammu – Mobile phone manager on Linux

Wammu is a program to manage data in your cell phone such as contacts, calendar or messages. It is built on Gammu library, which provides abstraction layer to work with different cell phones from different vendors (including Nokia, Sony-Ericsson, Motorola, Samsung, Siemens, Huawei and others).


Every smart phones or feature phones, that is available on the market today, comes packed with a CD that installs certain drivers and tools to access you mobile phone on the owner’s computer. Motorola calls them as Motorola mobile phone tools, Sony Ericsson calls it as PC suite. These tools are used to browse files on the phone, send SMS, make calls, all these from your Windows or Mac computer. Unfortunately, none of the manufacturer provides similar tools for Linux platform. Sad.

Luckily , Linux users have the free and open source tools called Wammu. Configuring, My Sony Ericcson Hazel (J20i) was a kid’s play. These screenshots simplifies the job. It had all the feature of a SE PC suite including backing up feature. However , SMS management was much better that SE PC suite ( PC suite SMS manager is quite buggy and i had bad experience os loosing my SMS whenever I use it) and search functionality was quite powerful.Wammu can be installed on Ubuntu Linux using synaptic package manager.

Any mobile user in India, knows how frustrating it is to get spammed by hundred’s of SMS per day. I don’t waste my time deleting all this SMS. I use Wammu, say twice or thrice a week and search some spam terms and clean them in one shot. The following screenshot shows the search result for the term Gold. Almost 80% of the result is spam and I can delete them in one shot. It also supports regex and wild card searching. So I can write my own spam filter combining all the search terms in one regex.

Tethering Airtel with Ubuntu 10.4

I have Airtel mobile connection on a Sony Ericcson Hazel (J20i) phone. I have also subscribed to the Airtel mobile office (GPRS) service, which at this point of time costs me 100 Rs per month for 300 MB. I wanted to tether my mobile with my laptop which runs Ubuntu Linux 10.4 and KDE desktop. Wikipedia defines Tethering as use of a mobile device such as a mobile phone to supply Internet access for another devices (such as Laptop). Note : Before you attempt it is advisable to verify with your service provider that your data service (GPRS / 3G) supports tethering. Because the operator might choose the enable/disable them based on the package.

The first stage in tethering is connecting your mobile and Laptop either using the Cable supplied with phone or using bluetooth. I had used bluetooth connection. Bluetooth connection should be fair enough for low bandwidth GPRS ( mine is around 80 kbps). However, My guess is that, for High bandwidth connections like 3G, Bluetooth might be a bottleneck because Bluetooth’s bandwidth might not scale up to 3G speed. In short if your are tethering mobile with 3G data connection, use cable, else you are free to use either cable or Bluetooth.

I don’t like the default KDE bluetooth manage. So I use BlueMan as my Bluetooth device manager. After scanning for the device select the setup wizard for the device as shown below.

Make sure you select the Dial-up option. Serial port option is typically used for file transferring and browsing.
This will isntall the bluetooth modem for he phone and now the phone modem is ready. All you need to do is to configure the KDE Network manager to dial up this modem. It is pretty simple . Open the Mobile Broadband tab and configure the new device as follows.

To get the number and APN values, follow these steps. this is what the Airtel Technicians advised me. On Sony Ericsson Phone go to Main Menu->settings->Connectivity->Internet Settings->Connect using. This will show a list of GPRS services and the current one you are using will be selected. Now press the options ( on J20i it was in the left bottom) and select view. What you see now is the ‘Account info’ of the selected data services. Replace the ‘N’ in *99***N# with the value in ‘External id’. This becomes your number. APN value is the same value given in APN field in the account info. Save this and you have successfully configured your Sony Ericsson phone with Ubuntu for tethering.

Relate articles