How to enable TATA Photon whiz on Ubuntu 9.04/Fedora 11 - Model Hauwei - EC121

133 views
Skip to first unread message

Binita M Shah

unread,
Oct 26, 2009, 10:59:26 AM10/26/09
to vg...@googlegroups.com
For all those who are using TATA Photon whiz (Hauwei -EC121 or others) these is small How to for Ubuntu 9.04 Jaunty Jackalope ,which by default can't Plug n play (atleast for me :))even with Network Manager Applet -->Mobile broadband --> Country = India --> Provider -->Tata indicom ( Plug2Surf) -->Uname: internet,Password=internet,Ph =#777 ( As its CDMA).

# Ubuntu 9.04 Photon Whiz set up

1)By default Ubuntu 9.04 doesn't have wvdial ,so you can install it via

#Synaptic Package Manager -->search for wvdial

---OR--
Insert original Ubuntu Cd

Go to System->Administration->software sources. add cd as a source and close . It will update itself, Then on terminal type,

sudo apt-get install wvdial .

2) Type lsusb command and see what it gives (for me below was result)


binnishah@google:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 045e:00a4 Microsoft Corp.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 12d1:1411 Huawei Technologies Co., Ltd. ---------> ( Model #,vendor# & product# to trace for modprobe just in case your OS can't catch it plug n play)
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


3)I have Huawei Mobile connect whose model # is EC121 and vendor = 12d1 & product=1411

next,

modprobe usbserial vendor=0xAAAA product=0xBBBB ,

Where AAAA is 12d1 and BBBB is 1411 in my case.

4)Open terminal and give command ( pl.give these while inserting USB photon drive in lap/Server)

sudo wvdialconf /etc/wvdial.conf  --->  (These will detect the modem and install it for internet connection by inserting appropriate modem configuration into /etc/wvdial.conf)

** Pl.dont forget sudo or else you will be trapped into permission issues of /usr/sbin/pppd & chap-secrets & pap-secrets permissions and worse would be wvdial.conf wont get Baud speed rate self detected ,neither exact location of modem would be traced

5) Open wvdial.conf in /etc with :-

sudo vi /etc/wvdial.conf ,it has some entries by default add some new & match it as belows:

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CRM=1
Stupid Mode = 1
New PPPD = Yes
Modem Type = USB Modem
Phone = #777
ISDN = 0
Password = internet  ---> Your ph number of tata/password
Username = internet --> Your uname /#
Modem = /dev/ttyUSB0
Baud = 9600  -->Baud rate would be decided by 4rth command and written automatically into wvdial.conf script

Now save & exit vi,

6)type sudo wvdial

It may give you something like these:--

binnishah@google:~$ sudo wvdial
--> WvDial: Internet dialer version 1.60
--> 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 153600
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sun Oct 18 17:47:48 2009
--> Pid of pppd: 13130
--> Using interface ppp0
--> local  IP address 121.245.189.171
--> remote IP address 172.23.119.14
--> primary   DNS address 202.54.29.5
--> secondary DNS address 202.54.10.2
^CCaught signal 2:  Attempting to exit gracefully...
--> Terminating on signal 15
--> Connect time 5.1 minutes.
--> Disconnecting at Sun Oct 18 17:52:50 2009

7)Command tail -f /var/log/messages --> Just immediately aft.connection gives following:

binnishah@google:~$ tail -f /var/log/messages
Oct 18 17:47:48 google pppd[13130]: Warning - ***
Oct 18 17:47:49 google pppd[13130]: CHAP authentication succeeded
Oct 18 17:47:49 google pppd[13130]: CHAP authentication succeeded
Oct 18 17:47:49 google pppd[13130]: local  IP address 121.245.189.171
Oct 18 17:47:49 google pppd[13130]: remote IP address 172.23.119.14
Oct 18 17:47:49 google pppd[13130]: primary   DNS address 202.54.29.5
Oct 18 17:47:49 google pppd[13130]: secondary DNS address 202.54.10.2
Oct 18 17:52:50 google pppd[13130]: Terminating on signal 15
Oct 18 17:52:50 google pppd[13130]: Connect time 5.1 minutes.
Oct 18 17:52:50 google pppd[13130]: Sent 158772 bytes, received 741237 bytes.

8)If you dont want to fall in hassles of pwd ( I wouldn't recommend to do so ,though)

sudo vi  /etc/sudoers

# User privilege specification
     username machine_name = NOPASSWD: /usr/bin/wvdial

So next time when you give wvdial you dont need to type in password 


*For Fedora-11 - TATA Photon Whiz :-
===================================

It came to me as surprise that Fed-11 took it in plug n play ie:- just some tweak with Network manager applet and I was sorted out with live n kicking 
tata photon whiz USB Mobile broadband

1)Open Network manager applet
2)In that,there's option of --> Mobile Broadband -->Add ( By default you will have Huawei Technologies or your preferable qualcom or whatever) -->Select it -->Forward -->Country - India -->Forward --> Select Tata Indicom(Plug2Surf) if you have photon whiz -->Forward ->Commit changes by pressing apply
3)In Popup of Editing tata Indicom
Add your username & password
and simply press apply 
4)Left click Network manager applet and you will have option of Tata Plug2surf ,select it and you are all set

Hope that helps !!!
====

Public Key   : 12695C6D
Fingerprint : 0131 E273 B314 E8C8 2599  E32D 99AA 9362 1269 5C6D
signature.asc

Nirmal Pathak

unread,
Oct 27, 2009, 1:51:21 AM10/27/09
to vg...@googlegroups.com


2009/10/26 Binita M Shah <binit...@gmail.com>

Great! wonderful how to for this topic.

Have FuN!
--
Nirmal D Pathak.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What I want is freedom, not life, nor pleasure, nor good!

FLOSS gives that.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Dhaval Soni

unread,
Nov 23, 2009, 11:50:28 PM11/23/09
to vg...@googlegroups.com

Is there any network related issue with this product? Is that working anywhere or not?
 

Hope that helps !!!
====

Public Key   : 12695C6D
Fingerprint : 0131 E273 B314 E8C8 2599  E32D 99AA 9362 1269 5C6D

Great! wonderful how to for this topic.

Have FuN!
--
Nirmal D Pathak.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What I want is freedom, not life, nor pleasure, nor good!

FLOSS gives that.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





--
Kind regards,
Dhaval Soni

Cell: +91-966 20 29 620
***************************
According to Mahatma Gandhi: "First they ignore you, then they laugh at you, then they fight you, then you win." So by that reckoning, it must be pretty much 'job done' for free software...!

"Computers are like air conditioners: They stop working when you open WindowZ."

Wiki: https://fedoraproject.org/wiki/User:Sonidhaval

Binita M Shah

unread,
Nov 24, 2009, 1:22:53 AM11/24/09
to vg...@googlegroups.com
--~--~---------~--~----~------------~-------~--~----~
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG
-~----------~----~----~----~------~----~------~--~---

>Is there any network related issue with this product? Is that working anywhere or not?
 

I dont believe there are any issues with this product

Its working on my Fedora 12,Ubuntu 9.10 karmic ,Mandriva spring 2009 and Windows .And I guess its even working for few others too like Nileshbhai
signature.asc

Pratik Vyas

unread,
Nov 24, 2009, 8:37:56 AM11/24/09
to vg...@googlegroups.com
I recently set it up for my friend (a ZTE device on Reliance).
In Karmic atleast, after the modprobe (and then the device being available at /dev/ttyUSB0), it is then usable by nm-applet right away.

--
--
Pratik Vyas
Ph: +919925239915
Google Profile : http://www.google.com/profiles/pdvyas
Reply all
Reply to author
Forward
0 new messages