From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 04:47:33 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 7D10116A4CE for ; Mon, 10 Nov 2003 04:47:33 -0800 (PST) Received: from www6.web2010.com (www6.web2010.com [216.157.5.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E80143FCB for ; Mon, 10 Nov 2003 04:47:32 -0800 (PST) (envelope-from MLandman@face2interface.com) Received: from delliver.face2interface.com (dialup-wash-129-203.thebiz.net [64.30.129.203] (may be forged)) by www6.web2010.com (8.12.10/8.9.0) with ESMTP id hAACl0o2008672 for ; Mon, 10 Nov 2003 07:47:01 -0500 (EST) Message-Id: <6.0.0.22.0.20031110073738.01dc6af0@pop.face2interface.com> X-Sender: face@pop.face2interface.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 10 Nov 2003 07:47:26 -0500 To: freebsd-questions@freebsd.org From: Marty Landman In-Reply-To: <20031110120601.GH28665@freepuppy.bellavista.cz> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: 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: Mon, 10 Nov 2003 12:47:33 -0000 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. > given the netmask you use, yes. or you could change the mask on all > hosts to, say, 255.255.0.0. Sounds advanced and I'm happy leaving things as they are now. So hear's another question. 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. Here's what /etc/rc.conf looks like: # This file no longer contains just the overrides from /etc/defaults/rc.conf. hostname="MyFBSD.my.domain" kern_securelevel_enable="NO" linux_enable="YES" moused_enable="YES" nfs_reserved_port_only="YES" sendmail_enable="YES" sshd_enable="YES" ifconfig_ep0="inet 192.168.0.7 netmask 255.255.255.0 media 10baseT/UTP" firewall_enable="no" 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 inet6 fe80::220:afff:fe4d:24b7%ep0 prefixlen 64 scopeid 0x1 inet 192.168.0.222 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:20:af:4d:24:b7 media: Ethernet 10baseT/UTP lp0: flags=8810 mtu 1500 faith0: flags=8002 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 $ Finally, how do I enable .history for users other than root, and how do I specify how large the shell history may get? Thanks in advance, Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml