Steps

  1. Install cifs-utils: This package is necessary for mounting CIFS/SMB shares. You can install it using your distribution’s package manager. For example, on Debian-based systems, you can use:

    sudo apt-get install cifs-utils
    

    On Arch Linux, you can use:

    sudo pacman -S cifs-utils
    
  2. Create a Mount Point: Create a directory where the network drive will be mounted. For example:

    sudo mkdir /mnt/networkdrivename
    
  3. Edit /etc/fstab: Add an entry to your /etc/fstab file to automatically mount the network drive at boot. Use the following format: