Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 1998 02:45:39 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Doug Lo <jwlo@ms11.hinet.net>
Cc:        Brian Somers <brian@Awfulhak.org>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Weird ppp problem. 
Message-ID:  <199805010145.CAA02408@awfulhak.org>
In-Reply-To: Your message of "Fri, 01 May 1998 09:35:00 %2B0800." <354926C4.EF7E3B53@ms11.hinet.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Brian Somers wrote:
> 
> > [.....]
> > > isp:
> > >  set openmode active
> > >  set phone 3325318
> > >  set login "name: xxxxx:password:xxxxx:No : 2"
> > >  set ifaddr 10.1.1.1/0 10.2.2.2/0
> > >  dial
> > >
> > > The ppp.linkup is:
> > > isp:
> > >    delete ALL
> > >    add 0 0 HISADDR
> > >
> > > The ppp.log file is:
> > > [ snip ]
> > > Apr 29 21:20:09 Jupiter ppp[218]: tun0: LCP:  ACFCOMP[2]
> > > Apr 29 21:20:09 Jupiter ppp[218]: tun0: LCP:  PROTOCOMP[2]
> > > Apr 29 21:20:09 Jupiter ppp[218]: tun0: LCP:  ACCMAP[6] 0x00000000
> > > Apr 29 21:20:09 Jupiter ppp[218]: tun0: LCP:  MRU[4] 1500
> > > Apr 29 21:20:09 Jupiter ppp[218]: tun0: LCP:  MAGICNUM[6] 0x681f8874
> > > Apr 29 21:20:12 Jupiter ppp[218]: tun0: LCP: State change Req-Sent --> Stopped
> > > Apr 29 21:20:12 Jupiter ppp[218]: tun0: LCP: LcpLayerFinish
> > [.....]
> >
> > Looks like you've got your chat script wrong - I assume that you were
> > sending lots of REQs before this with no response.  Enable ``chat''
> > logging to see what's going on there - are you sure you want
> >
> >   name: xxxxx:password:xxxxx:No
> >   : 2
> >
> > when you connect ?
> >
> 
> Hmm, I'm not sure. The following example is  I run ppp to connect Internet by
> manual:
> 
> Working in interactive mode
> Using interface: tun0
> ppp ON Jupiter> term
> Working in interactive mode
> Entering terminal mode.
> Type `~?' for help.
> atdt3325318
> CONNECT 28800/ARQ/V34/LAPM/V42BIS
> 
> 
> Annex Command Line Interpreter   *   Copyright (C) 1988, 1995 Xylogics, Inc.
> 
> Checking authorization, Please wait...
> Annex username: xxxxxx
> Annex password:
> 
> Permission granted
>  1. SLIP
> 
>  2. PPP
> 
>  3. connect to any ip-address
> 
>  4. LOGOUT
> 
> Enter No : 2
> 
> Switching to PPP.
> ppp ON Jupiter> Packet mode.
> PPP ON Jupiter> add 0 0 HISADDR
> 
> 
> Am I wrong about setting ppp?

Yep - you'll need:

  set login "\"\" \"\" name: myname word: mypassword \"Enter No :\" 2"

> 
> Regards,
> Doug.
> 

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805010145.CAA02408>