From owner-freebsd-questions Fri Dec 19 19:47:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA15638 for questions-outgoing; Fri, 19 Dec 1997 19:47:17 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from mail.utexas.edu (mail.utexas.edu [128.83.126.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id TAA15625 for ; Fri, 19 Dec 1997 19:47:12 -0800 (PST) (envelope-from bottchen@mail.utexas.edu) Received: (qmail 21525 invoked by uid 0); 20 Dec 1997 03:47:07 -0000 Received: from dial-35-5.ots.utexas.edu (HELO mail.utexas.edu) (128.83.111.101) by mail.utexas.edu with SMTP; 20 Dec 1997 03:47:07 -0000 Message-ID: <349B3F70.BA344FF9@mail.utexas.edu> Date: Fri, 19 Dec 1997 21:45:52 -0600 From: Adam Bottchen X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG CC: bottchen@mail.utexas.edu Subject: Couple of questions from a newbie... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hello, I have recently installed Free-BSD 2.2.5 on a P90. I have a couple of annoying problems... First, is my PPP setup. I configured PPP via the /etc/ppp/ppp.conf and ppp.linkup files. The ppp executes fine, dials and connects to my ISP. It grabs the gateway and local IP address fine. I can communicate through the connection even (I have ftped several files.) But after about 1-2 minutes, the connection will close. This is quite annoying. I have researched this and found that it is usually due to a timeout being set, yet I have not set one, all of my timeout values are 0. I also noticed that the connection is closed if I quit out of the ppp tool, which according to the documentation is not supposed to happen. Are these known problems? Here are my files: /etc/ppp.conf -------------- default: set device /dev/cuaa1 set speed 115200 set log Phase Chat Connect Carrier hdlc LCP IPCP CCP tun deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" utconn: set phone 4759996 set login "(password and login stuff)" set timeout 0 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 ppp.linkup ----------- utconn: delete ALL add 0 0 HISADDR utconn is the ISP I am connecting to. There are of course several other stanzas for other connections in the files, but utconn is the one I am trying to use. Secondly, I have seen what I find to be curious behavior by the name resolution on the system. I am a standalone system with a dialup PPP link to the internet. I therefore am not a nameserver. I have local name resolution coming from the /etc/hosts file. I have noticed that forward resolution does not seem to work from the /etc/hosts file. My files are as follows: /etc/resolv.conf ---------------- domain sol.com nameserver 128.83.185.40 nameserver 128.83.185.41 /etc/host.conf -------------- hosts bind /etc/hosts ---------- 127.0.0.1 localhost localhost.sol.com 10.0.0.3 earth earth.sol.com I type "host 10.0.0.3" and it resolves. "host earth", "host earth.sol.com", and "host earth.sol.com." all come back with "Host not found, try again." This is the same for localhost as well. This seems as though this is the simplest form of name resolution possible, and yet it is not working. This of course is causing problems with other apps including sendmail. Any help you can offer would be appreciated. Adam Bottchen bottchen@mail.utexas.edu