Reliance ZTE MC315+ on Ubuntu Feisty 7.04 also on BOSS 2.0 (debian sid/testing, kernel 2.6.21-1-486, gnome 2.18)
Finally, It Works !! :-)
I struggled a lot to make it work on my Ubuntu on IBM LEVONO 3000 N100 Model 0768.
No Sucess :(
it used to stop at ;
--> WvDial: Internet dialer version 1.56
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
But finally it WORKED !! Thanks to Manoj.
Here's HOW:
1. Now my dmesg says (after inserting a card in pcmcia slot);
[ 2713.564000] pccard: PCMCIA card inserted into slot 0
[ 2713.564000] pcmcia: registering new device pcmcia0.0
[ 2713.612000] ttyS3: detected caps 00000700 should be 00000100
[ 2713.612000] 0.0: ttyS3 at I/O 0x2e8 (irq = 3) is a 16C950/954
2. /etc/wvdial.conf is ;
[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
3. As a root:
setserial /dev/ttyS3 baud_base 460800
wvdial
--> WvDial: Internet dialer version 1.56
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
Caught signal 2: Attempting to exit gracefully...
--> Modem not responding.
root@alka-laptop:/home/alka# setserial /dev/ttyS3 baud_base 460800
root@alka-laptop:/home/alka# wvdial
--> WvDial: Internet dialer version 1.56
--> Initializing modem.
--> Sending: ATZ
+ZIND:8
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: ATZ
ATZ
OK
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Jul 24 16:17:04 2007
--> Pid of pppd: 7947
--> Using interface ppp0
--> pppd: X[04][06][08]H [06][08]
--> pppd: X[04][06][08]H [06][08]
--> pppd: X[04][06][08]H [06][08]
--> pppd: X[04][06][08]H [06][08]
--> pppd: X[04][06][08]H [06][08]
--> local IP address 220.224.34.198
--> pppd: X[04][06][08]H [06][08]
--> remote IP address 220.224.134.72
--> pppd: X[04][06][08]H [06][08]
--> primary DNS address 202.138.97.193
--> pppd: X[04][06][08]H [06][08]
--> secondary DNS address 202.138.96.2
--> pppd: X[04][06][08]H [06][08]
4. /var/log/message Says:
Jul 24 15:39:17 priti-laptop pppd[6706]: pppd 2.4.4 started by root, uid 0
Jul 24 15:39:17 priti-laptop pppd[6706]: Using interface ppp0
Jul 24 15:39:17 priti-laptop pppd[6706]: Connect: ppp0 <--> /dev/ttyS3
Jul 24 15:39:19 priti-laptop pppd[6392]: Device ttyS3 is locked by pid 6705
Jul 24 15:39:20 priti-laptop pppd[6392]: Device ttyS3 is locked by pid 6705
Jul 24 15:39:21 priti-laptop pppd[6706]: PAP authentication succeeded
Jul 24 15:39:21 priti-laptop pppd[6706]: local IP address 220.224.34.198
Jul 24 15:39:21 priti-laptop pppd[6706]: remote IP address 20.224.134.72
Jul 24 15:39:21 priti-laptop pppd[6706]: primary DNS address 202.138.97.193
Jul 24 15:39:21 priti-laptop pppd[6706]: secondary DNS address 202.138.96.2
5. Once all set look into /etc/resolv.conf which normally in ubuntu gets generated automatically by NetworkManager
nameserver 202.138.97.193
nameserver 202.138.96.2
# Note: If not, edit it manually, add primary and secondary DNS with reference to point 3 above.
6. root@priti-laptop:# nslookup google.co.in
Server: 202.138.97.193
Address: 202.138.97.193#53
Non-authoritative answer:
Name: google.co.in
Address: 72.14.207.104
Name: google.co.in
Address: 72.14.235.104
Name: google.co.in
Address: 72.14.203.104
# Note: i) With the value of baud 57600 in /etc/wvdial.conf, keep changes the value of baud_base as "n*baud " with `setserial` where n is 2,4,8,16
ex. baud=57600, baud_base=115200,230400,460800 ....
for baud_base 460800 or 921600 modem will start responding but may vary OS to OS.
ii) One can play with UART and baud_base together, if above doesn't work.
iii) Troubleshoot with Reliance ZTE CDMA 1X MG880 ?
Labels: Technical