Project

General

Profile

Actions

Add host » History » Revision 1

Revision 1/13 | Next »
Anchi Cheng, 06/14/2012 02:04 PM


Add the IP address and matching hostname of the microscope computer in your host file on the main Leginon computer, and vice versa.

Modify your host file to include the host (Create it if not exist).

  • On Linux, this file is

/etc/hosts

  • On Window XP, this file is

C:\\WINDOWS\system32\drivers\etc\hosts

  • On Window NT, this file is

C:\\WINNT\system32\drivers\etc\hosts

The Linux main Leginon computer also needs to identify itself by its hostname registered on Microscope Windows computer.

To confirm what python thinks the hosname is, run the following in python command line:

import socket
socket.gethostname()

Updated by Anchi Cheng over 12 years ago · 1 revisions