How to configure Tata Indicom Photon + and Reliance Netconnect + in Ubuntu

37 comments

Tata Indicom photon +   and Reliance Netconnect broadband plus  are providing three models of USB instrument for mobile broadband.

usb modem How to configure Tata Indicom Photon + and Reliance Netconnect + in Ubuntu Huwai EC 168 C

Huwai EC 1260

ZTE AC 8710

Amongst these EC 168 and EC 1260 are Linux supported. Here the methods to configure Indicom Photon and Reliance Netconnect plus with Linux (Ubuntu, Redhat, Fedora , SUSE)

  • Login  as a root user
  • Connect the USB device
  • Open terminal (Application > accessories> Terminal)
  • Type wvdialconf/etc/wvdial.conf (this will detect the modem and install)
  • After installation again type geedit/etc/wvdial.conf on terminal , which will open the configuration file.
  • Delete the semi column before the last three lines, ie phone,username,password.
  • Enter the following details in configuration file
  • For Indicom

Phone=#777

username=internet

password=internet

stupid mode=1

  • For Reliance:

user name= your reliance number

password=Your reliance number

stupid mode=1

  • Save the file and exit
  • Now again go to terminal and type vvdial to connect. Open the browser and start browsing
  • If  not able to browsing open terminal again and type cp –f /etc/ppp/resolv.conf /etc/ it will again ask for information  to overwrite. Type Y to overwrite.
  • To end the data call. Close the terminal or press Control + C

Happy surfing. Please  send your feedback .

Alternate method

  • Connect the device to USB port
  • Goto preferences>network connection>mobile broadband> Add>select the service
  • Enter user id, password as applicable

An update from Anisur- Which is more comprehensive

Modem: Huawei Modem 270+ (EC1261)
All the above post are good but scattered, so here I put a complete details altogether that will be required for the newer modem that has inbuilt storage.
1. You will need usb-modeswitch, usb-modeswitch-data, wvdail . To install issue the command ‘sudo apt-get install usb-modeswitch usb-modeswitch-data wvdial”.
2. Check your Modem device – After 5 sec of inserting the modem device, issue the command ‘lsusb’
Here you will see your device as ‘Bus 002 Device 025: ID 12d1:140b Huawei Technologies Co., Ltd.’ or ‘Bus 002 Device 007: ID 12d1:1446 Huawei Technologies Co., Ltd.’
3. To avoid any mis-configuration, edit the file ‘/etc/usb_modeswitch.d/12d1\:1446? at line TargetProductList=”1001,1406,140c,14ac” to TargetProductList=”1001,1406,140c,14ac,140b”
Create a new file ‘/etc/usb_modeswitch.d/12d1\:140b:uMa=AnyDATA’, you can issue the command
sudo cp “/etc/usb_modeswitch.d/12d1:1446? “/etc/usb_modeswitch.d/12d1\:140b:uMa=AnyDATA”.
In the new file ‘/etc/usb_modeswitch.d/12d1\:140b:uMa=AnyDATA’, edit the line TargetProductList=”1001,1406,140c,14ac,140b” to TargetProductList=”140b”

4. Create the file ‘/etc/usb-modeswitch.conf’ as follow:
########################################################
# Huawei E270+ (HSPA+ modem)
DisableSwitching=0
DefaultVendor= 0x12d1
DefaultProduct=0×1446
TargetVendor= 0x12d1
TargetProductList=”1001,1406,140c,14ac,140b”
CheckSuccess=20
MessageContent=”55534243123456780000000000000011060000000000000000000000000000?
HuaweiMode=1

EnableLogging=0

5. Then run the command ‘sudo usb_modeswitch -c /etc/usb_modeswitch.d/12d1:140b:uMa=AnyDATA’
If it says that ‘Waiting for original device to vanish …’, then after say 5 secs issue it again. Now, it will say:
Original device is gone already, not checking
Searching for target devices …
……………
Mode switch succeeded. Bye.

6. Setting up wvdial. Create/edit the file /etc/wvdial.conf. The file should look like

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

7. Checking modem : ls -l /dev/ttyU*, it will show something like

crw-rw—- 1 root dialout 188, 0 2011-01-28 16:07 /dev/ttyUSB0
crw-rw—- 1 root dialout 188, 1 2011-01-28 16:07 /dev/ttyUSB1
crw-rw—- 1 root dialout 188, 2 2011-01-28 16:07 /dev/ttyUSB2

8. Dial out – To connect issue the command sudo wvdial.

And you will be connected to internet using your TATA PHOTON+ on Kubuntu
Thanks ..Anisur


  • Rk Babul 07/07/2009, 6:10 PM Reply

    I will update after i configure with linux

  • Manoj 08/03/2009, 3:52 PM Reply

    is it possible that i use Tata Photon + instrument and run the Reliance Net….

  • Vinay Yadav 02/23/2010, 1:51 AM Reply

    thanks for content , it help me lot in my setup

  • chintu 03/22/2010, 7:09 PM Reply

    Does it work ?
    Did any body tried and tested it ?

    By the way.. who is this dumb nut wants to use reliance net on tata device ?

  • nuncio 05/14/2010, 9:59 AM Reply

    Hi Sujith,
    After doing all the steps mentioned above my photon still not browsing the web. But I understand that it connects. I tried to copy the resolv.conf from /etc/ppp to overwrite the /etc/resolv.conf. Apparently no resolv.conf file is created in /etc/ppp/resolv.conf.

    • Prince Ahmad 10/29/2010, 4:05 PM Reply

      Hi nuncio
      Dear I have the same problem, It seems that net gets connected but the broser is down even after correcting resolv.conf. Help If U r done

  • elija 08/01/2010, 5:28 PM Reply

    What the hell does “Login to the Root as a root user” mean?

    Should it be

    Login as yourself?

    • Sujith 08/01/2010, 6:36 PM Reply

      Sorry …corrected. Thanks for pointing out.

  • Rakesh 08/12/2010, 3:31 PM Reply

    Hi
    I am using tata photan plus device named huwai ec 1260.
    When I run the command on red hat linux shell prompt, it scans something something and then produces the error—- no usb modem was detected…

    Plz help.

  • sdm 12/11/2010, 5:10 PM Reply

    Make sure your Network Manager is not screwing up things for you. For me it used to rewrite the resolv.conf and hence nothing worked. As a solution, I stopped Network Manager service and then edited resolv.conf and this worked like breeze.

  • Pragya 01/09/2011, 10:13 AM Reply

    step – 4
    wvdialconf/etc/wvdial.conf

    I am getting the error :
    bash: wvdialconf/etc/wvdial.conf: No such file or directory

    What should I do?

  • sumanta 01/17/2011, 12:12 PM Reply

    i installed fedora 10 with live cd.my tata photon+ model is Ec 1261.Does it possible to do internet with this model in fedora 10.

  • Anisur R. Mullick 01/28/2011, 5:17 PM Reply

    Successful configuration of TATA PHOTON+ on Kubuntu on DELL
    ——————————————————————————-
    Modem: Huawei Modem 270+ (EC1261)

    All the above post are good but scattered, so here I put a complete details altogether that will be required for the newer modem that has inbuilt storage.

    1. You will need usb-modeswitch, usb-modeswitch-data, wvdail . To install issue the command ‘sudo apt-get install usb-modeswitch usb-modeswitch-data wvdial”.

    2. Check your Modem device – After 5 sec of inserting the modem device, issue the command ‘lsusb’
    Here you will see your device as ‘Bus 002 Device 025: ID 12d1:140b Huawei Technologies Co., Ltd.’ or ‘Bus 002 Device 007: ID 12d1:1446 Huawei Technologies Co., Ltd.’

    3. To avoid any mis-configuration, edit the file ‘/etc/usb_modeswitch.d/12d1\:1446′ at line TargetProductList=”1001,1406,140c,14ac” to TargetProductList=”1001,1406,140c,14ac,140b”
    Create a new file ‘/etc/usb_modeswitch.d/12d1\:140b:uMa=AnyDATA’, you can issue the command
    sudo cp “/etc/usb_modeswitch.d/12d1:1446″ “/etc/usb_modeswitch.d/12d1\:140b:uMa=AnyDATA”.
    In the new file ‘/etc/usb_modeswitch.d/12d1\:140b:uMa=AnyDATA’, edit the line TargetProductList=”1001,1406,140c,14ac,140b” to TargetProductList=”140b”

    4. Create the file ‘/etc/usb-modeswitch.conf’ as follow:
    ########################################################
    # Huawei E270+ (HSPA+ modem)

    DisableSwitching=0

    DefaultVendor= 0x12d1
    DefaultProduct=0×1446

    TargetVendor= 0x12d1
    TargetProductList=”1001,1406,140c,14ac,140b”
    CheckSuccess=20

    MessageContent=”55534243123456780000000000000011060000000000000000000000000000″

    HuaweiMode=1

    EnableLogging=0

    5. Then run the command ‘sudo usb_modeswitch -c /etc/usb_modeswitch.d/12d1:140b:uMa=AnyDATA’
    If it says that ‘Waiting for original device to vanish …’, then after say 5 secs issue it again. Now, it will say:
    Original device is gone already, not checking
    Searching for target devices …
    ……………
    Mode switch succeeded. Bye.

    6. Setting up wvdial. Create/edit the file /etc/wvdial.conf. The file should look like

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

    7. Checking modem : ls -l /dev/ttyU*, it will show something like

    crw-rw—- 1 root dialout 188, 0 2011-01-28 16:07 /dev/ttyUSB0
    crw-rw—- 1 root dialout 188, 1 2011-01-28 16:07 /dev/ttyUSB1
    crw-rw—- 1 root dialout 188, 2 2011-01-28 16:07 /dev/ttyUSB2

    8. Dial out – To connect issue the command sudo wvdial.

    And you will be connected to internet using your TATA PHOTON+ on Kubuntu
    Regards,
    Anisur

    • N V Krishna 02/21/2011, 5:14 PM Reply

      Oh, Thank you so much Anisur. The instructions worked like a charm.

      One small part: usb_modeswitch did not quite succeed when I ran. It said

      “…..
      Searching for target devices …
      No new devices in target mode or class found

      Mode switch has failed. Bye. ”

      But after that running wvdial still connected. I manually edited /etc/resolv.conf to enter the nameserver information.

  • sumit 02/06/2011, 9:54 PM Reply

    Hey Mullick i have done all the steps that u mention but nothing gonna happen in my tata photon plus device model No:EC 1261 plz help me out of this
    I have installed ubuntu 10.04

  • Ashok Bhattacharya 03/03/2011, 6:40 PM Reply

    The alternate method worked for me.
    I am using HUAWEI EC1260 usb modem.
    Tried with ubuntu 10.10 working off usb drive – demo version.

    Thanks for the useful tip !

  • KumarTechno 03/09/2011, 8:33 PM Reply

    Thank you very much for posting here… It worked for me
    I was searching for very long

    Thanks
    Kumar

  • Ashok Bhattacharya 03/09/2011, 10:42 PM Reply

    If the responses are posted latest-first then it is easier – else the whole chain needs to be read.

  • Cutiyar 03/27/2011, 8:58 PM Reply

    it cant find my modem
    http://pastebin.com/Fa2hBJce

    iam using 10.4 LTS

    thanks .

  • partha pratim mazumder 03/28/2011, 5:26 PM Reply

    sir, i am not able 2 connection tata photon in fedora..pls brifly explain the steps for that connection…

  • ganesh 04/27/2011, 7:13 PM Reply

    hi!…
    i found this is very useful…
    and i would like to ask a favour from u!..

    i have done all that u said !..
    and i would like to know what these commands are doing!..

    in simple words i what to know what i have done technically!…
    thank u in advance!..:)
    again thanks for the timing help!…

  • KumarTechno 05/02/2011, 11:41 AM Reply

    I set up the device with this procedure. Working perfectly… Thanks a lot

  • suhas 05/07/2011, 1:32 PM Reply

    what are the apn ,proxy ,port no for tata photon plus?

  • Sagar 05/17/2011, 9:06 PM Reply

    Hi

    My Rel AC2726 gets listed as /dev/ptmx, i have gotten so far, but the after i dial wvdial, it says Sending ATZ and then says modem not responding. Please Help

    • N V Krishna 06/02/2011, 11:23 AM Reply

      Try the following:
      When you run usb_modeswitch and it says waiting for the old device to disappear – take out your modem and put it back. That may make it happy.

  • Lakshmi Narasimhan 06/01/2011, 1:10 AM Reply

    Thanks a lot for the instructions. I was able to connect my Tata Photon in a jiffy.

  • Sumesh Gupta 06/10/2011, 11:37 AM Reply

    1. My query is regarding switching of mode. Example : Rs 950/- is an unlimited pack which allows 5 GB of data transfer at 3.1 MBPS. If you consume this 5 GB before your monthly period you cannot connect to internet after that.
    2. In Windows, in such a situation one can change the mode of data card from Hybrid to CDMA1.x from settings and continue surfing at 144kbps.
    3. How can I achieve the same in Ubuntu (commands / howto to change mode)?
    I use Lucid Lynx and Reliance netconnect bb plus (Huawei tech)
    4. A solution to this will be highly appreciable.
    Thanks in advance
    Sumesh

    • Venkatesh Ramakrishnan 03/22/2012, 9:19 PM Reply

      Same problem here…. I use Ubuntu 11.10!!!

    • Contrapunctus 07/29/2012, 9:45 PM Reply

      Those who have internet working but want to switch modes between ‘Photon+’ and ‘Photon Whiz’ speeds (EVDO, 1xRTT) and Hybrid modes on Linux itself (instead of requiring Windoze for the task), I recently found the solution after TONNES of wandering around on the internet, and thought it’d share it. Here goes.

      1. Install Minicom from the package manager. It was in the repositories on my Ubuntu-based distro (dunno about other distros).
      2. Connect your modem, let modem-manager manage it, but do NOT connect to the internet (don’t select a connection).
      3. In a terminal, run -
      sudo minicom -D /dev/ttyUSB2
      4. After it initializes – if we have specified the correct interface (‘/dev/ttyUSB0′) you should be able to type right away. If not, try the same thing but with /dev/ttyUSB0, 1, etc. In my case it was 2.
      5. Now, you can enter AT commands in Minicom. Stuff like -
      ati
      (gives device info)

      There are tons of other AT commands which do a lot of fun stuff, but the one for us right now is -
      at^prefmode?
      (to know what mode is set currently. There are three modes, 2 = 1xRTT, 4 = EVDO, 8 = Hybrid)

      at^prefmode=2
      (will change it to force 1xRTT, change the last number according to what you want – like I said above, 2 = 1xRTT, 4 = EVDO, 8 = Hybrid)

      If all goes well, it should give an affirmative statement (prefmode=whatever you wrote).

      6. Quit Minicom by pressing Ctrl+A, Q, and then selecting ‘Yes’.
      7. Now select your connection. Check if the speed difference occured (1x is the slow one, EVDO is the fast one).

      If you have any problems, leave a comment here, or go to the IRC channel of network manager (#nm on freenode).
      Epic levels of thanks to dcbw of network-manager for patiently getting this to work for me over IRC.

      FWIW, here are some some AT command-related links I found in the process (might be of use if you have some other problems with your modems)
      http://www.roman10.net/how-to-use-modem-at-commands-for-usb-modem-at-linux/
      http://rendoaw.blogspot.it/2008/05/force-3g-network-selection-using-at.html

  • atul 08/01/2011, 11:41 PM Reply

    how can i connect my micromax device to the linux?

  • amit 08/21/2011, 4:05 PM Reply

    hey sujith i have installled red hat 5 n how should i install my HUAWAEI EC152 (tata photon plus) on it..plzzz help..

  • santosh 09/05/2011, 6:52 AM Reply

    i am using andriod 2.1 based archos TAB, can u pl help me in knowing how to use tata photon internet dongle with this.
    help is highlt appreciated.

  • Sreeji 09/05/2011, 11:39 PM Reply

    This worked….thanks a lot….

  • Sougata Das 01/19/2012, 1:07 PM Reply

    Hi, can i use Tata Photon plus [ Huawei EC156] in Android 2.2 laptop OR in Windows CE 6.0. Waiting for your early reply

  • Rutul Panchal John Player & Sons 02/02/2012, 12:52 AM Reply

    How Can i get Speed of tata docomo 3g

  • mik3s 09/12/2012, 1:16 AM Reply

    Hi Mr Sujith, I just bought karbonn smart tablet (Android 4.0) and tata photon plus. But I can’t connect to internet or 3G. Is it support or not. If it support, please can you help me to fix my problem. I don’t even know how to set configuration and access point too.

    I’ll be very glad if you can help me.
    THANKS IN ADVANCE

    PS: I’ll subscribe all your feed surely.

  • M. Goveia 03/22/2014, 10:35 PM Reply

    I am trying to configure a TP Link router MR3220 with Internet connection through Reliance Netconnect Model No. AC8710.

    I am able to connect with the router but not getting Internet service.

    I am being asked for an APN and I cannot find anyone – including at Reliance – who knows what the APN is for the Reliance Netconnect AC8710.

    I don’t even know what APN means.

    I would appreciate any help. Thanks

Leave a Comment

*