Date: Thu, 14 Sep 2000 20:19:57 -0600 From: Bert Hiddink <hiddink@galileo.or.cr> To: questions@FreeBSD.ORG Cc: Ben Smithurst <ben@FreeBSD.ORG> Subject: Re: Defaultrouter on Window box
| raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>