Jump to content
Reliance Jio & Reliance Mobile Discussion Forums
zte_cdma_user

Zte Mc315 Rconnect Data Card , Anyone Got It Working Under Linux

Recommended Posts

I just bought this card and detects under Linux as a serial device but wvdial is unable to query the modem. Anyone got it working under linux ? Any drivers known to work for this card under linux ?

Share this post


Link to post
Share on other sites
I just bought this card and detects under Linux as a serial device but wvdial is unable to query the modem. Anyone got it working under linux ? Any drivers known to work for this card under linux ?

can you tell what is the price for this card?

Share this post


Link to post
Share on other sites

I just bought this card and detects under Linux as a serial device but wvdial is unable to query the modem. Anyone got it working under linux ? Any drivers known to work for this card under linux ?

can you tell what is the price for this card?

6500/- from reliance webworld

Share this post


Link to post
Share on other sites

I have tried a lot but not able to configure this card on linux.

I was able to do so with my previous siarra aircard on linux, but there is no help available till date for linux.

Share this post


Link to post
Share on other sites

Two steps to enable ZTE MC315 CDMA 1X Reliance.

Step 1. Insert the card and do dmesg as root

output : 0.0: ttyS0 at I/O 0x2e8 (irq = 3) is a 16C950/954

Step 2. edit /etc/wvdial.conf

[Dialer Reliance]

Modem = /dev/ttyS0

Baud = 57600

SetVolume = 0

Dial-AT-OK ATDT Command =

Init1 = ATZ

FlowControl = Hardware (CRTSCTS)

Phone = #777

Username =

Password =

New PPPD = yes

Carrier Check = no

Stupid Mode = 1

Before running wvdial Reliance do following

The trick is simple - you have to play with the UART and the baud_base.

Just run setserial on your machine and it will give the following output for UART and baud_base

* uart set UART type (none, 8250, 16450, 16550, 16550A,

16650, 16650V2, 16750, 16850, 16950, 16954)

* baud_base set base baud rate (CLOCK_FREQ / 16)

What i did was that i kept on changing my UART and kept the baud_base as 230400. When I changed my UART to 16550A. And i got connected to the internet running wvdial Reliance

[Fyi: I am sending this information using ZTE MC315 CDMA 1X Reliance connected on OS FC5.]

Share this post


Link to post
Share on other sites

Two steps to enable ZTE MC315 CDMA 1X Reliance.

Step 1. Insert the card and do dmesg as root

output : 0.0: ttyS0 at I/O 0x2e8 (irq = 3) is a 16C950/954

Step 2. edit /etc/wvdial.conf

[Dialer Reliance]

Modem = /dev/ttyS0

Baud = 57600

SetVolume = 0

Dial-AT-OK ATDT Command =

Init1 = ATZ

FlowControl = Hardware (CRTSCTS)

Phone = #777

Username =

Password =

New PPPD = yes

Carrier Check = no

Stupid Mode = 1

Before running wvdial Reliance do following

The trick is simple - you have to play with the UART and the baud_base.

Just run setserial on your machine and it will give the following output for UART and baud_base

* uart set UART type (none, 8250, 16450, 16550, 16550A,

16650, 16650V2, 16750, 16850, 16950, 16954)

* baud_base set base baud rate (CLOCK_FREQ / 16)

What i did was that i kept on changing my UART and kept the baud_base as 230400. When I changed my UART to 16550A. And i got connected to the internet running wvdial Reliance

[Fyi: I am sending this information using ZTE MC315 CDMA 1X Reliance connected on OS FC5.]

Share this post


Link to post
Share on other sites

1. login as root

cat /etc/wvdial.conf

[Dialer Defaults]

Modem = /dev/ttyS3

Baud = 57600

SetVolume = 0

Dial-AT-OK ATDT Command =

Init1 = ATZ

FlowControl = Hardware (CRTSCTS)

Phone = #777

Username = xxxxxxxxxx

Password = xxxxxxxxxx

New PPPD = yes

Carrier Check = no

Stupid Mode = 1

2. create a file "reliance" with entry as show below:

cat reliance

setserial /dev/ttyS3 baud_base 230400

wvdial

3. run "reliance" from root

4. The /var/log/message will show

=========

Jun 11 19:45:42 manoj-pc pppd[4788]: pppd 2.4.2 started by root, uid 0

Jun 11 19:45:42 manoj-pc kernel: PPP generic driver version 2.4.2

Jun 11 19:45:42 manoj-pc pppd[4788]: Using interface ppp0

Jun 11 19:45:42 manoj-pc pppd[4788]: Connect: ppp0 <--> /dev/ttyS3

Jun 11 19:45:47 manoj-pc pppd[4788]: PAP authentication succeeded

Jun 11 19:45:47 manoj-pc kernel: PPP Deflate Compression module registered

Jun 11 19:45:47 manoj-pc pppd[4788]: local IP address 220.224.54.139

Jun 11 19:45:47 manoj-pc pppd[4788]: remote IP address 220.224.134.110

Jun 11 19:45:47 manoj-pc pppd[4788]: primary DNS address 202.138.97.193

Jun 11 19:45:47 manoj-pc pppd[4788]: secondary DNS address 202.138.96.2

5. Once u get the local,remote ip and dns.

Add dns address in /etc/resolv.conf

cat /etc/resolv.conf

nameserver 202.138.103.100

nameserver 202.138.96.2

6. nslookup gmail.com

[root@manoj-pc ~]# nslookup gmail.com

Server: 202.138.96.2

Address: 202.138.96.2#53

Non-authoritative answer:

Name: gmail.com

Address: 64.233.161.83

Name: gmail.com

Address: 64.233.171.83

Name: gmail.com

Address: 72.14.253.83

Enjoy Surfing net with ZTE-MC315 datacrd on Linux.

I have tested, this technique on RHEL4AS,and Ubunto. And on both os was itt was working good.

Some time while running "reliace" , it not get ip in first run... so you may have to run it again and again, till u get connected.

Make sure that u have setserial rpm installed.

Manoj Kumar Jha

Share this post


Link to post
Share on other sites

mailbhupal & manojjha,

Thanks a lot for your post. It took me about 3 minutes to do these get connected - most of the time I wasted since I didn't setserial uart 16550A. I am posting this from Ububtu Fawn running on dell lattitude d620 (from Live CD!). I cannot imagine such versatility with any other os than Ubuntu.

manojjha, maybe you could include the "setserial uart 16550A" more explicitly in your post ?

- k

Share this post


Link to post
Share on other sites
Two steps to enable ZTE MC315 CDMA 1X Reliance.

Step 1. Insert the card and do dmesg as root

output : 0.0: ttyS0 at I/O 0x2e8 (irq = 3) is a 16C950/954

Step 2. edit /etc/wvdial.conf

[Dialer Reliance]

Modem = /dev/ttyS0

Baud = 57600

SetVolume = 0

Dial-AT-OK ATDT Command =

Init1 = ATZ

FlowControl = Hardware (CRTSCTS)

Phone = #777

Username =

Password =

New PPPD = yes

Carrier Check = no

Stupid Mode = 1

Before running wvdial Reliance do following

The trick is simple - you have to play with the UART and the baud_base.

Just run setserial on your machine and it will give the following output for UART and baud_base

* uart set UART type (none, 8250, 16450, 16550, 16550A,

16650, 16650V2, 16750, 16850, 16950, 16954)

* baud_base set base baud rate (CLOCK_FREQ / 16)

What i did was that i kept on changing my UART and kept the baud_base as 230400. When I changed my UART to 16550A. And i got connected to the internet running wvdial Reliance

[Fyi: I am sending this information using ZTE MC315 CDMA 1X Reliance connected on OS FC5.]

Dear Sir,

Thanks for such a detailed explanation but i wanted to ask tht can i connect the same card in linux red hat ent. edition????? if yes then fine if no then please guide for this op. also. thanks again

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×