From owner-freebsd-questions Fri Sep 15 7:46:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay1.pair.com (relay1.pair.com [209.68.1.20]) by hub.freebsd.org (Postfix) with SMTP id 9077B37B423 for ; Fri, 15 Sep 2000 07:46:02 -0700 (PDT) Received: (qmail 4892 invoked from network); 15 Sep 2000 14:45:53 -0000 Received: from escazu-a110.racsa.co.cr (HELO hiddink) (196.40.48.50) by relay1.pair.com with SMTP; 15 Sep 2000 14:45:53 -0000 X-pair-Authenticated: 196.40.48.50 X-cs: R From: Bert Hiddink X-RS-Flags: 1,1,1,1,0,0,0 X-RS-Sigset: 0 To: questions@FreeBSD.ORG Subject: Re: Defaultrouter on Window box Cc: Ben Smithurst Comments: Confirmation of reading was requested. Comments: Confirmation of delivery was requested. MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8BIT Date: Thu, 14 Sep 2000 20:19:57 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Ben, Thanks for your advice! Concerning: >> Bert Hiddink wrote: >> >> > I can not get my modem working from the FreeBSD box wit ppp. It keeps >> > saying "Chat script failed" and then quits. The log file does not give >> > any clues to me. >> > >> > As an alternative, I though connecting my FreeBSD to a Window box which >> > has a modem that works ok. The IP of this machine is: 192.168.1.20 >> > >> > The LAN (FreeBSD lap connected to Winbox) works ok. I followed the PPP >> > guide of Sims: http://www.freebsd.org/tutorials/ppp/c30.html#AEN34 >> > >> > How should I edit rc.conf (or other) in order to tell the the FreeBSD >> > box that the Windowbox has a dial-up connection to Internet? >> >> Don't. If Windows is even capable of acting as a router, I suspect it >> wouldn't do a very good job. Instead, get PPP working. You should have >> at least debug and chat logging enabled in ppp.conf (along with the >> defaults, so just add "chat debug" to the end of the "set log" line if >> they're not already there). Also, you should post your ppp.conf file to >> this list (with suitable editing to hide passwords) so that people might >> be able to help. >> >> Windows software may have given you the attitude to give up and not >> bother if something doesn't work first time, but with FreeBSD things >> generally work if you stick with it. OK, so I'll stick to ppp! I added "chat debug" to the "set log" line. However, this does not change anything. Still get the same message "Warning: chat script failed". And my /var/log/ppp.log file stays empty. Here is my ppp.conf again: ################################################################# # 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.2 1999/08/27 23:24:08 peter Exp $ ################################################################# default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa4 set log Phase Chat LCP IPCP CCP tun command chat debug 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 120 set ifaddr 10.0.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 ******** set authname ******* set authkey ******** ########################3 Any ideas to help me further? Many thanks in advance! -brt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message