From owner-freebsd-questions Sun Nov 11 14:56:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by hub.freebsd.org (Postfix) with ESMTP id 47FF237B432 for ; Sun, 11 Nov 2001 14:56:07 -0800 (PST) Received: from oemcomputer (user-1120r8n.dsl.mindspring.com [66.32.109.23]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with SMTP id RAA11703 for ; Sun, 11 Nov 2001 17:56:06 -0500 (EST) Message-ID: <000501c16b03$f59151a0$689efea9@oemcomputer> From: "Yuichiro Abe" To: "FreeBSD" References: <20011111001957.V867-100000@localhost> Subject: About PPPoE Date: Sun, 11 Nov 2001 17:55:11 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG To FreeBSD.org and Mr.Beisser Let me ask you about the file /etc/hosts. and I will answer your question first. > before going in this direction, are you sure your network connection is > up? can you ping hosts through the link? I put the command, "ping localhost" and "ping y-abe" where "y-abe" is the name I put for my computer. Then I got the message below. PING localhost.my.domain. (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.219 ms and looped. ---- I think localhost works correctly. Am I right? But I got the messge when I excuted for y-abe. The messge I got is below. PING y-abe.my.domain (216.175.70.95): 56 data bytes ping: sendto: No route to host and looped. ---- I believe that this file must be something wrong. If I am correct, The IP address is wrong. The IP address I used is what I got automatically when I connected to the net. Let me answer your question you asked before. > > name_of_service_provider: // I put "sprynet" > > set device PPPoE:xl0 // xl0 is the port that my ethernet card is on. > > set MRU 1454 > > set MTU 1454 > > set authname login_name@domainname // My login ID I got from ISP > > set authkey my password // My password I got from ISP > > set dial > > set login > > add default HISADDR > > accept CHAP > > enable dns Here is my /etc/hosts file. 127.0.0.1 y-abe.jpn.ph y-abe // I got y-abe.jpn.ph from another site for Dynamic DNS 127.0.0.1 y-abe.jpn.ph. 216.175.70.95 y-abe.jpn.ph y-abe // IP address is from that site. 216.175.70.95 y-abe.jpn.ph. since I thought that /etc/hosts was wrong, I changed the file above to the below. 127.0.0.1 localhost.my.domain localhost 216.175.70.95 y-abe.my.domain y-abe Did I do something wrong? > ok, on 127.0.0.1. you should leave that line as "127.0.0.1 localhost > localhost.domain" (with domain set to your TLD, of course). Let me ask you something stupid. What does TLD stand for? And what does it mean? Sincerely, Yuichiro Abe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message