From owner-freebsd-questions Sun Apr 7 06:47:33 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA12575 for questions-outgoing; Sun, 7 Apr 1996 06:47:33 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA12570 for ; Sun, 7 Apr 1996 06:47:30 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id XAA06635; Sun, 7 Apr 1996 23:43:38 +0930 From: Michael Smith Message-Id: <199604071413.XAA06635@genesis.atrad.adelaide.edu.au> Subject: Re: Questions about gateways and ppp To: 70573.1405@CompuServe.COM (Jose F. Reyes) Date: Sun, 7 Apr 1996 23:43:37 +0930 (CST) Cc: questions@FreeBSD.org In-Reply-To: <960407122941_70573.1405_CHU34-1@CompuServe.COM> from "Jose F. Reyes" at Apr 7, 96 08:29:41 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Jose F. Reyes stands accused of saying: > > I purchased FreeBSD 2.1 from Walnut Creek CD-ROM and have it running on a 486 > with an ethernet card and a modem. My intention is to use it as a gateway to > allow my other (Windows) PC's to access the Internet via a dialup connection, > at present thru CompuServe, but later on thru a local, dedicated ISP. I also > want to run an httpd server "on the side". Your problem will be that Compuserve will only be routing the one address, the one they give you, to your connection. Whatever addresses you've assigned your other local systems won't be recognised by the rest of the 'net. Your best bet is to run the 'socks' proxy on your FreeBSD system. I can't say for sure whether Microsoft's poxy Explorer supports the socks protocol, but Netscape does, which should give you the sort of capability you want. Check http://www.socks.nec.com/ for a discussion of what socks is. FreeBSD is a supported platform for the latest release; also check the -hackers mailing list archive for discussions regarding the new release of socks (I believe that a port has been prepared, but I'm not sure where it was uploaded). > I have set "gateway=YES" and "gated=YES" in /etc/sysconfig, and when the You want "gated=NO", as you don't have, or want, gated. > 1. When the system boots, the acknowledgement line for the tun0 device reads: > "tun0: flags=8010 mtu 1500". This line does not > show "RUNNING", nor is there a second line That's OK. The tun0 interface isn't configured until the ppp program brings the link up. > 2. When I try to run ppp -auto compuserve, the last message line reads: > "Must specify dstaddr with auto mode". I imagine it dstadrr means CompuServe's > gateway address, but I do not know it (only gateway.compuserve.com) and > if I do a "show IPCP" while connected manually, "HISADDR" is always different > for every connection. It most likely means that you have a syntax error in your config file. > 3. After the manual connection has been up for a few minutes, I get the message: > "routed[50]: deleting route to interface tun0 (timed out)". However, the > link keeps running. You have 'routed=YES' in /etc/sysconfig. Set it to NO as well. > Jose F. Reyes -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[