Windows
MacOS
In order to connect to a network drive, do the following.
Linux
File Browser
On Ubuntu, you should have the Nautilus file browser pre-installed for which you can do the following.
SMBClient
-
Install the SMBClient package with the following command.
sudo apt install smbclient
-
Open a network folder with the following command.
smbclient //ait-pdfs.win.dtu.dk/users/users{0-9}/{username} -U win.dtu.dk/{username}
Replace {0-9}
with the last number in your CWISnr, this number can be found over at dtubasen.dtu.dk in the bottom right corner. And replace {username}
with your username
CIFS
-
Install the package including the utilities for CIFS with the following command.
sudo apt install cifs-utils
-
Make a directory to mount the network folder to with the following command.
Replace {folder_name}
with a name for your network mounted folder
mkdir /mnt/{folder_name}
-
Mount a network folder to the folder you just created.
Replace {0-9}
with the last number in your CWISnr, this number can be found over at dtubasen.dtu.dk in the bottom right corner.
Replace {folder_name}
with the name of the folder you created previously.
Replace {username}
with your username
mount -t cifs //ait-pdfs.win.dtu.dk/users/users{0-9}/{username} /mnt/{folder_name} -o username={username},domain=win,vers=3.0
- Write your password when prompted.
Alternatively you can edit /etc/fstab to automate the mounting, read more here
If you decide to delete the folder with the mounted network folder, please unmount the network folder before deleting the directory.
umount /mnt/{folder_name}
rmdir /mnt/{folder_name}