Re: PPP Dial up help

1997-01-05 Thread Nathan L. Cutler
 Knight == Knight  [EMAIL PROTECTED] writes:

Knight Ok Mr Newbie here again. I have been trying to get Debian
Knight to connect to my local ISP threw an external modem. When I
Knight issue the PON command it dials the connection fine, the
Knight modems connect, but then the line drops. The PLOG stated
Knight that I was dropped by the peer.  I know I have to make a
Knight config change someplace. I know my local IP assigns a IP
Knight address to me each time I call, Where in Debian do I
Knight configure this, in the options file??? If so what do I
Knight need to change to make both systems stay connected and
Knight happy.

Make sure you have everything right in your /etc/ppp.chatscript file.
If you examine /var/log/messages, look for lines like the following:

Jan  4 22:31:55 goober chat[2710]: CONNECT 57600^M 
Jan  4 22:31:57 goober chat[2710]: ^M 
Jan  4 22:31:57 goober chat[2710]: host -- got it 
Jan  4 22:31:57 goober chat[2710]: send (ns^M) 
Jan  4 22:31:57 goober chat[2710]: expect (ogin) 
Jan  4 22:31:57 goober chat[2710]: : ns^M 
Jan  4 22:31:57 goober chat[2710]: login -- got it 
Jan  4 22:31:57 goober chat[2710]: send (ncutler^M) 
Jan  4 22:31:58 goober chat[2710]: expect (word) 
Jan  4 22:31:58 goober chat[2710]: :ncutler^M 
Jan  4 22:31:58 goober chat[2710]: Password -- got it 
Jan  4 22:31:58 goober chat[2710]: send (??) 
Jan  4 22:31:58 goober pppd[2709]: Serial connection established.
Jan  4 22:31:59 goober pppd[2709]: Using interface ppp0
Jan  4 22:31:59 goober pppd[2709]: Connect: ppp0 -- /dev/ttyS1
Jan  4 22:32:02 goober pppd[2709]: local  IP address 195.70.129.138
Jan  4 22:32:02 goober pppd[2709]: remote IP address 195.70.130.20

Obviously, these are from a functioning system.  But the equivalent
lines on yours should help you track down the cause of the problem.

HTH

-- 
Nathan L. Cutler
Linux Enthusiast
http://www.cise.ufl.edu/~nlc


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


RE: PPP Dial up help

1997-01-02 Thread wb2oyc
On 00:22:43 Knight wrote:
Ok Mr Newbie here again. I have been trying to get Debian to connect to my
local ISP threw an external modem. When I issue the PON command it dials
the connection fine, the modems connect, but then the line drops. The PLOG
stated that I was dropped by the peer.

Eddie,
  Well, yes, very likely, the option file is the key.  Make sure it is set for r
ts/cts and
not xon/xoff flow control.  The option file also has about a bazillion options f
or the
control of the LCP or IPCP processes themselves.  You should check your messages
file (/var/log/messages) by using tail /var/log/messages right after trying a 
connect.
There you should see a more descriptive (hopefully) reason the modems are hangin
g
up.  It could be your option file is set for PAP or CHAP and your ISP isn't, or 
whatever.
In my case, I have a chatscript set up that logs me in and starts the PPP sessio
n.  It
is called from the option file itself.  After starting PPP up the chatscript ret
urns to the
option file where the actual LCP and IPCP negotiations are controlled.  If you a
re 
by chance not using rts/cts, you may see LCP timeouts in the messages file, and 
that
would be the reason the line hangs up.  If LCP cannot establish the proper contr
ol
over the link, nothing else happens, so it hangs up the line right now!

:)
Paul


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]