Home » linux » Tata Photon on Ubunu

Tata Photon on Ubunu

Well I using Tata plug2surf for my laptop since 2 years. First in mandriva 2007, 2008 and 2009 in my desktop. When I have a laptop then I installed ubuntu jaunty on this and configure tata plug2surf. For Both distribution plug2surf work fine. however it is too slow comparison to new broadband plans in market. But for few reasons I stayed with it till now.

When Tata launch the Photon with speed in Mbs. Its my time to check it. For my goodness One of my friend purchase the stick and installed on his vista machine. But when He tried on his fedora things not going smoother. Then he want assist on this matter. I tried with plug2surf way, But it not worked. Then I go for further assistement first on google then on ILUGD (Indian linux group delhi), And after some wait I got solution which I tried on my Ubuntu.

Now i am going to give the description how I set it all (I am very thankful to Mr. Varad gupta which assist me on ilugd mailing ).

First check whether your system have following package or not.

Modprobe, depmod, modeswitch.

On Ubuntu jaunty first two package is default installed while I have to download and installed third package.

There are a big reason to install this. One of my friend tell me about difference between 2 of Tata’s products plug2surf and photon. Plugsurf default detected as USB modem in linux So there is no need for so much steps for nstall modem. While Photon is not detected as modem, So first we need to taken this step. First There should be modeswitch-usb package should be installed on your linux system. I get deb package from

http://packages.ubuntu.com/karmic/i386/usb-modeswitch/download

i) First, check  data card vendor and product by lsusb command.

@@ Output look like a below lines and first high light word is vendor
and second is product.
# lsusb
Bus 002 Device 002: ID eb1a:5060 eMPIA Technology, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 003: ID 1b7d:0700  

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

@@
After plugin the device I found one extra entry (second last row in above output)
ii) Now, load usbserial module by the help of below modprobe and depmod
command.

@@ Again replace vendor and product with your vendor and product,,
# sudo modprobe usbserial vendor=0x1b7d product=0x0700
# sudo depmod -a

iii) Now change device mode to USB by usb_modeswitch command

# sudo usb_modeswitch -v 0x1b7d -p 0x0700 -d 1
# sudo usb_modeswitch -v 0x1b7d -p 0x0700 -H 1

iv) Check usb device location by command

# sudo wvdialconf /etc/wvdial.conf

I get ttyACM1 detected as USB device,

Edit, dailer configuration, You only have to change Username and

Password parameters. Replace first XXXXXXXXXX with username and second XXXXXXXXXX with your passowrd ( it also may be same as Username ).
@@
# vim /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = USB Modem
ISDN = 0
Phone = #777
New PPPD = yes
Modem = /dev/ttyACM1
Username = XXXXXXXXXX
Password = XXXXXXXXXX
@@
v) Finally, start dial,,,,
# sudo wvdial

Note : – Because most commands require root user level permission, So i used sudo in commands, You can choose your options depend on your distribution.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s