Re: Host Name [was: No route to host]

2003-11-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-11-10 07:47:26 -0500:
 At 07:06 AM 11/10/2003, Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 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=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 192.168.0.222 netmask 0xff00 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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Host Name [was: No route to host]

2003-11-10 Thread Marty Landman
At 07:06 AM 11/10/2003, Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 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=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::220:afff:fe4d:24b7%ep0 prefixlen 64 scopeid 0x1
inet 192.168.0.222 netmask 0xff00 broadcast 192.168.0.255
ether 00:20:af:4d:24:b7
media: Ethernet 10baseT/UTP
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
faith0: flags=8002BROADCAST,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]