Return to BSD News archive
Xref: sserve comp.protocols.ppp:7534 comp.os.386bsd.questions:15761 Path: sserve!newshost.anu.edu.au!munnari.oz.au!goanna.cs.rmit.edu.au!aggedor.rmit.EDU.AU!harbinger.cc.monash.edu.au!msunews!uwm.edu!cs.utexas.edu!uunet!nic.iii.net!jthome.jthome.com!jthome.jthome.com!not-for-mail From: jeff@news.jthome.com (Jeff Tyler) Newsgroups: comp.protocols.ppp,comp.os.386bsd.questions Subject: Re: Help With Pppd (FreeBSD 1.1) Date: 7 Jan 1995 12:59:10 -0500 Organization: Rarely if ever... Lines: 50 Message-ID: <3emkq1$48p@jthome.jthome.com> References: <3ek8gi$8uv@galaxy.ucr.edu> <3em1rv$b4g@agate.berkeley.edu> NNTP-Posting-Host: jthome.jthome.com jkh@violet.berkeley.edu (Jordan K. Hubbard) writes: >In article <3ek8gi$8uv@galaxy.ucr.edu>, >Kolin E. Hand <kehand@galaxy.ucr.edu> wrote: >>The problem is that when I break out of kermit and execute >> >> "pppd /dev/tty01 19200", >> >>the line drops. Suggest that you consider using chat vice kermit to establist the line, it can be made totally automatic and works fine. Something like this: /etc/ppp/pppd -d /dev/tty01 crtscts 38400 Your-IP-ADDR: connect 'chat -v "" ATDTYour-Number CONNECT "" ogin: Your-Login assword: Your-Passwd' sleep 65 # how long to wait for connection establishment route add default Your-default-route Note that the above line is broken for ease of reading, it needs to be one long line as it's all args to pppd. The -d call to pppd and the -v call to chat will allow logging to *.debug in your syslog for debuging of all of this. >This is because your modem drops the line on DTR transitions, which >are exactly what occur when kermit or any other program closes the line! >You need to therefore not do the close in kermit (suspend it) or disable >DTR sensitivity in the modem. Try AT&D0. >>The other item involves the remote IP address of the ppp-server... >>In my case, I believe that it is a Cisco router/terminal-server. It reports >>to have an IP associated with its ethernet interface, but the net-administrator >Your provider has an IP address for the router. You must ask them for this >address. It WILL be the other end of the ppp link! Note the "Your-IP-ADDR:" construct in the arg to pppd, this will allow you to specify your end and let his "float". When started with the -d switch pppd will log all neogations, IP and other. All this stuff can be found on the FreeBSD CD. The pppd and chat combo is real easy to setup and debug. Mail me if you need more help. ======================================================================== |Jeff S. Tyler Pencom System Administration| |Sysadmin from hell ... PSA all the way ! | |jeff@jthome.com [home] 508-297-4316 | |jtyler@pencom.com [office] 617-443-1111 | | Been there, done that, got the core dump :-) | ========================================================================