From owner-freebsd-questions Sun Apr 7 05:31:40 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA09665 for questions-outgoing; Sun, 7 Apr 1996 05:31:40 -0700 (PDT) Received: from dub-img-3.compuserve.com (dub-img-3.compuserve.com [198.4.9.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA09658 for ; Sun, 7 Apr 1996 05:31:38 -0700 (PDT) Received: by dub-img-3.compuserve.com (8.6.10/5.950515) id IAA11901; Sun, 7 Apr 1996 08:31:07 -0400 Date: 07 Apr 96 08:29:41 EDT From: "Jose F. Reyes" <70573.1405@CompuServe.COM> To: FreeBSD Team Subject: Questions about gateways and ppp Message-ID: <960407122941_70573.1405_CHU34-1@CompuServe.COM> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello! I want to congratulate you for a great product (I've been using SCO for over 10 years until now, but the Internet is new to me :) and hope you can help me with a configuration problem. 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". Right now the system is configured and running so: a) the LAN works and the Windows PC's can telnet, ftp and http browse to FreeBSD through the ethernet; b) from the system console, "user ppp" works and I can log into CompuServe; I can also reach my "roving" WWW server from the Internet using the CompuServe-assigned IP address. It surprised me how fast it runs considering the hardware (486DX-33, 8MB RAM, 14.4K modem). The problem is that the gateway doesn't work; whenever I request an external URL using the Microsoft Internet Explorer it just waits, and waits, and waits... I have set "gateway=YES" and "gated=YES" in /etc/sysconfig, and when the system boots it loads the gateway daemons and everything appears to be ok. I have three leads to the problem, but I have yet to grasp the solution to it. 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 "inet x.x.x.x --> y.y.y.y netmask 0xffffffff" as explained in the FreeBSD handbook section 11.1 near the end. 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. 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. Please help me get this running, and I promise I'll document it and submit it for your FAQ or handbook. I imagine there are lots of people with CompuServe accounts that would love to have their own WWW server, as the facilities there are limited (1MB space, and nothing else). Yet, their static CompuServe home page will be useful to list their dynamically-assigned IP address. Anyway, that's my plan. Thank you in advance for your assistance. Regards, Jose F. Reyes Director The CD-ROM Shop Puerto Rico 70573.1405@compuserve.com http://ourworld.compuserve.com/homepages/cdromshop