Size: 2269
Comment:
|
Size: 3568
Comment: smbclient does not work und current linux versions, hence using the smbget instead.
|
Deletions are marked like this. | Additions are marked like this. |
Line 21: | Line 21: |
{{{#!wiki comment | |
Line 25: | Line 25: |
}}} * /!\ '''IMPORTANT!''' currently the {{{smbclient}}} command can not be used to connect to the share of the IT Shop. Instead you can use the {{{smbget}}} command to download the files you ordered in the IT shop. The caveat of smbget is, that you can not see the folder structure of the destination share. Therefore you need to know the folder Names you want to download. But in most cases, the IT Shop description has information about that. E.g. if you buy the Sophos antivirus client for Linux, you will find something like {{{The software can be found in the following directory: Sophos__Linux__ML}}} in the description. * Make sure you are in a Folder, where you want to download your product:<<BR>>`cd ~/Downloads` * Download the prodcut (in this example, the Sophos Linux Client): {{{ smbget -R 'smb://d;maegger@software.ethz.ch/maegger$/Sophos__Linux__ML/Linux' # smb://d; : Use the D Domain # <ETH user name> : your personal ETH user name # -r : Automatically resume aborted files # -R : Recursively download files # Sophos__Linux__ML : The Productfolder you want to download (in this example the Sophos Linux Client) smbget -R 'smb://d;<ETH user name>@software.ethz.ch/<ETH user name>$/Sophos__Linux__ML' }}} |
Overview
This guide explains how to download software you ordered from the IT Shop (ITSM) (previously known as IDES or Stud-IDES).
Connecting to your IT Shop network share
- To download your software you need to connect to your personal share from the IT Shop
- It is important to include the "$" at the end of the paths mentioned below!
Access to the IT Shop is only possible from within the ETH network. If you're connecting from the outside you need to open a VPN connection to ETH before continuing
Windows
Open a connection with Explorer to the network share
\\software.ethz.ch\<ETH user name>$- On a self-managed windows client make sure to connect with your ETH user name including the domain, as in "d\ETH user name"
- Enter your ETH network password when prompted.
Linux
IMPORTANT! currently the smbclient command can not be used to connect to the share of the IT Shop. Instead you can use the smbget command to download the files you ordered in the IT shop. The caveat of smbget is, that you can not see the folder structure of the destination share. Therefore you need to know the folder Names you want to download. But in most cases, the IT Shop description has information about that. E.g. if you buy the Sophos antivirus client for Linux, you will find something like The software can be found in the following directory: Sophos__Linux__ML in the description.
Make sure you are in a Folder, where you want to download your product:
cd ~/Downloads- Download the prodcut (in this example, the Sophos Linux Client):
smbget -R 'smb://d;maegger@software.ethz.ch/maegger$/Sophos__Linux__ML/Linux' # smb://d; : Use the D Domain # <ETH user name> : your personal ETH user name # -r : Automatically resume aborted files # -R : Recursively download files # Sophos__Linux__ML : The Productfolder you want to download (in this example the Sophos Linux Client) smbget -R 'smb://d;<ETH user name>@software.ethz.ch/<ETH user name>$/Sophos__Linux__ML'
Copying data
Windows
As you connected to a share, standard operations with Explorer are possible. Simply select folders to copy, press CTRL+C and paste them into the local folder of your choice.
Linux
smbclient is used with commands similar to ftp. The commands you are most likely to use are:
ls to list directory contents
cd to change directories
get to download a file
quit to leave smbclient
Recursively downloading a folder:
Type recurse, press Enter
Type prompt OFF, press Enter
To copy a folder, type mget <folder_name>, press Enter