Skip site navigation (1)Skip section navigation (2)
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 &quot;little&quot; problem with my ppp-connection :(<=
BR>i don&acute;t know where to find the mistake :(<BR>i have freeBSD 4.2 (s=
orry i&acute;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=
 &quot;handshake&quot; 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&acute;t find any help in man&acute;s or handbook :(</P><P>b=
est regards<BR>paul</P><P>thx a lot !!!</P><P>here the files:</P><P>&nbsp;<=
/P><P>------------------- ppp.log -----------------------------------------=
</P><P>&nbsp;</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 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR=
> &quot;&quot; AT &nbsp;OK-AT-OK &nbsp;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 -&gt; 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 -&gt; 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 -&gt; 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 -&gt; login <BR>Feb 21 23:07:4=
4 cue ppp[1699]: tun0: Phase: deflink: login -&gt; lcp <BR>Feb 21 23:07:44 =
cue ppp[1699]: tun0: LCP: FSM: Using &quot;deflink&quot; as a transport <BR=
>Feb 21 23:07:44 cue ppp[1699]: tun0: LCP: deflink: State change Initial --=
&gt; Closed <BR>Feb 21 23:07:44 cue ppp[1699]: tun0: LCP: deflink: State ch=
ange Closed --&gt; 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: &nbsp;ACFCOMP[2] <BR>Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: &nbsp;PR=
OTOCOMP[2] <BR>Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: &nbsp;ACCMAP[6] 0x=
00000000 <BR>Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: &nbsp;MRU[4] 1500 <B=
R>Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: &nbsp;MAGICNUM[6] 0xe6762769 <B=
R>Feb 21 23:07:45 cue ppp[1699]: tun0: LCP: deflink: State change Stopped -=
-&gt; 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=
: &nbsp;ACFCOMP[2] <BR>Feb 21 23:07:48 cue ppp[1699]: tun0: LCP: &nbsp;PROT=
OCOMP[2] <BR>Feb 21 23:07:48 cue ppp[1699]: tun0: LCP: &nbsp;ACCMAP[6] 0x00=
000000 <BR>Feb 21 23:07:48 cue ppp[1699]: tun0: LCP: &nbsp;MRU[4] 1500 <BR>=
Feb 21 23:07:48 cue ppp[1699]: tun0: LCP: &nbsp;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: &nbsp;ACFCOMP[2]=
 <BR>Feb 21 23:07:51 cue ppp[1699]: tun0: LCP: &nbsp;PROTOCOMP[2] <BR>Feb 2=
1 23:07:51 cue ppp[1699]: tun0: LCP: &nbsp;ACCMAP[6] 0x00000000 <BR>Feb 21 =
23:07:51 cue ppp[1699]: tun0: LCP: &nbsp;MRU[4] 1500 <BR>Feb 21 23:07:51 cu=
e ppp[1699]: tun0: LCP: &nbsp;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: &nbsp;ACFCOMP[2] <BR>Feb 21 23:07:5=
4 cue ppp[1699]: tun0: LCP: &nbsp;PROTOCOMP[2] <BR>Feb 21 23:07:54 cue ppp[=
1699]: tun0: LCP: &nbsp;ACCMAP[6] 0x00000000 <BR>Feb 21 23:07:54 cue ppp[16=
99]: tun0: LCP: &nbsp;MRU[4] 1500 <BR>Feb 21 23:07:54 cue ppp[1699]: tun0: =
LCP: &nbsp;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: &nbsp;ACFCOMP[2] <BR>Feb 21 23:07:57 cue ppp[1699]: tu=
n0: LCP: &nbsp;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: &nbsp;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 --&gt; Stopped <BR>Feb 21 23:08:00 cue ppp[1699]: tun0: LCP: defli=
nk: State change Stopped --&gt; Closed <BR>Feb 21 23:08:00 cue ppp[1699]: t=
un0: LCP: deflink: State change Closed --&gt; 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 -&gt; logout <BR>Feb 21 23:08:00 cue pp=
p[1699]: tun0: Phase: deflink: logout -&gt; 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: &nbsp;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 -&gt; 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 &nbsp;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 &quot;device&quot; 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>&nbsp;set sp=
eed 115200<BR> set dial &quot;ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \<BR>=
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \&quot;\&quot; AT \ OK-AT-OK &nbsp;ATE1=
Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT&quot;<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 &quot;12345&quot;<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>