kfup ppp0 not working with 10.1
I just installed Mandrake 10.1 after previously using 9.1, 8.1, and 7.0. Needless to say I like Mandrake. . . but
I've never been able to get drakconf to properly configure ifup for ppp. In the past I've use linuxconf and got it to work, but the 10.1 distro doesn't contain linuxconf, plus there are other reasons I don't want to use it that are really relevant to this problem.
Anyway, here are my config files:
/etc/sysconfig/network-scripts/ifcfg-ppp0:
DEVICE="ppp0"
USERCTL="no"
MODEMPORT="/dev/modem"
LINESPEED="115200"
PERSIST="yes"
DEFABORT="yes"
DEBUG="yes"
INITSTRING="ATZ"
DEFROUTE="yes"
HARDFLOWCTL="yes"
ESCAPECHARS="no"
PPPOPTIONS=""
PAPNAME="xxx"
REMIP=""
NETMASK=""
IPADDR=""
MRU=""
MTU=""
DISCONNECTTIMEOUT="5"
RETRYTIMEOUT="60"
BOOTPROTO="none"
PEERDNS="yes"
METRIC=40
ONBOOT=no
/etc/ppp/options:
lock
noauth
noipdefault
usepeerdns
192.168.0.201:192.168.0.202 # bogus ip numbers
ipcp-accept-remote # force routing to accept
ipcp-accept-local # ditto on this
holdoff 10
idle 600 #Drop the connection after 10 minutes of inactivity
. . . and here's the relevant /var/log/messages output:
Dec 2 14:15:08 xxx ifup-ppp: pppd started for ppp0 on /dev/modem at 115200
Dec 2 14:15:08 xxx pppd[5282]: pppd 2.4.2 started by root, uid 0
Dec 2 14:15:09 xxx chat[5306]: abort on (BUSY)
Dec 2 14:15:09 xxx chat[5306]: abort on (ERROR)
Dec 2 14:15:09 xxx chat[5306]: abort on (NO CARRIER)
Dec 2 14:15:09 xxx chat[5306]: abort on (NO DIALTONE)
Dec 2 14:15:09 xxx chat[5306]: abort on (Invalid Login)
Dec 2 14:15:09 xxx chat[5306]: abort on (Login incorrect)
Dec 2 14:15:09 xxx chat[5306]: send (ATZ^M)
Dec 2 14:15:09 xxx chat[5306]: expect (OK)
Dec 2 14:15:09 xxx chat[5306]: ATZ^M^M
Dec 2 14:15:09 xxx chat[5306]: OK
Dec 2 14:15:09 xxx chat[5306]: -- got it
Dec 2 14:15:09 xxx chat[5306]: send (ATDT375-0771^M)
Dec 2 14:15:09 xxx chat[5306]: expect (CONNECT)
Dec 2 14:15:09 xxx chat[5306]: ^M
Dec 2 14:15:36 xxx chat[5306]: ATDT375-0771^M^M
Dec 2 14:15:36 xxx chat[5306]: CONNECT
Dec 2 14:15:36 xxx chat[5306]: -- got it
Dec 2 14:15:36 xxx chat[5306]: send (^M)
Dec 2 14:15:36 xxx chat[5306]: timeout set to 5 seconds
Dec 2 14:15:36 xxx chat[5306]: expect (~)
Dec 2 14:15:36 xxx chat[5306]: 40000/ARQ/V90/LAPM/V42BIS^M
Dec 2 14:15:36 xxx chat[5306]: ^M
Dec 2 14:15:36 xxx chat[5306]:
Dec 2 14:15:36 xxx last message repeated 23 times
Dec 2 14:15:36 xxx chat[5306]: *****Authorized use onlty-Unauthorized use is Prohibited.**^M
Dec 2 14:15:36 xxx chat[5306]: ^M
Dec 2 14:15:36 xxx chat[5306]: ^M
Dec 2 14:15:41 xxx chat[5306]: alarm
Dec 2 14:15:41 xxx chat[5306]: send (^M)
Dec 2 14:15:41 xxx chat[5306]: send (^M)
Dec 2 14:15:41 xxx pppd[5282]: Serial connection established.
Dec 2 14:15:41 xxx pppd[5282]: Using interface ppp0
Dec 2 14:15:41 xxx pppd[5282]: Connect: ppp0 <--> /dev/modem
Dec 2 14:15:46 xxx pppd[5282]: PAP authentication succeeded
Dec 2 14:15:46 xxx kernel: PPP BSD Compression module registered
Dec 2 14:15:46 xxx kernel: PPP Deflate Compression module registered
Dec 2 14:15:47 xxx pppd[5282]: local IP address 67.150.161.60
Dec 2 14:15:47 xxx pppd[5282]: remote IP address 63.93.65.83
Dec 2 14:15:47 xxx pppd[5282]: primary DNS address 63.93.64.20
Dec 2 14:15:47 xxx pppd[5282]: secondary DNS address 63.93.64.21
Dec 2 14:15:47 xxx pppd[5359]: Modem hangup
Dec 2 14:15:47 xxx pppd[5359]: Connection terminated.
Dec 2 14:15:47 xxx pppd[5359]: Connect time 0.1 minutes.
Dec 2 14:15:47 xxx pppd[5359]: Sent 87 bytes, received 66 bytes.
Dec 2 14:15:47 xxx su(pam_unix)[5398]: session opened for user root by (uid=0)
Dec 2 14:15:47 xxx su(pam_unix)[5398]: session closed for user root
Dec 2 14:15:47 xxx NET: /etc/sysconfig/network-scripts/ifdown-post : updated /etc/resolv.conf
Dec 2 14:15:47 xxx su(pam_unix)[5438]: session opened for user root by (uid=0)
Dec 2 14:15:47 xxx su(pam_unix)[5438]: session closed for user root
Dec 2 14:15:47 xxx pppd[5359]: Connect time 0.1 minutes.
Dec 2 14:15:47 xxx pppd[5359]: Sent 87 bytes, received 66 bytes.
Dec 2 14:15:47 xxx pppd[5359]: Exit.
As you can see, after the initial successful handshaking the mode hangs up. By the way, kppp works fine (as usual). It seems that if kppp works, ifup should work. I must be missing something really basic (ie. stupid).
I've spent many hours on this problem, including trying various things suggested on this site and the usenet, but nothing has worked. Any suggestions would be greatly appreciated.
Thanks,
Tom
|