RoPod/Tutorials/Connecting to file server via samba: Difference between revisions
(Created page with '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 …') |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= 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 | 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 | ||
<pre> | <pre> | ||
//wtbfiler.wtb.tue.nl/Control Systems Technology/Servicerobotica/ | //wtbfiler.wtb.tue.nl/Control Systems Technology/Servicerobotica/5. ROPOD | ||
</pre> | </pre> | ||
Line 11: | Line 12: | ||
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 | 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 | ||
<pre> | <pre> | ||
smb://wtbfiler.wtb.tue.nl/control%20systems%20technology/Servicerobotica/ | smb://wtbfiler.wtb.tue.nl/control%20systems%20technology/Servicerobotica/5.%20ROPOD | ||
</pre> | </pre> | ||
and provide your once requested. Here, your TUE-username and password are requested. Use "TUE" in the domain-field. | 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: | 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> | |||
= 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 [https://www.win.tue.nl/bcf/diensten/netwerk/Vpn-tue-ubuntu1404.pdf 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: | |||
<pre> | |||
sudo apt-get install network-manager-openconnect network-manager-openconnect-gnome | |||
</pre> | |||
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 | |||
<pre> | |||
smb://wtbfiler.wtb.tue.nl/ | |||
</pre> | |||
before navigating to the ropod-folder. Keep in mind that this takes a while (about half a minute to a minute)! | |||
CAD-files can be found at | |||
<pre> | |||
smb://wtbfiler.wtb.tue.nl/control%20systems%20technology/Servicerobotica/5.%20ROPOD/Mechanics/CadFiles/Workspaces/Workspace/CadFiles | |||
</pre> | </pre> |
Latest revision as of 15:54, 9 June 2020
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/5. 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/5.%20ROPOD
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)!
CAD-files can be found at
smb://wtbfiler.wtb.tue.nl/control%20systems%20technology/Servicerobotica/5.%20ROPOD/Mechanics/CadFiles/Workspaces/Workspace/CadFiles