From owner-freebsd-questions Sat Apr 18 04:08:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA12804 for freebsd-questions-outgoing; Sat, 18 Apr 1998 04:08:30 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hermes.clara.net (root@hermes.clara.net [195.8.69.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA12793 for ; Sat, 18 Apr 1998 11:08:26 GMT (envelope-from matthew@federal.co.uk) Received: from federal.co.uk (du-736.claranet.co.uk [195.8.75.229]) by hermes.clara.net (8.8.5/8.8.5) with ESMTP id MAA18907 for ; Sat, 18 Apr 1998 12:08:23 +0100 (BST) Message-ID: <35388945.B7942D76@federal.co.uk> Date: Sat, 18 Apr 1998 12:06:46 +0100 From: Matthew Sharlot Organization: Federal Communications X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: Internet configuration Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I asked a question and got a reply that helped me out tremendously. Since then I have been playing around and am confused as to how I am managing to access the web. My original problem was that I could establish a PPP connection no problem, but could not get out onto the web at all or receive any mail. I was sure that the problem was in /etc/rc.conf and had been messing around with it, but with no luck . The response I got from John Kenagy suggested that I create a file /etc/resolv.conf and put the name server imformtion in there, which I did and bingo everything started to work. Just to see what happened I then removed the configuration in /etc/rc.conf for tun0 and set defaultrouter="NO". I was ure that one of these entries was important, but to my surprise I could still acces the web. Ithen removed tun0 as a device from /etc/rc.conf, rebooted and it still works. The question I have is why is it still working, does /etc/rc.conf not have any effect on dial-up connections? Why is there no mention of /etc/resolv.conf in the manual, is this file really neccessary, or should I be able to get out onto the web without it? I have another account with a different ISP that does not supply DNS addresses, so obviously I wouldn't be able to put an entry in /etc/resolv.conf. How would I get this working. Can I use both ISP's and how would bsd know which was which as they both assign addresses dynamically. Does God exist, and will I ever stop asking stupid questions? Yours hopefully Matthew. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message