From owner-freebsd-questions Mon May 18 05:51:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA03357 for freebsd-questions-outgoing; Mon, 18 May 1998 05:51:10 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.3pstudio.net (mail.3pstudio.com.tw [210.66.235.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA03331 for ; Mon, 18 May 1998 05:51:03 -0700 (PDT) (envelope-from styih@mail.3pstudio.net) Received: from mail.3pstudio.net (dns.3pstudio.com.tw [210.66.235.8]) by mail.3pstudio.net (8.8.5/8.8.5) with ESMTP id UAA04360 for ; Mon, 18 May 1998 20:51:42 +0800 (CST) Message-ID: <35602F7F.1DA524D7@mail.3pstudio.net> Date: Mon, 18 May 1998 20:54:24 +0800 From: styih Organization: 3P Studio X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: [Help]:Problems with PPP dialin Server with mgetty ... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I set my PPP dialin as follows : Server : Freebsd 2.2.6 Release Client : Win95 It seems that ppp connection is ok, but no data transmission. When connecting server , the RD and SD led light but after building the connction, the RD and SD never flash. Please help me with any sugguestion. Thank you. Below is the setup steps of my dialin server: ================ *I compiled mgetty with AutoPPP options *edit /etc/ttys: cuaa1 "/usr/local/sbin/mgetty" dialup on *kill -1 1 ***as the time , I tried to use "TERM" to connect my server and it was ok! and then *I edit /usr/local/etc/mgetty+sendfax/login.config /AutoPPP/ - - /etc/ppp/ppp-pap-dialup *edit a file /etc/ppp/ppp-pap-dialup #!/bin/sh TTY=`tty` IDENT=`basename $TTY` exec /usr/sbin/ppp -direct pap$IDENT *vipw pppuser:*:1051:66:0:0:PPPuser:/home/ppp:/etc/ppp/ppp-pap-dialup */etc/ppp/ppp.conf default: set log Phase Chat Connect Carrier LCP IPCP CCP tun command enable msext set ns 210.66.235.8 139.175.55.244 papcuaa1: enable pap enable passwdauth set ifaddr 210.66.235.120 210.66.235.121 255.255.255.255 enable proxy */etc/ppp/ppp.linkup MYADDR: delete ALL add 0 0 HISADDR */etc/ppp/ppp.linkdown MYADDR: */etc/ppp/ppp.secret empty *edit /etc/rc.conf network_interfaces='lo0 de0 tun0" ifconfig_tun0= *reboot *the output of the netstat -rn command(before connecting) Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 210.66.235.254 UGSc 0 0 de0 127.0.0.1 127.0.0.1 UH 0 0 lo0 210.66.235 link#1 UC 0 0 210.66.235.8 0:40:5:39:9b:27 UHLW 0 2 de0 1132 210.66.235.254 link#1 UHLW 1 0 *the output of the netstat -rn command(after connecting) Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 210.66.235.254 UGSc 0 0 de0 127.0.0.1 127.0.0.1 UH 0 0 lo0 210.66.235 link#1 UC 0 0 210.66.235.8 0:40:5:39:9b:27 UHLW 0 3 de0 1142 210.66.235.121 210.66.235.120 UH 0 0 tun0 210.66.235.121 0:80:c8:66:24:5c UHLS2 0 0 de0 210.66.235.254 link#1 UHLW 1 0 *the log file /var/log/ppp.log May 18 20:43:57 theatre ppp[173]: Command: default: enable msext May 18 20:43:57 theatre ppp[173]: Command: default: set ns 210.66.235.8 139.175.55.244 May 18 20:43:57 theatre ppp[173]: tun0: Phase: Using interface: tun0 May 18 20:43:57 theatre ppp[173]: tun0: Command: papcuaa1: enable pap May 18 20:43:57 theatre ppp[173]: tun0: Command: papcuaa1: enable passwdauth May 18 20:43:57 theatre ppp[173]: tun0: Command: papcuaa1: set ifaddr 210.66.235.120 210.66.235.121 255.255.255.255 May 18 20:43:57 theatre ppp[173]: tun0: Command: papcuaa1: enable proxy May 18 20:43:57 theatre ppp[173]: tun0: Phase: PPP Started. May 18 20:43:57 theatre ppp[173]: tun0: Phase: Connected! May 18 20:43:57 theatre ppp[173]: tun0: Phase: Packet mode enabled May 18 20:43:57 theatre ppp[173]: tun0: LCP: State change Initial --> Closed May 18 20:43:57 theatre ppp[173]: tun0: LCP: State change Closed --> Stopped May 18 20:43:58 theatre ppp[173]: tun0: LCP: LcpSendConfigReq May 18 20:43:58 theatre ppp[173]: tun0: LCP: ACFCOMP[2] May 18 20:43:58 theatre ppp[173]: tun0: LCP: PROTOCOMP[2] May 18 20:43:58 theatre ppp[173]: tun0: LCP: ACCMAP[6] 0x00000000 May 18 20:43:58 theatre ppp[173]: tun0: LCP: MRU[4] 1500 May 18 20:43:58 theatre ppp[173]: tun0: LCP: MAGICNUM[6] 0x0a3574cd May 18 20:43:58 theatre ppp[173]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) May 18 20:43:58 theatre ppp[173]: tun0: LCP: State change Stopped --> Req-Sent May 18 20:43:58 theatre ppp[173]: tun0: LCP: Received Configure Ack (1) state = Req-Sent (6) May 18 20:43:58 theatre ppp[173]: tun0: LCP: State change Req-Sent --> Ack-Rcvd May 18 20:44:00 theatre ppp[173]: tun0: LCP: Received Configure Request (2) state = Ack-Rcvd (7) May 18 20:44:00 theatre ppp[173]: tun0: LCP: ACCMAP[6] 0x000a0000 May 18 20:44:00 theatre ppp[173]: tun0: LCP: MAGICNUM[6] 0x0099dafb May 18 20:44:00 theatre ppp[173]: tun0: LCP: PROTOCOMP[2] May 18 20:44:00 theatre ppp[173]: tun0: LCP: ACFCOMP[2] May 18 20:44:00 theatre ppp[173]: tun0: LCP: CALLBACK[3] 06 May 18 20:44:00 theatre ppp[173]: tun0: LCP: SendConfigRej(Ack-Rcvd) May 18 20:44:00 theatre ppp[173]: tun0: LCP: CALLBACK[3] 06 May 18 20:44:00 theatre ppp[173]: tun0: LCP: Received Configure Request (3) state = Ack-Rcvd (7) May 18 20:44:00 theatre ppp[173]: tun0: LCP: ACCMAP[6] 0x000a0000 May 18 20:44:00 theatre ppp[173]: tun0: LCP: MAGICNUM[6] 0x0099dafb May 18 20:44:00 theatre ppp[173]: tun0: LCP: PROTOCOMP[2] May 18 20:44:00 theatre ppp[173]: tun0: LCP: ACFCOMP[2] May 18 20:44:00 theatre ppp[173]: tun0: LCP: SendConfigAck(Ack-Rcvd) May 18 20:44:00 theatre ppp[173]: tun0: LCP: ACCMAP[6] 0x000a0000 May 18 20:44:00 theatre ppp[173]: tun0: LCP: MAGICNUM[6] 0x0099dafb May 18 20:44:00 theatre ppp[173]: tun0: LCP: PROTOCOMP[2] May 18 20:44:00 theatre ppp[173]: tun0: LCP: ACFCOMP[2] May 18 20:44:00 theatre ppp[173]: tun0: LCP: State change Ack-Rcvd --> Opened May 18 20:44:00 theatre ppp[173]: tun0: LCP: LcpLayerUp May 18 20:44:00 theatre ppp[173]: tun0: Phase: NewPhase: Authenticate May 18 20:44:00 theatre ppp[173]: tun0: Phase: his = none, mine = PAP May 18 20:44:00 theatre ppp[173]: tun0: Phase: PapInput: REQUEST May 18 20:44:00 theatre ppp[173]: tun0: LCP: Using PasswdAuth May 18 20:44:00 theatre ppp[173]: tun0: Phase: PapOutput: ACK May 18 20:44:00 theatre ppp[173]: tun0: Phase: NewPhase: Network May 18 20:44:00 theatre ppp[173]: tun0: IPCP: State change Initial --> Closed May 18 20:44:00 theatre ppp[173]: tun0: IPCP: IPCP Up event!! May 18 20:44:00 theatre ppp[173]: tun0: IPCP: IpcpSendConfigReq May 18 20:44:00 theatre ppp[173]: tun0: IPCP: IPADDR[6] 210.66.235.120 May 18 20:44:00 theatre ppp[173]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compres May 18 20:44:00 theatre ppp[173]: tun0: IPCP: State change Closed --> Req-Sent May 18 20:44:00 theatre ppp[173]: tun0: CCP: State change Initial --> Closed May 18 20:44:00 theatre ppp[173]: tun0: CCP: CCP Up event!! May 18 20:44:00 theatre ppp[173]: tun0: CCP: CcpSendConfigReq May 18 20:44:00 theatre ppp[173]: tun0: CCP: DEFLATE[4] win 15 May 18 20:44:00 theatre ppp[173]: tun0: CCP: PRED1[2] May 18 20:44:00 theatre ppp[173]: tun0: CCP: State change Closed --> Req-Sent May 18 20:44:00 theatre ppp[173]: tun0: IPCP: Received Configure Request (1) state = Req-Sent (6) May 18 20:44:00 theatre ppp[173]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression May 18 20:44:00 theatre ppp[173]: tun0: IPCP: IPADDR[6] 210.66.235.4 May 18 20:44:00 theatre ppp[173]: tun0: IPCP: MS NS req 129:0.0.0.0->0.0.0.0 - nak May 18 20:44:00 theatre ppp[173]: tun0: IPCP: MS NBNS req 130:0.0.0.0 ok - ack May 18 20:44:00 theatre ppp[173]: tun0: IPCP: MS NS req 131:0.0.0.0->0.0.0.0 - nak May 18 20:44:00 theatre ppp[173]: tun0: IPCP: MS NBNS req 132:0.0.0.0 ok - ack May 18 20:44:00 theatre ppp[173]: tun0: IPCP: SendConfigNak(Req-Sent) May 18 20:44:00 theatre ppp[173]: tun0: IPCP: IPADDR[6] 210.66.235.121 May 18 20:44:00 theatre ppp[173]: tun0: CCP: Received Configure Request (1) state = Req-Sent (6) May 18 20:44:00 theatre ppp[173]: tun0: CCP: MSPPC[6] May 18 20:44:00 theatre ppp[173]: tun0: CCP: STAC[5] May 18 20:44:00 theatre ppp[173]: tun0: CCP: SendConfigRej(Req-Sent) May 18 20:44:00 theatre ppp[173]: tun0: CCP: MSPPC[6] May 18 20:44:00 theatre ppp[173]: tun0: CCP: STAC[5] May 18 20:44:00 theatre ppp[173]: tun0: IPCP: Received Configure Ack (1) state = Req-Sent (6) May 18 20:44:00 theatre ppp[173]: tun0: IPCP: State change Req-Sent --> Ack-Rcvd May 18 20:44:00 theatre ppp[173]: tun0: CCP: Received Configure Reject (1) state = Req-Sent (6) May 18 20:44:00 theatre ppp[173]: tun0: CCP: RecvConfigRej. May 18 20:44:00 theatre ppp[173]: tun0: CCP: DEFLATE[4] May 18 20:44:00 theatre ppp[173]: tun0: CCP: PRED1[2] May 18 20:44:00 theatre ppp[173]: tun0: CCP: CcpSendConfigReq May 18 20:44:00 theatre ppp[173]: tun0: IPCP: Received Configure Request (2) state = Ack-Rcvd (7) May 18 20:44:00 theatre ppp[173]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression May 18 20:44:00 theatre ppp[173]: tun0: IPCP: IPADDR[6] 210.66.235.121 May 18 20:44:00 theatre ppp[173]: tun0: IPCP: MS NS req 129:210.66.235.8 ok - ack May 18 20:44:00 theatre ppp[173]: tun0: IPCP: MS NBNS req 130:0.0.0.0 ok - ack May 18 20:44:00 theatre ppp[173]: tun0: IPCP: MS NS req 131:139.175.55.244 ok - ack May 18 20:44:00 theatre ppp[173]: tun0: IPCP: MS NBNS req 132:0.0.0.0 ok - ack May 18 20:44:00 theatre ppp[173]: tun0: IPCP: SendConfigAck(Ack-Rcvd) May 18 20:44:00 theatre ppp[173]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression May 18 20:44:00 theatre ppp[173]: tun0: IPCP: IPADDR[6] 210.66.235.121 May 18 20:44:00 theatre ppp[173]: tun0: IPCP: State change Ack-Rcvd --> Opened May 18 20:44:00 theatre ppp[173]: tun0: IPCP: IpcpLayerUp(9). May 18 20:44:00 theatre ppp[173]: tun0: IPCP: myaddr = 210.66.235.120 hisaddr = 210.66.235.121 May 18 20:44:00 theatre ppp[173]: tun0: Phase: Found interface de0 for proxy arp May 18 20:44:00 theatre ppp[173]: tun0: LCP: OsLinkup: 210.66.235.121 May 18 20:44:00 theatre ppp[173]: tun0: Command: MYADDR: delete ALL May 18 20:44:00 theatre ppp[173]: tun0: Command: MYADDR: add 0 0 HISADDR May 18 20:44:00 theatre ppp[173]: tun0: Warning: Add route failed: 0.0.0.0 already exists May 18 20:44:00 theatre ppp[173]: tun0: CCP: Received Configure Ack (2) state = Req-Sent (6) May 18 20:44:00 theatre ppp[173]: tun0: CCP: State change Req-Sent --> Ack-Rcvd May 18 20:44:03 theatre ppp[173]: tun0: CCP: Received Configure Request (2) state = Ack-Rcvd (7) May 18 20:44:03 theatre ppp[173]: tun0: CCP: SendConfigAck(Ack-Rcvd) May 18 20:44:03 theatre ppp[173]: tun0: CCP: State change Ack-Rcvd --> Opened May 18 20:44:03 theatre ppp[173]: tun0: CCP: CcpLayerUp(9). May 18 20:44:03 theatre ppp[173]: tun0: CCP: Out = none[-1], In = none[-1] May 18 20:44:03 theatre ppp[173]: tun0: CCP: Received Terminate Request (3) state = Opened (9) May 18 20:44:03 theatre ppp[173]: tun0: CCP: CcpLayerDown. May 18 20:44:03 theatre ppp[173]: tun0: CCP: CcpSendTerminateAck May 18 20:44:03 theatre ppp[173]: tun0: CCP: State change Opened --> Stopping May 18 20:44:06 theatre ppp[173]: tun0: CCP: State change Stopping --> Stopped May 18 20:44:06 theatre ppp[173]: tun0: CCP: CcpLayerFinish. May 18 20:45:05 theatre ppp[173]: tun0: LCP: Received Terminate Request (4) state = Opened (9) May 18 20:45:05 theatre ppp[173]: tun0: IPCP: OsLinkdown: 210.66.235.121 May 18 20:45:05 theatre ppp[173]: tun0: IPCP: IpcpLayerDown. May 18 20:45:05 theatre ppp[173]: tun0: IPCP: Connect time: 65 secs: 0 octets in, 0 octets out May 18 20:45:05 theatre ppp[173]: tun0: IPCP: total 0 bytes/sec May 18 20:45:05 theatre ppp[173]: tun0: IPCP: State change Opened --> Starting May 18 20:45:05 theatre ppp[173]: tun0: CCP: CcpLayerStart. May 18 20:45:05 theatre ppp[173]: tun0: CCP: State change Stopped --> Starting May 18 20:45:05 theatre ppp[173]: tun0: LCP: LcpLayerDown May 18 20:45:05 theatre ppp[173]: tun0: LCP: LcpSendTerminateAck. May 18 20:45:05 theatre ppp[173]: tun0: LCP: State change Opened --> Stopping May 18 20:45:07 theatre ppp[173]: tun0: Phase: Disconnected! May 18 20:45:07 theatre ppp[173]: tun0: LCP: State change Stopping --> Starting May 18 20:45:07 theatre ppp[173]: tun0: LCP: LcpLayerFinish May 18 20:45:07 theatre ppp[173]: tun0: Phase: Modem: Connect time: 70 secs: 443 octets in, 333 octets out May 18 20:45:07 theatre ppp[173]: tun0: Phase: total 11 bytes/sec May 18 20:45:07 theatre ppp[173]: tun0: Phase: NewPhase: Dead May 18 20:45:08 theatre ppp[173]: tun0: Phase: PPP Terminated (dead). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message