On linux systems

On Linux systems, you can access your space under //winstorage/users, in several ways:

/net/winstorage/

Only on Fedora 18 and higher

shell sessions:
/net/winstorage/username
file managers:
Most filemanagers understand the smb:// type:
smb://net/winstorage/username
The username is your Windows-account.

smbclient

Smbclient can be useful to:

  • Transfer big files, it is the fastest way
  • Transfer a few files on remote ssh-sessions
  • Debug the connection if gnome and kde do not work

To start smbclient:

smbclient //winstorage/users -W TUE -U user

You may also have access to the group space, for which you need to start:

smbclient //winstorage/group -W TUE -U user

The user name is your Windows-account. You will be asked to enter your password and then you can use sub-commands

put
get

to transfer files.

To create a backup of /scratch:

cd /scratch
tar cvf - . | smbclient //winstorage/users -W TUE -U user \
  -c 'put - \user\pclinXXX.scratch.tar'

Although not explicitly documented, the name - also means stdin for put.

You will be prompted for a password, mostly after a few lines of the verbose tar output.

Access for all commands in a shell session

To open access for all commands, not just smbclient and its subcommands, use one of:

gvfs-mount 'smb://TUE;user@winstorage/users'
gvfs-mount 'smb://TUE;user@winstorage/group'

This user name is your Windows-account, gvfs-mount will ask for a password.

The users or group share will appear under ~/.gvfs as one of:

users on winstorage
group on winstorage

and, when running GNOME, also as icon on the desktop.

Linux, GNOME session

To acces the storage server from the Desktop folder icons, start

Places - Connect to Server:

from the main menu and select:

  • Service type: Windows share
  • Server: winstorage
  • Share: Enter one of:
    • users
    • group (a group name)
  • User Name: windows-account
  • Domain Name: TUE

On the filesystem, the users or group share will also appear under ~/.gvfs as one of:

users on winstorage
group on winstorage

Linux, KDE session

To acces the storage server from the Desktop folder icons, start

Computer - Network

from the main menu and select:

  • Add Network Folder
  • Microsoft Windows network drive
  • next
  • Name: A label of your own choice for the icon
  • Server: winstorage
  • Folder: one of:
    • users
    • group (a group name)
  • Save & Connect
  • Username: windows-account (without TUE)
  • Password:

This seems a two-stage connect, credentials are always asked twice.

Unlike GNOME, the share does not appear under ~/.gvfs .

Remote Linux systems

For remote ssh-sessions on Linux systems, there is usually not a dbus-environment in place and no gvfs-fuse-daemon running for you. Therefore, you need to start them manually.

First, launch the dbus with a sub-shell:

dbus-launch $SHELL

This sub-shell has the DBUS_SESSION_BUS_ADDRESS in its environment which is required for the gvfs-commands.

From this sub-shell:

mkdir -p /scratch/username/gvfs
/usr/libexec/gvfs-fuse-daemon /scratch/username/gvfs
gvfs-mount 'smb://TUE;username@winstorage/users'

Then you can access the storage server on the filesystem at:

/scratch/username/gvfs/users on winstorage

We are still in the sub-shell. After leaving the sub-shell, there are still some processes running for the mount. If you no longer need that:

pkill -f dbus-daemon
pkill -f gnome-keyring-daemon

This may complain about daemons that are not yours.


Contact us | Webmaster

Questions? Mail to helpdesk.win@tue.nl