|
|
Filed Under (Life) by Thejesh GN on 12-01-2008
|
I recently got a Reliance Netconnect USB based CDMA modem. By default Reliance does not support Linux. I did few searches on the net for a ppp connection setting and other details on net. I got an hoe to on the Reliance Forums. The following worked for me on Ubuntu Intel but should work for all the distros. I am reproducing the how-to with my own comments.
=============================================
1. Execute everything as root ( usually su in Ubuntu)
2.Check your card is recognized by the kernel
Code:
# cat /proc/bus/usb/devices
Output:
…..
…..
T: Bus=02 Lev=01 Prnt=01 Port=05 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1
P: Vendor=12d1 ProdID=1001 Rev= 0.00
S: Manufacturer=Huawei Technologies
S: Product=Huawei Mobile
S: SerialNumber=HUAWEI EC3X1
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=pl2303
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=128ms
E: Ad=8a(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=0b(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=pl2303
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
…..
…..
This depends on which company modem you are using. Mine is ZTE. Please check on the box for details. And then get the corresponding vendor and product id.
3.Now modprobe the driver
Code:
# modprobe usbserial vendor=0×12d1 product=0×1001
4.Should get something like this with dmesg
Code:
# dmesg
Output:
[ 2315.412106] usbcore: registered new interface driver usbserial
[ 2315.412508] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 2315.461938] usbcore: registered new interface driver usbserial_generic
[ 2315.461945] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 2315.480382] drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
[ 2315.480414] pl2303 2-6:1.0: pl2303 converter detected
[ 2315.480608] usb 2-6: pl2303 converter now attached to ttyUSB0
[ 2315.480620] pl2303 2-6:1.1: pl2303 converter detected
[ 2315.480691] usb 2-6: pl2303 converter now attached to ttyUSB1
5.Now edit your wvdial.conf file
Code:
# vi /etc/wvdial.conf
Add the following to that file
[Modem0]
Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
[Dialer cdma]
Username = You Phone Number Here
Password = Your Password … usually same as your phone number
Phone = #777
Stupid Mode = 1
Inherits = Modem0
6.Now run wvdial
Code:
# wvdial cdma
–> WvDial: Internet dialer version 1.56
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Modem initialized.
–> Sending: ATDT#777
–> Waiting for carrier.
ATDT#777
CONNECT 230400
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Sat Mar 3 22:55:20 2007
–> Pid of pppd: 24314
–> Using interface ppp0
–> local IP address 220.226.50.126
–> remote IP address 97.239.2.10
–> primary DNS address 202.138.103.100
–> secondary DNS address 202.138.96.2
Thats it … you are now connected
7. In Ubuntu … this can be done @ System->Administration->Networking.Ensure that your internet traffic goes through your “Modem” by selecting the ppp.You should be able to browse now….
Comments:
45 Comments posted on "Reliance Netconnect USB card on Linux – Howto"
anand on January 13th, 2008 at 8:52 AM
#
Reply

gud one macha I was wondering how to configure in red hat

cool. Were you able to setup?
Harish on January 24th, 2008 at 11:58 PM
#
Reply

Hi,
I am using Reliance wimax connections which works fine with windows. But I am not able to configure in linux(Ubuntu). I choosed automatic configuration (DHCP) in network setting but it is not working. If any one able to connect please mail me the instructions.
Thanks
[...] Making something to work on Linux will sometimes becomes hassle. It will be even frustrating if the manufacturer don’t have support for linux. My fellow blogger Thejesh have written an “How to” on making Reliance netconnect USB card to work on Linux. Here it goes, completely extracted from his post (http://thejeshgn.com/2008/01/12/reliance-netconnect-usb-card-on-linux-howto/): [...]

I have Ubuntu and a Reliance NetConnect. I am new to Linux (but a techie).
I tried the first command, and password is asked. I entered the password of the login I had used (admin powers), but no characters appeared, and so the pwd was incorrect. What am I doing wrong?

Did you mean you tried “cat /proc/bus/usb/devices” and did not get anything?
Ranish on March 11th, 2008 at 9:47 AM
#
Reply

Hi Thej,
Thanks for this tip. I am looking for ‘How to configure Reliance net connect’ in Linux ?
gopi on May 17th, 2008 at 6:33 AM
#
Reply

Hi I could not find
“cat /proc/bus/usb/devices”
Vineath on May 28th, 2008 at 5:07 PM
#
Reply

hi i having Redhat Linux ES edition and Reliance Netconnect. i tried to configure it i got everything correctly but its not connectd with NET wat will be the prblm

@Vineath: Is it dialing to reliance? Are you getting the ip?
shubhangi on June 7th, 2008 at 6:29 PM
#
Reply

speed slow
Santosh on August 15th, 2008 at 2:06 PM
#
Reply

I am trying to use Reliance ZTE CDMA 1X Modem MG880 with Ubuntu 8.04.
I tried steps as given below. (I am new to Ubuntu) Please help me to make this work.
santo@santo-notebook:~$ cat/proc/bus/usb/devices
bash: cat/proc/bus/usb/devices: No such file or directory
So I tried sudo gedit /etc/init.d/mountdevsubfs.sh
and made changes like
# Magic to make /proc/bus/usb work
mkdir -p /dev/bus/usb/.usbfs
domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount –rbind /dev/bus/usb /proc/bus/usb
santo@santo-notebook:~$ sudo /etc/init.d/mountdevsubfs.sh start
sudo: unable to resolve host santo-notebook
/etc/init.d/mountdevsubfs.sh: 67: -obusmode=0700,devmode=0600,listmode=0644: not found
ln:
creating symbolic link `/dev/bus/usb/devices’: File exists
After this I restarted my HP notebook.
santo@santo-notebook:~$ cat/proc/bus/usb/devices
bash: cat/proc/bus/usb/devices: No such file or directory
santo@santo-notebook:~$ sudo wvdialconf
sudo: unable to resolve host santo-notebook
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…..
santo@santo-notebook:~$
When I tried lsusb command it is listed as Bus xxx Device 013: ID 19d2:fffd
I even checked in Administration > Network as given here http://ubuntuforums.org/showthread.php?p=4929133#post4929133
It looks like the USB modem is not even getting detected by Ubuntu. The same modem works in Vista.
Please help me to resolve this.
Thank you
Santosh
Santosh on August 15th, 2008 at 2:08 PM
#
Reply

I am trying to use Reliance ZTE CDMA 1X Modem MG880 with Ubuntu 8.04.
I tried steps as given below. (I am new to Ubuntu) Please help me to make this work.
santo@santo-notebook:~$ cat/proc/bus/usb/devices
bash: cat/proc/bus/usb/devices: No such file or directory
So I tried sudo gedit /etc/init.d/mountdevsubfs.sh
and made changes like
# Magic to make /proc/bus/usb work
mkdir -p /dev/bus/usb/.usbfs
domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount –rbind /dev/bus/usb /proc/bus/usb
santo@santo-notebook:~$ sudo /etc/init.d/mountdevsubfs.sh start
sudo: unable to resolve host santo-notebook
/etc/init.d/mountdevsubfs.sh: 67: -obusmode=0700,devmode=0600,listmode=0644: not found
ln:
creating symbolic link `/dev/bus/usb/devices’: File exists
After this I restarted my HP notebook.
santo@santo-notebook:~$ cat/proc/bus/usb/devices
bash: cat/proc/bus/usb/devices: No such file or directory
santo@santo-notebook:~$ sudo wvdialconf
sudo: unable to resolve host santo-notebook
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…..
santo@santo-notebook:~$
When I tried lsusb command it is listed as Bus xxx Device 013: ID 19d2:fffd
I even checked in Administration > Network as given here http://ubuntuforums.org/showthread.php?p=4929133#post4929133
It looks like the USB modem is not even getting detected by Ubuntu. The same modem works in Vista.
Please help me to resolve this.
Thank you
Santosh
Santosh on August 15th, 2008 at 5:42 PM
#
Reply

Here another update == please help me
santo@santo-notebook:~$ sudo gedit /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Phone = #777
Password =
Username =
ISDN = 0
Setvolume = 0
FlowControl = Hardware (CRTSCTS)
Modem = /dev/ttyUSB0
Dial Command = ATDT
Baud = 460800
Stupid Mode = 1
rishu on September 6th, 2008 at 3:58 PM
#
Reply

hey m using ubuntu and reliance lg350r usb(landline) net connection.
i m unable to use it as it doesn,t downoad drivers and detect the phone. plz help me early..
thanks
aditya on October 3rd, 2008 at 5:38 PM
#
Reply

Hey,I am using Fedora 8 and Reliance’s ZTE modem. What changes do I need to do in above mentioned commands to make this work? When I tried to modprobe, it displayed an error.
Sharique Qamar on October 13th, 2008 at 4:21 PM
#
Reply

1) ShariquePC:~# cat /proc/bus/usb/devices
O/P:
T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 6 Spd=12 MxCh= 0
D: Ver= 1.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1
P: Vendor=19d2 ProdID=fffd Rev= 0.00
S: Manufacturer=ZTE, Incorporated
S: Product=ZTE CDMA Tech
S: SerialNumber=Serial Number
C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=128ms
E: Ad=8a(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=0b(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
2) ShariquePC:~#modprobe usbserial vendor=0×19d2 product=0xfffd
3)ShariquePC:~# gvim /etc/wvdial.conf
#Just paste it in your wvdial.conf file
[Dialer zte]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Phone = #777
Username =
Password =
ISDN = 0
SetVolume = 0
FlowControl = Hardware (CRTSCTS)
Modem = /dev/ttyUSB0
Dial Command = ATDT
Baud = 460800
Stupid Mode = 1
4) wvdial zte&
WvDial: Internet dialer version 1.56
–> 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 Oct 13 16:21:07 2008
–> Pid of pppd: 12774
–> Using interface ppp0
–> pppd: �[01][06][08]8[03][06][08]
–> pppd: �[01][06][08]8[03][06][08]
–> pppd: �[01][06][08]8[03][06][08]
–> pppd: �[01][06][08]8[03][06][08]
–> pppd: �[01][06][08]8[03][06][08]
–> local IP address 123.239.151.0
–> pppd: �[01][06][08]8[03][06][08]
–> remote IP address 220.224.134.71
–> pppd: �[01][06][08]8[03][06][08]
–> primary DNS address 202.138.97.193
–> pppd: �[01][06][08]8[03][06][08]
–> secondary DNS address 202.138.96.2
–> pppd: �[01][06][08]8[03][06][08]

Try ubuntu forums way if my way didn’t work.
Srujan on December 3rd, 2008 at 9:57 AM
#
Reply

@Sharique Qamar : I tried the instructions. After detecting the carrier it started using PPP0 and gave this error message:
–> Disconnecting at Wed Dec 03
–> The PPP deamon has died : A modem hung up the phone (exit code = 16)
vivek on December 9th, 2008 at 11:12 AM
#
Reply

any solution to santosh problem. it is my problem also. ubuntu is not detecting the HUAWEI EC325.
bijo on December 9th, 2008 at 3:51 PM
#
Reply

i have idea netsetter usb modem. i asked the vendor whether they have any support for linux . they said its not possible.can any one share some info on how to use the modem on ubuntu.
Pritam on December 12th, 2008 at 3:43 PM
#
Reply

Use ubuntu Intrepid Ibex. It has in-built settings for many indian internet providers, including Idea, Airtel, MTNL, BSNL. But not mine Reliance :(
Anuj on December 16th, 2008 at 2:17 PM
#
Reply

Hi !!! I am getting the same problem as santosh which is as under.. Ubuntu is not detecting the modem… kindly help..
santo@santo-notebook:~$ sudo wvdialconf
sudo: unable to resolve host santo-notebook
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…..
santo@santo-notebook:~$
When I tried lsusb command it is listed as Bus xxx Device 013: ID 19d2:fffd
I even checked in Administration > Network as given here http://ubuntuforums.org/showthread.php?p=4929133#post4929133
It looks like the USB modem is not even getting detected by Ubuntu. The same modem works in Vista.
Please help me to resolve this.
Thank you
Santosh
roman on January 2nd, 2009 at 3:02 PM
#
Reply

reliance Ec325 on Ubuntu 7.1
I got internet during many days. Now, I can not connect.
The PPP daemon has died: A modem hung up the phone (exit code = 16)
Please, can u help me to reconnect ?
chandra bhusan patnaik on January 8th, 2009 at 10:58 PM
#
Reply

Hi
I am newly installed fedora 10 linux and I am new to for this one and I used BSNL CDMA HANTEL SET for internet but i cannot installed the usb on my system. Hence you are requested to how to i installed the same. I dont know the kernal. Hence you are requested to kindly inform to me detail please.
kiran0705 on January 25th, 2009 at 6:25 AM
#
Reply

Hi there
I was successful in configuring the ZTE modem on Ubuntu but i am using or to say trying my hands on
Mandriva 2009 and RLEH 5.2
Could anyone guide me with the steps there
I reached till ppp0 in Mandriva but i get this stupid pin number error
I dont know why
I mean even my manual setup did not work
kiran
chetan on February 22nd, 2009 at 11:27 AM
#
Reply

i am not able to set up my modem please help me i am a begginer in linux environment….pls help yar
Rupesh on March 28th, 2009 at 1:34 AM
#
Reply

Hi, i am using ZTE MG 880 on Fedora 10. where i get the fedora 10 driver for ZTE MG 880 reliance modem and how to configure it in fedora 10 plz help me…
gnjana on March 30th, 2009 at 11:43 PM
#
Reply

i am using linux redhat 5.2. can anyone help to configure Reliance broadband+ 3.1 mbps connection in my OS. my device is EC186C HUAWEI. KPPP unable to find out the modem.
deepak on May 3rd, 2009 at 3:38 PM
#
Reply

did u find any solution for that stupid PIN number error in Mandriva???
I am trying to connect BSNL ZTE EV-DO card in Mandriva…
sundar_ima on May 7th, 2009 at 11:17 PM
#
Reply

i got an error like this…
pawanjit@pawanjit-laptop:~$ sudo wvdial
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
–> Sending: ATQ0
–> Re-Sending: ATZ
–> Modem not responding.
pawanjit@pawanjit-laptop:~$
any idea???
Badri on June 7th, 2009 at 12:09 AM
#
Reply

hi Theja,
I have got a Reliance broadband+ (ZTE AC8710). But i couldn’t connect to net in my Fedora 10.
I got the vendor details. but when I tried
modprobe usbserial vendor=0×19d2 product=0xfff6
it gives error as
FATAL: Error inserting usbserial (/lib/modules/2.6.27.5-117.fc10.i686.PAE/kernel/drivers/usb/serial/usbserial.ko): Invalid argument.
Please suggest what to do for this. I googled a lot but couldn’t find anything.
Lalit Aggarwal on June 19th, 2009 at 2:29 PM
#
Reply

[root@lalit ~]# wvdial cdma
–> WvDial: Internet dialer version 1.54.0
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Modem initialized.
–> Sending: ATDT#777
–> Waiting for carrier.
ATDT#777
CONNECT 230400
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Fri Jun 19 14:20:23 2009
–> pid of pppd: 1300
–> Using interface ppp0
–> local IP address 220.224.24.203
–> remote IP address 220.224.134.44
–> primary DNS address 202.138.97.193
–> secondary DNS address 202.138.96.2
Internet is not getting browsed even not able to ping global DNS or any website please suggest if anyone have solution for the same.
Sathish on July 21st, 2009 at 7:52 PM
#
Reply

Your blog was helpful in getting ZTE8710 working for me. This is how i got it working on Ubuntu Intrepid detailed with some gotchas along the way http://travisneotyler.blogspot.com/2009/07/back-on-wireless-web.html

Hi,
I am having Mandriva Linux 2008 and I purchased Reliance 1x CDMA net connect. My modem is LXU800. Can you please post the procedure to connect to internet in lunix?
Note: I just started with linux. So I am a novoice.
Thanks in advance
Vijay

@kiran0705 : Please do post the procedure if you are able to connect through mandriva. I also am using the same…
Hemant on August 26th, 2009 at 7:09 PM
#
Reply

Hi Theja,
After wvdial command, entering i got an error like this…
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
–> Sending: ATQ0
–> Re-Sending: ATZ
–> Modem not responding.
Please guide me.
saif allauddin on October 2nd, 2009 at 8:43 PM
#
Reply

@Sathish : hey have u given the product id n vendor id if not try this
as root
#lsusb
u will get the o/p as
somthing like this
bus:0003…………….
bus:003………..
and one line mentioning ur device name
on that line u will get ur pid n vid in the form
xxxx:xxxx left one is ur vid n other is pid
now writ the cmnd
/sbin/modprobe usbserial vendor=0xvid product=0xpid
after this step follow all other steps as forums suggest
hope u will get through the problem

Hey thanks.. your article really helped me, following the same thoughts, I have compiled a list of steps for someone to follow on Ubuntu to get this working:
http://www.atiwari.com/articles/2009/10/reliance-netconnect-zte-ac8710-on-ubuntu/
divang on October 18th, 2009 at 1:44 PM
#
Reply

I got some error after setting the modprobe.
That is the output of the dmesg -
usb 1-1: USB disconnect, address 2
APIC error onCPU1: 00(40)
vijay on October 22nd, 2009 at 8:31 PM
#
Reply

@Santosh :
I connected successfully netconnect mg880+ but on another day i tried the same “wvdial”, it didn’t work so i issued command “wvdialconf” but it says:
vijay@vijay-desktop:~$ sudo wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
ttyS0: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan: 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 .
vijay@vijay-desktop:~$
naveen on December 4th, 2009 at 2:14 PM
#
Reply

i buy the zet usb modem mg880+. iam using ubuntu 9.0v. can i install. pl z tell me how to install modem card. this the modem i get the installation CD.
Pokiri on January 8th, 2010 at 1:55 AM
#
Reply

Its Very Good. But, i would like to know whether AC 8710 modem can be hacked so tht it will be used by other provider/ other 3G sim. I wonder its possible.