Date: Tue, 25 Nov 2003 08:56:03 +0100 From: Roman Neuhauser <neuhauser@bellavista.cz> To: Marty Landman <MLandman@face2interface.com> Cc: freebsd-questions@freebsd.org Subject: Re: Host Name [was: No route to host] Message-ID: <20031125075603.GH340@freepuppy.bellavista.cz> In-Reply-To: <6.0.0.22.0.20031110073738.01dc6af0@pop.face2interface.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
# 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031125075603.GH340>