|
|
Mac equivalent to host file C:\windows:
|
|
|
|
rbehk
|
|
Being a lone Macuser in an otherwise PCworld, I cannot find certain answers for Mac setups from our internal support staff.
In order to link from within the company intranet to another, same company intranet, PC users are requested to:
"add the following statement to your host file under C windows: # intranet .......
I have no idea where the equivalent on a Mac would go! Anybody any idea? Any suggestion would be most welcome.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Dec 1999
Location: Alexandria, VA USA
Status:
Offline
|
|
Are you talking about file-sharing or 'web' type intranet? My co. uses an NT network or file sharing. We also have an intranet, this is accessable via a browser.
If you want to share files w/PC's, youll need a bit more information. Is the network using NetBIOS or NetBEUI (asuming its not TCP/IP)? If it is BIOS, you can use DAVE www.thursby.com . If it is BEUI (a proprietary M$ add-on to BIOS) you will have to take a less direct approach. Im am going to try to connect an iBook to a NT BEUI network through VPC.
I was discussing this with Walter J. Ferstl at the following link: http://forums.macnn.com/cgi-bin/Forum2/HTML/000386.html
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Oct 1999
Location: San Diego, CA, USA
Status:
Offline
|
|
Make a text file called hosts and place it in the System Folder.
Put the text they request in that hosts file.
Reboot, and you should be able to access the other intranet.
Basically what they are doing is giving a name to an IP address without running a domain name server.
You can also access that other intranet by typing in the IP address that they request you enter in your file.
drewman
|
|
|
|
|
|
|
|
|
rbehk
|
|
Tks for the fast reply. The suggestion from drewman has worked and is much appreciated!!!
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Oct 1999
Location: Raleigh, NC, USA
Status:
Offline
|
|
This sounds interesting. I have a web server running on one of my computers to have my 'bookmarks' web pages and right now I have to specify http://192.168.0.86 to get to it. Can I make a hosts file that I can put in the other computers to point to it with a name like 'powertower' or something? Come to think of it, my firewall/router has ftp service and it also needs to be addressed by ip address. Can I add it to the list?
What's the format of hosts?
Thanks!
------------------
Tadd Torborg
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Oct 1999
Location: San Diego, CA, USA
Status:
Offline
|
|
Each line of the hosts file will look like this:
xxx.xxx.xxx.xxx nameofcomputer
Each computer needs its own line.
example:
192.168.2.1 webserver
The computer will check the hosts file first and then go to the DNS server if it doesn't find it there.
drewman
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Nov 1999
Location: San Marcos, CA
Status:
Offline
|
|
The format of the HOSTS file is as follows:
"name" "type" "IP"
Here's what mine looks like:
localhost CNAME igregdv.home.com
voyager.home.com A 172.16.1.10
voyager.home.com NS 172.16.1.10
home.com is my LAN and voyager is my NT server.
Good Luck
------------------
PC's are popular... MAC's Rule!
[This message has been edited by CyberGreg (edited 01-24-2000).]
|
Mac's Rule!
*************************************
13.3" 1.83 MacBook, 2GB, 120GB
13.3" 1.83 MacBook, 2GB, 80GB
Mac Mini PVR, 1.66Ghz w/2GB, eyeTV 2.0, 100GB HD and 50" DLP
Mac Mini, 1.83Ghz (before Apple released one) w/2GB, 80GB HD and 20" LCD
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Oct 1999
Location: San Diego, CA, USA
Status:
Offline
|
|
Yes, I'm sorry. I put the two in the wrong order. If you just want to name an IP address for a home network you don't have to use the CNAME and all the other items, but of course, it is the proper way to write a hosts file.
drewman
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|