Mounting the M-drive

Windows
  • Press and hold Windows Key + E to open File Explorer.
  • In the menu on the left hand side of the File Explorer, right click on This Computer and click on Map a network drive...
  • For the Drive: field, choose a drive letter.
  • For the Folder: field, write the path to the network folder you wish to map.

    • The path for the M: drive is \\ait-pdfs.win.dtu.dk\users\users{0-9}\{username}.

      For the path to the M drive, 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

  • Click on Finish.
  • When promptet for credentials, write win\{username}. And replace {username} with your username.

MacOS

In order to connect to a network drive, do the following.

  • Open Finder
  • Press and hold ⌘ + K OR click on Go -> Connect to Server...
  • In the Server Address field, write the path to the network folder you wish to connect to.

    • The path for the M: drive is smb://ait-pdfs.win.dtu.dk/users/users{0-9}/{username}.

      For the path to the M drive, 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

  • Click on Connect.
  • Login with DTU credentials to authenticate.

Linux

File Browser

On Ubuntu, you should have the Nautilus file browser pre-installed for which you can do the following.

  • Open Nautilus
  • Click on Connect to Server on the left hand side of the window OR Click on File -> Connect to Server...
  • In the Server Address field, write the path to the network folder you wish to connect to.

    • The path for the M: drive is smb://ait-pdfs.win.dtu.dk/users/users{0-9}/{username}.

      For the path to the M drive, 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

  • Click on Connect.
  • Login with DTU credentials to authenticate.

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}