From owner-freebsd-questions Mon Aug 4 16:28:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA05285 for questions-outgoing; Mon, 4 Aug 1997 16:28:30 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA05278 for ; Mon, 4 Aug 1997 16:28:26 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) with ESMTP id IAA24629; Tue, 5 Aug 1997 08:58:22 +0930 (CST) From: Greg Lehey Received: (grog@localhost) by freebie.lemis.com (8.8.7/8.6.12) id IAA18686; Tue, 5 Aug 1997 08:58:21 +0930 (CST) Message-Id: <199708042328.IAA18686@freebie.lemis.com> Subject: Re: dialup PPP problems with FreeBSD 2.2.2-RELEASE In-Reply-To: <199708010545.WAA05113@mail-gw.pacbell.net> from Daniel McKee at "Jul 31, 97 10:38:29 pm" To: danielmc@pacbell.net (Daniel McKee) Date: Tue, 5 Aug 1997 08:58:20 +0930 (CST) Cc: freebsd-questions@FreeBSD.ORG Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Daniel McKee writes: > Hello. For some reason, I can't seem to get the settings right for BSD to > link-up with my ISP (Pacbell Internet). Here's my config; > my IP: dynamicly addressed to me > gateway: also dynamicly addressed to me? (Windows 95 reports to me that my > gateway ip is the same as mine) (but with UNIX it reports a 206.171.138.2 > to me? ) > my dns ip (the only one that stays the same) 206.13.31.12 > my hostname usually looks something like > (danielmc-dialupPPP-?.?.?.?.pacbell.net) or something like that > > ok, can you help me with what settings to set in what file, and what I am > doing wrong? I can get packets going back and forth between me and my > server, but the DNS does NOT resolve any names, but I can ping anything by > IP.... and after about 3 mins, routed, gives me this funky error and > shutsdown my IP and closes the connection..... > PLEASE HELP...thanks.... (Oh, and if it helps any, my PPP account works > fine in win 95) Check with netstat -rn if you have a default route. For example: + $ netstat -rn + Routing tables + + Internet: + Destination Gateway Flags Refs Use Netif Expire + default 139.130.136.129 UGSc 8 208 tun0 This one. Note the Netif field. It should be tun0. If you don't have a default entry, check your /etc/ppp/ppp.linkup file. It should contain the lines: MYADDR: add 0 0 HISADDR You can also add the route manually, but that's a pain: + # ifconfig tun0 + tun0: flags=8151 mtu 1500 + inet 139.130.136.133 --> 139.130.136.129 netmask 0xffffffc0 ^^^^^^^^^^^^^^^ This one + # route add default 139.130.136.129 Greg