I've Huawei technologies EC1260 CDMA HSIA USB modem. How do I configure Tata Teleservices "Tata Photon+ Mobile Broadband" Service under Linux operating systems using this modem?
EC1260 HSIA USB modem support download speed of upto 3.1Mbps and upload speed of upto 1.8Mbps.
The driver for this modem is provided with Linux kernel 2.6.20 or above. In other words any modern Linux distribution will able to use this modem out of box. The following instructions are tested on:
- Debian Linux 5.x
- Ubuntu Linux 9.10
- Fedora Linux 12 / Redhat & friends
Step #1: Get Required Software
=> wvdial - Text based PPP dialer with built-in intelligence.
OR
=> gnome-ppp - GUI based modem Internet connection tool for the GNOME Desktop.
Linux Drivers For EC1260 CDMA HSIA USB modem
The following drivers are used by Linux:
- usbserial - USB serial driver (modem driver).
- usb-storage - USB pen driver.
Install Required Software
You can install any one of the above program from the CD/DVD or via the Internet (connect using Ethernet or any other medium). Once connected install the wvdial package under Debian / Ubuntu Linux, run:
# apt-get install wvdial gnome-ppp
If you are using Redhat / Fedora / CentOS Linux, enter:
# yum install wvdial
Step #2: Stop Services
Turn off other networking interface (such as vmware or virtual box networking):
# /etc/init.d/vmware stop
# ifconfig eth0 down
Make sure you remove other usb storage devices such as pen or external hard disk and remove usb-storage driver:
# rmmod usb_storage
Above will make sure you get correct routing table (you can turn on all other services once connected).
Note if you know how to set static routing using route command skip the step # 2.
Step #3: Install Modem
Insert the USB modem and monitor your /var/log/messages file, enter:
# tail -f /var/log/messages
Sample outputs:
Dec 4 10:08:30 vivek-desktop kernel: [ 3957.760015] usb 4-2: new full speed USB device using uhci_hcd and address 4
Dec 4 10:08:30 vivek-desktop kernel: [ 3957.932103] usb 4-2: configuration #1 chosen from 1 choice
Dec 4 10:08:30 vivek-desktop kernel: [ 3957.959732] Initializing USB Mass Storage driver...
Dec 4 10:08:30 vivek-desktop kernel: [ 3957.961031] scsi15 : SCSI emulation for USB Mass Storage devices
Dec 4 10:08:30 vivek-desktop kernel: [ 3957.961146] usbcore: registered new interface driver usb-storage
Dec 4 10:08:30 vivek-desktop kernel: [ 3957.961150] USB Mass Storage support registered.
Dec 4 10:08:30 vivek-desktop kernel: [ 3958.240046] usb 4-2: USB disconnect, address 4
Dec 4 10:08:31 vivek-desktop kernel: [ 3958.520015] usb 4-2: new full speed USB device using uhci_hcd and address 5
Dec 4 10:08:31 vivek-desktop kernel: [ 3958.703066] usb 4-2: configuration #1 chosen from 1 choice
Dec 4 10:08:31 vivek-desktop kernel: [ 3958.717371] scsi19 : SCSI emulation for USB Mass Storage devices
Dec 4 10:08:31 vivek-desktop kernel: [ 3958.727347] USB Serial support registered for GSM modem (1-port)
Dec 4 10:08:31 vivek-desktop kernel: [ 3958.727388] option 4-2:1.0: GSM modem (1-port) converter detected
Dec 4 10:08:31 vivek-desktop kernel: [ 3958.727481] usb 4-2: GSM modem (1-port) converter now attached to ttyUSB0
Dec 4 10:08:31 vivek-desktop kernel: [ 3958.727495] option 4-2:1.1: GSM modem (1-port) converter detected
Dec 4 10:08:31 vivek-desktop kernel: [ 3958.727550] usb 4-2: GSM modem (1-port) converter now attached to ttyUSB1
Dec 4 10:08:31 vivek-desktop kernel: [ 3958.727563] option 4-2:1.2: GSM modem (1-port) converter detected
Dec 4 10:08:31 vivek-desktop kernel: [ 3958.727617] usb 4-2: GSM modem (1-port) converter now attached to ttyUSB2
Dec 4 10:08:31 vivek-desktop kernel: [ 3958.727639] usbcore: registered new interface driver option
Dec 4 10:08:31 vivek-desktop kernel: [ 3958.727642] option: v0.7.2:USB Driver for GSM modems
Dec 4 10:08:36 vivek-desktop kernel: [ 3963.714729] scsi 19:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 0
Dec 4 10:08:36 vivek-desktop kernel: [ 3963.717721] scsi 19:0:0:1: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
Dec 4 10:08:36 vivek-desktop kernel: [ 3963.746710] sr3: scsi-1 drive
Dec 4 10:08:36 vivek-desktop kernel: [ 3963.746951] sr 19:0:0:0: Attached scsi generic sg6 type 5
Dec 4 10:08:36 vivek-desktop kernel: [ 3963.747085] sd 19:0:0:1: Attached scsi generic sg7 type 0
Dec 4 10:08:36 vivek-desktop kernel: [ 3963.807173] sd 19:0:0:1: [sdd] Attached SCSI removable diskType the following command to display information about USB buses in the system and the devices connected to them, enter:
# lsusb
Sample outputs:
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 12d1:140b Huawei Technologies Co., Ltd.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubStep #4: wvdial Configuration
The wvdialconf command detects your modem, its maximum baud rate, and a good initialization string and generates or updates the wvdial configuration file based on this information. Type the following command:
# wvdialconf
Sample outputs:
Editing `/etc/wvdial.conf'. Scanning your serial ports for a modem. ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. Modem Port Scan<*1>: S2 S3 WvModem<*1>: Cannot get information for serial port. ttyUSB0<*1>: ATQ0 V1 E1 -- OK ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD ttyUSB0<*1>: Speed 9600: AT -- OK ttyUSB0<*1>: Max speed is 9600; that should be safe. ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK WvModem<*1>: Cannot get information for serial port. ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. WvModem<*1>: Cannot get information for serial port. ttyUSB2<*1>: ATQ0 V1 E1 -- OK ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD ttyUSB2<*1>: Speed 9600: AT -- OK ttyUSB2<*1>: Max speed is 9600; that should be safe. ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK Found a modem on /dev/ttyUSB0. Modem configuration written to /etc/wvdial.conf. ttyUSB0: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" ttyUSB2 : Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
Here is sample updated /etc/wvdial.conf file:
[Dialer Defaults] Modem = /dev/ttyUSB2 Phone = #777 Username = internet Password = internet New PPPD = yes stupid Mode = 1
How Do I Connect To The Internet?
Simply type the wvdial command, enter:
# wvdial
Sample outputs:
Test The Internet Connection
Send ping request, enter:
ping google.co.in ping cyberciti.biz
If you cannot ping ...
Edit /etc/resolv.conf, enter:
# vi /etc/resolv.conf
Update it as follows:
nameserver 202.54.12.164 nameserver 202.43.29.5
Save and close the file. Test it again:
# ping google.com
Once connected you can start your vmware or bring back eth0 connections. Make sure routing setup correctly for other network device:
# route -n
To disconnect the Internet session (wvdia dialar) simply hit [CTRL]+[C] or run killall command:
# killall wvdial
Further readings:
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop










![Linux Disable Bluetooth [ Bluetooth Input Devices (hidd) ]](http://s13.cyberciti.org/images/shared/rp/3/21.jpg)




{ 59 comments… read them below or add one }
I don’t think its so complex. I am using it right now.
as soon as I plug the usb click on network connections -> click on mobile broadband tab(3rd one) -> add new connection -> click next and save it.
do remember to click on check box connect automatically.
@kashyap
No it is not complicated, but when you know command line based option it east to debug all sort of problems.
Appreciate your post!
Hi,
This very helpfull information.
but Is this working in openSUSE 11.1 ?
Avin …..
This looks good thanks for the post. I was wandering if Tata indicom supports Linux as the local dealer said it was not possible. But now I’ll certainly try it.
Cheers
Hi
I have done all the setups above but for “tail -f /var/log/messages” and for “wvdialconf” I dont get results as you had suggested instead I get the below, my laptop does seem to detect the usb modem, it gives the following output:
“root@kamal-laptop:/# tail -f /var/log/messages
root@kamal-laptop:/# lsusb //this alone seems to be expected one as per your suggestion
“root@kamal-laptop:/# wvdialconf
I use Ubuntu 8.04 version in my laptop, Kindly help.
Regards
Kamal
You modem is detected. Are you using external USB hard disk, per or anything else? If so remove them and reboot the computer and only attach tata modem. It should work! Finally, I’ve tested this with Ubuntu 9.10. You are using pretty old version. Get latest version and try again!
Thanks!Yes, I had connected only tata indicom modem in USB no other devices was connected to any other USB ports. OK, I will try updating the ubuntu version and try again.
Regards
Kamal
photon plus worked of the shelf on my lenovo G-series laptop operating on ‘karmic’.
But since I’m using the 30 hour monthly plan, is there anyway to monitor the time elapsed in a given internet session.Just cant figure it out.
Do you want GUI or CLI based app?
preferably gui, but cli is also ok with me
Try
a) net-acct – The network accounting daemon logs network traffic in a format suitable for generating billing information or usage statistics.
b) vnstat – vnStat is a console-based network traffic monitor. It keeps a log of hourly, daily and monthly network traffic for the selected interface(s).
I have a ZTE AC 8710 modem. Is this modem supported too?
@Vivek Thomas,
I’m not sure.. just put it into Linux laptop / desktop and see if get detected using above commands…
This is a good knoledge for me but i want to know how to use the internet via mobile phone in redhat enterprise linux operating system please mail me
Hi,
Any of had a luck of Photon+ EC 1260 working with RHEL 5 ??
Would appreciate help here.
Regards
Varan
@ varan,
I don’t think so it will work with Red Hat enterprise Linux 5 due to older stable kernels. Use latest kernel and distro such as Fedora Linux 12 or Ubuntu 9.10. Those will support this modem. RHEL is for serious servers or workstations only and not for laptop.
Right I had tried to install my MTS ZTE USB Modem FFF1 in my RHEL 5.3 32 bit server os installed in my laptop, I figured out it was not detecting /dev/ttyUSB0 driver. But When I installed the same modem in my Fedora 11 OS, fedora detected it and I was able to run the internet through this modem.
Thanks for Highlighting this.
Regards
Charanjit Singh
@Vivek,
Thanks. I had a look at Tata Indicom’s guide for support of RHEL5 Platform. It states that RHEL5 is supported. However, its not.
Thanks again. for your response
Regards
V
hi vivek,
I tried this with Debian Lenny and Gnewsense, but am facing the same problem as Kamal. Any further ideas on this? Would appreciate very much.
Thanks in advance, Dimple.
@varan,
RHEL 5.4 comes with kernel version 2.6.18 and driver is part of kernel 2.6.20 or above. So it will not support it until and unless you download latest kernel from kernel.org and compile it yourself.
@dimple,
Try Ubuntu 9.10 or Fedora 12 those works out of box. For all other versions you need to get driver via latest kernel.
Thx will try it and give feedback.
hi vivek,
i used the command “uname -r” to know the kernel version. for debian lenny it shows 2.6.26-2-686 and for Gnewsense 2.6.24-24-generic.
dimple
@Vivek,
Many thanks for your response. I had tried with Ubuntu 8.10, Works fantastically.
Thanks again.
However, I would like to still give a try when RHEL gets officially to kernel 2.6.20 or >
Regards
V
Hi Vivek,
First of all thanks a lot for this post. I am using OpenSuse 10.2 kernel version is 2.6.18-32. And I don’t need to update it for this modem. Simply I used following set of commands.
1) eject /dev/sr1 # as modem is detected as CDROM drives.
2) rmmod usb_storage
3) modprode usbserial vendor=0x12d1 product=0x140b # need to load usbserial module with modem info.
4) Remaining things are same as you mention above.
Hope u don’t mind.
With Regards,
Ankit
is this working in openSUSE 11.2 32-bit working ?
thnx………..
Hi Please help me to install photon+ in ubuntu 9.4
when i type wvdialconf i am geting error
/etc/wvdial.conf: Can't write '/etc/wvdial.conf.tmp14123': Permission denied /etc/wvdial.conf: Can't write '/etc/wvdial.conf' ('/etc/wvdial.conf'): Bad file descriptor please suggest . vijith@vijith-laptop:~$ wvdialconf Editing `/etc/wvdial.conf'. Scanning your serial ports for a modem. Modem Port Scan: S0 S1 S2 S3 WvModem: Cannot get information for serial port. ttyUSB0: ATQ0 V1 E1 -- OK ttyUSB0: ATQ0 V1 E1 Z -- OK ttyUSB0: ATQ0 V1 E1 S0=0 -- OK ttyUSB0: ATQ0 V1 E1 S0=0 &C1 -- OK ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyUSB0: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD ttyUSB0: Speed 9600: AT -- OK ttyUSB0: Max speed is 9600; that should be safe. ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK WvModem: Cannot get information for serial port. ttyUSB1: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyUSB1: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud ttyUSB1: ATQ0 V1 E1 -- and failed too at 115200, giving up. WvModem: Cannot get information for serial port. ttyUSB2: ATQ0 V1 E1 -- OK ttyUSB2: ATQ0 V1 E1 Z -- OK ttyUSB2: ATQ0 V1 E1 S0=0 -- OK ttyUSB2: ATQ0 V1 E1 S0=0 &C1 -- OK ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyUSB2: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD ttyUSB2: Speed 9600: AT -- OK ttyUSB2: Max speed is 9600; that should be safe. ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK Found a modem on /dev/ttyUSB0. Modem configuration written to /etc/wvdial.conf. /etc/wvdial.conf: Can't write '/etc/wvdial.conf.tmp14123': Permission denied /etc/wvdial.conf: Can't write '/etc/wvdial.conf' ('/etc/wvdial.conf'): Bad file descriptor ttyUSB0: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" ttyUSB2: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" vijith@vijith-laptop:~$Run it as root
sudo wvdialconfHi,
Change the login to root. And then execute this command
wvdialconf
I am using FC12 and after connecting the Tata Indicom Photon+ and using WVdialconf getting below message. No other device is connected to USB, can you help?
[root@Mandar ~]# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf’.
Scanning your serial ports for a modem.
Modem Port Scan: S0 S1 S2 S3
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial
If you still have problems, send mail to .
[root@Mandar ~]#
I have EC1260 HSIA USB modem and i am not able to use it on fedora 12
It just not detect the the device. It only loads the usb_storage module not the usb_serial module. I inserted usb_serial module by modprobe usbserial vendor=0x12d1 product=0×1446.
But no luck. it wont work.
If any one solved this problem please help me
thanks
Thanks a lot, this worked for me.
I am using EC1261 and after connecting the Tata Indicom Photon+ and using WVdialconf getting below message. No other device is connected to USB, can you help?
# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf’.
Scanning your serial ports for a modem.
Modem Port Scan: S0 S1 S2 S3
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial
If you still have problems, send mail to
Hi Kullai,
Does EC1261 work on Redhat enterprise linux or fedora?
Waiting for your reply,
Ujjwal
Unfortunately I am using my NSLU2 (Linksys open source NAS) for this purpose. My NSLU2 is running on Debian Lenny (armel) and I got wvdial installed on the NSLU2 without a problem. Now the biggest problem is to run wvdial as it needs any usb storage device to be disconnected but I can not disconnect the usb storage device from my NSLU2 as the debian is running from usb device.
Can anyone please suggest a solution/alternate here.
Hi Vivek,
I have Tata Photon + ce100 device and ubuntu 9.10 OS. I have tried the steps that you have mentioned, but in vain. The messages that I get when I do “sudo wvdial” is as below.
I have even tried using gnome-ppp to get this working, but even that in vain.
Please help me configure this device.
Thank you.
Mahesh
Thanks for this post. I am using Fedora 12 and the same Huawei EC1260 USB Modem but from a different carrier in Ethiopia. Once it was able to recognize the USB device, the wvdialconf command still returned the same error as mentioned above or Modem not responding. I needed to install usb_modeswitch-1.1.3 and run it before it began detecting it properly with wvdialconf command, and then dialing properly with wvdial command and connecting. Additionally, I also found that using other tools like Network Manager to configure the connection changed my wvdial.conf settings which would also create errors. With just the following configuration settings:
[Dialer Defaults]
Modem = /dev/ttyUSB0 /* or whichever port it is detected on by dmesg*/
Modem Type = Analog Modem
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Username = ______ /*given by your ISP*/
Password = ______ /*given by your ISP*/
Phone = #777
Stupid Mode = 0
Baud = 9600
ISDN = 0
I finally got it to work. Hope this helps and thanks again…
I got it working on ArchLinux.
You need to install usb_modeswitch for the device to be detected as modem.
#pacman -S usb_modeswitch
and follow the rest of the steps to configure wvdial.
I am using Backtrack 4
when i type wvdialconf i am getting
root@bt:`# wvdialconf
Scanning your serial ports for a modem.
Modem Port Scan: S0 S1 S2 S3
WvModem: Cannot get information for serial port.
ttyUSB0: ATQ0 V1 E1 — OK
ttyUSB0: ATQ0 V1 E1 Z — OK
ttyUSB0: ATQ0 V1 E1 S0=0 — OK
ttyUSB0: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB0: Modem Identifier: ATI — Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
ttyUSB0: Speed 9600: AT — OK
ttyUSB0: Max speed is 9600; that should be safe.
ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
WvModem: Cannot get information for serial port.
ttyUSB1: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB1: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB1: ATQ0 V1 E1 — and failed too at 115200, giving up.
WvModem: Cannot get information for serial port.
ttyUSB2: ATQ0 V1 E1 — OK
ttyUSB2: ATQ0 V1 E1 Z — OK
ttyUSB2: ATQ0 V1 E1 S0=0 — OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB2: Modem Identifier: ATI — Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
ttyUSB2: Speed 9600: AT — OK
ttyUSB2: Max speed is 9600; that should be safe.
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0: Speed 9600; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
ttyUSB2: Speed 9600; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
After that i typed /etc/wvdial.conf but i get permission denied
root@bt:`# /etc/wvdial.conf
-bash: /etc/wvdial.conf: Permission denied
Pleae help
wvdial.conf is a config file you cannot try to run it.
Once you make the appropriate entries mentioned in the article, just ‘wvdial’ as root, or you can give your user permission to use wvdial.
After the wvdial command, your configuration looks right; I am guessing you were already connected. However, if user permissions are the issue, just run wvdial as su
Thanks Guys … My net is working now .. Thanks a lot
Hi,
I m the root user but i m not able to edit the resolv.conf file….it is giving permission denied error…please help……I have to update the DNS server in that……….bcs webpages are not opening..i m connected to internet but sites are not opening…if any other soluton is ther please suggest me………..
Please help me….u ppl are my only hope…i have achieved 75% percent success in connecting to internet but ……sites are not opening…………dont know why root user is also not having permission..please help freinds
Have you connected using wvdial?
Hi Beruh,
Thanks for replying…….i m able to connect to internet………because i m getting DNS servers I.P. at the end….but none of the page opened…after lot of googling i was able to edit resolv.conf also..but still dont know y the pages are not opening…….Please advise what could be the reason for this……Thanks a lot man..for replying.
I did the same. But I got the following error messages when I executed wvdial command on my RHEL6 system.
==========
[root@kmaiti ~]# 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
ERROR
–> Invalid dial command.
–> Disconnecting at Tue Jan 4 10:37:07 2011
[root@kmaiti ~]#
Can you you tell me how to activate the device using their scratch coupon? I am using tata photon+ HUAWEI usb modem(EC1260)
==========
Regards,
Kamal Maiti
hey friends I am using Backtrack 4 in my laptop… But i don’t know how to start internet via tata photon+ … please tell me the solution.
Friend I am facing same problem, I have tried all but still it not working,
Its Detecting as a usb but not as a modem.
when making an entry in modprobe,displaying the error
#modprobe usbserial vendor=0*12d1 product=0*1446
FATALerror inserting usbserial /lib/modules/……./usbserial.ko
My OS is SUSE 11.1
here is proof
Like you , vivek gite – I am also fond of CLI especially the verbose details which show what is happening.
How do I configure the System Monitor applet in Gnome taskbar to show usb modem network stats? It only works for my BSNL wlan link only.
Linux Mint 8 x64
System Monitor 2.28.0
using wvdial method to dial with usb broadband modem.
Hi
I was trying to connect my cell phone(carrier-Tata Docomo) in Fedora 15 and was able to do so..however when I was trying to ping,my terminal showed this error message
[abhijeet@Illuminati ~]$ ping google.com
ping: unknown host google.com
when I edited /etc/resolv.conf and put the two DNS server address even then problem persists(I have got no nameserver found)
Please help me
Hello Mr. Gite,
This has enabled me to serf and use internet on my Fedora 15 (GNOME3) using an HSDPA GSM Modem (MTNL (Mumbai) DOLPHIN 3G SIM). But there are two issues which I need to consult with you.
1) My usb modem needs Sakis3g for switching and being recognized by the OS. Is there a way I can make Fedora 15 to recognize my usb modem without taking aid of Sakis3g?
2) My network manager doesn’t (or can’t) recognize the connection even though it is connected well with the internet. As a result I can not use Yum or Software Add/Remove facility to install software over the internet. Any help will be highly appreciated. (Did I thank you for this post of yours? Seems I forgot, so here it is. Thank you so very much for writing such a detailed post and helping noobs like me. Please keep doing this.)
I can serf the internet very well however, my network manager is not showing
Hi. Well, this seems to be a quite old post. But I’ve a problem in connecting to Internet with Photon Plus in Fedora 14. After installing all the required packages, my system detects the USB modem, even the connection name is shown network selection menu. But I am not being able to connect to Internet. Can somebody help me resolve the issue???
Thanks in advance.
hi…….. how to configure the redhat linux version 5.4 o.s.,when connect the sky tel broad band………plz give me the procedure…..
Hi,
I have a Reliance Netconnect+(ZTE) Data card.Model Number:AC2737How to install in Redhat Linux 6.Kindly send me the process through e-mail or this forum.
Thanks & Regards,
Venkat
Hi,
I know this is rather late to post on such an old question (I’m sure u have already found a solution.) but since the question has been left unanswered for so long by the community as well as by Mr. Vivek Gite, I take the liberty to answer it. Please pardon my English though.
So anyone who’s using RHEL/CentOS and want to connect their usb modems, here is how:
(You WILL need the “wvdial” package on your system before you follow these steps)
1) Download sakis3g (http://www.sakis3g.org/#downloading).
2) Install it as instructed on the webpage. (Actually there’s nothing to ‘install’. You just need to unpack the tarball and that’s it.)
3) Open a terminal and change to the directory where you’ve unpacked sakis3g.
4) Issue command $ sudo ./sakis3g –interactive
5) A GUI will open up. Select “Only set up modem (Switch + Load Module + Set tty)
6) Choose appropriate options in the following dialog boxes. (Choose “# interface 0″ if you’re choose an interface.)
7) After selecting your usb modem the final message-box will tell you where the modem has been mounted (generally USBtty0).
8) Open up another terminal and type $ sudo wvdialconf (This will create wvdial.conf file at /etc/wvdial.conf.)
9) Open the file in gedit ($ sudo gedit /etc/wvdial.conf) and fill up appropriate phone no., username, password etc. Save file and exit.
10) Now type $ sudo wvdial. This will recognize and connect your usb modem to internet. Note the primary and secondary dns numbers as explained in this blog by Mr. Vivek Gite (He IS a guru.)
11) Now Open up another terminal (There shall be total 3 terminals by now) and type $ sudo system-config-network
12) From the dialog-box that opens, choose DNS configuration and enter the primary and secondary DNS numbers you have noted earlier. Save and Quit.
13) Open a browser. You should be connected and see your home-page. In case you are still not connected. Try opening browser with sudo (eg. $ sudo firefox). If your browser connects now that simply means that your account needs super user rights. Google “how to give super user rights to a user”. You will be good.
I hope this helps someone.
(ps. I’ve to fire up sakis3g first and wvdial afterwards every time I want to connect to internet. I’ve not found any way to automatically do this.)
it worked for well thanks a lot very neat documentation easy to understand and execute
thanks a ton :) simple and easy
Hi,
Is It will work on RHEL 5 also.