{"id":133,"date":"2023-12-19T09:52:32","date_gmt":"2023-12-19T09:52:32","guid":{"rendered":"http:\/\/192.168.8.136\/wordpress\/?p=133"},"modified":"2024-01-09T15:51:25","modified_gmt":"2024-01-09T15:51:25","slug":"rpi-nas-part-9-mounting-shares-on-various-systems","status":"publish","type":"post","link":"https:\/\/mpr-projects.com\/index.php\/2023\/12\/19\/rpi-nas-part-9-mounting-shares-on-various-systems\/","title":{"rendered":"RPi NAS: Part 9 Mounting Shares on Various Systems"},"content":{"rendered":"\n<p>In the video in the previous post we installed Greyhole on our Raspberry Pi. We also set up a simple Samba share. In this post we&#8217;re going to mount Samba shares on a few different operating systems.<\/p>\n\n\n<p>This post is part of a series about building a Network-Attached Storage (NAS) with redundancy using a Raspberry Pi (RPi). See <a href=\"https:\/\/mpr-projects.com\/index.php\/2023\/11\/13\/building-a-raspberry-pi-nas-with-data-redundancy-part-1-overview\/#RPi_NAS_Post_List\" data-type=\"post\" data-id=\"8\">here<\/a> for a list of all posts in this series.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" style=\"margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30)\"\/>\n\n\n\n<p>Mounting Samba shares is not difficult and there are lots of resources available online. So this post is mostly for completeness<sup data-fn=\"d196ce9f-f29a-4ac7-a75b-db65a7923abf\" class=\"fn\"><a href=\"#d196ce9f-f29a-4ac7-a75b-db65a7923abf\" id=\"d196ce9f-f29a-4ac7-a75b-db65a7923abf-link\">1<\/a><\/sup> and so you don&#8217;t have to look elsewhere if you&#8217;ve been following this series of posts.<\/p>\n\n\n\n<p>I&#8217;m assuming that you&#8217;re interested in mounting the shares on your main OS. So if you&#8217;re a Windows user then you&#8217;ll probably skip the Linux and macOS sections<sup data-fn=\"a7580570-c94b-4bb2-8a45-4ecc8f293471\" class=\"fn\"><a href=\"#a7580570-c94b-4bb2-8a45-4ecc8f293471\" id=\"a7580570-c94b-4bb2-8a45-4ecc8f293471-link\">2<\/a><\/sup>. Thus each of the three section below (Linux, macOS and Windows) is written independently of the others. So if you read them all then you may find them a bit repetitive.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Linux<\/h2>\n\n\n\n<p>Let&#8217;s start with Linux. We&#8217;ll first look at mounting shares via the command line, which should be quite consistent across different flavours of Linux. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Command Line<\/h3>\n\n\n\n<p>I&#8217;m going to assume that we know the IP-address of the Raspberry Pi, but we may have forgotten the exact names of the Samba shares (that happens to me sometimes). To find out which shares are available on a server we can use<em> smbclient<\/em>. You may have to install it first<sup data-fn=\"647ac712-ad61-4837-a005-2c6518f1e6ff\" class=\"fn\"><a href=\"#647ac712-ad61-4837-a005-2c6518f1e6ff\" id=\"647ac712-ad61-4837-a005-2c6518f1e6ff-link\">3<\/a><\/sup>, then run command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>smbclient -L rpi-ip-address -U%<\/code><\/pre>\n\n\n\n<p>This should give an output similar to the picture below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_cmd_1-1024x535.png\" alt=\"\" class=\"wp-image-608\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_cmd_1-1024x535.png 1024w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_cmd_1-300x157.png 300w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_cmd_1-768x401.png 768w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_cmd_1.png 1290w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To mount a share we first have to create a mount point, for example <em>mkdir \/home\/mpr\/temp_mount<\/em>. To mount shares we use <em>cifs<\/em>. You may have to install <em>cifs-utils<\/em> first<sup data-fn=\"093b8522-1ad3-4b24-941e-cb852795f44e\" class=\"fn\"><a href=\"#093b8522-1ad3-4b24-941e-cb852795f44e\" id=\"093b8522-1ad3-4b24-941e-cb852795f44e-link\">4<\/a><\/sup>. For example, let&#8217;s mount share <em>Photography<\/em> to <em>temp_mount<\/em>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mount -t cifs \/\/192.168.50.210\/Photography \/home\/mpr\/temp_mount -o uid=mpr,user=mpr<\/code><\/pre>\n\n\n\n<p>Option <em>user<\/em> (or <em>username<\/em>) is the name of your Samba user on the Raspberry Pi. Option <em>uid<\/em> refers to the user that owns the files in the mounted Samba shares<sup data-fn=\"c4e6c0b0-bd47-4af5-86b7-e0946a1f7663\" class=\"fn\"><a href=\"#c4e6c0b0-bd47-4af5-86b7-e0946a1f7663\" id=\"c4e6c0b0-bd47-4af5-86b7-e0946a1f7663-link\">5<\/a><\/sup>. Upon running the command we&#8217;ll be asked for the password of our Samba user on the Raspberry Pi. We could also enter the password directly in the command above with option <em>password<\/em>.<\/p>\n\n\n\n<p>If we want to automatically mount the Samba shares when our system boots then we have to edit <em>fstab<\/em>. So let&#8217;s open <em>fstab<\/em> with <code>sudo vim \/etc\/fstab<\/code> and add the following line for each Samba share<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/rpi-ip-address\/ShareName \/path\/to\/mount\/point cifs credentials=\/path\/to\/credentials\/file,uid=username,gid=username 0 0<\/code><\/pre>\n\n\n\n<p>For example, it could look like this:<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69e7a95a8b994&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e7a95a8b994\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"42\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_cmd_2-1024x42.png\" alt=\"\" class=\"wp-image-609\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_cmd_2-1024x42.png 1024w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_cmd_2-300x12.png 300w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_cmd_2-768x31.png 768w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_cmd_2-1536x63.png 1536w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_cmd_2.png 1906w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>The credentials file is a file that contains our username and password so we don&#8217;t have to put them into <em>fstab<\/em> directly. For example<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>username=mpr\npassword=123<\/code><\/pre>\n\n\n\n<p>Since we don&#8217;t want everybody to be able to read our username and password we should set strict permissions on that file, for example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chmod 600 \/home\/mpr\/rpi-nas\/.smbcredentials<\/code><\/pre>\n\n\n\n<p>You can also change the ownership of <em>.smbcredentials<\/em> to root with <code>sudo chown root:root \/home\/mpr\/rpi-nas\/.smbcredentials<\/code>. That may add some extra security.<\/p>\n\n\n\n<p>As always when editing <em>fstab<\/em>, reload the daemon and check if everything is ok:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl daemon-reload\nsudo findmnt --verify<\/code><\/pre>\n\n\n\n<p>The shares will now be auto-mounted on boot (if they are available). You can also run <code>sudo mount -a<\/code> to manually mount all filesystems specified in <em>fstab<\/em>.<\/p>\n\n\n\n<p>You may lose the connection to the Samba shares temporarily, for example when you disconnect from the network. Once you reconnect the connection will be restored and you&#8217;ll have access to the Samba shares again<sup data-fn=\"d0ba1fa9-5264-444d-8b02-a1e0b818183a\" class=\"fn\"><a href=\"#d0ba1fa9-5264-444d-8b02-a1e0b818183a\" id=\"d0ba1fa9-5264-444d-8b02-a1e0b818183a-link\">6<\/a><\/sup>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Graphical Option<\/h3>\n\n\n\n<p>Some Desktop Environments provide graphical options for connecting to Samba shares. As an example we&#8217;ll look at Gnome on Ubuntu. Open <em>Files<\/em> (Nautilus) and click on <em>Network<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1206\" height=\"542\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_1.png\" alt=\"\" class=\"wp-image-618\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_1.png 1206w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_1-300x135.png 300w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_1-1024x460.png 1024w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_1-768x345.png 768w\" sizes=\"auto, (max-width: 1206px) 100vw, 1206px\" \/><\/figure>\n\n\n\n<p>Our NAS is right there as <em>RPI-NAS<\/em>. Double-click it and you&#8217;ll see the available shares.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"367\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_2-1024x367.png\" alt=\"\" class=\"wp-image-620\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_2-1024x367.png 1024w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_2-300x108.png 300w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_2-768x275.png 768w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_2-1536x551.png 1536w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_2.png 1880w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Double-click a share to access it. You&#8217;ll be asked to log in with the credentials of your Samba user on the Raspberry Pi.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69e7a95a8bf69&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e7a95a8bf69\" class=\"wp-block-image aligncenter size-medium wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"257\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_3-300x257.png\" alt=\"\" class=\"wp-image-614\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_3-300x257.png 300w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_3-1024x878.png 1024w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_3-768x658.png 768w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Linux_gui_3.png 1078w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Note, you will only be able to access a share if the permissions set on the Raspberry Pi permit it (we&#8217;ll look at that in more detail in the next post). <\/p>\n\n\n\n<p>Finally, what we&#8217;ve done in this section is not identical to the previous section. On the command line we mounted a share to a directory of our choosing. In this section the share gets mounted to the place determined by Desktop Environment. For most (all?) uses that I&#8217;ve got in mind for my NAS that&#8217;s perfectly fine<sup data-fn=\"6c1aacb4-1e1d-4ae6-bf0a-14be212683d2\" class=\"fn\"><a href=\"#6c1aacb4-1e1d-4ae6-bf0a-14be212683d2\" id=\"6c1aacb4-1e1d-4ae6-bf0a-14be212683d2-link\">7<\/a><\/sup>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">macOS<\/h2>\n\n\n\n<p>Let&#8217;s have a look at macOS. First things first, I only have access to a 2013 MacBook Air which runs High Sierra. From what I&#8217;ve found online the commands below should still work on newer versions of macOS but I haven&#8217;t been able to test that.<\/p>\n\n\n\n<p>You don&#8217;t need to install any additional software to mount Samba shares on macOS. Let&#8217;s start with mounting shares from the command line.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Command Line<\/h3>\n\n\n\n<p>I&#8217;m going to assume that we know the IP-address of the Raspberry Pi, but we may have forgotten the exact names of the Samba shares (that happens to me sometimes). First let&#8217;s open the <em>Terminal<\/em>. To find out which shares are available on a server we can use<em> smbutil<\/em>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>smbutil view -g \/\/rpi-ip-address<\/code><\/pre>\n\n\n\n<p>This should give an output similar to the picture below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"637\" height=\"200\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2024\/01\/Mounting_Shares_Mac_cmd_1_blurred_cropped.png\" alt=\"\" class=\"wp-image-1229\" style=\"width:699px;height:auto\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2024\/01\/Mounting_Shares_Mac_cmd_1_blurred_cropped.png 637w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2024\/01\/Mounting_Shares_Mac_cmd_1_blurred_cropped-300x94.png 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/figure>\n\n\n\n<p>To mount a share we first have to create a mount point, for example <em>mkdir \/Users\/mpr\/Photography<\/em>. To mount a share we run<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mount -t smbfs \/\/mpr@rpi-ip-address<\/code><\/pre>\n\n\n\n<p>Instead of <em>mpr<\/em> use the name of your Samba user on the Raspberry Pi. Upon running the command we&#8217;ll be asked for the password of our Samba user on the Raspberry Pi. We could also enter the password directly in the command by replacing <em>\/\/username@rpi-ip-address<\/em> with <em>\/\/username:password@rpi-ip-address<\/em> .<\/p>\n\n\n\n<p>To automatically mount Samba shares on boot we can use <em>launchd <\/em><sup data-fn=\"bdf672d3-8df5-42ba-9767-96a6c0ddd1b5\" class=\"fn\"><a href=\"#bdf672d3-8df5-42ba-9767-96a6c0ddd1b5\" id=\"bdf672d3-8df5-42ba-9767-96a6c0ddd1b5-link\">8<\/a><\/sup>. We&#8217;re going to place the following script in <em>\/Users\/mpr\/Library\/LaunchAgents<\/em>. You can give it any name you like, for example <em>rpi_nas_photography.plist<\/em> (the ending has to be <em>.plist<\/em>).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;!DOCTYPE plist PUBLIC \"-\/\/Apple\/\/DTD PLIST 1.0\/\/EN\" \"http:\/\/www.apple.com\/DTDs\/PropertyList-1.0.dtd\"&gt;\n&lt;plist version=\"1.0\"&gt;\n    &lt;dict&gt;\n        &lt;key&gt;Label&lt;\/key&gt;\n        &lt;string&gt;nas_mounts&lt;\/string&gt;\n        &lt;key&gt;ProgramArguments&lt;\/key&gt;\n        &lt;array&gt;\n            &lt;string&gt;\/sbin\/mount&lt;\/string&gt;\n            &lt;string&gt;-t&lt;\/string&gt;\n            &lt;string&gt;smbfs&lt;\/string&gt;\n            &lt;string&gt;\/\/username:password@192.168.50.210\/Photography&lt;\/string&gt;\n            &lt;string&gt;\/Users\/mpr\/Documents\/Photography&lt;\/string&gt;\n        &lt;\/array&gt;\n        &lt;key&gt;RunAtLoad&lt;\/key&gt;\n        &lt;true\/&gt;\n    &lt;\/dict&gt;\n&lt;\/plist&gt;<\/code><\/pre>\n\n\n\n<p>Replace <em>username<\/em> and <em>password<\/em> with the username and password of you Samba user on the Raspberry Pi (and replace the IP-address and paths with those appropriate for your system).<\/p>\n\n\n\n<p>I don&#8217;t know of the best way of auto-mounting Samba shares on boot <em>without adding your password<\/em> directly into the script above. I&#8217;ve seen one description <a href=\"https:\/\/www.geekbitzone.com\/posts\/2023\/macos\/macos-network-shares\/macos-mount-network-share-without-finder-window\/#storing-smb-passwords-in-the-keychain\">here<\/a> but that uses quite a different approach<sup data-fn=\"14d8cea9-1c41-4790-bcfc-db07fc38365f\" class=\"fn\"><a href=\"#14d8cea9-1c41-4790-bcfc-db07fc38365f\" id=\"14d8cea9-1c41-4790-bcfc-db07fc38365f-link\">9<\/a><\/sup> (and it feels quite long). If you know of a way that integrates nicely with the code above then let me know and I&#8217;ll update this page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Graphical Option<\/h3>\n\n\n\n<p>If you don&#8217;t need to mount the Samba shares to a particular folder then you can just use the graphical user interface. Open <em>Finder<\/em>. Under <em>Shared<\/em> you will see the name of your NAS, here it&#8217;s <em>RPI-NAS.<\/em> Click it to see the available shares.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"766\" height=\"378\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Mac_gui_1.png\" alt=\"\" class=\"wp-image-626\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Mac_gui_1.png 766w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Mac_gui_1-300x148.png 300w\" sizes=\"auto, (max-width: 766px) 100vw, 766px\" \/><\/figure>\n\n\n\n<p>On the top right of the window click on <em>Connect As&#8230;<\/em> and enter the username and password of your Samba user on the Raspberry Pi.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69e7a95a8c5bb&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e7a95a8c5bb\" class=\"wp-block-image aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"425\" height=\"280\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Mac_gui_2.png\" alt=\"\" class=\"wp-image-628\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Mac_gui_2.png 425w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Mac_gui_2-300x198.png 300w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>You can save the password to <em>keychain<\/em> if you like<sup data-fn=\"4213c384-ad22-494d-845d-afe2c7be1c5d\" class=\"fn\"><a href=\"#4213c384-ad22-494d-845d-afe2c7be1c5d\" id=\"4213c384-ad22-494d-845d-afe2c7be1c5d-link\">10<\/a><\/sup>. Note, you will only be able to access a share if the permissions set on the Raspberry Pi permit it (we&#8217;ll look at that in more detail in the next post). <\/p>\n\n\n\n<p>Finally, what we&#8217;ve done in this section is not identical to the previous section. On the command line we mounted a share to a directory of our choosing. In this section the share gets mounted to the place shown in <em>Finder<\/em>. For most (all?) uses that I&#8217;ve got in mind for my NAS that&#8217;s perfectly fine<sup data-fn=\"6c1aacb4-1e1d-4ae6-bf0a-14be212683d2\" class=\"fn\"><a href=\"#6c1aacb4-1e1d-4ae6-bf0a-14be212683d2\" id=\"6c1aacb4-1e1d-4ae6-bf0a-14be212683d2-link\">7<\/a><\/sup>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Windows<\/h2>\n\n\n\n<p>Samba was originally created for Windows so it&#8217;s supported out-of-the-box. Since you&#8217;re a Windows user I&#8217;m assuming that you&#8217;re not so interested in using the command line so we&#8217;ll focus on the graphical method. It&#8217;s very easy to connect to the Samba shares on the Raspberry Pi. Below we&#8217;ll do it on Windows 10<sup data-fn=\"e20b9cf0-4433-4ae5-b483-c5996cde9030\" class=\"fn\"><a href=\"#e20b9cf0-4433-4ae5-b483-c5996cde9030\" id=\"e20b9cf0-4433-4ae5-b483-c5996cde9030-link\">12<\/a><\/sup>.<\/p>\n\n\n\n<p>Open the File Explorer (e.g. by pressing the Windows key, typing <em>Explorer<\/em> and pressing enter). In the address bar type <code>\\\\rpi-ip-address<\/code> (note the double backslash). In my network the RPi has address 192.168.50.210 so it looks like:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"481\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_1-1-1024x481.png\" alt=\"\" class=\"wp-image-599\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_1-1-1024x481.png 1024w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_1-1-300x141.png 300w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_1-1-768x361.png 768w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_1-1.png 1098w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If the username and password of your Samba user on the RPi are identical to those of your Windows account then you&#8217;ll immediately see the available shares. Otherwise you&#8217;ll be asked to identify yourself.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69e7a95a8cba1&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e7a95a8cba1\" class=\"wp-block-image aligncenter size-medium wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"234\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_2-1-300x234.png\" alt=\"\" class=\"wp-image-600\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_2-1-300x234.png 300w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_2-1-768x600.png 768w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_2-1.png 916w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Enter your username and password. If you want Windows to automatically connect to Samba shares after booting up (or if you don&#8217;t want to enter your details after every boot), then you&#8217;ll have to select <em>Remember my credentials<\/em>. Press <em>OK<\/em>. Now you should see the Samba shares on the RPi.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_3-1024x593.png\" alt=\"\" class=\"wp-image-601\"\/><\/figure>\n\n\n\n<p>You can open a share and access data on it like you would on any local folder<sup data-fn=\"45f89b70-8421-4468-af2a-142a7f6fabe3\" class=\"fn\"><a href=\"#45f89b70-8421-4468-af2a-142a7f6fabe3\" id=\"45f89b70-8421-4468-af2a-142a7f6fabe3-link\">13<\/a><\/sup>. If you want your system to automatically connect to a share then<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>right-click the share,<\/li>\n\n\n\n<li>click <em>Map network drive<\/em>,<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"889\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_4-1024x889.png\" alt=\"\" class=\"wp-image-603\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_4-1024x889.png 1024w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_4-300x260.png 300w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_4-768x667.png 768w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_4.png 1212w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>pick your <em>Drive<\/em> (I&#8217;ve chosen <em>M:<\/em>),<\/li>\n\n\n\n<li>select <em>Reconnect at sign-in<\/em>, and<\/li>\n\n\n\n<li>press <em>Finish<\/em>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"757\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_5-1024x757.png\" alt=\"\" class=\"wp-image-604\" srcset=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_5-1024x757.png 1024w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_5-300x222.png 300w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_5-768x568.png 768w, https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_5.png 1226w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>That&#8217;s it. You should now see the Samba share mapped under <em>Network locations<\/em> under <em>This PC<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/mpr-projects.com\/wp-content\/uploads\/2023\/12\/Mounting_Shares_Windows_6-1024x593.png\" alt=\"\" class=\"wp-image-605\"\/><\/figure>\n\n\n\n<p>You may lose the connection to the Samba shares temporarily, for example when you disconnect from the network. Once you reconnect the connection will be restored and you&#8217;ll have access to the Samba shares again.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" style=\"margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30)\"\/>\n\n\n\n<p>Footnotes:<\/p>\n\n\n<ol class=\"wp-block-footnotes\"><li id=\"d196ce9f-f29a-4ac7-a75b-db65a7923abf\">After having gone through the hardware and software setup in quite some detail I can&#8217;t skip the mounting of Samba shares &#8230; <a href=\"#d196ce9f-f29a-4ac7-a75b-db65a7923abf-link\" aria-label=\"Jump to footnote reference 1\">\u21a9\ufe0e<\/a><\/li><li id=\"a7580570-c94b-4bb2-8a45-4ecc8f293471\">Sure some of you will use multiple systems but I can&#8217;t assume that to be true in general. <a href=\"#a7580570-c94b-4bb2-8a45-4ecc8f293471-link\" aria-label=\"Jump to footnote reference 2\">\u21a9\ufe0e<\/a><\/li><li id=\"647ac712-ad61-4837-a005-2c6518f1e6ff\">For example <code>sudo pacman -S smbclient<\/code> on Pacman-based distributions or <code>sudo apt install smbclient<\/code> on Debian\/Ubuntu\/etc. <a href=\"#647ac712-ad61-4837-a005-2c6518f1e6ff-link\" aria-label=\"Jump to footnote reference 3\">\u21a9\ufe0e<\/a><\/li><li id=\"093b8522-1ad3-4b24-941e-cb852795f44e\">For example <em>sudo pacman -S cifs-utils<\/em> on Pacman-based distributions or <code>sudo apt install cifs-utils<\/code> on Debian\/Ubuntu\/etc. <a href=\"#093b8522-1ad3-4b24-941e-cb852795f44e-link\" aria-label=\"Jump to footnote reference 4\">\u21a9\ufe0e<\/a><\/li><li id=\"c4e6c0b0-bd47-4af5-86b7-e0946a1f7663\">According to <code>man mount.cifs<\/code> <em>uid<\/em> &#8220;sets the uid that will own all files or directories on the mounted filesystem when the server does not provide ownership information&#8221;. Without Unix Extensions (which are only available for the deprecated Samba version 1 protocol and have to be turned off for Greyhole anyway) the server doesn&#8217;t provide ownership information. So without <em>uid<\/em> we won&#8217;t be able to change any files or directories. We&#8217;ll look at that a bit more in the next post.  <a href=\"#c4e6c0b0-bd47-4af5-86b7-e0946a1f7663-link\" aria-label=\"Jump to footnote reference 5\">\u21a9\ufe0e<\/a><\/li><li id=\"d0ba1fa9-5264-444d-8b02-a1e0b818183a\">That&#8217;s what happens on my computer which runs Arch Linux. I did not test it thoroughly on other flavours of Linux! <a href=\"#d0ba1fa9-5264-444d-8b02-a1e0b818183a-link\" aria-label=\"Jump to footnote reference 6\">\u21a9\ufe0e<\/a><\/li><li id=\"6c1aacb4-1e1d-4ae6-bf0a-14be212683d2\">I see very little practical difference to mounting a share with <em>fstab<\/em> when you let Gnome save your credentials. It won&#8217;t auto-mount on boot but only when you try to connect to it, but that may be an advantage. If you mount a share (without intending to use it) then the drive containing the Samba shares will spin up without getting used &#8230; <a href=\"#6c1aacb4-1e1d-4ae6-bf0a-14be212683d2-link\" aria-label=\"Jump to footnote reference 7\">\u21a9\ufe0e<\/a><\/li><li id=\"bdf672d3-8df5-42ba-9767-96a6c0ddd1b5\">See <a href=\"https:\/\/www.launchd.info\">https:\/\/www.launchd.info<\/a> for a good tutorial. <a href=\"#bdf672d3-8df5-42ba-9767-96a6c0ddd1b5-link\" aria-label=\"Jump to footnote reference 8\">\u21a9\ufe0e<\/a><\/li><li id=\"14d8cea9-1c41-4790-bcfc-db07fc38365f\">I haven&#8217;t tested that approach. <a href=\"#14d8cea9-1c41-4790-bcfc-db07fc38365f-link\" aria-label=\"Jump to footnote reference 9\">\u21a9\ufe0e<\/a><\/li><li id=\"4213c384-ad22-494d-845d-afe2c7be1c5d\">If you save your credentials to keychain then you won&#8217;t have to retype them which is convenient but a bit less secure. <a href=\"#4213c384-ad22-494d-845d-afe2c7be1c5d-link\" aria-label=\"Jump to footnote reference 10\">\u21a9\ufe0e<\/a><\/li><li id=\"6c1aacb4-1e1d-4ae6-bf0a-14be212683d2\">I see very little practical difference to mounting a share with <em>fstab<\/em> when you let Gnome save your credentials. It won&#8217;t auto-mount on boot but only when you try to connect to it, but that may be an advantage. If you mount a share (without intending to use it) then the drive containing the Samba shares will spin up without getting used &#8230; <a href=\"#6c1aacb4-1e1d-4ae6-bf0a-14be212683d2-link\" aria-label=\"Jump to footnote reference 11\">\u21a9\ufe0e<\/a><\/li><li id=\"e20b9cf0-4433-4ae5-b483-c5996cde9030\">I&#8217;ll also assume that you have no complicated <em>Workgroup<\/em> setup. By default Greyhole assumes the workgroup to be called <em>WORKGROUP<\/em>. We won&#8217;t make any changes to that here. <a href=\"#e20b9cf0-4433-4ae5-b483-c5996cde9030-link\" aria-label=\"Jump to footnote reference 12\">\u21a9\ufe0e<\/a><\/li><li id=\"45f89b70-8421-4468-af2a-142a7f6fabe3\">Actually, you can only access Samba shares if you have the right permissions. We&#8217;ll look at that in more detail in the next post. <a href=\"#45f89b70-8421-4468-af2a-142a7f6fabe3-link\" aria-label=\"Jump to footnote reference 13\">\u21a9\ufe0e<\/a><\/li><\/ol>","protected":false},"excerpt":{"rendered":"<p>In the video in the previous post we installed Greyhole on our Raspberry Pi. We also set up a simple Samba share. In this post we&#8217;re going to mount Samba shares on a few different operating systems. Mounting Samba shares is not difficult and there are lots of resources available online. So this post is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":923,"comment_status":"open","ping_status":"open","sticky":false,"template":"wp-custom-template-single-with-sidebar-1","format":"standard","meta":{"_eb_attr":"","footnotes":"[{\"content\":\"After having gone through the hardware and software setup in quite some detail I can't skip the mounting of Samba shares ...\",\"id\":\"d196ce9f-f29a-4ac7-a75b-db65a7923abf\"},{\"content\":\"Sure some of you will use multiple systems but I can't assume that to be true in general.\",\"id\":\"a7580570-c94b-4bb2-8a45-4ecc8f293471\"},{\"content\":\"For example <code>sudo pacman -S smbclient<\/code> on Pacman-based distributions or <code>sudo apt install smbclient<\/code> on Debian\/Ubuntu\/etc.\",\"id\":\"647ac712-ad61-4837-a005-2c6518f1e6ff\"},{\"content\":\"For example <em>sudo pacman -S cifs-utils<\/em> on Pacman-based distributions or <code>sudo apt install cifs-utils<\/code> on Debian\/Ubuntu\/etc.\",\"id\":\"093b8522-1ad3-4b24-941e-cb852795f44e\"},{\"content\":\"According to <code>man mount.cifs<\/code> <em>uid<\/em> \\\"sets the uid that will own all files or directories on the mounted filesystem when the server does not provide ownership information\\\". Without Unix Extensions (which are only available for the deprecated Samba version 1 protocol and have to be turned off for Greyhole anyway) the server doesn't provide ownership information. So without <em>uid<\/em> we won't be able to change any files or directories. We'll look at that a bit more in the next post. \",\"id\":\"c4e6c0b0-bd47-4af5-86b7-e0946a1f7663\"},{\"content\":\"That's what happens on my computer which runs Arch Linux. I did not test it thoroughly on other flavours of Linux!\",\"id\":\"d0ba1fa9-5264-444d-8b02-a1e0b818183a\"},{\"content\":\"I see very little practical difference to mounting a share with <em>fstab<\/em> when you let Gnome save your credentials. It won't auto-mount on boot but only when you try to connect to it, but that may be an advantage. If you mount a share (without intending to use it) then the drive containing the Samba shares will spin up without getting used ...\",\"id\":\"6c1aacb4-1e1d-4ae6-bf0a-14be212683d2\"},{\"content\":\"See <a href=\\\"https:\/\/www.launchd.info\\\">https:\/\/www.launchd.info<\/a> for a good tutorial.\",\"id\":\"bdf672d3-8df5-42ba-9767-96a6c0ddd1b5\"},{\"content\":\"I haven't tested that approach.\",\"id\":\"14d8cea9-1c41-4790-bcfc-db07fc38365f\"},{\"content\":\"If you save your credentials to keychain then you won't have to retype them which is convenient but a bit less secure.\",\"id\":\"4213c384-ad22-494d-845d-afe2c7be1c5d\"},{\"content\":\"I see very little practical difference to mounting a share with <em>fstab<\/em> when you let Gnome save your credentials. It won't auto-mount on boot but only when you try to connect to it, but that may be an advantage. If you mount a share (without intending to use it) then the drive containing the Samba shares will spin up without getting used ...\",\"id\":\"6c1aacb4-1e1d-4ae6-bf0a-14be212683d2\"},{\"content\":\"I'll also assume that you have no complicated <em>Workgroup<\/em> setup. By default Greyhole assumes the workgroup to be called <em>WORKGROUP<\/em>. We won't make any changes to that here.\",\"id\":\"e20b9cf0-4433-4ae5-b483-c5996cde9030\"},{\"content\":\"Actually, you can only access Samba shares if you have the right permissions. We'll look at that in more detail in the next post.\",\"id\":\"45f89b70-8421-4468-af2a-142a7f6fabe3\"}]"},"categories":[3,10],"tags":[9,7,4,5],"class_list":["post-133","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-projects","tag-data-safety","tag-greyhole","tag-linux","tag-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/posts\/133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/comments?post=133"}],"version-history":[{"count":26,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/posts\/133\/revisions"}],"predecessor-version":[{"id":1230,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/posts\/133\/revisions\/1230"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/media\/923"}],"wp:attachment":[{"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/media?parent=133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/categories?post=133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mpr-projects.com\/index.php\/wp-json\/wp\/v2\/tags?post=133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}