• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

ppp fails to connect to Netcom

When I invoke the ppp script, either ppp-on (slackware) or ppp-up (SUSE which I am presently using) after what I consider a long time, more than a minute the modem eventuall kicks in and sounds like it is connecting but doesn't.  Ping  and ifconfig both indicate no connection.  In the /var/log/messages I get the following: (parts left out)
kernel ppp line discipline registered
kernel registered device ppp0
pppd   using interface ppp0
pppd   connect:  ppp0 <--> /dev/modem
pppd   sent [LCP ConfReq id=0x1<mru1500> <magic 0x89aa264b> <pcomp><accomp>]
pppd   last message repeated 6 times Hangup (SIGHUP) modem hangup connection terminated.

I would guess the LCP ConfReq message is the problem but I have no idea what it is or means. help.

Would also like to know why it takes so long for the script to kick in.  It was virtually instantanious on a 486 running slackware, now I am running SUSE on a p90, 32meg RAM
0
ntkonnek
Asked:
ntkonnek
1 Solution
 
sikanderCommented:
You should check the ppp-up scripts and edit the line where the
pppd daemon is starting.
It should look like this (it works fine with my connection, with
no delay.
exec /usr/sbin/pppd debug lock modem crtscts /dev/modem 57600 \
    asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
    defaultroute

Now, the /dev/modem should be a link to apropriate /dev/cuaX device, where the modem is attached.

Next, in a script, you should have two variables, $LOCAL_IP and
$REMOTE_IP which is quite understanding.

This should work just fine.

The message (LCP ConfReq) which pppd sent is probably due to improper settings of pppd daemon. You should read pppd man page very carefully, and pay attention to lcp-* commands.

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now