From owner-freebsd-questions Thu Aug 8 13:12:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B187437B400 for ; Thu, 8 Aug 2002 13:12:26 -0700 (PDT) Received: from mail.bg (varna62.pip.digsys.bg [193.68.1.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B1CE43E4A for ; Thu, 8 Aug 2002 13:12:22 -0700 (PDT) (envelope-from dpenev@mail.bg) Received: from mail.bg (localhost [127.0.0.1]) by mail.bg (8.12.5/8.12.5) with ESMTP id g78NAmoM000769; Thu, 8 Aug 2002 23:10:49 GMT (envelope-from dpenev@mail.bg) Received: (from root@localhost) by mail.bg (8.12.5/8.12.5/Submit) id g78NAlao000768; Thu, 8 Aug 2002 23:10:47 GMT Date: Thu, 8 Aug 2002 23:10:47 +0000 From: "D. Penev" To: MET Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Internet Connection Message-ID: <20020808231047.GD239@earth.dpsca.bg> Mail-Followup-To: MET , freebsd-questions@FreeBSD.ORG References: <20020808222850.GB239@earth.dpsca.bg> <001401c23f13$81f598c0$6901a8c0@SURVIVAL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <001401c23f13$81f598c0$6901a8c0@SURVIVAL> User-Agent: Mutt/1.4i 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 On Thu, Aug 08, 2002 at 03:40:49PM -0400, MET wrote: >From: "MET" >To: "'D. Penev'" >Cc: >Subject: RE: Internet Connection >Date: Thu, 8 Aug 2002 15:40:49 -0400 > >Yes, I'm not sure what to set the host and domain as....I cannot use >DHCP as I often will need access to this machine from other >computers....and figuring out what IP it will have that day is annoying. You can access laptop using its hostname which is permanent, not only with IP address. > >- Matthew > >-----Original Message----- >From: owner-freebsd-questions@FreeBSD.ORG >[mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of D. Penev >Sent: Thursday, August 08, 2002 6:29 PM >To: MET >Cc: freebsd-questions@FreeBSD.ORG >Subject: Re: Internet Connection > > >On Thu, Aug 08, 2002 at 02:59:37PM -0400, MET wrote: >>From: "MET" >>To: >>Subject: Internet Connection >>Date: Thu, 8 Aug 2002 14:59:37 -0400 >> >>I've asked this question once before, but I have no access to the >>machine where the answer lies and won't for quite a few days. >> >>I'm trying to setup my laptop's internet connection (running FreeBSD) >>on a little network. I'm sitting on a cable connection behind a >>Linksys router. Is it support NAT (Network Address Translation) ? I suppose yes. >> >>I know the IPv4 (192.168.1.30) and IPv4 Gateway (192.168.1.1) and the >>DNS IP's (24.92.226.13/171). In /etc/rc.conf: hostname="you_machine_host_name" ifconfig_XXX="inet 192.168.1.30/YY" # where XXX is interface (like ed0), YY is netmask defaultrouter="192.168.1.1" In /etc/hosts 192.168.1.30 you_machine_host_name In /etc/resolv.conf nameserver 24.92.226.13 >> >>But I don't know what to set the host or domain to. > >Be more clear, what you mean "what to set the host ..."? >You don't know where to set above addresses ? > >> >>Ideas ? >> >>- Matthew >> >> >>/************************************************************** >> >> Matthew Metnetsky >> >> met@uberstats.com >> >>**************************************************************/ >> >> >>To Unsubscribe: send mail to majordomo@FreeBSD.org >>with "unsubscribe freebsd-questions" in the body of the message > >-- >Regards, >D. Penev > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message -- Regards, D. Penev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message