Solved

ppp fails to connect to Netcom

Posted on 1998-07-28
1
317 Views
Last Modified: 2010-03-18
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
Comment
Question by:ntkonnek
1 Comment
 

Accepted Solution

by:
sikander earned 200 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now