From owner-freebsd-questions Fri Jun 18 22:23: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pimout3-int.prodigy.net (pimout3-ext.prodigy.net [207.115.59.211]) by hub.freebsd.org (Postfix) with ESMTP id 332BF150E9 for ; Fri, 18 Jun 1999 22:20:32 -0700 (PDT) (envelope-from tetsuya1@prodigy.net) Received: from bergen (RENOB103-42.splitrock.net [209.156.128.88]) by pimout3-int.prodigy.net (8.8.5/8.8.5) with SMTP id BAA43550; Sat, 19 Jun 1999 01:20:30 -0400 Message-ID: <000301beba13$7b294600$58809cd1@bergen> From: "Tetsuya Watanabe" To: Subject: question: user ppp Date: Fri, 18 Jun 1999 22:20:40 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have tried to set up user ppp to connect to my ISP. I have tried to assemble ppp-related information form freebsd.org and awfulhak.org by reading handbook and faq. I use FreeBSD 3.2R. The version of the ppp is 2.11 dated 05/02/99, I suppose. Also, CHAT error logging is enabled. My isp uses chap. What I got from running "ppp -alias demand" is a error message stating that CHAT script failed. The pnp modem (3com sportster v.90) is assigned to sio2 with irq3, so I set /dev/cuaa2. While using "term" command on ppp, it says "OK" when "at" command is executed. In ppp.log, it says "connected," but never physically connected because I did not hear any modem tone at all. Thank you for your help. Here is the contents of files. Both demand and interactive configs are the same. ifconfig -a -------------------------------------- lp0: flags=8810 mtu 1500 tun0: flags=8011 mtu 1500 sl0: flags=c010 mtu 552 ppp0: flags=8010 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ------------------------------------- ppp.conf ----------------------------------------- # # default: set log Phase Chat Connect Carrier lcp ipcp ccp command set device /dev/cuaa2 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT" set redial 3 10 # # Interactive mode configuration # interactive: set authname my_id set authkey my_passwd set phone 123-4567 set timeout 300 set openmode active accept chap set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 add 0 0 127.2.2.2 # # Automatic mode configuration # demand: set authname my_id set authkey my_passwd set phone 123-4567 set timeout 300 set openmode active accept chap set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 add 0 0 127.2.2.2 # # # # End of ppp.conf --------------------------------------------------- ppp.linkup -------------------------------------------- # # demand: delete ALL add 0 0 HISADDR # # # Other configuratrion MYADDR: delete ALL add 0 0 HISADDR # # # End of /etc/ppp/ppp.linkup ------------------------------------------- ppp.log ------------------------------------------ Jun 18 21:33:01 desert ppp[273]: Phase: Using interface: tun0 Jun 18 21:33:01 desert ppp[273]: Phase: deflink: Created in closed state Jun 18 21:33:01 desert ppp[273]: Command: default: set device /dev/cuaa2 Jun 18 21:33:01 desert ppp[273]: Command: default: set speed 115200 Jun 18 21:33:01 desert ppp[273]: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" ATE1Q0M0 OK-AT-OK\dATDT\T TIMEOUT 40 CONNECT Jun 18 21:33:01 desert ppp[273]: Command: default: set redial 3 10 Jun 18 21:33:01 desert ppp[273]: Command: demand: set authname tetsuya1 Jun 18 21:33:01 desert ppp[273]: Command: demand: set authkey ******** Jun 18 21:33:01 desert ppp[273]: Command: demand: set phone 332-7626 Jun 18 21:33:01 desert ppp[273]: Command: demand: set timeout 300 Jun 18 21:33:01 desert ppp[273]: Command: demand: set openmode active Jun 18 21:33:01 desert ppp[273]: Command: demand: accept chap Jun 18 21:33:01 desert ppp[273]: Command: demand: set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 Jun 18 21:33:01 desert ppp[273]: Command: demand: add 0 0 127.2.2.2 Jun 18 21:33:01 desert ppp[273]: Phase: PPP Started (interactive mode). Jun 18 21:33:04 desert ppp[273]: Command: /dev/tty: dial Jun 18 21:33:04 desert ppp[273]: Phase: bundle: Establish Jun 18 21:33:04 desert ppp[273]: Phase: deflink: closed -> opening Jun 18 21:33:04 desert ppp[273]: Phase: deflink: Connected! Jun 18 21:33:04 desert ppp[273]: Phase: deflink: opening -> dial Jun 18 21:33:04 desert ppp[273]: Phase: Phone: 123-4567 Jun 18 21:33:04 desert ppp[273]: Chat: deflink: Dial attempt 1 of 10 Jun 18 21:33:04 desert ppp[273]: Chat: Send: ATE1Q0M0^M Jun 18 21:33:04 desert ppp[273]: Chat: Expect(5): OK Jun 18 21:33:04 desert ppp[273]: Chat: Received: ATE1Q0M0^M^M Jun 18 21:33:04 desert ppp[273]: Chat: Received: OK^M Jun 18 21:33:04 desert ppp[273]: Chat: Send: TIMEOUT^M Jun 18 21:33:04 desert ppp[273]: Chat: Expect(5): 40 Jun 18 21:33:09 desert ppp[273]: Chat: Expect timeout Jun 18 21:33:09 desert ppp[273]: Phase: deflink: dial -> hangup Jun 18 21:33:09 desert ppp[273]: Phase: deflink: Disconnected! Jun 18 21:33:09 desert ppp[273]: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Jun 18 21:33:09 desert ppp[273]: Phase: total 0 bytes/sec, peak 0 bytes/sec on Fri Jun 18 21:33:09 1999 Jun 18 21:33:09 desert ppp[273]: Phase: deflink: hangup -> opening Jun 18 21:33:09 desert ppp[273]: Phase: deflink: Enter pause (3) for redialing. Jun 18 21:33:12 desert ppp[273]: Phase: deflink: Redial timer expired. Jun 18 21:33:12 desert ppp[273]: Phase: deflink: Connected! Jun 18 21:33:12 desert ppp[273]: Phase: deflink: opening -> dial Jun 18 21:33:12 desert ppp[273]: Phase: Phone: 123-4567 Jun 18 21:33:12 desert ppp[273]: Chat: deflink: Dial attempt 2 of 10 Jun 18 21:33:12 desert ppp[273]: Chat: Send: ATE1Q0M0^M Jun 18 21:33:12 desert ppp[273]: Chat: Expect(5): OK Jun 18 21:33:12 desert ppp[273]: Chat: Received: ATE1Q0M0^M^M Jun 18 21:33:12 desert ppp[273]: Chat: Received: OK^M Jun 18 21:33:12 desert ppp[273]: Chat: Send: TIMEOUT^M Jun 18 21:33:12 desert ppp[273]: Chat: Expect(5): 40 Jun 18 21:33:14 desert ppp[273]: Phase: Caught signal 2, abort connection(s) Jun 18 21:33:14 desert ppp[273]: Phase: deflink: Disconnected! Jun 18 21:33:14 desert ppp[273]: Phase: deflink: dial -> hangup Jun 18 21:33:14 desert ppp[273]: Phase: deflink: Connect time: 2 secs: 0 octets in, 0 octets out Jun 18 21:33:14 desert ppp[273]: Phase: total 0 bytes/sec, peak 0 bytes/sec on Fri Jun 18 21:33:14 1999 Jun 18 21:33:14 desert ppp[273]: Phase: deflink: hangup -> closed Jun 18 21:33:14 desert ppp[273]: Phase: bundle: Dead Jun 18 21:33:16 desert ppp[273]: Command: /dev/tty: quit Jun 18 21:33:16 desert ppp[273]: Phase: PPP Terminated (normal). Thank you for your time. Tetsuya To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message