Date: Thu, 22 Feb 2001 11:08:49 +0100 From: "Paul Horobiec" <PHorobiec@ptecs.de> To: freebsd-questions@FreeBSD.org Subject: ppp-connection Message-ID: <OFC395EF23.1CC126C3-ONC12569FB.0037BCEC@ptecs.de>
next in thread | raw e-mail | index | archive | help
<P>hi,</P><P>i have a "little" problem with my ppp-connection :(<= BR>i don´t know where to find the mistake :(<BR>i have freeBSD 4.2 (s= orry i´m a newbie) and have this problem.<BR>my modem try to connect = to my provider. it dial an have a connect. <BR>it seams if it try to make a= "handshake" but after ca.44sec i have a disconnection.<BR>i know= that the provider supports chap, because i made it with linux.<BR>please h= elp me :) i can´t find any help in man´s or handbook :(</P><P>b= est regards<BR>paul</P><P>thx a lot !!!</P><P>here the files:</P><P> <= /P><P>------------------- ppp.log -----------------------------------------= </P><P> </P><P>Feb 21 23:07:14 cue ppp[1699]: Phase: Using interface: = tun0 <BR>Feb 21 23:07:14 cue ppp[1699]: Phase: deflink: Created in closed s= tate <BR>Feb 21 23:07:14 cue ppp[1699]: tun0: Command: default: set device = /dev/cuaa0 <BR>Feb 21 23:07:14 cue ppp[1699]: tun0: Command: default: set s= peed 115200 <BR>Feb 21 23:07:14 cue ppp[1699]: tun0: Command: default: deny= lqr <BR>Feb 21 23:07:14 cue ppp[1699]: tun0: Command: default: set dial AB= ORT BUSY ABORT NO\sCARRIER TIMEOUT 5 <BR= > "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNEC= T <BR>Feb 21 23:07:14 cue ppp[1699]: tun0: Phase: PPP Started (interactive = mode). <BR>Feb 21 23:07:16 cue ppp[1699]: tun0: Command: /dev/tty: dial pro= vider <BR>Feb 21 23:07:16 cue ppp[1699]: tun0: Command: provider: set phone= 12345 <BR>Feb 21 23:07:16 cue ppp[1699]: tun0: Command: provider: set logi= n <BR>Feb 21 23:07:16 cue ppp[1699]: tun0: Command: provider: set timeout 1= 20 <BR>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 <BR>Feb 21 23:07:16 cue ppp[1699]: tun0:= Command: provider: add default HISADDR <BR>Feb 21 23:07:16 cue ppp[1699]: = tun0: Command: provider: enable dns <BR>Feb 21 23:07:16 cue ppp[1699]: tun0= : Command: provider: accept chap <BR>Feb 21 23:07:16 cue ppp[1699]: tun0: C= ommand: provider: set authname myaccount <BR>Feb 21 23:07:16 cue ppp[1699]:= tun0: Command: provider: set authkey mypasswd<BR>Feb 21 23:07:16 cue ppp[1= 699]: tun0: Phase: bundle: Establish <BR>Feb 21 23:07:16 cue ppp[1699]: tun= 0: Phase: deflink: closed -> opening <BR>Feb 21 23:07:16 cue ppp[1699]: = tun0: Phase: deflink: Connected! <BR>Feb 21 23:07:16 cue ppp[1699]: tun0: P= hase: deflink: opening -> dial <BR>Feb 21 23:07:16 cue ppp[1699]: tun0: = Chat: Phone: 12345 <BR>Feb 21 23:07:16 cue ppp[1699]: tun0: Chat: deflink: = Dial attempt 1 of 1 <BR>Feb 21 23:07:16 cue ppp[1699]: tun0: Chat: Send: AT= ^M <BR>Feb 21 23:07:16 cue ppp[1699]: tun0: Chat: Expect(5): OK <BR>Feb 21 = 23:07:17 cue ppp[1699]: tun0: Chat: Received: AT^M^M <BR>Feb 21 23:07:17 cu= e ppp[1699]: tun0: Chat: Received: OK^M <BR>Feb 21 23:07:17 cue ppp[1699]: = tun0: Chat: Send: ATE1Q0^M <BR>Feb 21 23:07:17 cue ppp[1699]: tun0: Chat: E= xpect(5): OK <BR>Feb 21 23:07:17 cue ppp[1699]: tun0: Chat: Received: ATE1Q= 0^M^M <BR>Feb 21 23:07:17 cue ppp[1699]: tun0: Chat: Received: OK^M <BR>Feb= 21 23:07:17 cue ppp[1699]: tun0: Chat: Send: ATDT12345^M <BR>Feb 21 23:07:= 19 cue ppp[1699]: tun0: Chat: Expect(40): CONNECT <BR>Feb 21 23:07:43 cue p= pp[1699]: tun0: Chat: Received: ATDT12345^M^M <BR>Feb 21 23:07:43 cue ppp[1= 699]: tun0: Chat: Received: CONNECT 45333/ARQ^M <BR>Feb 21 23:07:43 cue ppp= [1699]: tun0: Phase: deflink: dial -> carrier <BR>Feb 21 23:07:44 cue pp= p[1699]: tun0: Phase: deflink: /dev/cuaa0: CD detected <BR>Feb 21 23:07:44 = cue ppp[1699]: tun0: Phase: deflink: carrier -> login <BR>Feb 21 23:07:4= 4 cue ppp[1699]: tun0: Phase: deflink: login -> lcp <BR>Feb 21 23:07:44 = cue ppp[1699]: tun0: LCP: FSM: Using "deflink" as a transport <BR= >Feb 21 23:07:44 cue ppp[1699]: tun0: LCP: deflink: State change Initial --= > Closed <BR>Feb 21 23:07:44 cue ppp[1699]: tun0: LCP: deflink: State ch= ange Closed --> Stopped <BR>Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: de= flink: LayerStart <BR>Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: deflink: Se= ndConfigReq(1) state =3D Stopped <BR>Feb 21 23:07:45 cue ppp[1699]: tun0: L= CP: ACFCOMP[2] <BR>Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: PR= OTOCOMP[2] <BR>Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: ACCMAP[6] 0x= 00000000 <BR>Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: MRU[4] 1500 <B= R>Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: MAGICNUM[6] 0xe6762769 <B= R>Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: deflink: State change Stopped -= -> Req-Sent <BR>Feb 21 23:07:48 cue ppp[1699]: tun0: LCP: deflink: SendC= onfigReq(1) state =3D Req-Sent <BR>Feb 21 23:07:48 cue ppp[1699]: tun0: LCP= : ACFCOMP[2] <BR>Feb 21 23:07:48 cue ppp[1699]: tun0: LCP: PROT= OCOMP[2] <BR>Feb 21 23:07:48 cue ppp[1699]: tun0: LCP: ACCMAP[6] 0x00= 000000 <BR>Feb 21 23:07:48 cue ppp[1699]: tun0: LCP: MRU[4] 1500 <BR>= Feb 21 23:07:48 cue ppp[1699]: tun0: LCP: MAGICNUM[6] 0xe6762769 <BR>= Feb 21 23:07:51 cue ppp[1699]: tun0: LCP: deflink: SendConfigReq(1) state = =3D Req-Sent <BR>Feb 21 23:07:51 cue ppp[1699]: tun0: LCP: ACFCOMP[2]= <BR>Feb 21 23:07:51 cue ppp[1699]: tun0: LCP: PROTOCOMP[2] <BR>Feb 2= 1 23:07:51 cue ppp[1699]: tun0: LCP: ACCMAP[6] 0x00000000 <BR>Feb 21 = 23:07:51 cue ppp[1699]: tun0: LCP: MRU[4] 1500 <BR>Feb 21 23:07:51 cu= e ppp[1699]: tun0: LCP: MAGICNUM[6] 0xe6762769 <BR>Feb 21 23:07:54 cu= e ppp[1699]: tun0: LCP: deflink: SendConfigReq(1) state =3D Req-Sent <BR>Fe= b 21 23:07:54 cue ppp[1699]: tun0: LCP: ACFCOMP[2] <BR>Feb 21 23:07:5= 4 cue ppp[1699]: tun0: LCP: PROTOCOMP[2] <BR>Feb 21 23:07:54 cue ppp[= 1699]: tun0: LCP: ACCMAP[6] 0x00000000 <BR>Feb 21 23:07:54 cue ppp[16= 99]: tun0: LCP: MRU[4] 1500 <BR>Feb 21 23:07:54 cue ppp[1699]: tun0: = LCP: MAGICNUM[6] 0xe6762769 <BR>Feb 21 23:07:57 cue ppp[1699]: tun0: = LCP: deflink: SendConfigReq(1) state =3D Req-Sent <BR>Feb 21 23:07:57 cue p= pp[1699]: tun0: LCP: ACFCOMP[2] <BR>Feb 21 23:07:57 cue ppp[1699]: tu= n0: LCP: PROTOCOMP[2] <BR>Feb 21 23:07:57 cue ppp[1699]: tun0: LCP: &= nbsp;ACCMAP[6] 0x00000000 <BR>Feb 21 23:07:57 cue ppp[1699]: tun0: LCP: &nb= sp;MRU[4] 1500 <BR>Feb 21 23:07:57 cue ppp[1699]: tun0: LCP: MAGICNUM= [6] 0xe6762769 <BR>Feb 21 23:08:00 cue ppp[1699]: tun0: LCP: deflink: Layer= Finish <BR>Feb 21 23:08:00 cue ppp[1699]: tun0: LCP: deflink: State change = Req-Sent --> Stopped <BR>Feb 21 23:08:00 cue ppp[1699]: tun0: LCP: defli= nk: State change Stopped --> Closed <BR>Feb 21 23:08:00 cue ppp[1699]: t= un0: LCP: deflink: State change Closed --> Initial <BR>Feb 21 23:08:00 c= ue ppp[1699]: tun0: Phase: deflink: Disconnected! <BR>Feb 21 23:08:00 cue p= pp[1699]: tun0: Phase: deflink: lcp -> logout <BR>Feb 21 23:08:00 cue pp= p[1699]: tun0: Phase: deflink: logout -> hangup <BR>Feb 21 23:08:00 cue = ppp[1699]: tun0: Phase: deflink: Disconnected! <BR>Feb 21 23:08:00 cue ppp[= 1699]: tun0: Phase: deflink: Connect time: 44 secs: 0 octets in, 265 octets= out <BR>Feb 21 23:08:00 cue ppp[1699]: tun0: Phase: deflink: : 0 packets i= n, 5 packets out <BR>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 <BR>Feb 21 23:= 08:00 cue ppp[1699]: tun0: Phase: deflink: hangup -> closed <BR>Feb 21 2= 3:08:00 cue ppp[1699]: tun0: Phase: bundle: Dead <BR>Feb 21 23:08:02 cue pp= p[1699]: tun0: Phase: Caught signal 2, abort connection(s) <BR>Feb 21 23:08= :03 cue ppp[1699]: tun0: Phase: /dev/tty: Client connection closed. <BR>Feb= 21 23:08:03 cue ppp[1699]: tun0: Phase: PPP Terminated (normal). </P><P>--= ------------- ppp.conf --------<BR>########################################= #########################<BR># PPP Sample Configuration File<BR># Ori= ginally written by Toshiharu OHNO<BR># Simplified 5/14/1999 by wself@cdrom.= com<BR>#<BR># See /usr/share/examples/ppp/ for some examples<BR>#<BR># $Fre= eBSD: src/etc/ppp/ppp.conf,v 1.2.2.1 2000/08/18 08:33:02 jhb Exp $<BR>#####= ############################################################</P><P>default:= <BR> # Ensure that "device" references the correct serial port<BR= > # for your modem. (cuaa0 =3D COM1, cuaa1 =3D COM2)<BR> #<BR> set log Phas= e Chat Connect LCP tun command<BR> set device /dev/cuaa0</P><P> set sp= eed 115200<BR> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \<BR>= \"\" AT \ OK-AT-OK ATE1= Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"<BR> #<BR> # edit the next three l= ines and replace the items in caps with<BR> # the values which have been as= signed by your ISP.<BR> #<BR>provider:<BR> set phone "12345"<BR> = set login <BR> set timeout 120 <BR> set ifaddr 10.0.0.1/0 10.0.0.2/0 255.25= 5.255.0<BR> add default HISADDR<BR> enable dns<BR> accept chap<BR> set auth= name myaccount <BR> set authkey mypasswd</P><P>-------------- ppp.linkup --= --------<BR>provider:<BR> delete ALL<BR> add 0 0 HISADDR</P>= 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?OFC395EF23.1CC126C3-ONC12569FB.0037BCEC>