From owner-freebsd-questions Mon Jul 5 18: 3:52 1999 Delivered-To: freebsd-questions@freebsd.org Received: from server4.reno.powernet.net (server4.reno.powernet.net [208.226.189.15]) by hub.freebsd.org (Postfix) with ESMTP id A3B7615377 for ; Mon, 5 Jul 1999 18:03:48 -0700 (PDT) (envelope-from trzy@powernet.net) Received: from p4-35.reno.powernet.net (p4-35.reno.powernet.net [208.226.189.185]) by server4.reno.powernet.net (8.9.0/8.8.5) with ESMTP id SAA26469; Mon, 5 Jul 1999 18:03:40 -0700 (PDT) Date: Mon, 5 Jul 1999 18:01:29 -0700 (PDT) From: Bart Trzynadlowski X-Sender: trzy@Brzuszek To: Tony Ennis Cc: freebsd-questions@freebsd.org Subject: Re: Dialing with PPP In-Reply-To: <003001bec746$b5747920$345a33cf@bubba> 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 > Send me your config file and I'll look it over. Be sure to x out the > password... > Okay, the configuration file along with a new log have been attached. The modem _does_ dial but the ATE-something line in SET DIAL in ppp.conf silenced it. The prompt only gets to Ppp and then it drops back to ppp. I looked at the log and it said that my username was verified. But it didn't go much further than that. Something about PAP and CHAP. I'll call my ISP tomorrow to see which authentication method they use. /etc/ppp/ppp.conf: default: allow users * set speed 115200 set device /dev/cuaa2 disable pred1 deny pred1 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 OK-AT-OK \\dATDT\\T TIMEOUT 45 CONNECT" powernet: set phone 3265210 set redial 3 5 set login set authname trzy set authkey secret_=) set phone 3265210 set timeout 0 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set openmode active enable chap # I don't use this stuff -- yet =) demand: set login set authname trzy set authkey secret_=) set phone "3265210|3265100" set redial 5.3 2 set reconnect 3 2 set timeout 0 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set openmode active accept chap /var/log/ppp.log: Jul 5 17:51:57 Brzuszek ppp[229]: Phase: Using interface: tun0 Jul 5 17:51:57 Brzuszek ppp[229]: Phase: deflink: Created in closed state Jul 5 17:51:57 Brzuszek ppp[229]: Phase: PPP Started (interactive mode). Jul 5 17:52:01 Brzuszek ppp[229]: Phase: PPP Terminated (normal). Jul 5 17:52:35 Brzuszek ppp[232]: Phase: Using interface: tun0 Jul 5 17:52:35 Brzuszek ppp[232]: Phase: deflink: Created in closed state Jul 5 17:52:35 Brzuszek ppp[232]: Phase: PPP Started (interactive mode). Jul 5 17:52:38 Brzuszek ppp[232]: Phase: bundle: Establish Jul 5 17:52:38 Brzuszek ppp[232]: Phase: deflink: closed -> opening Jul 5 17:52:38 Brzuszek ppp[232]: Phase: deflink: Connected! Jul 5 17:52:38 Brzuszek ppp[232]: Phase: deflink: opening -> dial Jul 5 17:52:38 Brzuszek ppp[232]: Phase: Phone: 3265210 Jul 5 17:52:56 Brzuszek ppp[232]: Phase: deflink: dial -> login Jul 5 17:52:56 Brzuszek ppp[232]: Phase: deflink: login -> lcp Jul 5 17:53:03 Brzuszek ppp[232]: Phase: bundle: Authenticate Jul 5 17:53:03 Brzuszek ppp[232]: Phase: deflink: his = PAP, mine = CHAP Jul 5 17:53:03 Brzuszek ppp[232]: Phase: Pap Output: trzy ******** Jul 5 17:53:03 Brzuszek ppp[232]: Phase: Chap Output: CHALLENGE Jul 5 17:53:04 Brzuszek ppp[232]: Phase: Pap Input: SUCCESS (Login Succeeded) Jul 5 17:53:06 Brzuszek ppp[232]: Phase: Chap Output: CHALLENGE Jul 5 17:53:06 Brzuszek ppp[232]: Phase: Chap Input: RESPONSE (from p3) Jul 5 17:53:06 Brzuszek ppp[232]: Phase: Chap Output: FAILURE Jul 5 17:53:07 Brzuszek ppp[232]: Phase: deflink: Disconnected! Jul 5 17:53:07 Brzuszek ppp[232]: Phase: deflink: lcp -> hangup Jul 5 17:53:07 Brzuszek ppp[232]: Phase: deflink: Connect time: 29 secs: 356 octets in, 377 octets out Jul 5 17:53:07 Brzuszek ppp[232]: Phase: total 25 bytes/sec, peak 95 bytes/sec on Mon Jul 5 17:53:07 1999 Jul 5 17:53:07 Brzuszek ppp[232]: Phase: deflink: hangup -> closed Jul 5 17:53:07 Brzuszek ppp[232]: Phase: bundle: Dead Jul 5 17:53:13 Brzuszek ppp[232]: Phase: PPP Terminated (normal). Thanks, Bart Trzynadlowski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message