From owner-freebsd-questions Wed Oct 7 22:40:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA23627 for freebsd-questions-outgoing; Wed, 7 Oct 1998 22:40:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.nwlink.com (mail.nwlink.com [209.20.130.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA23617 for ; Wed, 7 Oct 1998 22:40:12 -0700 (PDT) (envelope-from kkeysler@nwlink.com) Received: from nwlink.com (ip42.usr7.usw.du.nwlink.com [209.20.138.42]) by mail.nwlink.com (8.8.8/8.8.8) with ESMTP id WAA06734; Wed, 7 Oct 1998 22:40:02 -0700 (PDT) Message-ID: <361C50EC.81235647@nwlink.com> Date: Wed, 07 Oct 1998 22:43:08 -0700 From: ken keeler X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: Bryan Fraser CC: "'freebsd-questions@freebsd.org'" Subject: Re: Connection help References: <01BDF23D.B04E72E0@BRYAN> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bryan Fraser wrote: > > I having problems getting my FreeBSD machine connected to the Internet. My ppp.conf file and ppp.linkup files look correct. My modem is on com2. I have a static IP address provided by my ISP. > My ppp.conf file looks like this: > > 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" > provider: > set phone "(my dial in #)" > set login "TIMEOUT 10 gin:-BREAK-gin: (my user name) word: (my password) col: ppp" > set timeout 300 > deny lqr > set ifaddr (my static IP address) (my ISP's Gateway) > delete all > add 0 0 (my ISP's Gateway) > > When logged in as root and I type in PPP, it says: > Working in interactive mode > Using interface: tun0 > > Then it goes to ppp ON bsdbox>, where I type in dial provider, then get: > Warning: Add route failed: 0.0.0.0: errno: Network is unreachable > Dial attempt 1 of 1 > Phone: (my isp's dial in #) > Warning: DialModem: dial failed. > > Then it goes back to ppp ON bsdbox> > > The modem doesn't even get a dial tone. The modem is plugged in correctly. Any suggestions? > > Bryan Fraser > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message After invoking ppp, enter terminal mode and issue the at commands directly to the modem. If the modem is properly configured it should dial. I haven't yet figured out the dial and login scripts, consequently can't help there, but you should be able to dial out in terminal mode. E=mc*c Ken Keeler Life is just one damned thing after another. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message