Return to site

Linux box map shared drive on window

broken image
broken image
broken image

Replace “Ji” & “741852963” with yours and save the file.ģ. Insert the username and password for accessing the remote share. Create a credentials file via: gedit ~/.smbcredentials If you need to restore your backup, run: sudo mv /etc/fstab_old /etc/fstabĢ. Make a backup by running the command below: sudo cp /etc/fstab /etc/fstab_old Now edit the fstab file to mount network share on start up.ġ. sudo apt-get install libnss-winbind winbind Run below command so that your Ubuntu can resolve Windows computer name on a DHCP network. Install it from Ubuntu Software Center, or via below command: sudo apt-get install cifs-utilsģ. Install cifs-utils, which provides support for cross-platform file sharing with Microsoft Windows, OS X and other Unix systems. Paste the command below and run to create a mount point, you can replace ‘Ji-share’ to what you want. Press Ctrl+Alt+T on keyboard to open the terminal. There are a few preliminary actions we need to do before we can start mounting using cifs.ġ. There will be a few pictures to make things more clear. Not familiar with Linux command? Don’t be afraid, just paste the command into terminal and hit enter to run one by one. This simple tutorial shows you how to map a network drive, Windows share as example, onto Ubuntu 14.04 LTS with read and write permission permanently.Īll things will be done in a terminal window.

broken image