From owner-freebsd-questions Thu Oct 12 21:37: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id 8F84137B502 for ; Thu, 12 Oct 2000 21:37:02 -0700 (PDT) Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.16 #20) id 13jwab-0005nu-00; Fri, 13 Oct 2000 06:37:01 +0200 Received: from a51d9.pppool.de ([213.6.81.217] helo=tanja.ncptiddische.net) by mx0.freenet.de with esmtp (Exim 3.16 #20) id 13jwaY-0006Jh-00; Fri, 13 Oct 2000 06:36:59 +0200 Received: from grazia.ncptiddische.net (grazia.ncptiddische.net [192.168.0.2]) by tanja.ncptiddische.net (8.11.0/8.11.0) with ESMTP id e9D4d8201134; Fri, 13 Oct 2000 06:39:41 +0200 (CEST) (envelope-from nils@nightcastleproductions.org) Date: Fri, 13 Oct 2000 06:36:21 +0200 (CEST) From: Nils Holland X-Sender: nils@grazia.ncptiddische.net To: J Cc: freebsd-questions@freebsd.org Subject: Re: PPP connection to German T-Online In-Reply-To: <000f01c03491$ee00b560$2a00a8c0@gmttech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 12 Oct 2000, J wrote: > Is it possible it's just not using papchap and using a plain unix type login > where in you have to configure your ppp.conf to look for ogin: and word: > ??? Well, this is not the problem if I interpret the logfile correctly. Below I have included first of all the ppp.conf file I use and then there's also a section from my ppp.log file that reflects the connection. And, oh yes, if it helps, I'm using FreeBSD 4.1.1-STABLE. ppp.conf: ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.1.2.2 1999/08/29 14:19:56 peter Exp $ ################################################################# default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa2 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 300 set ifaddr 192.168.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone 0191011 set authname "0008012949315200770843140001" set authkey "SECRET!!!" ppp.log: Oct 13 06:30:11 tanja ppp[1122]: Phase: deflink: Created in closed state Oct 13 06:30:12 tanja ppp[1122]: tun0: Command: default: set speed 115200 Oct 13 06:30:12 tanja ppp[1122]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT Oct 13 06:30:12 tanja ppp[1122]: tun0: Command: default: set timeout 300 Oct 13 06:30:12 tanja ppp[1122]: tun0: Command: default: set ifaddr 192.168.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Oct 13 06:30:12 tanja ppp[1122]: tun0: Command: default: add default HISADDR Oct 13 06:30:12 tanja ppp[1122]: tun0: Command: default: enable dns Oct 13 06:30:12 tanja ppp[1122]: tun0: Command: papchap: set phone 0191011 Oct 13 06:30:12 tanja ppp[1122]: tun0: Command: papchap: set authname 0008012949315200770843140001 Oct 13 06:30:12 tanja ppp[1122]: tun0: Command: papchap: set authkey ******** Oct 13 06:30:12 tanja ppp[1122]: tun0: Phase: PPP Started (interactive mode). Oct 13 06:30:13 tanja ppp[1122]: tun0: Command: /dev/tty: dial Oct 13 06:30:13 tanja ppp[1122]: tun0: Phase: bundle: Establish Oct 13 06:30:13 tanja ppp[1122]: tun0: Phase: deflink: closed -> opening Oct 13 06:30:13 tanja ppp[1122]: tun0: Phase: deflink: Connected! Oct 13 06:30:13 tanja ppp[1122]: tun0: Phase: deflink: opening -> dial Oct 13 06:30:13 tanja ppp[1122]: tun0: Chat: Phone: 0191011 Oct 13 06:30:13 tanja ppp[1122]: tun0: Chat: deflink: Dial attempt 1 of 1 Oct 13 06:30:13 tanja ppp[1122]: tun0: Chat: Send: AT^M Oct 13 06:30:13 tanja ppp[1122]: tun0: Chat: Expect(5): OK Oct 13 06:30:13 tanja ppp[1122]: tun0: Chat: Received: AT^M^M Oct 13 06:30:13 tanja ppp[1122]: tun0: Chat: Received: OK^M Oct 13 06:30:13 tanja ppp[1122]: tun0: Chat: Send: ATE1Q0^M Oct 13 06:30:13 tanja ppp[1122]: tun0: Chat: Expect(5): OK Oct 13 06:30:13 tanja ppp[1122]: tun0: Chat: Received: ATE1Q0^M^M Oct 13 06:30:13 tanja ppp[1122]: tun0: Chat: Received: OK^M Oct 13 06:30:13 tanja ppp[1122]: tun0: Chat: Send: ATDT0191011^M Oct 13 06:30:15 tanja ppp[1122]: tun0: Chat: Expect(40): CONNECT Oct 13 06:30:39 tanja ppp[1122]: tun0: Chat: Received: ATDT0191011^M^M Oct 13 06:30:39 tanja ppp[1122]: tun0: Chat: Received: CONNECT 45333/ARQ/V90/LAPM/V42BIS^M Oct 13 06:30:39 tanja ppp[1122]: tun0: Phase: deflink: dial -> carrier Oct 13 06:30:40 tanja ppp[1122]: tun0: Phase: deflink: /dev/cuaa2: CD detected Oct 13 06:30:40 tanja ppp[1122]: tun0: Phase: deflink: carrier -> login Oct 13 06:30:40 tanja ppp[1122]: tun0: Phase: deflink: login -> lcp Oct 13 06:30:40 tanja ppp[1122]: tun0: LCP: FSM: Using "deflink" as a transport Oct 13 06:30:40 tanja ppp[1122]: tun0: LCP: deflink: State change Initial --> Closed Oct 13 06:30:40 tanja ppp[1122]: tun0: LCP: deflink: State change Closed --> Stopped Oct 13 06:30:41 tanja ppp[1122]: tun0: LCP: deflink: LayerStart Oct 13 06:30:41 tanja ppp[1122]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Oct 13 06:30:41 tanja ppp[1122]: tun0: LCP: ACFCOMP[2] Oct 13 06:30:41 tanja ppp[1122]: tun0: LCP: PROTOCOMP[2] Oct 13 06:30:41 tanja ppp[1122]: tun0: LCP: ACCMAP[6] 0x00000000 Oct 13 06:30:41 tanja ppp[1122]: tun0: LCP: MRU[4] 1500 Oct 13 06:30:41 tanja ppp[1122]: tun0: LCP: MAGICNUM[6] 0x1cef68bc Oct 13 06:30:41 tanja ppp[1122]: tun0: LCP: deflink: State change Stopped --> Req-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: MRU[4] 1524 Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: ACCMAP[6] 0x00000000 Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: PROTOCOMP[2] Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: ACFCOMP[2] Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: MRRU[4] 1524 Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: ENDDISC[11] Local Addr: stacking Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: deflink: SendConfigRej(1) state = Req-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: MRRU[4] 1524 Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: deflink: RecvConfigAck(1) state = Req-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: deflink: State change Req-Sent --> Ack-Rcvd Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: deflink: RecvConfigReq(2) state = Ack-Rcvd Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: MRU[4] 1524 Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: ACCMAP[6] 0x00000000 Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: PROTOCOMP[2] Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: ACFCOMP[2] Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: ENDDISC[11] Local Addr: stacking Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: deflink: SendConfigAck(2) state = Ack-Rcvd Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: MRU[4] 1524 Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: ACCMAP[6] 0x00000000 Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: PROTOCOMP[2] Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: ACFCOMP[2] Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: ENDDISC[11] Local Addr: stacking Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: deflink: State change Ack-Rcvd --> Opened Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: deflink: LayerUp Oct 13 06:30:42 tanja ppp[1122]: tun0: Phase: bundle: Authenticate Oct 13 06:30:42 tanja ppp[1122]: tun0: Phase: deflink: his = PAP, mine = none Oct 13 06:30:42 tanja ppp[1122]: tun0: Phase: Pap Output: 0008012949315200770843140001 ******** Oct 13 06:30:42 tanja ppp[1122]: tun0: Phase: Pap Input: SUCCESS () Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: Using trigger address 0.0.0.0 Oct 13 06:30:42 tanja ppp[1122]: tun0: CCP: FSM: Using "deflink" as a transport Oct 13 06:30:42 tanja ppp[1122]: tun0: CCP: deflink: State change Initial --> Closed Oct 13 06:30:42 tanja ppp[1122]: tun0: CCP: deflink: LayerStart. Oct 13 06:30:42 tanja ppp[1122]: tun0: CCP: deflink: SendConfigReq(1) state = Closed Oct 13 06:30:42 tanja ppp[1122]: tun0: CCP: DEFLATE[4] win 15 Oct 13 06:30:42 tanja ppp[1122]: tun0: CCP: PRED1[2] Oct 13 06:30:42 tanja ppp[1122]: tun0: CCP: deflink: State change Closed --> Req-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: Phase: deflink: lcp -> open Oct 13 06:30:42 tanja ppp[1122]: tun0: Phase: bundle: Network Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: FSM: Using "deflink" as a transport Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: deflink: State change Initial --> Closed Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: deflink: LayerStart. Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: IPADDR[6] 0.0.0.0 Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: PRIDNS[6] 62.104.214.77 Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: SECDNS[6] 62.104.196.134 Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: deflink: State change Closed --> Req-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: IPADDR[6] 193.158.144.93 Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: IPADDR[6] 193.158.144.93 Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: deflink: RecvProtocolRej(3) state = Opened Oct 13 06:30:42 tanja ppp[1122]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected! Oct 13 06:30:42 tanja ppp[1122]: tun0: CCP: deflink: State change Req-Sent --> Stopped Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: PRIDNS[6] 62.104.214.77 Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: SECDNS[6] 62.104.196.134 Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: IPADDR[6] 0.0.0.0 Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: IPADDR[6] 62.158.151.61 Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: IPADDR[6] changing address: 0.0.0.0 --> 62.158.151.61 Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: deflink: SendConfigReq(3) state = Ack-Sent Oct 13 06:30:42 tanja ppp[1122]: tun0: IPCP: IPADDR[6] 62.158.151.61 Oct 13 06:30:43 tanja ppp[1122]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Oct 13 06:30:43 tanja ppp[1122]: tun0: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent Oct 13 06:30:43 tanja ppp[1122]: tun0: IPCP: deflink: State change Ack-Sent --> Opened Oct 13 06:30:43 tanja ppp[1122]: tun0: IPCP: deflink: LayerUp. Oct 13 06:30:43 tanja ppp[1122]: tun0: IPCP: myaddr 62.158.151.61 hisaddr = 193.158.144.93 You see, it seems more or less normal (in my opinion) I get an IP-address from the remote PPP-server. I also get hisaddr which is added as the new default route (this isspecified in ppp.conf and it really happens when I monitor the routes). Also, the DNS-servers the ppp-server tells me about are successfully being placed into /etc/resolv.conf. Now, I still cannot ping any host on the Internet, INCLUDING hisaddr. I can, however, ping the nameservers assigned to be above. A nslookup is not possible, though. Simply replacing the phone number and login information in the ppp.conf file with the information of a different ISP makes it work immediately. Additionally, as I said yesterday, trying to establish a PPP-connection to T-Online using Windoze 95 dial-up-network works as well. Now you see, this is all really strange. If anyone has an idea what I could do, *Please help me*. See ya, Nils To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message