Host Name [was: No route to host]
Marty Landman
MLandman at face2interface.com
Mon Nov 10 04:47:33 PST 2003
At 07:06 AM 11/10/2003, Roman Neuhauser wrote:
># MLandman at 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
More information about the freebsd-questions
mailing list