Connecting or Mounting a Windows Share folder in Xubuntu 16.04

11 May 2017 ᛫ 1 min read

SHARE:

Working in an environment where a majority of the computers are running Windows when you’re using Linux is exciting and a bit frustrating at times. Recently, one of our computers (running Windows 8) at work was used as a make-shift file server so that everyone can connect and check the files there.

It came as a pleasant surprise that connecting to the shared folder on our Windows Machine was pretty straightforward.

REQUIREMENTS

On the WINDOWS host/server

  1. The IP address of the Windows server/host (you can check this using ipconfig in the command propmt or in the Network and Connection Settings)

  2. The name of the shared folder

  3. The shared folder must be accessible by everyone

On your Linux (Xubuntu 16.04) machine

  1. cifs-utils
     sudo apt install cifs-utils
    
  2. A directory to mount the share folder
     sudo mkdir /media/windows-share
    

Variables

windows_ip - the IP address of the Windows host/server

sharename - the name of the Shared folder

mount_point - the path where the shared folder will be mounted

How-to

  1. Open /etc/fstab.
     sudo nano /etc/fstab
    
  2. Add the following lines and save.
     //windows_ip/sharename  mount_point   cifs  guest,uid=1000,iocharset=utf8   0   0
    
  3. Reset /etc/fstab.
     sudo mount -a
    

The Windows share folder should now be mounted and you can access the files on your Linux machine.

For more information, you can check here.


SHARE:
comments powered by Disqus

You may also like:

My new daily driver

15 Feb 2020 ᛫ 6 min read

Convert a PDF to an Image (PNG, JPG, etc) in Linux using ImageMagick

05 Oct 2018 ᛫ 1 min read

Wanna Stick it to the Man? Use FOSS.

20 Mar 2017 ᛫ 6 min read

The FOSS Life

18 Mar 2017 ᛫ 6 min read

Solve Boot Configuration Data (missing or corrupt BCD) file problem in Windows 8/8.1/10.

03 Apr 2017 ᛫ 3 min read


BNHR

[email protected]

Creative Commons License
This work and its contents by Ben Hur S. Pintor is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Other works (software, source code, etc.) referenced in this website are under their own respective licenses.
This site is powered by Jekyll and hosted on Github (view source)