From owner-freebsd-questions Sun Mar 28 4:27:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-11.mail.demon.net (finch-post-11.mail.demon.net [194.217.242.39]) by hub.freebsd.org (Postfix) with ESMTP id 0DF17156F3 for ; Sun, 28 Mar 1999 04:27:05 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-11.mail.demon.net with smtp (Exim 2.12 #1) id 10REeI-0005ss-0B; Sun, 28 Mar 1999 12:26:44 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from marder-1. (rasnt-1 [193.114.228.211]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id NAA01081; Sun, 28 Mar 1999 13:26:35 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id MAA05089; Sun, 28 Mar 1999 12:27:17 +0100 (BST) (envelope-from marko) Date: Sun, 28 Mar 1999 12:27:17 +0100 From: Mark Ovens To: Ray Lau Cc: FreeBSD-questions@freebsd.org Subject: PPP crashes FreeBSD [Was: About Modem.......help] Message-ID: <19990328122717.G264@marder-1.localhost> References: <199903270209.SAA21609@mail.sinanet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199903270209.SAA21609@mail.sinanet.com>; from Ray Lau on Fri, Mar 26, 1999 at 06:09:49PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 26, 1999 at 06:09:49PM -0800, Ray Lau wrote: > > > >> >> hi > >> >> i use smartlink modem5634ts,FreeBSD3.1 > >> >> when i ppp myisp > >> >> freebsd will shutdown > > > >Exactly what do you mean by "shutdown"? Hangs? crashes? reboots? > crashes Ouch! That sounds serious. I can only think that it's a corrupted ppp binary. What version of FreeBSD are you running? It might be worth getting the latest ppp code from http://www.awfulhak.org. BTW, I've changed the Subject: line to better reflect the problem in the hope that someone else will jump in and help out. > > > > > >> >> this is my ppp.conf > >> >> default: > >> >> > set device /dev/cuaa1 > >> >> > set speed 115200 > >> >> > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK > >> >> > \\dATDT\\T TIMEOUT 40 CONNECT" > >> >> > > >> >> > hinet: > >> >> > set openmode active > >> >> > set phone 4125678 > >> >> > deny chap > >> >> disable chap > >> >> > accept pap > >> >> > set authname xxxx > >> >> > set authkey xxxxxx > >> >> > ifaddr 0 0 > >> > > >> >This line should be: > >> > > >> > set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 > >> > > >> > > >> >> > dial > >> >and remove this. > >> > > >> >> ========== /etc/ppp/ppp.linkup ====== > >> >> > hinet: > >> >> > delete ALL > >> >> > add 0 0 HISADDR > >> >> > ============================== > >> >> please help me > >> >> thanx > > > >You need to enable logging, ``set log .....'' in ppp.conf, and send > >the output (/var/log/ppp.log). > how to send to ppp.log > make new dir? > > Make sure you have set log ccp chat command connect debug hdlc ipcp lcp phase tcp/ip tun in your /etc/ppp/ppp.conf and just include the contents of /etc/log/ppp.log (only for the last connection attempt) in your e-mail. > > > ____________________________________________________________ > Free Email for Global Chinese @ http://www.sinanet.com/ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message