Setting up Tata Photon+ on Arch Linux or any other linux (ex. Ubuntu)

Published: by

  • Categories:

So, setting up TATA Photon+ is easy.

Most of the guides out there are for the Huawei Modem. But, at the time I bought TATA Photon+ (ie today), it came with Olive Modem V-ME101 USB Modem. Setting up that modem is pretty straight forward. I didnt try using networkmanager client nm-applet for installing as I dont use a desktop manager so I didnt have it (For the time being, I am a tiling managers fan, and now I am using dwm form suckless.org). I went the command line way.

$sudo wvdialconf /etc/wvdial.conf

Now, a new file /etc/wvdial.conf will be created. We will have to change the settings a bit.

Contents of wvdial.conf file:

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Phone = #777
Username = internet
Init1 = ATZ
Password = internet
Modem = /dev/ttyUSB0
Baud = 3250586
Stupid Mode = 1

Now, load usbserial kernel module with proper options:-

sudo modprobe usbserial vendor=0x201e product=0x2009

If you wanna know, how I got those magical figures 0x201e blah blah.. I used lsusb to get the vendor and product id.

Ok. Thats it. Now you can connect to internet using command

$sudo wvdial

You will be asked to enter the password, and if you dont want to enter the password everytime you connect to internet, you can add wvdial to your /etc/sudoers with NOPASSWD option.

A typical sudo wvdial session looks like (Just for reference)

shadyabhi@archlinux-N210 ~ $ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT 3100000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Fri Dec  3 21:27:38 2010
--> Pid of pppd: 17015
--> pppd: I[7f]
--> Using interface ppp0
--> pppd: I[7f]
--> pppd: I[7f]
--> pppd: I[7f]
--> pppd: I[7f]
--> pppd: I[7f]
--> local  IP address 14.96.17.95
--> pppd: I[7f]
--> remote IP address 172.29.244.49
--> pppd: I[7f]
--> primary   DNS address 121.242.190.210
--> pppd: I[7f]
--> secondary DNS address 121.242.190.180
--> pppd: I[7f]

Note: modemmanager can conflict and try to intialize the modem his way, so make sure you kill that before doing all this.