From owner-freebsd-questions Thu Feb 22 1:59:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from kdmail.netcologne.de (kdmail.netcologne.de [194.8.194.80]) by hub.freebsd.org (Postfix) with ESMTP id 706B637B65D for ; Thu, 22 Feb 2001 01:59:26 -0800 (PST) (envelope-from PHorobiec@ptecs.de) Received: from l005.ptecs.de ([194.8.198.168]) by kdmail.netcologne.de (Post.Office MTA v3.5.3 release 223 ID# 127-61375U6500L550S0V35) with ESMTP id de for ; Thu, 22 Feb 2001 10:59:19 +0100 To: freebsd-questions@FreeBSD.org From: "Paul Horobiec" Subject: ppp-connection Date: Thu, 22 Feb 2001 11:08:49 +0100 Message-ID: X-MIMETrack: Serialize by Router on L005/PTecS(Release 5.0.5 |September 22, 2000) at 22.02.2001 11:08:50 MIME-Version: 1.0 MIME-Version: 1.0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG

hi,

i have a "little" problem with my ppp-connection :(<= BR>i don´t know where to find the mistake :(
i have freeBSD 4.2 (s= orry i´m a newbie) and have this problem.
my modem try to connect = to my provider. it dial an have a connect.
it seams if it try to make a= "handshake" but after ca.44sec i have a disconnection.
i know= that the provider supports chap, because i made it with linux.
please h= elp me :) i can´t find any help in man´s or handbook :(

b= est regards
paul

thx a lot !!!

here the files:

 <= /P>

------------------- ppp.log -----------------------------------------=

 

Feb 21 23:07:14 cue ppp[1699]: Phase: Using interface: = tun0
Feb 21 23:07:14 cue ppp[1699]: Phase: deflink: Created in closed s= tate
Feb 21 23:07:14 cue ppp[1699]: tun0: Command: default: set device = /dev/cuaa0
Feb 21 23:07:14 cue ppp[1699]: tun0: Command: default: set s= peed 115200
Feb 21 23:07:14 cue ppp[1699]: tun0: Command: default: deny= lqr
Feb 21 23:07:14 cue ppp[1699]: tun0: Command: default: set dial AB= ORT BUSY ABORT NO\sCARRIER TIMEOUT 5           "" AT  OK-AT-OK  ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNEC= T
Feb 21 23:07:14 cue ppp[1699]: tun0: Phase: PPP Started (interactive = mode).
Feb 21 23:07:16 cue ppp[1699]: tun0: Command: /dev/tty: dial pro= vider
Feb 21 23:07:16 cue ppp[1699]: tun0: Command: provider: set phone= 12345
Feb 21 23:07:16 cue ppp[1699]: tun0: Command: provider: set logi= n
Feb 21 23:07:16 cue ppp[1699]: tun0: Command: provider: set timeout 1= 20
Feb 21 23:07:16 cue ppp[1699]: tun0: Command: provider: set ifaddr 1= 0.0.0.1/0 10.0.0.2/0 255.255.255.0
Feb 21 23:07:16 cue ppp[1699]: tun0:= Command: provider: add default HISADDR
Feb 21 23:07:16 cue ppp[1699]: = tun0: Command: provider: enable dns
Feb 21 23:07:16 cue ppp[1699]: tun0= : Command: provider: accept chap
Feb 21 23:07:16 cue ppp[1699]: tun0: C= ommand: provider: set authname myaccount
Feb 21 23:07:16 cue ppp[1699]:= tun0: Command: provider: set authkey mypasswd
Feb 21 23:07:16 cue ppp[1= 699]: tun0: Phase: bundle: Establish
Feb 21 23:07:16 cue ppp[1699]: tun= 0: Phase: deflink: closed -> opening
Feb 21 23:07:16 cue ppp[1699]: = tun0: Phase: deflink: Connected!
Feb 21 23:07:16 cue ppp[1699]: tun0: P= hase: deflink: opening -> dial
Feb 21 23:07:16 cue ppp[1699]: tun0: = Chat: Phone: 12345
Feb 21 23:07:16 cue ppp[1699]: tun0: Chat: deflink: = Dial attempt 1 of 1
Feb 21 23:07:16 cue ppp[1699]: tun0: Chat: Send: AT= ^M
Feb 21 23:07:16 cue ppp[1699]: tun0: Chat: Expect(5): OK
Feb 21 = 23:07:17 cue ppp[1699]: tun0: Chat: Received: AT^M^M
Feb 21 23:07:17 cu= e ppp[1699]: tun0: Chat: Received: OK^M
Feb 21 23:07:17 cue ppp[1699]: = tun0: Chat: Send: ATE1Q0^M
Feb 21 23:07:17 cue ppp[1699]: tun0: Chat: E= xpect(5): OK
Feb 21 23:07:17 cue ppp[1699]: tun0: Chat: Received: ATE1Q= 0^M^M
Feb 21 23:07:17 cue ppp[1699]: tun0: Chat: Received: OK^M
Feb= 21 23:07:17 cue ppp[1699]: tun0: Chat: Send: ATDT12345^M
Feb 21 23:07:= 19 cue ppp[1699]: tun0: Chat: Expect(40): CONNECT
Feb 21 23:07:43 cue p= pp[1699]: tun0: Chat: Received: ATDT12345^M^M
Feb 21 23:07:43 cue ppp[1= 699]: tun0: Chat: Received: CONNECT 45333/ARQ^M
Feb 21 23:07:43 cue ppp= [1699]: tun0: Phase: deflink: dial -> carrier
Feb 21 23:07:44 cue pp= p[1699]: tun0: Phase: deflink: /dev/cuaa0: CD detected
Feb 21 23:07:44 = cue ppp[1699]: tun0: Phase: deflink: carrier -> login
Feb 21 23:07:4= 4 cue ppp[1699]: tun0: Phase: deflink: login -> lcp
Feb 21 23:07:44 = cue ppp[1699]: tun0: LCP: FSM: Using "deflink" as a transport Feb 21 23:07:44 cue ppp[1699]: tun0: LCP: deflink: State change Initial --= > Closed
Feb 21 23:07:44 cue ppp[1699]: tun0: LCP: deflink: State ch= ange Closed --> Stopped
Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: de= flink: LayerStart
Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: deflink: Se= ndConfigReq(1) state =3D Stopped
Feb 21 23:07:45 cue ppp[1699]: tun0: L= CP:  ACFCOMP[2]
Feb 21 23:07:45 cue ppp[1699]: tun0: LCP:  PR= OTOCOMP[2]
Feb 21 23:07:45 cue ppp[1699]: tun0: LCP:  ACCMAP[6] 0x= 00000000
Feb 21 23:07:45 cue ppp[1699]: tun0: LCP:  MRU[4] 1500 Feb 21 23:07:45 cue ppp[1699]: tun0: LCP:  MAGICNUM[6] 0xe6762769 Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: deflink: State change Stopped -= -> Req-Sent
Feb 21 23:07:48 cue ppp[1699]: tun0: LCP: deflink: SendC= onfigReq(1) state =3D Req-Sent
Feb 21 23:07:48 cue ppp[1699]: tun0: LCP= :  ACFCOMP[2]
Feb 21 23:07:48 cue ppp[1699]: tun0: LCP:  PROT= OCOMP[2]
Feb 21 23:07:48 cue ppp[1699]: tun0: LCP:  ACCMAP[6] 0x00= 000000
Feb 21 23:07:48 cue ppp[1699]: tun0: LCP:  MRU[4] 1500
= Feb 21 23:07:48 cue ppp[1699]: tun0: LCP:  MAGICNUM[6] 0xe6762769
= Feb 21 23:07:51 cue ppp[1699]: tun0: LCP: deflink: SendConfigReq(1) state = =3D Req-Sent
Feb 21 23:07:51 cue ppp[1699]: tun0: LCP:  ACFCOMP[2]=
Feb 21 23:07:51 cue ppp[1699]: tun0: LCP:  PROTOCOMP[2]
Feb 2= 1 23:07:51 cue ppp[1699]: tun0: LCP:  ACCMAP[6] 0x00000000
Feb 21 = 23:07:51 cue ppp[1699]: tun0: LCP:  MRU[4] 1500
Feb 21 23:07:51 cu= e ppp[1699]: tun0: LCP:  MAGICNUM[6] 0xe6762769
Feb 21 23:07:54 cu= e ppp[1699]: tun0: LCP: deflink: SendConfigReq(1) state =3D Req-Sent
Fe= b 21 23:07:54 cue ppp[1699]: tun0: LCP:  ACFCOMP[2]
Feb 21 23:07:5= 4 cue ppp[1699]: tun0: LCP:  PROTOCOMP[2]
Feb 21 23:07:54 cue ppp[= 1699]: tun0: LCP:  ACCMAP[6] 0x00000000
Feb 21 23:07:54 cue ppp[16= 99]: tun0: LCP:  MRU[4] 1500
Feb 21 23:07:54 cue ppp[1699]: tun0: = LCP:  MAGICNUM[6] 0xe6762769
Feb 21 23:07:57 cue ppp[1699]: tun0: = LCP: deflink: SendConfigReq(1) state =3D Req-Sent
Feb 21 23:07:57 cue p= pp[1699]: tun0: LCP:  ACFCOMP[2]
Feb 21 23:07:57 cue ppp[1699]: tu= n0: LCP:  PROTOCOMP[2]
Feb 21 23:07:57 cue ppp[1699]: tun0: LCP: &= nbsp;ACCMAP[6] 0x00000000
Feb 21 23:07:57 cue ppp[1699]: tun0: LCP: &nb= sp;MRU[4] 1500
Feb 21 23:07:57 cue ppp[1699]: tun0: LCP:  MAGICNUM= [6] 0xe6762769
Feb 21 23:08:00 cue ppp[1699]: tun0: LCP: deflink: Layer= Finish
Feb 21 23:08:00 cue ppp[1699]: tun0: LCP: deflink: State change = Req-Sent --> Stopped
Feb 21 23:08:00 cue ppp[1699]: tun0: LCP: defli= nk: State change Stopped --> Closed
Feb 21 23:08:00 cue ppp[1699]: t= un0: LCP: deflink: State change Closed --> Initial
Feb 21 23:08:00 c= ue ppp[1699]: tun0: Phase: deflink: Disconnected!
Feb 21 23:08:00 cue p= pp[1699]: tun0: Phase: deflink: lcp -> logout
Feb 21 23:08:00 cue pp= p[1699]: tun0: Phase: deflink: logout -> hangup
Feb 21 23:08:00 cue = ppp[1699]: tun0: Phase: deflink: Disconnected!
Feb 21 23:08:00 cue ppp[= 1699]: tun0: Phase: deflink: Connect time: 44 secs: 0 octets in, 265 octets= out
Feb 21 23:08:00 cue ppp[1699]: tun0: Phase: deflink: : 0 packets i= n, 5 packets out
Feb 21 23:08:00 cue ppp[1699]: tun0: Phase:  tota= l 6 bytes/sec, peak 21 bytes/sec on Wed Feb 21 23:08:00 2001
Feb 21 23:= 08:00 cue ppp[1699]: tun0: Phase: deflink: hangup -> closed
Feb 21 2= 3:08:00 cue ppp[1699]: tun0: Phase: bundle: Dead
Feb 21 23:08:02 cue pp= p[1699]: tun0: Phase: Caught signal 2, abort connection(s)
Feb 21 23:08= :03 cue ppp[1699]: tun0: Phase: /dev/tty: Client connection closed.
Feb= 21 23:08:03 cue ppp[1699]: tun0: Phase: PPP Terminated (normal).

--= ------------- ppp.conf --------
########################################= #########################
# PPP  Sample Configuration File
# Ori= ginally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.= com
#
# See /usr/share/examples/ppp/ for some examples
#
# $Fre= eBSD: src/etc/ppp/ppp.conf,v 1.2.2.1 2000/08/18 08:33:02 jhb Exp $
#####= ############################################################

default:=
# Ensure that "device" references the correct serial port # for your modem. (cuaa0 =3D COM1, cuaa1 =3D COM2)
#
set log Phas= e Chat Connect LCP tun command
set device /dev/cuaa0

 set sp= eed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
=           \"\" AT \ OK-AT-OK  ATE1= Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
#
# edit the next three l= ines and replace the items in caps with
# the values which have been as= signed by your ISP.
#
provider:
set phone "12345"
= set login
set timeout 120
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.25= 5.255.0
add default HISADDR
enable dns
accept chap
set auth= name myaccount
set authkey mypasswd

-------------- ppp.linkup --= --------
provider:
delete ALL
add 0 0 HISADDR

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