This procedure can be applied for different datacards such as those of reliance and tata indicom if they are devices of zte type. And guess what you don't have to worry about getting an zte device driver for linux...
Step 1: Login to linux as superuser(root)
Step 2: Connect your device to the USB port
Step 3: open terminal
Step 4: enter the command 'lsusb'.It should give a listing of all USB devices connected. Something similar to this...
Bus 005 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 003 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 014: ID 19d2:fffe ONDA Communication S.p.A.
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Your device should be listed. Something similar to ONDA Communication or Qualcomm depending on your device.
Step 5: Goto /etc and open wvdial.conf in a text editor.
Step 6: After keeping backup of the file modify it as follows. Please enter your correct user name and password instead of 1111111111
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = #777
Modem = /dev/ttyUSB0
Username = 1111111111
Password = 1111111111
Baud = 460800
Stupid Mode = 1
Step 6: whenever you need to connect to the internet just open the terminal and run the command 'wvdial'
linux-y5au:/home/kiran/lin evdo driver/linux # 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
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Fri May 22 12:05:59 2009
--> Pid of pppd: 5873
--> Using interface ppp0
--> pppd: ��[06][08][08]�[06][08]
--> pppd: ��[06][08][08]�[06][08]
--> pppd: �[06][08][08]�[06][08]
--> pppd: ��[06][08][08]�[06][08]
--> local IP address 10.4.61.177
--> pppd: ��[06][08][08]�[06][08]
--> remote IP address 192.168.52.12
--> pppd: ��[06][08][08]�[06][08]
--> primary DNS address 208.67.220.220
--> pppd: ��[06][08][08]�[06][08]
--> secondary DNS address 208.67.222.222
--> pppd: ��[06][08][08]�[06][08]
--> Script /etc/ppp/ip-up run successful
--> Default route Ok.
--> Nameserver (DNS) Ok.
--> Connected... Press Ctrl-C to disconnect
--> pppd: ��[06][08][08]�[06][08]
and voila online on linux and lovin it ;)
today only i have got this card and trying how to get this on linux and finally u helped me thanks a lot.
ReplyDeletesorry again its me - Rajib - its not working - the card is not detected, when i type 'lsusb" - i m using RHEL 5 . Can u plz help me ?
ReplyDeletewhat error are u getting exactly?
ReplyDeleteHi,
ReplyDeletethanks for ur post, but I am badly in the need of some guidance. I tried a lot in fedora 8, 11, Ubuntu and Mandriva to set up my bsnl-evdo, but unfortunately I couldn’t.
modprobe and wvdial.conf don’t work. It says command not found. I’ve been trying from about a month now, could you please help me out.
Thanks in advance.
-mayuresh
sorry pple.......im new to linux environment.....
ReplyDeleteim using bsnl evdo(zte ac8700) usb modem on windows vista from past few monthsmbut now i want to switch to fedora 11.
do i need to download new driver software...and where.
please help
Hi, wvdial is getting stuck for me after "secondary DNS address..." Hence, I am not able to browse. Detection of modem, configuration etc. have all been fine. I am using Fedora 11. Please help!!!
ReplyDeleteNo need of a driver in a linux environment.
ReplyDeleteU just use the above command line it will work
For all type of USB connection this command can be used......
ReplyDeleteI succesfully connected to the BSNL Wireless phone
I am using fedora core 4. Do not know how to install BSNL EV-DO Please help me to set up it. Please mention all the steps clearly.
ReplyDeleteHello dear this dont works in my laptop it says cannot open /dev/ttyUSB0: NO SUCH FILE OR DIRECTORY PLZ HELP ME I.M using Redhat 5 linux
ReplyDeleteI AM TRYING THE SAME BUT AFTER wvdial IT CANT OPEN ttyusb0 FILE, ACTUALLY IT IS NOT FOUND IN /dev FOLDER . hOU CAN I CREATE IT ?
ReplyDeleteI AM TRYING THE SAME BUT AFTER wvdial IT CANT OPEN ttyusb0 FILE, ACTUALLY ttyusb0 FILE IS NOT FOUND IN /dev FOLDER . HOU CAN I CREATE IT ??
ReplyDelete@SAMIRAN the dev directory of linux has all devices of your system. You cannot just create one like that. Which linux os do you have?
ReplyDeleteMr. Kiran i am using BAISAKHI LINUX, which is a bengali version of UBUNTU.
ReplyDeletecan u post the output of lsusb???
ReplyDeleteuse the command 'whereis lsusb' to find lsusb. Use it to find the code of your device which could be similar to ttyUSB0 but not exactly that....
ReplyDeletehello,
ReplyDeleteI'm using Fedora 12, BSNL EVDO (ZTE EVDO AC8700 800M) was working well when I installed it's driver from ztemt.com(http://ztemt.com/ennewzte/product/productLoad.action?model.id=ff808081175ed16c01175f4ad37a0006) , but When I updated the fedora using automatic updates(It was showing "You have 287 updates available", then I clicked on 'Update all' button, that's all.),then my EVDO is not working. I haven't changed any settings. the device is detecting but not getting connected. How to solve this problem?
anyone pls help me, Thanks in advance . send me reply to smartboy08@gmail.com
hi can anyone help me how to setup evdo....here i'am unable to understand the commands....actuall it's not showing tty usb0 itseld...
ReplyDeleteHi I am using FEdora 11 , I have configure the wvdial.conf file and than i run the command wvdial, but it stuck after Secondary DNS address
ReplyDeletewvdial
--> 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
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Jun 14 22:33:14 2010
--> Pid of pppd: 3403
--> Using interface ppp0
--> pppd: x.Y[08]�7Y[08]
--> pppd: x.Y[08]�7Y[08]
--> pppd: x.Y[08]�7Y[08]
--> pppd: x.Y[08]�7Y[08]
--> local IP address 117.254.240.119
--> pppd: x.Y[08]�7Y[08]
--> remote IP address 192.168.52.12
--> pppd: x.Y[08]�7Y[08]
--> primary DNS address 218.248.240.208
--> pppd: x.Y[08]�7Y[08]
--> secondary DNS address 218.248.240.134
--> pppd: x.Y[08]�7Y[08]
How to solve the problem !?
Help me out !
I am using a tataindicom ZTE AC87100, over a fedora 13; i tried to connect to the internet for more than 3 days, but i could not. however in the end i get it right, following the above instruction. BUT i added one little thing on the wvdial command. Just incase if this info will be helpful to anyone here is the extra thing i did.
ReplyDeleteI tried with : 'wvdial' but always gets the error /dev/ttyUSB0: NO SUCH FILE OR DIRECTORY etc. so, i tried
'wvdial cdma' then it worked ... i am not a linux expert, but this does work. Just wanna share my experience>
Oh, one more thing, you may also wanna run the following command in addition. after you run 'lsusb' you will get all the usb devices connected. and the important one is
Bus 001 Device 014: ID 19d2:fffe ONDA Communication S.p.A.
(taken from the above example, it could be different on your machine)
the zte vendor id 19d2 and the product id is fffe so u have to modprobe the usbserial... thus,
modprobe usbserial vendor=0x19d2 product=0xfffe
then run 'wvdial cdma'
Also Note that on reliance the usb device is dected as data storage. So you might wanna change this to modem, which is fff1 instead of fffe ( i get this info from searching the internet, but i have never actually used a reliance usb modem, in indicom it is ffff)
Thanks
Maybe you can use this following tips, actually this driver is for AC8700
ReplyDeletehttp://mopheat.blogspot.com/2010/07/running-modem-zte-ac2726-in-mandriva.html
Hi Kiran...I have tried to use the commands (in fedora 12) you have mentioned, but every time it stuck after the following line----------------------
ReplyDeletesecondary DNS address 208.67.222.222
–> pppd: ��[06][08][08]�[06][08]
Plz help me out!!