PPP Dial-in problems

Brian Somers brian at Awfulhak.org
Mon May 21 12:28:29 BST 2001


> OK this may be obvious but is the modem in auto answer mode?
> 
> PPP is looking for a CONNECT string its only getting RING.

Yes, this sounds like it might be the problem.  You should be able to 
set auto-answer mode by connecting to the modem and doing

  ATZ
  ATS0=1
  AT&W

The S0 register is usually the thing that says answer after N rings - 
default 0 (ATS0=0 turns it off).

> Steve Lalonde
> Chief Technical Officer
> Entanet International Ltd.
> 
> 
> ***********************************************************************
> IMPORTANT: DISCLAIMER NOTICE
> 
> This email (and any attachment thereto) is confidential, and may be
> legally privileged, and is for the intended recipient only. Access,
> disclosure, copying, distribution or reliance on any of it by anyone
> else is prohibited and may be a criminal offence. Please delete if
> obtained in error and notify the sender. Any views expressed in this
> e-mail are those of the individual sender, not those of the company
> unless endorsed by a Director of Entanet International Ltd.
> 
> ***********************************************************************
> ----- Original Message -----
> From: "Neil Ford" <neil at ourshack.com>
> To: <freebsd-users at uk.freebsd.org>
> Sent: Sunday, May 20, 2001 10:11 PM
> Subject: PPP Dial-in problems
> 
> 
> > I'm trying to connect a couple of small lans using FreeBSD boxes and PPP.
> >
> > The dail-out box works fine, dialing as and when necessary. However, the
> > dial-in box does not answer the phone :-(
> >
> > I've gone through the ppp man page, the example ppp.conf and the handbook
> > double checking what I've done but I can't see what I've missed.
> >
> > Included below are the relevent bits of the various config files. If
> anyone
> > can spot any mistakes or point me at better ways of doing things, I'd
> > be grateful.
> >
> > Neil.
> >
> >
> > /etc/gettytab
> > default:\
> >         :pp=/usr/local/bin/ppplogin:\
> >         :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:
> >
> >
> > /etc/ttys
> > ttyd0   "/usr/libexec/getty std.38400"  dialup  on secure
> >
> >
> > /usr/local/bin/ppplogin
> > #! /bin/sh
> > exec /usr/sbin/ppp -direct incoming
> >
> >
> > /etc/ppp/ppp.conf
> > default:
> >  ident user-ppp VERSION (built COMPILATIONDATE)
> >
> >  # Ensure that "device" references the correct serial port
> >  # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
> >  #
> >  set device /dev/cuaa0
> >
> >  set log Phase Chat LCP IPCP CCP tun command
> >  set speed 115200
> >  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
> >            \"\" AT OK-AT-OK ATE0Q1 OK \\dATDT\\T TIMEOUT 40 CONNECT"
> >  #set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
> >  set ifaddr 192.168.100.12 192.168.200.12
> >  set timeout 120                        # 3 mintue idle timer (the
> default)
> >  add default HISADDR                    # Add a (sticky) default route
> >  #enable dns                            # request DNS info (for
> resolv.conf)
> >
> > incoming:
> >
> >  #
> >  # As per ppp.conf.sample, allowing both PAP and CHAP
> >  # NCF - 2001.05.18
> >  #
> >
> >  enable pap
> >  enable chap
> >
> >
> > --
> > Neil C. Ford
> > Managing Director, Yet Another Computer Solutions Company Limited
> > neil at yacsc.com - http://www.yacsc.com

-- 
Brian <brian at Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !






More information about the Ukfreebsd mailing list