Project

General

Profile

Actions

Add host » History » Revision 3

« Previous | Revision 3/13 (diff) | Next »
Anchi Cheng, 06/14/2012 02:56 PM


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

Find out what python thinks the hosname is

Run the following in python command line:

import socket
socket.gethostname()

Modify your host file on the linux Leginon computer to include the instrument host

  • On Linux, this host file is

/etc/hosts

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

  • On Window XP, this host file is

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

  • On Window NT, this host file is

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

Updated by Anchi Cheng over 12 years ago · 3 revisions