LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-02-2004, 08:08 PM   #1
Tom Bozack
LQ Newbie
 
Registered: Dec 2000
Location: Ridgecrest, California
Posts: 25

Rep: Reputation: 15
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
 
Old 12-03-2004, 02:44 AM   #2
Tom Bozack
LQ Newbie
 
Registered: Dec 2000
Location: Ridgecrest, California
Posts: 25

Original Poster
Rep: Reputation: 15
correction . . .

Oops, the title should read "ifup ppp0 . . . "
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ppp0 paul62 Mandriva 1 09-04-2005 02:58 AM
eth1 and ppp0, need to send UDP packets through ppp0 smhs Linux - Networking 2 07-12-2005 09:54 AM
ADSL-STATUS: linked to ppp0 but ppp0 seems to be down. mikkime23 Linux - Networking 1 01-01-2005 12:00 PM
Endless Loop: ppp0 Unregister Netdevice: waiting for ppp0 to be free. oberon-ken-obi Linux - Networking 1 07-21-2004 12:04 AM
eth0 & ppp0 seem to be OK, but adsl isn't working. help plz mecister Linux - Networking 8 06-28-2004 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration