wvdial works -- ifup fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is wvdial.conf:

[Modem0]
Modem = /dev/ttyUSB0
Baud = 460800
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
Init3 = ATM0
FlowControl = CRTSCTS
Stupid Mode = 1
New PPPD = yes
[Dialer cingular]
Username = isp@xxxxxxxxxxxxxxxx
Password = CINGULAR1
Phone = *99***1#
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Inherits = Modem0
[Dialer sprint]
Username = moo
Password = foo
Phone = #777
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Inherits = Modem0

Nothing fancy as you can see.

Here is /etc/sysconfig/network-scripts/ifcfg-cingular

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
ONBOOT=no
USERCTL=yes
PEERDNS=yes
TYPE=Modem
DEVICE=ppp0
BOOTPROTO=dialup
AC=off
BSDCOMP=off
VJCCOMP=off
CCP=off
PC=off
VJ=off
LINESPEED=460800
MODEMPORT=/dev/ttyUSB0
PROVIDER=cingular
DEFROUTE=yes
PERSIST=yes
WVDIALSECT=cingular
MODEMNAME=Modem0
DEMAND=no
IPV6INIT=no
IDLETIMEOUT=600
DEBUG=yes


again, nothing fancy.

The problem:

wvdial works like a champ:

 -> sudo wvdial cingular
--> WvDial: Internet dialer version 1.54.0
--> 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
--> Sending: ATM0
ATM0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT EDGE
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Tue Jun  6 15:20:34 2006
--> pid of pppd: 3105
--> Using interface ppp0
--> pppd: lowControl
--> pppd: lowControl
--> pppd: lowControl
--> local  IP address 166.173.73.129
--> pppd: lowControl
--> remote IP address 66.102.184.197
--> pppd: lowControl
--> primary   DNS address 66.102.163.231
--> pppd: lowControl
--> secondary DNS address 66.102.163.232
--> pppd: lowControl
--> Connect time 0.1 minutes.
--> pppd: lowControl
--> pppd: lowControl
--> local  IP address 166.173.73.129
--> pppd: lowControl
--> remote IP address 66.102.184.197
--> pppd: lowControl
--> primary   DNS address 66.102.163.231
--> pppd: lowControl
--> secondary DNS address 66.102.163.232
--> pppd: lowControl


ifup cingular hangs at CHAP/PAP:

Jun  6 15:12:31 mfvot01 pppd[2887]: pppd 2.4.3 started by root, uid 0
Jun  6 15:12:32 mfvot01 wvdial[2888]: WvDial: Internet dialer version 1.54.0
Jun  6 15:12:32 mfvot01 wvdial[2888]: Initializing modem.
Jun  6 15:12:32 mfvot01 wvdial[2888]: Sending: ATZ
Jun  6 15:12:32 mfvot01 wvdial[2888]: ATZ
Jun  6 15:12:32 mfvot01 wvdial[2888]: OK
Jun  6 15:12:32 mfvot01 wvdial[2888]: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Jun  6 15:12:32 mfvot01 wvdial[2888]: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Jun  6 15:12:32 mfvot01 wvdial[2888]: OK
Jun  6 15:12:32 mfvot01 wvdial[2888]: Sending: ATM0
Jun  6 15:12:33 mfvot01 wvdial[2888]: ATM0
Jun  6 15:12:33 mfvot01 wvdial[2888]: OK
Jun  6 15:12:33 mfvot01 wvdial[2888]: Modem initialized.
Jun  6 15:12:33 mfvot01 wvdial[2888]: Sending: ATDT*99***1#
Jun  6 15:12:33 mfvot01 wvdial[2888]: Waiting for carrier.
Jun  6 15:12:33 mfvot01 wvdial[2888]: ATDT*99***1#
Jun  6 15:12:33 mfvot01 wvdial[2888]: CONNECT EDGE
Jun  6 15:12:33 mfvot01 wvdial[2888]: Carrier detected.  Chatmode finished.
Jun  6 15:12:33 mfvot01 pppd[2887]: Serial connection established.
Jun  6 15:12:33 mfvot01 pppd[2887]: Using interface ppp0
Jun  6 15:12:33 mfvot01 pppd[2887]: Connect: ppp0 <--> /dev/ttyUSB0
Jun  6 15:13:05 mfvot01 pppd[2887]: IPCP: timeout sending Config-Requests
Jun  6 15:13:11 mfvot01 pppd[2887]: Connection terminated.
Jun  6 15:13:11 mfvot01 pppd[2887]: Modem hangup
Jun  6 15:13:12 mfvot01 pppd[2887]: Exit.


What am I missing?  It is driving me crazy!
To make matters worse, this works in another system that is
configured the same. :(



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux