Add host » History » Revision 2
Revision 1 (Anchi Cheng, 06/14/2012 02:04 PM) → Revision 2/13 (Anchi Cheng, 06/14/2012 02:09 PM)
h2. 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. h3. Modify your host file on the linux Leginon computer to include the instrument host (Create it if not exist). * On Linux, this host file is > /etc/hosts h3. 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 h3. 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: <pre> import socket socket.gethostname() </pre>