Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2003 07:47:26 -0500
From:      Marty Landman <MLandman@face2interface.com>
To:        freebsd-questions@freebsd.org
Subject:   Host Name [was: No route to host]
Message-ID:  <6.0.0.22.0.20031110073738.01dc6af0@pop.face2interface.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
         inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.0.20031110073738.01dc6af0>