From owner-freebsd-questions@FreeBSD.ORG Mon Nov 24 23:56:07 2003 Return-Path: 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 4C0FA16A4CE for ; Mon, 24 Nov 2003 23:56:07 -0800 (PST) Received: from lilith.bellavista.cz (lilith.bellavista.cz [213.235.167.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F58343FE1 for ; Mon, 24 Nov 2003 23:56:05 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by lilith.bellavista.cz (Postfix) with ESMTP id E93EE28; Tue, 25 Nov 2003 08:56:03 +0100 (CET) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id DA33A2FDA03; Tue, 25 Nov 2003 08:56:03 +0100 (CET) Date: Tue, 25 Nov 2003 08:56:03 +0100 From: Roman Neuhauser To: Marty Landman Message-ID: <20031125075603.GH340@freepuppy.bellavista.cz> Mail-Followup-To: Marty Landman , freebsd-questions@freebsd.org References: <20031109235155.8861.LUKEK@meibin.net> <6.0.0.22.0.20031109102036.04408558@pop.face2interface.com> <20031110072322.8868.LUKEK@meibin.net> <6.0.0.22.0.20031109184658.02f673b0@pop.face2interface.com> <20031110120601.GH28665@freepuppy.bellavista.cz> <6.0.0.22.0.20031110073738.01dc6af0@pop.face2interface.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.0.0.22.0.20031110073738.01dc6af0@pop.face2interface.com> User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: Host Name [was: No route to host] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2003 07:56:07 -0000 # MLandman@face2interface.com / 2003-11-10 07:47:26 -0500: > At 07:06 AM 11/10/2003, Roman Neuhauser wrote: > ># MLandman@face2interface.com / 2003-11-09 19:00:28 -0500: > >> > >> So that third node on the IP addr represents what, the switch? > > > > no, it's the subnet. ok, this is not a helpful answer. > > But your relating that to the subnet mask later makes total sense, thank > you I feel enlightened. glad i could help > Right now I can only access the fbsd box on my lan via ip addr; I set up a > hostname but that doesn't seem to be the same as a symbolic name for the > fbsd machine on my lan. the hostname=... asignment below is visible only on the machine itself. suppose I have a machine with 3 network cards, 8 different IP addresses, and a dozen names that point to those addresses (sometimes different based on what part of internet you look at it). what should the machine call itself? that's where you need hostname(1). > Here's what /etc/rc.conf looks like: > ifconfig_ep0="inet 192.168.0.7 netmask 255.255.255.0 media 10baseT/UTP" > I was surprised when after making this change to rc.conf and rebooting the > ip addr got changed to something other than what is specified in rc.conf. > > $ ifconfig > ep0: flags=8843 mtu 1500 > inet 192.168.0.222 netmask 0xffffff00 broadcast 192.168.0.255 that could be almost anything. hard to tell from here. > Finally, how do I enable .history for users other than root, and how do I > specify how large the shell history may get? depends on what shell your users use. my commented zsh dotfiles are available on request. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html