Access your files

Here we describe how to access our fileservers from the different operating systems.

Don't be confused about the different "server names" (see Hostnames of our services). All of them will serve you the same files. Access with a Windows-Client to winhome.phys.ethz.ch, with a Mac to machome.phys.ethz.ch and see the same files!

On Windows

How to connect your homedrive

  • Click your Start button
  • select run
  • Type \\winhome.phys.ethz.ch\username eg: \\winhome.phys.ethz.ch\patrika
  • Connect using ad\username and password. Select OK
  • Optionally click with the right mouse button on your home and assign a drive letter

How to connect a groupdrive

  • Click your Start button
  • select run
  • Type \\windata.phys.ethz.ch\groupdrivename eg: \\windata.phys.ethz.ch\nano1
  • Connect using ad\username and password. Select OK
  • Optionally click with the right mouse button on your home and assign a drive letter

Astronomers:

You can access your /scratch and /export/data1 with

\\astrogate.ethz.ch\workstation\WORKSTATIONNAME

IPA:

\\ipa-gate.phys.ethz.ch\ipa

IGP:

You can access your /scratch and /export/data1 with

\\windata.ethz.ch\workstation\WORKSTATIONNAME

On macOS

  • Select the Finder
  • In the menu Go, click on Connect to server...
  • Type in smb://machome.phys.ethz.ch/homes for your home, respectively smb://macdata.phys.ethz.ch/SHARENAME for groupdrives and click Connect
  • In the following dialog enter your D-Phys username and password
  • The mounted share should appear on your desktop or Finder window

Cosmologists:

If you don't see all files inside the ipa/refreg/data subfolder, please create a /etc/nsmb.conf file, with the following contents

[default]
file_ids_off=yes

to fix bugs because of nested file systems.

You can also access your /scratch and /export/data1 with smb://astrogate.ethz.ch/workstation/WORKSTATIONNAME

Troubleshooting:

It may happen that the wrong username or password were saved and you can no longer connect to the network share. You may either remove the entry in the Keychain Access application, or provide the correct username when connecting: smb://username:*@machome.phys.ethz.ch/homes

On Linux

You may access an SMB server with several interfaces (replace "USER" with your D-PHYS user name).

The package cifs-utils must be installed on your system:

apt install cifs-utils

Konqueror, Midnight commander and others

You are able to connect directly to:

smb://unixhome.phys.ethz.ch/homes

If you get an error, you may need to configure samba. Check that the following line is in the section [global] in your /etc/samba/smb.conf:

[global]
client max protocol = SMB3

mount

You may mount the fileserver on your local workstation.

mkdir -p /media/dphys
sudo mount -t cifs -o domain=AD,user=USER,vers=3.0 //unixhome.phys.ethz.ch/homes /media/dphys

To map the uid to your local User:

sudo mount -t cifs -o domain=AD,user=USER,vers=3.0,uid=$(id -u),gid=$(id -g) //unixhome.phys.ethz.ch/homes /media/dphys

smbclient

This will give you a ftp-like interface.

To access your home:

smbclient --max-protocol SMB3 -W AD -U USER //unixhome.phys.ethz.ch/homes

To access the group share "GROUP":

`smbclient --max-protocol SMB3 -W AD -U USER //unixdata.phys.ethz.ch/GROUP

Using SCP or SFTP (any operating system)

You can access your files also using SCP (Secure Copy) or SFTP (Secure File Transfer Protocol) clients, e.g. WinSCP or Putty under Windows or CyberDuck under macOS. See our Readme SFTP Samples Windows Workstation to D-PHYS Workstation for how to use SFTP with WinSCP.

Just connect to login.phys.ethz.ch or one of our student pool workstation using you normal D-PHYS username and password.

Your password as well as your data will be encrypted for the transmission since both protocols are based on the SSH (Secure Shell) protocol.

See also our Readme on SSH.