Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 1997 08:16:01 +1000
From:      Robert <robert@chalmers.com.au>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   [Q] PPP and the NT server Saga. The last chapter.
Message-ID:  <33A07521.6106@chalmers.com.au>

next in thread | raw e-mail | index | archive | help
Hi gang...

well,
this is it. I give up. I'm not going to waste any more time or 
money on something so arcane. If you can see anything obviously 
wrong here let me know please.

Transcript of the ppp session:

# ppp ISP
User Process PPP. Written by Toshiharu OHNO
Log level is 0b
Warning: Can't open /etc/ppp/ppp.secret file
Warning: All manipulation is allowed by anyone in the world
Using interface: tun0
Interactive mode
ppp ON nanguo> dial
Dial Attempt 1
Phone: 403337
dial OK!
login OK!
ppp ON nanguo> Packet mode.
ppp ON nanguo>			At this point I have to 'quit'
				because the line has dropped.

======================
/var/log/ppp.log

06-13 07:45:37 [2210] Using interface: tun0
06-13 07:45:37 [2210] PPP Started.
06-13 07:45:41 [2210] Expecting 
06-13 07:45:41 [2210] sending: ATZ

06-13 07:45:41 [2210] Expecting OK-AT-OK
06-13 07:45:41 [2210] Wait for (10): OK --> OK
06-13 07:45:43 [2210] sending: ATM1E1Q0

06-13 07:45:43 [2210] Expecting OK-AT-OK
06-13 07:45:43 [2210] Wait for (10): OK --> OK
06-13 07:45:43 [2210] Phone: 403336
06-13 07:45:43 [2210] sending: ATDT403336

06-13 07:45:43 [2210] Expecting CONNECT
06-13 07:45:43 [2210] Wait for (40): CONNECT --> CONNECT
06-13 07:46:02 [2210] *Connected!
06-13 07:46:02 [2210] LCP: state change Initial --> Closed
06-13 07:46:02 [2210] LCP: SendConfigReq
06-13 07:46:02 [2210]  ACFCOMP
06-13 07:46:02 [2210]  PROTOCOMP
06-13 07:46:02 [2210]  ACCMAP [6] 00000000
06-13 07:46:02 [2210]  MRU [4] 1500
06-13 07:46:02 [2210]  MAGICNUM [6] 99017dbe
06-13 07:46:02 [2210] LCP: state change Closed --> Req-Sent
06-13 07:46:05 [2210] LCP: SendConfigReq
06-13 07:46:05 [2210]  ACFCOMP
06-13 07:46:05 [2210]  PROTOCOMP
06-13 07:46:05 [2210]  ACCMAP [6] 00000000
06-13 07:46:05 [2210]  MRU [4] 1500
06-13 07:46:05 [2210]  MAGICNUM [6] 99017dbe
06-13 07:46:05 [2210] LCP: Received Configure Request (0) state =
Req-Sent (6)
06-13 07:46:05 [2210]  ACCMAP 00000000
06-13 07:46:05 [2210]  AUTHPROTO proto = c223
06-13 07:46:05 [2210]  MAGICNUM 000047b7
06-13 07:46:05 [2210]  PROTOCOMP
06-13 07:46:05 [2210]  ACFCOMP
06-13 07:46:05 [2210] LCP:  SendConfigRej(Req-Sent)
06-13 07:46:05 [2210]  AUTHPROTO proto = c223
06-13 07:46:05 [2210] LCP: Received Configure Ack (2) state = Req-Sent
(6)
06-13 07:46:05 [2210] LCP: state change Req-Sent --> Ack-Rcvd
06-13 07:46:05 [2210] LCP: Received Terminate Request (1) state =
Ack-Rcvd (7)
06-13 07:46:05 [2210] LCP: SendTerminateAck.
06-13 07:46:05 [2210] LCP: state change Ack-Rcvd --> Req-Sent
06-13 07:46:07 [2210] LCP: Received Terminate Request (2) state =
Req-Sent (6)
06-13 07:46:07 [2210] LCP: SendTerminateAck.
06-13 07:46:12 [2210] Disconnected!
06-13 07:46:12 [2210] Connect time: 10 secs
06-13 07:46:12 [2210] Phase: Dead
06-13 07:46:12 [2210] LCP: state change Req-Sent --> Starting
06-13 07:48:54 [2210] PPP Terminated.


followed by the /etc/ppp/ppp.conf ,and linkup files


#############################################################################
default:
 set device /dev/cuaa1
 set speed 19200
 set debug phase chat lcp
 enable msext
 set ns 203.22.80.2 203.22.80.3
 set nbns 203.22.80.12
 set timeout 0
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 10 \"\" ATZ OK-AT-OK
ATM1E1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
#
#	% ppp ISP
ISP:
 accept chap
 deny pap
 set authname MyLogin
 set authkey MyPassword
 set openmode active
 disable pred1
 deny pred1
 disable lqr
 deny lqr
 set phone 403336
 set ifaddr 203.22.80.21/0 203.22.80.20/0
 add 0 0 203.22.80.20
#


========================================
#
MYADDR:
 delete 0 0
 add 0 0 HISADDR
#
=======================================


-- 
http://www.chalmers.com.au Books-New & Secondhand  Support Whirled Peas.
Agents for CIBTC. Associate of Amazon.com, and Partner Program with iBS.
Books about China, books from China.         Sheng huo jiu shi dou zheng
Business Links in Dalian, and Beijing.          Building the China Trade



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33A07521.6106>