Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > host host host

host host host
Thread Tools
Junior Member
Join Date: Apr 2001
Location: Fort Luderdale FL USA
Status: Offline
Reply With Quote
Mar 20, 2003, 11:50 PM
 
Ok,

I have a Private network with 4 computers.
Each computer has an ip address 192.168.1.xx and all the same gateway.

I named a host in the netinfomanager for computer a HOSTNAME = titanium

In the terminal of computer b i try to ping titanium but it does not see it. if I ping titanium.local I get a response but just titanium i get nothing.... what else do I need to do???

I 've allready changed HOSTNAME = -AUTOMATIC- to HOSTNAME= titanium in hostconfig and added 192.168.1.xx in etc/hosts ... same in netinfomanager... added machines --> titanium and gave it the same IP ...BTW IP's are static

Thanks!!
     
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Offline
Reply With Quote
Mar 21, 2003, 02:36 AM
 
Have you added them to your hosts file (in /etc/)?
I don't suffer from insanity, I enjoy every minute of it.
     
aderium  (op)
Junior Member
Join Date: Apr 2001
Location: Fort Luderdale FL USA
Status: Offline
Reply With Quote
Mar 21, 2003, 09:50 AM
 
yeah I did, still the same.....
     
Junior Member
Join Date: Apr 2000
Location: Durham, NC
Status: Offline
Reply With Quote
Mar 22, 2003, 06:05 PM
 
if you add this line:

192.168.1.x titanium


to /etc/hosts (where x, obviously, is replaced by the last digit of titanium's IP address) on the machine you are trying to send the ping from, it will work, unless ICMP is being blocked on your network somewhere.

I don't know much about how netinfo works, but if you set up /etc/hosts properly on the client side, the setup on the server side won't matter.

Kyle
     
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Reply With Quote
Mar 22, 2003, 07:49 PM
 
Originally posted by kcm3:
if you add this line:

192.168.1.x titanium


to /etc/hosts [snip]
... if all the machines are Mac OS X systems, this will have absolutely zero effect.

By default, Mac OS X does not refer to /etc/hosts during normal operation - only when booted in single-user mode.

The only appropriate place to add static host entries in each machine's NetInfo database, using NetInfo Manager.
Gods don't kill people - people with Gods kill people.
     
Junior Member
Join Date: Apr 2000
Location: Durham, NC
Status: Offline
Reply With Quote
Mar 23, 2003, 10:58 AM
 
Interesting. I had no idea. I don't know much about netinfo at all. I come from the UNIX side of the world. Haven't had any need to set up static hosts on my home machine, though.
     
Mac Elite
Join Date: May 2002
Status: Offline
Reply With Quote
Mar 23, 2003, 07:59 PM
 
Originally posted by Camelot:
... if all the machines are Mac OS X systems, this will have absolutely zero effect.

By default, Mac OS X does not refer to /etc/hosts during normal operation - only when booted in single-user mode.

The only appropriate place to add static host entries in each machine's NetInfo database, using NetInfo Manager.
It claims it doesn't, but it's lying. /etc/hosts does work in normal operation, it just shouldn't.
[vash:~] banana% killall killall
Terminated
     
Forum Regular
Join Date: Feb 2003
Location: Sundsvall, Sweden
Status: Offline
Reply With Quote
Mar 25, 2003, 04:43 AM
 
Originally posted by aderium:
In the terminal of computer b i try to ping titanium but it does not see it. if I ping titanium.local I get a response but just titanium i get nothing.... what else do I need to do???
try add open System Prefs -> Network, and add "local" in Search Domains, do this on all machines.

hope it works.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:34 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2