Date: Sun, 27 Jan 2002 03:58:42 +0700 From: pirat <pirat@access.inet.co.th> To: Joe & Fhe Barbish <barbish@a1poweruser.com> Cc: questions@FreeBSD.ORG Subject: Re: ppp -nat ISP does not work Message-ID: <20020127035842.A1106@radwaste.oaep.go.th> In-Reply-To: <LPBBIGIAAKKEOEJOLEGOIENACNAA.barbish@a1poweruser.com>; from barbish@a1poweruser.com on Sat, Jan 26, 2002 at 11:35:17AM -0500 References: <20020126095122.A408@radwaste.oaep.go.th> <LPBBIGIAAKKEOEJOLEGOIENACNAA.barbish@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Jan 26, 2002 at 11:35:17AM -0500, Joe & Fhe Barbish wrote: > > Try ppp -ddial -nat makham from the command line to start it > unfortunately, it did give me a prompt but still did not work. thanks anyway. with best regards, psr > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of pirat > Sent: Friday, January 25, 2002 9:51 PM > To: questions@FreeBSD.ORG > Subject: ppp -nat ISP does not work > > hi sirs, > > very apologize for distrubing the list but i face a very strange problem > with user mode ppp. > > the situation is this. > > i write a ppp.conf script for some isp and use that script to dialup without > any problem. now that i change to a new isp, it costs me about 3000 baht > per month without disconnecting, and i change the script accordingly. > > strange very strange, it does not work any more when i fireup ppp -nat > makham > #ppp -nat makham > ppp on Makham>dial > Ppp on Makham> > ppp on Makham> > > well, since i have paid for that, i enter interactive mode or terminal mode > > ppp on Makham>term > (some texts) > ath > OK > atz > OK > at&f > OK > atdt028070707 > > Username: makham > Password: ***** > > PPP on Makham> > > it works ! > > i try a number of variations in changing /etc/ppp/ppp.conf for label makham > but fial. so what is a secret in my case. would the list please finds out > any hints for me to use the script instead of entering terminal mode. > > in an attachment is parts of /etc/ppp/ppp.conf that i use and also log file > for ppp.log > > please cc to me since i do not subscribe to the list. > > thanks in advance. > with best regards, > psr > > --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="PPP.ACT-error" here is parts of /etc/ppp/ppp.conf makham: allow users pnt pirat proj-A set phone "4711" set authkey XXXXX set authname XXXXX accept pap enable pap set login set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 delete ALL add default HISADDR #tail -80 /var/log/ppp.log Jan 26 09:24:58 ppp[385]: tun0: Chat: Received: ATE1Q0 Jan 26 09:24:58 ppp[385]: tun0: Chat: Received: OK Jan 26 09:24:58 ppp[385]: tun0: Chat: Send: ATL1M1DT028070707 Jan 26 09:25:00 ppp[385]: tun0: Chat: Expect(40): CONNECT Jan 26 09:25:31 ppp[385]: tun0: Chat: Received: ATL1M1DT028070707 Jan 26 09:25:31 ppp[385]: tun0: Chat: Received: CONNECT 31200/ARQ Jan 26 09:25:31 ppp[385]: tun0: Phase: deflink: dial -> carrier Jan 26 09:25:32 ppp[385]: tun0: Phase: deflink: /dev/cuaa2: CD detected Jan 26 09:25:32 ppp[385]: tun0: Phase: deflink: carrier -> login Jan 26 09:25:32 ppp[385]: tun0: Phase: deflink: login -> lcp Jan 26 09:25:32 ppp[385]: tun0: LCP: FSM: Using "deflink" as a transport Jan 26 09:25:32 ppp[385]: tun0: LCP: deflink: State change Initial --> Closed Jan 26 09:25:32 ppp[385]: tun0: LCP: deflink: State change Closed --> Stopped Jan 26 09:25:33 ppp[385]: tun0: LCP: deflink: LayerStart Jan 26 09:25:33 ppp[385]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Jan 26 09:25:33 ppp[385]: tun0: LCP: ACFCOMP[2] Jan 26 09:25:33 ppp[385]: tun0: LCP: PROTOCOMP[2] Jan 26 09:25:33 ppp[385]: tun0: LCP: ACCMAP[6] 0x00000000 Jan 26 09:25:33 ppp[385]: tun0: LCP: MRU[4] 1500 Jan 26 09:25:33 ppp[385]: tun0: LCP: MAGICNUM[6] 0x2aa5d75a Jan 26 09:25:33 ppp[385]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Jan 26 09:25:33 ppp[385]: tun0: LCP: deflink: State change Stopped --> Req-Sent Jan 26 09:25:36 ppp[385]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Jan 26 09:25:36 ppp[385]: tun0: LCP: ACFCOMP[2] Jan 26 09:25:36 ppp[385]: tun0: LCP: PROTOCOMP[2] Jan 26 09:25:36 ppp[385]: tun0: LCP: ACCMAP[6] 0x00000000 Jan 26 09:25:36 ppp[385]: tun0: LCP: MRU[4] 1500 Jan 26 09:25:36 ppp[385]: tun0: LCP: MAGICNUM[6] 0x2aa5d75a Jan 26 09:25:36 ppp[385]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Jan 26 09:25:36 ppp[385]: tun0: LCP: deflink: RecvConfigAck(1) state = Req-Sent Jan 26 09:25:36 ppp[385]: tun0: LCP: deflink: State change Req-Sent --> Ack-Rcvd Jan 26 09:25:37 ppp[385]: tun0: LCP: deflink: RecvConfigReq(194) state = Ack-Rcvd Jan 26 09:25:37 ppp[385]: tun0: LCP: ACCMAP[6] 0x000a0000 Jan 26 09:25:37 ppp[385]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Jan 26 09:25:37 ppp[385]: tun0: LCP: MAGICNUM[6] 0x860957b5 Jan 26 09:25:37 ppp[385]: tun0: LCP: PROTOCOMP[2] Jan 26 09:25:37 ppp[385]: tun0: LCP: ACFCOMP[2] Jan 26 09:25:37 ppp[385]: tun0: LCP: MRRU[4] 1524 Jan 26 09:25:37 ppp[385]: tun0: LCP: ENDDISC[12] Local Addr: cc_as5300 Jan 26 09:25:37 ppp[385]: tun0: LCP: deflink: SendConfigRej(194) state = Ack-Rcvd Jan 26 09:25:37 ppp[385]: tun0: LCP: MRRU[4] 1524 Jan 26 09:25:38 ppp[385]: tun0: LCP: deflink: RecvConfigReq(195) state = Ack-Rcvd Jan 26 09:25:38 ppp[385]: tun0: LCP: ACCMAP[6] 0x000a0000 Jan 26 09:25:38 ppp[385]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Jan 26 09:25:38 ppp[385]: tun0: LCP: MAGICNUM[6] 0x860957b5 Jan 26 09:25:38 ppp[385]: tun0: LCP: PROTOCOMP[2] Jan 26 09:25:38 ppp[385]: tun0: LCP: ACFCOMP[2] Jan 26 09:25:38 ppp[385]: tun0: LCP: ENDDISC[12] Local Addr: cc_as5300 Jan 26 09:25:38 ppp[385]: tun0: LCP: deflink: SendConfigAck(195) state = Ack-Rcvd Jan 26 09:25:38 ppp[385]: tun0: LCP: ACCMAP[6] 0x000a0000 Jan 26 09:25:38 ppp[385]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Jan 26 09:25:38 ppp[385]: tun0: LCP: MAGICNUM[6] 0x860957b5 Jan 26 09:25:38 ppp[385]: tun0: LCP: PROTOCOMP[2] Jan 26 09:25:38 ppp[385]: tun0: LCP: ACFCOMP[2] Jan 26 09:25:38 ppp[385]: tun0: LCP: ENDDISC[12] Local Addr: cc_as5300 Jan 26 09:25:38 ppp[385]: tun0: LCP: deflink: State change Ack-Rcvd --> Opened Jan 26 09:25:38 ppp[385]: tun0: LCP: deflink: LayerUp Jan 26 09:25:38 ppp[385]: tun0: Phase: bundle: Authenticate Jan 26 09:25:38 ppp[385]: tun0: Phase: deflink: his = PAP, mine = PAP Jan 26 09:25:38 ppp[385]: tun0: Phase: Pap Output: makham ******** Jan 26 09:25:41 ppp[385]: tun0: Phase: Pap Output: makham ******** Jan 26 09:25:41 ppp[385]: tun0: Phase: Pap Input: SUCCESS () Jan 26 09:26:38 ppp[385]: tun0: Phase: deflink: HDLC errors -> FCS: 2, ADDR: 0, COMD: 0, PROTO: 0 Jan 26 09:27:28 ppp[385]: tun0: LCP: deflink: RecvTerminateReq(196) state = Opened Jan 26 09:27:28 ppp[385]: tun0: LCP: deflink: LayerDown Jan 26 09:27:28 ppp[385]: tun0: LCP: deflink: SendTerminateAck(196) state = Opened Jan 26 09:27:28 ppp[385]: tun0: LCP: deflink: State change Opened --> Stopping Jan 26 09:27:28 ppp[385]: tun0: Phase: deflink: Carrier lost Jan 26 09:27:28 ppp[385]: tun0: LCP: deflink: State change Stopping --> Starting Jan 26 09:27:28 ppp[385]: tun0: LCP: deflink: LayerFinish Jan 26 09:27:28 ppp[385]: tun0: LCP: deflink: State change Starting --> Initial Jan 26 09:27:28 ppp[385]: tun0: Phase: deflink: Disconnected! Jan 26 09:27:28 ppp[385]: tun0: Phase: deflink: lcp -> logout Jan 26 09:27:28 ppp[385]: tun0: Phase: deflink: Disconnected! Jan 26 09:27:28 ppp[385]: tun0: Phase: deflink: logout -> hangup Jan 26 09:27:28 ppp[385]: tun0: Phase: deflink: Connect time: 151 secs: 880 octets in, 274 octets out Jan 26 09:27:28 ppp[385]: tun0: Phase: deflink: : 14 packets in, 7 packets out Jan 26 09:27:28 ppp[385]: tun0: Phase: total 7 bytes/sec, peak 163 bytes/sec on Sat Jan 26 09:27:28 2002 Jan 26 09:27:28 ppp[385]: tun0: Phase: deflink: hangup -> closed Jan 26 09:27:28 ppp[385]: tun0: Phase: bundle: Dead --sdtB3X0nJg68CQEu-- 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?20020127035842.A1106>