Date: Tue, 19 Mar 2002 20:55:36 -0800 (PST) From: Culley Harrelson <culleyharrelson@yahoo.com> To: freebsd-questions@freebsd.org Subject: RE: ppp setup-- modem isn't even dialing Message-ID: <20020320045536.62642.qmail@web21410.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Ok I changed my ppp.conf file to read like this. It failed with this in the log: ####################### Mar 19 12:04:26 toad ppp[48]: tun0: Phase: deflink: hangup -> opening Mar 19 12:04:26 toad ppp[48]: tun0: Phase: deflink: Enter pause (30) for redialing. Mar 19 12:04:56 toad ppp[48]: tun0: Chat: deflink: Redial timer expired. Mar 19 12:04:56 toad ppp[48]: tun0: Phase: deflink: Connected! Mar 19 12:04:56 toad ppp[48]: tun0: Phase: deflink: opening -> dial Mar 19 12:04:56 toad ppp[48]: tun0: Chat: Phone: ********** Mar 19 12:04:56 toad ppp[48]: tun0: Chat: Send: AT^M Mar 19 12:04:56 toad ppp[48]: tun0: Chat: Expect(5): OK Mar 19 12:05:01 toad ppp[48]: tun0: Chat: Expect timeout Mar 19 12:05:01 toad ppp[48]: tun0: Chat: Send: AT^M Mar 19 12:05:01 toad ppp[48]: tun0: Chat: Expect(5): OK Mar 19 12:05:07 toad ppp[48]: tun0: Chat: Expect timeout Mar 19 12:05:07 toad ppp[48]: tun0: Warning: Chat script failed Mar 19 12:05:07 toad ppp[48]: tun0: Phase: deflink: dial -> hangup Mar 19 12:05:07 toad ppp[48]: tun0: Phase: deflink: Disconnected! Mar 19 12:05:07 toad ppp[48]: tun0: Phase: deflink: Connect time: 11 secs: 0 octets in, 0 octets out Mar 19 12:05:07 toad ppp[48]: tun0: Phase: deflink: : 0 packets in, 0 packets out Mar 19 12:05:07 toad ppp[48]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Mar 19 12:05:07 2002 ####################### This is all on /dev/cuaa0 but I am beginning to suspect that this is not the right setup. When I switch to /dev/cuaa1 I get: ####################### Mar 19 12:40:21 toad ppp[48]: tun0: Warning: deflink: /dev/cuaa1: Bad file descriptor Mar 19 12:40:21 toad ppp[48]: tun0: Chat: Failed to open device ####################### I have swappable drives on this machine-- with Red Hat and Win 98 on different drives. the Red Hat config points to /dev/sm56 (its a pretty typical motorola modem) and the Windows system says its on com2 so I think I should be working on /dev/cuaa1. Could it be that my kernal isn't set up to recognize /dev/cuaa1? culley > It came right out and told you the problem. Warning: Chat script > failed > > > Login as root and use root to test. > Make your ppp.conf look like this. > > ################################ > # ppp.conf > ################################ > > default: > set log Phase Chat LCP IPCP CCP tun command > set device /dev/cuaa0 > 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 0 > disable pred1 deflate lqr # compression features & line quality > reporting > deny pred1 deflate lqr # compression features & line quality > reporting > > provider: > set phone ********** # no spaces, no ( ), no ", just run > numbers > together > set authname *** > set authkey *** > > 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 > > > Add this to rc.conf to start at boot time > ppp_enable="YES" > ppp_mode="ddial" > ppp_profile="provider" > ppp_nat="YES" > > > To test before rebooting, enter on command line > > ppp -ddial -nat provider > > ppp.linkup & ppp.deny not used, you can delete. > __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ 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?20020320045536.62642.qmail>