Solved

ppp fails to connect to Netcom

Posted on 1998-07-28
1
321 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
ID: 1585926
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

919 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

16 Experts available now in Live!

Get 1:1 Help Now