Hello. The manual says
-c, --chat
Run wvdial as a chat replacement from within pppd, instead of
the more normal method of having wvdial negotiate the connection
and then call pppd.
I took it as if I configure wvdial work fine, then I can use it as chat
by simply adding -c. On my Ubuntu 10.04 it doesn't behave that way. In
short, wvdial runs fine, but if used with -c, output different commands
than it used to.
Please kindly redirect me to the right forum if I asked in the wrong
place. Please also kindly point out if I misread the manual.
Here are command output, at the bottom of the email followed my
/etc/wvdail.conf
# /usr/bin/wvdial --chat
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
# /usr/bin/wvdial -c
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
root@orphalese:/etc/ppp/peers# wvdial
--> WvDial: Internet dialer version 1.60
--> 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*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat May 15 18:23:13 2010
--> Pid of pppd: 2627
--> Using interface ppp0
--> pppd: ¨@F[08][08]AF[08]
--> pppd: ¨@F[08][08]AF[08]
--> pppd: ¨@F[08][08]AF[08]
--> pppd: ¨@F[08][08]AF[08]
--> pppd: ¨@F[08][08]AF[08]
--> local IP address 115.149.66.69
--> pppd: ¨@F[08][08]AF[08]
--> remote IP address 115.168.14.55
--> pppd: ¨@F[08][08]AF[08]
--> primary DNS address 202.101.224.68
--> pppd: ¨@F[08][08]AF[08]
--> secondary DNS address 202.101.224.69
--> pppd: ¨@F[08][08]AF[08]
[cut from here, connection is now set up properly]
Following are my /etc/wvdial.conf
$ cat /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1#
Modem = /dev/ttyUSB0
Username = CARD
Password = CARD
Baud = 921600
Stupid Mode = 1
[Dialer Old]
#Init1 = ATZ
#Init3 = ATE0V1
#Init5 = ATS0=0
#Init6 = AT+CFUN=1
#Init1 = ATZ
#Init2 = AT&FE0V1&C1S0=0
#Init3 = AT+cgdcont=1,"IP","CMNET","",0,0
Modem Type = USB Modem
Phone = #777
Modem = /dev/ttyUSB0
Username = MYCARD
Password = MYCARD
New PPPD = yes
[Dialer HS]
Init1 = AT+CGDCONT=1,"IP","internet"
Modem = /dev/ttyACM0
Phone = *99#
Username = internet
Password = internet
[Dialer CM]
Modem = /dev/ttyACM0
Phone = *99***2#
Username = CARD
Password = CARD
--
You received this message because you are subscribed to the Google Groups "wvstreams-devel" group.
To post to this group, send email to
wvstrea...@googlegroups.com.
To unsubscribe from this group, send email to
wvstreams-dev...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/wvstreams-devel?hl=en.