|
|
|
|
Page 1 of 1
Zte Mc315 Rconnect Data Card , Anyone Got It Working Under Linux
#2
Posted 01 February 2006 - 07:17 PM
#3
#5
Posted 30 May 2007 - 08:10 PM
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.]
[/quote]
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.]
[/quote]
#6
Posted 30 May 2007 - 08:34 PM
Quote
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.]
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.]
#7
Posted 11 June 2007 - 01:16 PM
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
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
#8
Posted 24 June 2007 - 12:32 AM
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
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
#9
Posted 24 September 2007 - 04:47 PM
mailbhupal, on May 30 2007, 08:10 PM, said:
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.]
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
- ← Previous Topic
- Reliance Netconnect Broadband+ HSD (EVDO) / Netconnect CDMA 1x ( R Connect )
- Next Topic →
Page 1 of 1

Sign In
Register
Help


MultiQuote