Date: Thu, 4 Jul 1996 12:36:19 +0200 (MET DST) From: Giorgio Cico <gio@intelnet.vol.it> To: questions@freebsd.org Subject: HELP requested on iij-ppp Message-ID: <Pine.BSF.3.91.960703103335.2092B-100000@arneis.intelnet.vol.it>
next in thread | raw e-mail | index | archive | help
HELP !!! I need to configure a FBSD box as an access server, connecting two modem to the two Com ports. I followed the manual in the section 'Receiving incoming ppp connections' but it doesn't works well. The address of the box is 194.166.29.199 (255.255.255.0) I want the ppp connection address be 194.166.29.160/161 I want all packet sent to my default router (194.166.29.1) I inserted the address 194.166.29.162 as the address of the box during the connection: I'm not sure if it is correct/necessary, but, otherwise, the box succesfully negotiates an address of 0.0.0.0 . this is the result of the session on the client (Trumpet on Windows 3.11) --------------------------------------------------------------------- Trumpet Winsock Version 2.0 Revision B Copyright (c) 1993,1994 by Peter R. Tattam All Rights Reserved. THIS IS AN UNREGISTERED SHAREWARE VERSION FOR EVALUATION ONLY. PPP[C021] state = starting PPP[C023] state = starting PPP[8021] state = starting PPP ENABLED Internal SLIP driver COM1 Baud rate = 38400 Hardware handshaking Compression enabled IP buffers = 32 My IP = 0.0.0.0 netmask = 0.0.0.0 gateway = 0.0.0.0 Manually dialing. AFTER LOGGING IN, TYPE THE <ESC> KEY TO RETURN TO NORMAL SLIP PROCESSING. PPP DISABLED atdt803480667 CONNECT 26400/ARQ FreeBSD (test.intelnet.vol.it) (ttyd1) login: ppp Password:<ppp user password> User Process PPP. Written by Toshiharu OHNO. Log level is 09 Using interface: tun0 Packet mode enabled. ~}#@!}!}!} }8}(}"}'}"}"}&} } } } }!}$}%\}%}&!}8Xo~PPP ENABLED PPP[C021] SND CONFREQ ID=01 LEN=24 MRU(05DC) ACCM(00000000) MAGIC(000144D4) PFC ACFC PPP[C021] state = reqsent PPP frame check error, 29 PPP[C021] RCV CONFREQ ID=02 LEN=24 ACFC PFC ACCM(00000000) MRU(05DC) MAGIC(82A118D8) PPP[C021] SND CONFACK ID=02 LEN=24 ACFC PFC ACCM(00000000) MRU(05DC) MAGIC(82A118D8) PPP[C021] state = acksent PPP frame check error, 18 PPP[C021] SND PROTREJ ID=01 LEN=12 data 80 FD 01 01 00 06 01 02 PPP[C021] SND CONFREQ ID=02 LEN=24 MRU(05DC) ACCM(00000000) MAGIC(0001510F) PFC ACFC PPP[C021] RCV ECHOREQ ID=03 LEN=16 data 82 A1 18 D8 59 4E 4F 54 00 00 00 00 PPP[C021] RCV CONFREQ ID=04 LEN=24 ACFC PFC ACCM(00000000) MRU(05DC) MAGIC(82A118D8) PPP[C021] SND CONFACK ID=04 LEN=24 ACFC PFC ACCM(00000000) MRU(05DC) MAGIC(82A118D8) PPP[C021] RCV CONFACK ID=02 LEN=24 MRU(05DC) ACCM(00000000) MAGIC(0001510F) PFC ACFC PPP[C021] state = opened PPP[8021] SND CONFREQ ID=01 LEN=16 IPCP(002D0F01) IPADDR(00000000) PPP[8021] state = reqsent PPP[8021] RCV CONFNAK ID=01 LEN=10 IPADDR(C2A61DA0) My IP address = 194.166.29.160 PPP[8021] SND CONFREQ ID=02 LEN=16 IPCP(002D0F01) IPADDR(C2A61DA0) PPP[8021] RCV CONFACK ID=02 LEN=16 IPCP(002D0F01) IPADDR(C2A61DA0) PPP[8021] state = ackrcvd PPP[8021] RCV CONFREQ ID=02 LEN=16 IPADDR(C2A61DA2) IPCP(002D0F00) PPP[8021] SND CONFACK ID=02 LEN=16 IPADDR(C2A61DA2) IPCP(002D0F00) PPP[8021] state = opened state = syn_sent *** *** here I am tring a telnet to 194.166.29.62 *** 0 IP 194.166.29.160 ->194.166.29.62 len 44 prot 6 126.3 1024->23 seq 00000000 SYN wind 4096 opt 020405B4 0 IP 194.166.29.160 ->194.166.29.62 len 44 prot 6 131.4 1024->23 seq 00000000 SYN wind 4096 opt 020405B4 0 IP 194.166.29.160 ->194.166.29.62 len 44 prot 6 141.4 1024->23 seq 00000000 SYN wind 4096 opt 020405B4 state = closed --------------------------------------------------------------------- --------------------------- /var/log/ppp.log ------------------------ 07-04 10:58:52 [140] Using interface: tun0 07-04 10:58:52 [140] Listening at 3000. 07-04 10:58:52 [140] PPP Started. 07-04 10:58:52 [140] Packet mode enabled 07-04 10:58:52 [140] LCP: state change Initial --> Closed 07-04 10:58:52 [140] LCP: SendConfigReq 07-04 10:58:52 [140] ACFCOMP 07-04 10:58:52 [140] PROTOCOMP 07-04 10:58:52 [140] ACCMAP [6] 00000000 07-04 10:58:52 [140] MRU [4] 1500 07-04 10:58:52 [140] MAGICNUM [6] 82a118d8 07-04 10:58:52 [140] LCP: state change Closed --> Req-Sent 07-04 10:58:53 [140] *Connected! 07-04 10:58:53 [140] LCP: Received Configure Request (1) state = Req-Sent (6) 07-04 10:58:53 [140] MRU 1500 07-04 10:58:53 [140] ACCMAP 00000000 07-04 10:58:53 [140] MAGICNUM 000144d4 07-04 10:58:53 [140] PROTOCOMP 07-04 10:58:53 [140] ACFCOMP 07-04 10:58:53 [140] LCP: SendConfigAck(Req-Sent) 07-04 10:58:53 [140] MRU 1500 07-04 10:58:53 [140] ACCMAP 00000000 07-04 10:58:53 [140] MAGICNUM 000144d4 07-04 10:58:53 [140] PROTOCOMP 07-04 10:58:53 [140] ACFCOMP 07-04 10:58:53 [140] LCP: state change Req-Sent --> Ack-Sent 07-04 10:58:55 [140] LCP: SendConfigReq 07-04 10:58:55 [140] ACFCOMP 07-04 10:58:55 [140] PROTOCOMP 07-04 10:58:55 [140] ACCMAP [6] 00000000 07-04 10:58:55 [140] MRU [4] 1500 07-04 10:58:55 [140] MAGICNUM [6] 82a118d8 07-04 10:58:55 [140] LCP: Received Configure Ack (2) state = Ack-Sent (8) 07-04 10:58:55 [140] LCP: state change Ack-Sent --> Opend 07-04 10:58:55 [140] LCP: LayerUp 07-04 10:58:55 [140] Phase: Authenticate 07-04 10:58:55 [140] his = 0, mine = 0 07-04 10:58:55 [140] Phase: Network 07-04 10:58:55 [140] IPCP: state change Initial --> Closed 07-04 10:58:55 [140] IPCP Up event!! 07-04 10:58:55 [140] IPCP: SendConfigReq 07-04 10:58:55 [140] IPADDR [6] 194.166.29.162 07-04 10:58:55 [140] COMPPROTO [6] 002d0f00 07-04 10:58:55 [140] IPCP: state change Closed --> Req-Sent 07-04 10:58:55 [140] CCP: state change Initial --> Closed 07-04 10:58:55 [140] CCP Up event!! 07-04 10:58:55 [140] CCP: SendConfigReq 07-04 10:58:55 [140] CCP: state change Closed --> Req-Sent 07-04 10:58:56 [140] LCP: Received Protocol Reject (1) state = Opend (9) 07-04 10:58:56 [140] -- Protocol (80fd) was rejected. 07-04 10:58:56 [140] CCP: LayerFinish. 07-04 10:58:56 [140] CCP: state change Req-Sent --> Stopped 07-04 10:58:56 [140] LCP: Received Configure Request (2) state = Opend (9) 07-04 10:58:56 [140] MRU 1500 07-04 10:58:56 [140] ACCMAP 00000000 07-04 10:58:56 [140] MAGICNUM 0001510f 07-04 10:58:56 [140] PROTOCOMP 07-04 10:58:56 [140] ACFCOMP 07-04 10:58:56 [140] LCP: LayerDown 07-04 10:58:56 [140] Phase: Terminate 07-04 10:58:56 [140] LCP: SendConfigReq 07-04 10:58:56 [140] ACFCOMP 07-04 10:58:56 [140] PROTOCOMP 07-04 10:58:56 [140] ACCMAP [6] 00000000 07-04 10:58:56 [140] MRU [4] 1500 07-04 10:58:56 [140] MAGICNUM [6] 82a118d8 07-04 10:58:56 [140] LCP: SendConfigAck(Opend) 07-04 10:58:56 [140] MRU 1500 07-04 10:58:56 [140] ACCMAP 00000000 07-04 10:58:56 [140] MAGICNUM 0001510f 07-04 10:58:56 [140] PROTOCOMP 07-04 10:58:56 [140] ACFCOMP 07-04 10:58:56 [140] LCP: state change Opend --> Ack-Sent 07-04 10:58:57 [140] LCP: Received Configure Ack (4) state = Ack-Sent (8) 07-04 10:58:57 [140] LCP: state change Ack-Sent --> Opend 07-04 10:58:57 [140] LCP: LayerUp 07-04 10:58:57 [140] Phase: Authenticate 07-04 10:58:57 [140] his = 0, mine = 0 07-04 10:58:57 [140] Phase: Network 07-04 10:58:57 [140] IPCP: Oops, Up at Req-Sent 07-04 10:58:57 [140] IPCP Up event!! 07-04 10:58:57 [140] CCP: Oops, Up at Stopped 07-04 10:58:57 [140] CCP Up event!! 07-04 10:58:57 [140] IPCP: Received Configure Request (1) state = Req-Sent (6) 07-04 10:58:57 [140] COMPPROTO[6] 002d0f01 07-04 10:58:57 [140] IPADDR[6] 0.0.0.0 07-04 10:58:57 [140] IPCP: SendConfigNak(Req-Sent) 07-04 10:58:57 [140] IPADDR[6] 194.166.29.160 07-04 10:58:58 [140] IPCP: Received Configure Request (2) state = Req-Sent (6) 07-04 10:58:58 [140] COMPPROTO[6] 002d0f01 07-04 10:58:58 [140] IPADDR[6] 194.166.29.160 07-04 10:58:58 [140] IPCP: SendConfigAck(Req-Sent) 07-04 10:58:58 [140] COMPPROTO[6] 002d0f01 07-04 10:58:58 [140] IPADDR[6] 194.166.29.160 07-04 10:58:58 [140] IPCP: state change Req-Sent --> Ack-Sent 07-04 10:58:58 [140] IPCP: SendConfigReq 07-04 10:58:58 [140] IPADDR [6] 194.166.29.162 07-04 10:58:58 [140] COMPPROTO [6] 002d0f00 07-04 10:58:59 [140] IPCP: Received Configure Ack (2) state = Ack-Sent (8) 07-04 10:58:59 [140] IPCP: state change Ack-Sent --> Opend 07-04 10:58:59 [140] IPCP: LayerUp. 07-04 10:58:59 [140] myaddr = 194.166.29.162 hisaddr = 194.166.29.160 07-04 10:58:59 [140] found interface ep0 for proxy arp 07-04 10:58:59 [140] OsLinkup: 194.166.29.160 07-04 11:04:44 [140] Disconnected! 07-04 11:04:44 [140] Connect time: 351 secs 07-04 11:04:44 [140] Phase: Dead 07-04 11:04:44 [140] OsLinkdown: 194.166.29.160 07-04 11:04:45 [140] PPP Terminated. --------------------------------------------------------------------- The configuration of ppp is as follow. --------------------------- /etc/ppp/ppp.conf ------------------------ # # Default setup. Executed always when PPP is invoked. # default: set device /dev/cuaa0 set speed 38400 disable lqr deny lqr set login "" set timeout 0 deny pap deny chap set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" # ppp: disable pap disable chap enable proxy set authname ppp-server set ifaddr 194.166.29.162 194.166.29.160/31 set debug phase chat lcp tcpip ccp route ipcp --------------------------------------------------------------------- --------------------------- /etc/ppp/ppp.linkup ---------------------- # *** *** this seems ignored *** add 0 0 194.166.29.1 ---------------------------------------------------------------------- Any hints ? Many thanks in advance Giorgio Cico
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960703103335.2092B-100000>