Search This Blog

Sunday, May 8, 2011

Tata Photon 201e:2009 Not working in Linux.

Got a new data card that is not working on your Linux machine. Well, its not your Linux machine's fault but the manufacturer who thought that its users wouldnt use anything but Windows. this is a very common problem faced by the Linux users. This problem was faced by me recently when one of my frind bought a Brand new Data Card.

It was Tata Photon+ model 201e:2009
From my past experience, i have seen that Linux used to identify such device as a modem and it was a easy task to configure it using the New Network Connection, by simply clicking "Next" button a few times. But the case wasn't the same this time. This modem's hardware turned out to be incompatible and hence there was no support for it by default in Linux. this was Quite surprising for me.
After calling up friends for help who have done it in the past and going through numerous blogs and forums, which asked us to do hoards of changes to a numerous files and execute commands, we all agreed to one solution... "GET RID OF THIS TATA PHOTON AND BUY A NEW DEVICE".

But some things are just meant to happen. A small comment in som blog caught the eye.
It had suggested of making a small change to 1 file and i got my device working.

You are all set to run your device. Make sure you have no other USB device connected on your PC. Incase you have, just remove them and connect them after your Data Card is connected to internet.

To get your device working, First install programs called as
wvdial and usb-modprobe
These programs help to identify your USB device at Modem and then dial through the Modem to connect to internet.
Since i have used Ubuntu this time, hence the following commands. i am sure, this solution would also work with other flavours of Linux too. therefore..

$sudo apt-get install usb-modprobe
$sudo apt-get install wvdial

once you have installed them, you need to add the following two lines in the file wvdial.conf

$sudo gedit /etc/wvdial.conf

add these lines....

Init3 = AT+CRM=1
Stupid Mode = 1

Stupid mode allows the connection to dial through a firewall and Init3 = AT+CRM=1 prevents frequent disconnections.
Also, dont forget to check your Modem type to be Analog. just match each line of your file with the sample shown below. Remove the comments i have written.
Now your file would look like this.


[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CRM=1
Stupid Mode = 1
Modem Type = Analog Modem
Phone = #777
ISDN = 0
Password = internet
New PPPD = yes
Username = internet
Modem = /dev/ttyUSB0
Baud = 9600


and save this file.

To connect to the internet using your Data Card, On terminal, type:

$sudo eject /dev/sr1
$sudo wvdial



and you are done... enjoy. :)

No comments:

Post a Comment