Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 16:54:54 GMT
From:      Andrea Venturoli <a.ventu@flashnet.it>
To:        freebsd-questions@FreeBSD.ORG
Subject:   ppp: help!!!!
Message-ID:  <199912151554.QAA24577@mbox3.flashnet.it>

next in thread | raw e-mail | index | archive | help
Hello.
I installed FreeBSD with the main intent to use it as a gateway/firewall
between my LAN and the Internet. I choose 3.3-RELEASE and set up everything on
a 486-based machine running at 66 MHz with 16 MB or RAM, but I wasn't able to
get connected to my ISP.
I read the FAQ, the HandBook, the man pages, the Pedantic PPP Primer, some RFCs
and anything else I was able to find, but I didn't get out of it. I asked my
ISP, but after one month the only thing they were able to suggest was to upgrade
my system. So I'm asking for help here as a last resort before switching to
Linux, which is known to work with my ISP, although I think it wouldn't run as
smoothly as this devil doing the other tasks this machine has to do.
I've tried both kernel pppd and user-level ppp, with similar results: the modem
connects and finishes its handshake, then the game is up to LCP which for some
reason either doesn't terminate or fails to start the next layer.
I'm reporting both logs in the hope someone can make something out of it.
My best choice would be ppp, due to its built-in nat and filtering
capabilities, but if that is not possible I'm prepared to revert to pppd.
In case it matters, this box works right on the LAN side, since it correctly
provides DNS, DHCP, WINS and SMB to the other stations I have.

 Bye & Thanks
	av.

--- ppp.log ---

Nov 18 17:24:31 ugo ppp[788]: Phase: Using interface: tun0 
Nov 18 17:24:31 ugo ppp[788]: Phase: deflink: Created in closed state 
Nov 18 17:24:31 ugo ppp[788]: Phase: PPP Started (interactive mode). 
Nov 18 17:24:45 ugo ppp[788]: Phase: bundle: Establish 
Nov 18 17:24:45 ugo ppp[788]: Phase: deflink: closed -> opening 
Nov 18 17:24:45 ugo ppp[788]: Phase: deflink: Connected! 
Nov 18 17:24:45 ugo ppp[788]: Phase: deflink: opening -> dial 
Nov 18 17:24:45 ugo ppp[788]: Phase: Phone: 0051257511 
Nov 18 17:25:13 ugo ppp[788]: Phase: deflink: dial -> carrier 
Nov 18 17:25:14 ugo ppp[788]: Phase: deflink: /dev/cuaa2: CD detected 
Nov 18 17:25:14 ugo ppp[788]: Phase: deflink: carrier -> login 
Nov 18 17:25:14 ugo ppp[788]: Phase: deflink: login -> lcp 
Nov 18 17:25:14 ugo ppp[788]: LCP: FSM: Using "deflink" as a transport 
Nov 18 17:25:14 ugo ppp[788]: LCP: deflink: State change Initial --> Closed 
Nov 18 17:25:14 ugo ppp[788]: LCP: deflink: State change Closed --> Stopped 
Nov 18 17:25:15 ugo ppp[788]: LCP: deflink: LayerStart 
Nov 18 17:25:15 ugo ppp[788]: LCP: deflink: SendConfigReq(1) state = Stopped 
Nov 18 17:25:15 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:15 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:15 ugo ppp[788]: LCP:  ACCMAP[6] 0x00000000 
Nov 18 17:25:15 ugo ppp[788]: LCP:  MRU[4] 1500 
Nov 18 17:25:15 ugo ppp[788]: LCP:  MAGICNUM[6] 0x05b7dcac 
Nov 18 17:25:15 ugo ppp[788]: LCP: deflink: State change Stopped --> Req-Sent 
Nov 18 17:25:18 ugo ppp[788]: LCP: deflink: SendConfigReq(1) state = Req-Sent 
Nov 18 17:25:18 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:18 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:18 ugo ppp[788]: LCP:  ACCMAP[6] 0x00000000 
Nov 18 17:25:18 ugo ppp[788]: LCP:  MRU[4] 1500 
Nov 18 17:25:18 ugo ppp[788]: LCP:  MAGICNUM[6] 0x05b7dcac 
Nov 18 17:25:20 ugo ppp[788]: LCP: deflink: RecvConfigReq(209) state = Req-Sent 
Nov 18 17:25:20 ugo ppp[788]: LCP:  ACCMAP[6] 0x000a0000 
Nov 18 17:25:20 ugo ppp[788]: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Nov 18 17:25:20 ugo ppp[788]: LCP:  MAGICNUM[6] 0x2cdfc98f 
Nov 18 17:25:20 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:20 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:20 ugo ppp[788]: LCP: deflink: SendConfigAck(209) state = Req-Sent 
Nov 18 17:25:20 ugo ppp[788]: LCP:  ACCMAP[6] 0x000a0000 
Nov 18 17:25:20 ugo ppp[788]: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Nov 18 17:25:20 ugo ppp[788]: LCP:  MAGICNUM[6] 0x2cdfc98f 
Nov 18 17:25:20 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:20 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:20 ugo ppp[788]: LCP: deflink: State change Req-Sent --> Ack-Sent 
Nov 18 17:25:21 ugo ppp[788]: LCP: deflink: SendConfigReq(1) state = Ack-Sent 
Nov 18 17:25:21 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:21 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:21 ugo ppp[788]: LCP:  ACCMAP[6] 0x00000000 
Nov 18 17:25:21 ugo ppp[788]: LCP:  MRU[4] 1500 
Nov 18 17:25:21 ugo ppp[788]: LCP:  MAGICNUM[6] 0x05b7dcac 
Nov 18 17:25:22 ugo ppp[788]: LCP: deflink: RecvConfigReq(210) state = Ack-Sent 
Nov 18 17:25:22 ugo ppp[788]: LCP:  ACCMAP[6] 0x000a0000 
Nov 18 17:25:22 ugo ppp[788]: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Nov 18 17:25:22 ugo ppp[788]: LCP:  MAGICNUM[6] 0x2cdfc98f 
Nov 18 17:25:22 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:22 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:22 ugo ppp[788]: LCP: deflink: SendConfigAck(210) state = Ack-Sent 
Nov 18 17:25:22 ugo ppp[788]: LCP:  ACCMAP[6] 0x000a0000 
Nov 18 17:25:22 ugo ppp[788]: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Nov 18 17:25:22 ugo ppp[788]: LCP:  MAGICNUM[6] 0x2cdfc98f 
Nov 18 17:25:22 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:22 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:24 ugo ppp[788]: LCP: deflink: SendConfigReq(1) state = Ack-Sent 
Nov 18 17:25:24 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:24 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:24 ugo ppp[788]: LCP:  ACCMAP[6] 0x00000000 
Nov 18 17:25:24 ugo ppp[788]: LCP:  MRU[4] 1500 
Nov 18 17:25:24 ugo ppp[788]: LCP:  MAGICNUM[6] 0x05b7dcac 
Nov 18 17:25:25 ugo ppp[788]: LCP: deflink: RecvConfigReq(211) state = Ack-Sent 
Nov 18 17:25:25 ugo ppp[788]: LCP:  ACCMAP[6] 0x000a0000 
Nov 18 17:25:25 ugo ppp[788]: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Nov 18 17:25:25 ugo ppp[788]: LCP:  MAGICNUM[6] 0x2cdfc98f 
Nov 18 17:25:25 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:25 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:25 ugo ppp[788]: LCP: deflink: SendConfigAck(211) state = Ack-Sent 
Nov 18 17:25:25 ugo ppp[788]: LCP:  ACCMAP[6] 0x000a0000 
Nov 18 17:25:25 ugo ppp[788]: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Nov 18 17:25:25 ugo ppp[788]: LCP:  MAGICNUM[6] 0x2cdfc98f 
Nov 18 17:25:25 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:25 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:27 ugo ppp[788]: LCP: deflink: RecvConfigReq(212) state = Ack-Sent 
Nov 18 17:25:27 ugo ppp[788]: LCP:  ACCMAP[6] 0x000a0000 
Nov 18 17:25:27 ugo ppp[788]: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Nov 18 17:25:27 ugo ppp[788]: LCP:  MAGICNUM[6] 0x2cdfc98f 
Nov 18 17:25:27 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:27 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:27 ugo ppp[788]: LCP: deflink: SendConfigAck(212) state = Ack-Sent 
Nov 18 17:25:27 ugo ppp[788]: LCP:  ACCMAP[6] 0x000a0000 
Nov 18 17:25:27 ugo ppp[788]: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Nov 18 17:25:27 ugo ppp[788]: LCP:  MAGICNUM[6] 0x2cdfc98f 
Nov 18 17:25:27 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:27 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:27 ugo ppp[788]: LCP: deflink: SendConfigReq(1) state = Ack-Sent 
Nov 18 17:25:27 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:27 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:27 ugo ppp[788]: LCP:  ACCMAP[6] 0x00000000 
Nov 18 17:25:27 ugo ppp[788]: LCP:  MRU[4] 1500 
Nov 18 17:25:27 ugo ppp[788]: LCP:  MAGICNUM[6] 0x05b7dcac 
Nov 18 17:25:29 ugo ppp[788]: LCP: deflink: RecvConfigReq(213) state = Ack-Sent 
Nov 18 17:25:29 ugo ppp[788]: LCP:  ACCMAP[6] 0x000a0000 
Nov 18 17:25:29 ugo ppp[788]: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Nov 18 17:25:29 ugo ppp[788]: LCP:  MAGICNUM[6] 0x2cdfc98f 
Nov 18 17:25:29 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:29 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:29 ugo ppp[788]: LCP: deflink: SendConfigAck(213) state = Ack-Sent 
Nov 18 17:25:29 ugo ppp[788]: LCP:  ACCMAP[6] 0x000a0000 
Nov 18 17:25:29 ugo ppp[788]: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Nov 18 17:25:29 ugo ppp[788]: LCP:  MAGICNUM[6] 0x2cdfc98f 
Nov 18 17:25:29 ugo ppp[788]: LCP:  PROTOCOMP[2] 
Nov 18 17:25:29 ugo ppp[788]: LCP:  ACFCOMP[2] 
Nov 18 17:25:30 ugo ppp[788]: LCP: deflink: LayerFinish 
Nov 18 17:25:30 ugo ppp[788]: LCP: deflink: State change Ack-Sent --> Stopped 
Nov 18 17:25:30 ugo ppp[788]: LCP: deflink: State change Stopped --> Closed 
Nov 18 17:25:30 ugo ppp[788]: LCP: deflink: State change Closed --> Initial 
Nov 18 17:25:30 ugo ppp[788]: Phase: deflink: Disconnected! 
Nov 18 17:25:30 ugo ppp[788]: Phase: deflink: lcp -> hangup 
Nov 18 17:25:30 ugo ppp[788]: Phase: deflink: Connect time: 45 secs: 350 octets
in, 522 octets out 
Nov 18 17:25:30 ugo ppp[788]: Phase:  total 19 bytes/sec, peak 82 bytes/sec on
Thu Nov 18 17:25:30 1999 
Nov 18 17:25:30 ugo ppp[788]: Phase: deflink: hangup -> closed 
Nov 18 17:25:30 ugo ppp[788]: Phase: bundle: Dead 
Nov 18 17:25:37 ugo ppp[788]: Phase: PPP Terminated (normal). 








--- daemon ---
Nov 18 17:19:10 ugo pppd[763]: pppd 2.3.5 started by andrea, uid 0
Nov 18 17:19:40 ugo pppd[763]: Serial connection established.
Nov 18 17:19:41 ugo pppd[763]: Using interface ppp0
Nov 18 17:19:41 ugo pppd[763]: Connect: ppp0 <--> /dev/cuaa2
Nov 18 17:19:41 ugo pppd[763]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x288a8769> <pcomp> <accomp>]
Nov 18 17:19:44 ugo pppd[763]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x288a8769> <pcomp> <accomp>]
Nov 18 17:19:44 ugo pppd[763]: rcvd [LCP ConfReq id=0x4b <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:44 ugo pppd[763]: sent [LCP ConfAck id=0x4b <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:46 ugo pppd[763]: rcvd [LCP ConfReq id=0x4c <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:46 ugo pppd[763]: sent [LCP ConfAck id=0x4c <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:47 ugo pppd[763]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x288a8769> <pcomp> <accomp>]
Nov 18 17:19:49 ugo pppd[763]: rcvd [LCP ConfReq id=0x4d <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:49 ugo pppd[763]: sent [LCP ConfAck id=0x4d <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:50 ugo pppd[763]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x288a8769> <pcomp> <accomp>]
Nov 18 17:19:51 ugo pppd[763]: rcvd [LCP ConfReq id=0x4e <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:51 ugo pppd[763]: sent [LCP ConfAck id=0x4e <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:53 ugo pppd[763]: rcvd [LCP ConfReq id=0x4f <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:53 ugo pppd[763]: sent [LCP ConfAck id=0x4f <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:53 ugo pppd[763]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x288a8769> <pcomp> <accomp>]
Nov 18 17:19:55 ugo pppd[763]: rcvd [LCP ConfReq id=0x50 <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:55 ugo pppd[763]: sent [LCP ConfAck id=0x50 <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:56 ugo pppd[763]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x288a8769> <pcomp> <accomp>]
Nov 18 17:19:57 ugo pppd[763]: rcvd [LCP ConfReq id=0x51 <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:57 ugo pppd[763]: sent [LCP ConfAck id=0x51 <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:59 ugo pppd[763]: rcvd [LCP ConfReq id=0x52 <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:59 ugo pppd[763]: sent [LCP ConfAck id=0x52 <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:19:59 ugo pppd[763]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x288a8769> <pcomp> <accomp>]
Nov 18 17:20:01 ugo pppd[763]: rcvd [LCP ConfReq id=0x53 <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:20:01 ugo pppd[763]: sent [LCP ConfAck id=0x53 <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:20:02 ugo pppd[763]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x288a8769> <pcomp> <accomp>]
Nov 18 17:20:03 ugo pppd[763]: rcvd [LCP ConfReq id=0x54 <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:20:03 ugo pppd[763]: sent [LCP ConfAck id=0x54 <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:20:05 ugo pppd[763]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x288a8769> <pcomp> <accomp>]
Nov 18 17:20:06 ugo pppd[763]: rcvd [LCP ConfReq id=0x55 <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:20:06 ugo pppd[763]: sent [LCP ConfAck id=0x55 <asyncmap 0xa0000>
<auth pap> <magic 0x2cdab22d> <pcomp> <accomp>]
Nov 18 17:20:08 ugo pppd[763]: Modem hangup, connected for 1 minutes
Nov 18 17:20:08 ugo pppd[763]: Connection terminated, connected for 1 minutes 
Nov 18 17:20:09 ugo pppd[763]: Exit.


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?199912151554.QAA24577>