Hands on X11
Subject:   X11 and SystemPrefs: Networking
Date:   2003-04-30 08:45:51
From:   anonymous2
Right now I only have my macs connected via a simple ethernet switch that I use to shuttle files back and forth via the Finder->Go->Connect To Server menu, mounting disks as needed.

Do I understand correctly that I actually need a router in order to network my machines together so that I can use their IP addresses in the manner discussed here?

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • X11 and SystemPrefs: Networking
    2003-05-08 13:06:56  anonymous2 [View]

    The short answer: Absolutely NOT!

    The details: Your machines need to be able to alk to each other over the network using TCP/IP. If you have not setup TCP/IP on your machines (which would be weird because you wouldn't be able to get to the Internet over your network) then you need to do so. It doesn't matter if you tell each computer what IP address to use or let DHCP do it for you. If you use DHCP, then make sure that you can resolve hostnames, like this:

    [command prompt] % host mycomputer

    ...and that should return the IP address set by DHCP. If that doesn't work then I would recommend getting a conversation going with someone like myself, who can talk you through some of the things that you could do to fix it up. The main thing to do here is make sure that your DHCP server and DNS server programs will talk to each other. This allows DHCP assignments to be recorded and available via DNS requests.

    Once you have your hosts resolving properly, you can do this on the REMOTE host (this is for a tcsh shell):

    [command prompt] % setenv DISPLAY mycomputer:0

    By using the computer's name, your connection will still work even if DHCP changes the machines IP address (assuming that your DHCP server is working correctly to report such configuration chages to your DNS server). This is especially nice in that you do not have to think about the IP addresses at all (once it is all up and running), just machine names (which are easier to remember and work with).

    Lamont R. Peterson <lrp AT>
  • X11 and SystemPrefs: Networking
    2003-05-03 12:59:38  anonymous2 [View]

    no, you can do it by simply using the switch, or a crossover cable or even a serial cable between the machines...
    have fun with x