here is the full problem and workarounds I have tried:
(Ctrl C+V directly from link above)
Hi all,
I am trying to use TATA Indicom CDMA USB modem on Mandriva Linux 2008
using wvdial.
I have edited wvdial.conf file as per company's suggestion and it looks as follows:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
stupid mode = 1
Modem Type = USB Modem
ISDN = 0
+FCLASS = 0
Phone = #777
Modem = /dev/ttyACM0
Username = internet
Password = internet
Baud = 460800
I know it works because I have used it on Open SUSE on same computer and have
got no problems.
On Mandriva, when I run wvdial and then disconnect using Ctrl+C, I get following
output:
[root@localhost kedar]# wvdial
--> WvDial: Internet dialer version 1.56 (abuild@mandelbrot)
--> 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 Tue Aug 26 08:00:01 2008
--> Pid of pppd: 6954
--> Using interface ppp0
--> pppd: h[16][06][08]�[1e][06][08]
--> pppd: h[16][06][08]�[1e][06][08]
--> pppd: h[16][06][08]�[1e][06][08]
--> pppd: h[16][06][08]�[1e][06][08]
--> local IP address 121.245.41.169
--> pppd: h[16][06][08]�[1e][06][08]
--> remote IP address 172.23.129.14
--> pppd: h[16][06][08]�[1e][06][08]
--> primary DNS address 203.197.12.30
--> pppd: h[16][06][08]�[1e][06][08]
--> secondary DNS address 202.54.1.18
--> pppd: h[16][06][08]�[1e][06][08]
Caught signal 2: Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: h[16][06][08]�[1e][06][08]
--> Connect time 0.6 minutes.
--> pppd: h[16][06][08]�[1e][06][08]
--> pppd: h[16][06][08]�[1e][06][08]
--> Disconnecting at Tue Aug 26 08:00:40 2008
If I ping primary or secondary DNS, I get following output:
From 121.245.41.169 icmp_seq=1 Destination Host Unreachable
--- 203.197.12.30 ping statistics ---
0 packets transmitted, 0 received, +48575 errors
On one blog I found that wvdial requires a file /etc/resolve.conf with IP addresses of
primary and secondary DNS. I manually created the file but problem persisted. I have
also tried adding the two IP addresses in hosts file using Mandriva Linux Control
Centre, but no solution.
What is happening ? Because of this I am not able to connect to the internet.
Regards,
Kedar
I tried using kppp in Open SUSE and my internet connection was running fine there. So I set up the same settings in Mandriva 2008 and tried to connect. Once again I was not able to open any webpages.
Following are the messages I got in kppp:
Modem Ready
Logging on to Network
then in kppp's debug window:
ATZ
OK
ATQ0 V1 E1 SO=0 &C1 &D2 +FCLASS=0
OK
ATM1L1
OK
ATDT#777
CONNECT
Starting pppd
Then I get a pop-up from system tray
Network is up on interface ppp0
But I am unable to connect to internet.
Also I have found out from network monitoring programs that after the initial handshake not a single byte is transmitted or received.
What I think I missed was commenting out lines in link ifup-ppp script as provided in link by you (but there was no reason to do so in open SUSE) and I am using dynamic addresses (I am seeing correct primary and secondary DNS addresses in resolve.conf). But I will try these out too and let you know.
Mandriva 2008 on Acer Laptop