<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Danny Suarez on Medium]]></title>
        <description><![CDATA[Stories by Danny Suarez on Medium]]></description>
        <link>https://medium.com/@dannysvof?source=rss-738e06b9bbdc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*SiAvx0WsnFzzNfas.jpg</url>
            <title>Stories by Danny Suarez on Medium</title>
            <link>https://medium.com/@dannysvof?source=rss-738e06b9bbdc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 13:36:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dannysvof/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Mount a Shared Folder Using Samba with CIFS Filesystem Type]]></title>
            <link>https://medium.com/@dannysvof/how-to-mount-a-shared-folder-using-samba-with-cifs-filesystem-type-376ac603a004?source=rss-738e06b9bbdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/376ac603a004</guid>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[samba]]></category>
            <category><![CDATA[virtualbox]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[Danny Suarez]]></dc:creator>
            <pubDate>Fri, 17 May 2024 17:32:44 GMT</pubDate>
            <atom:updated>2024-05-17T23:40:11.837Z</atom:updated>
            <content:encoded><![CDATA[<p>In this tutorial, we’ll go through the steps to mount a shared folder from a host machine using Samba with the correct filesystem type (cifs) on a Linux system.</p><h3>Step 1: Setting Up Samba Share</h3><p>Install Samba: First, install Samba on the host machine:</p><pre>sudo apt update<br>sudo apt install samba</pre><p>Configure Samba: Edit the Samba configuration file:</p><pre>sudo vim /etc/samba/smb.conf</pre><p>Add the following lines at the end of the file:</p><pre>[shared_folder]<br>path = /path/to/shared/folder<br>writable = yes<br>guest ok = yes</pre><h3>Step 2: Install Required Packages</h3><p>Make sure you have the cifs-utils package installed on your system. You can install it using your package manager:</p><pre>sudo apt update<br>sudo apt install cifs-utils</pre><h3>Step 3: Find the Host Machine’s IP Address</h3><p>Use the following command to find the IP address of the host machine:</p><pre>ip addr show | grep inet | grep -v 127.0.0.1 | awk &#39;{print $2}&#39; | cut -d&#39;/&#39; -f1</pre><p>This command will output the IP address of the host machine.</p><h3>Step 4: Create a Mount Point</h3><p>Create a directory where you want to mount the shared folder. For example, let’s create a directory named shared_folder in your home directory:</p><pre>mkdir ~/shared_folder</pre><h3>Step 5: Mount the Shared Folder</h3><p>Use the mount command to mount the shared folder. Replace host_ip with the IP address of the host machine and shared_folder_name with the name of the shared folder:</p><pre>sudo mount -t cifs //host_ip/shared_folder_name ~/shared_folder -o guest</pre><p>If the shared folder requires authentication, you can provide the username and password as well:</p><pre>sudo mount -t cifs //host_ip/shared_folder_name ~/shared_folder -o username=your_username,password=your_password</pre><h3>Step 6: Verify the Mount</h3><p>Check if the shared folder is mounted correctly by listing the contents of the mount point directory:</p><pre>ls ~/shared_folder</pre><p>You should see the contents of the shared folder listed.</p><h3>Step 7: Access and Modify Files</h3><p>You can now access and modify files in the shared folder directly from your local machine.</p><h3>Step 8: Unmount the Shared Folder (Optional)</h3><p>When you’re done working with the shared folder, you can unmount it using the umount command:</p><pre>sudo umount ~/shared_folder</pre><h3>Step 9: Automount (Optional)</h3><p>If you want the shared folder to be mounted automatically every time your system boots, you can add an entry to the /etc/fstab file.</p><pre>//host_ip/shared_folder_name  /home/your_username/shared_folder  cifs  guest  0  0</pre><p>Replace host_ip, shared_folder_name, and /home/your_username/shared_folder with the appropriate values for your setup.</p><p>After adding this entry, you can either reboot your system or manually mount the shared folder using:</p><pre>sudo mount -a</pre><p>That’s it! You’ve successfully mounted a shared folder using Samba with the correct filesystem type (cifs). You can now access and work with files in the shared folder as needed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=376ac603a004" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>