RoPod/Tutorials/Connecting to file server via samba: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
You can also obtain access via the command line (replace username by the username of your TU/e-account):
You can also obtain access via the command line (replace username by the username of your TU/e-account):
<pre>
<pre>
smbclient "//wtbfiler.wtb.tue.nl/Control Systems Technology/" -W TUE -U username
smbclient "//wtbfiler.wtb.tue.nl/Control Systems Technology/" -W TUE -U "username"
cd Servicerobotica/ropod
cd Servicerobotica/ropod
</pre>
</pre>

Revision as of 09:08, 20 September 2017

Connecting while on the tue-wpa2 network

For the ropod-project, a file server is created on the wtb-filer is created where all the hardware details are placed. It is protected, so in order to obtain specific details or the get access contact Cesar or Wouter. The location is

//wtbfiler.wtb.tue.nl/Control Systems Technology/Servicerobotica/ropod

From Linux, this filer can be accessed via Samba. First, ensure Samba is installed on your system:

sudo apt-get install samba

Then, if you are connected to the tue-wpa2 connection, you should be able to access this folder via Files (or Nautilus) -> Connect to server (on the left part of your screen). Enter the following Server address

smb://wtbfiler.wtb.tue.nl/control%20systems%20technology/Servicerobotica/ropod

and provide your once requested. Here, your TUE-username and password are requested. Use "TUE" in the domain-field.

You can also obtain access via the command line (replace username by the username of your TU/e-account):

smbclient "//wtbfiler.wtb.tue.nl/Control Systems Technology/" -W TUE -U "username"
cd Servicerobotica/ropod

Connecting via VPN

If not on the tue-wpa2 network, you need to connect to the tue-server via vpn first. You can follow the instructions from this page using vpn2.tue.nl, but the steps are slightly different for using Ubuntu 16.04. First, enter the following lines in order to be compatible with the Cisco-system by installing the "Cisco AnyConnect Compatible VPN (openconnect)"-package:

sudo apt-get install network-manager-openconnect network-manager-openconnect-gnome

Next, the following steps need to be applied:

  • Go to your connections dialog by clicking on your network icon
  • Select edit connections
  • click add
  • select Cisco AnyConnect Compatible VPN (openconnect)
  • Give a connection name, fill in vpn2.tue.nl at the "Gateway" and save.
  • Go back to your connection dialog, select vpn connections and click on the connection name you gave at the previous step
  • Select at Group number 2 (Tunnel TU/e traffic), fill in your username and password and click login. If everything is correct, your connection will be established.

Now, the wtb-filer can be connected via both the file-manager as the terminal as mentioned above. The experience is that it is faster to access the folder via the terminal when connecting via the vpn. If the file manager is used, first connect to

smb://wtbfiler.wtb.tue.nl/

before navigating to the ropod-folder. Keep in mind that this takes a while (about half a minute to a minute)!