{"id":26312,"date":"2022-12-04T10:59:40","date_gmt":"2022-12-04T09:59:40","guid":{"rendered":"https:\/\/ekiwi-blog.de\/?p=26312"},"modified":"2022-12-04T11:00:01","modified_gmt":"2022-12-04T10:00:01","slug":"mount-samba-network-drive-in-linux","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/26312\/mount-samba-network-drive-in-linux\/","title":{"rendered":"Mount Samba network drive in Linux"},"content":{"rendered":"<p>How do I connect to a Windows share in Linux?<\/p>\n<p><!--more--><\/p>\n<p>My netbook should connect to my NAS. This is done with the following command:<\/p>\n<pre>\r\nsudo mount -t cifs -o user=da -o noperm \/\/100.82.252.6\/datacenter \/home\/andy\/datacenter\r\n<\/pre>\n<p>If necessary, the &#8220;cifs-utils&#8221; must be installed if they are not already installed. The whole thing must be started with &#8220;sudo&#8221; and root rights.<\/p>\n<p>We specify &#8220;cifs&#8221; as the type, and with the option &#8220;-o2&#8221; we pass the user name. There is another option &#8220;noperm&#8221;. This is a small workaround, without it we could only use the share for reading, because the root mounts the thing.<\/p>\n<p>The target server and share name follow, followed by the folder in which the share is to be mounted.<\/p>\n\n<div class=\"aawp\">\n\n            \n            \n<div class=\"aawp-product aawp-product--horizontal aawp-product--bestseller aawp-product--ribbon\"  data-aawp-product-asin=\"3446483853\" data-aawp-product-id=\"114061\" data-aawp-tracking-id=\"ekiwide0b-21\" data-aawp-product-title=\"Samba 4  Das Handbuch f\u00fcr Administratoren\">\n\n    <span class=\"aawp-product__ribbon aawp-product__ribbon--bestseller\">Bestseller No. 1<\/span>\n    <div class=\"aawp-product__thumb\">\n        <a class=\"aawp-product__image-link\"\n           href=\"https:\/\/www.amazon.de\/dp\/3446483853?tag=ekiwide0b-21&linkCode=ogi&th=1&psc=1&keywords=samba%20buch\" title=\"Samba 4: Das Handbuch f\u00fcr Administratoren\" rel=\"nofollow noopener sponsored\" target=\"_blank\">\n            <img decoding=\"async\" class=\"aawp-product__image\" src=\"https:\/\/m.media-amazon.com\/images\/I\/41E-PpiE2ML._SL160_.jpg\" alt=\"Samba 4: Das Handbuch f\u00fcr Administratoren\"  \/>\n        <\/a>\n\n            <\/div>\n\n    <div class=\"aawp-product__content\">\n        <a class=\"aawp-product__title\" href=\"https:\/\/www.amazon.de\/dp\/3446483853?tag=ekiwide0b-21&linkCode=ogi&th=1&psc=1&keywords=samba%20buch\" title=\"Samba 4: Das Handbuch f\u00fcr Administratoren\" rel=\"nofollow noopener sponsored\" target=\"_blank\">\n            Samba 4: Das Handbuch f\u00fcr Administratoren        <\/a>\n        <div class=\"aawp-product__description\">\n                    <\/div>\n    <\/div>\n\n    <div class=\"aawp-product__footer\">\n\n        <div class=\"aawp-product__pricing\">\n            \n                            <span class=\"aawp-product__price aawp-product__price--current\">59,99 EUR<\/span>\n            \n            <a href=\"https:\/\/www.amazon.de\/gp\/prime\/?tag=ekiwide0b-21\" title=\"Amazon Prime\" rel=\"nofollow noopener sponsored\" target=\"_blank\" class=\"aawp-check-prime\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/plugins\/aawp\/assets\/img\/icon-check-prime.svg\" height=\"16\" width=\"55\" alt=\"Amazon Prime\" \/><\/a>        <\/div>\n\n                <a class=\"aawp-button aawp-button--buy aawp-button--icon aawp-button--icon-black\" href=\"https:\/\/www.amazon.de\/dp\/3446483853?tag=ekiwide0b-21&#038;linkCode=ogi&#038;th=1&#038;psc=1&#038;keywords=samba%20buch\" title=\"Buy on Amazon\" target=\"_blank\" rel=\"nofollow noopener sponsored\">Buy on Amazon<\/a>\n            <\/div>\n\n<\/div>\n\n            \n            \n<div class=\"aawp-product aawp-product--horizontal aawp-product--ribbon aawp-product--sale aawp-product--bestseller\"  data-aawp-product-asin=\"8551304801\" data-aawp-product-id=\"114062\" data-aawp-tracking-id=\"ekiwide0b-21\" data-aawp-product-title=\"SAMBA!  Curso de l\u00edngua portuguesa para estrangeiro A1-A2\">\n\n    <span class=\"aawp-product__ribbon aawp-product__ribbon--sale\">Sale<\/span><span class=\"aawp-product__ribbon aawp-product__ribbon--bestseller\">Bestseller No. 2<\/span>\n    <div class=\"aawp-product__thumb\">\n        <a class=\"aawp-product__image-link\"\n           href=\"https:\/\/www.amazon.de\/dp\/8551304801?tag=ekiwide0b-21&linkCode=ogi&th=1&psc=1&keywords=samba%20buch\" title=\"SAMBA!: Curso de l\u00edngua portuguesa para estrangeiro A1-A2\" rel=\"nofollow noopener sponsored\" target=\"_blank\">\n            <img decoding=\"async\" class=\"aawp-product__image\" src=\"https:\/\/m.media-amazon.com\/images\/I\/511Sd-X00QL._SL160_.jpg\" alt=\"SAMBA!: Curso de l\u00edngua portuguesa para estrangeiro A1-A2\"  \/>\n        <\/a>\n\n            <\/div>\n\n    <div class=\"aawp-product__content\">\n        <a class=\"aawp-product__title\" href=\"https:\/\/www.amazon.de\/dp\/8551304801?tag=ekiwide0b-21&linkCode=ogi&th=1&psc=1&keywords=samba%20buch\" title=\"SAMBA!: Curso de l\u00edngua portuguesa para estrangeiro A1-A2\" rel=\"nofollow noopener sponsored\" target=\"_blank\">\n            SAMBA!: Curso de l\u00edngua portuguesa para estrangeiro A1-A2        <\/a>\n        <div class=\"aawp-product__description\">\n                    <\/div>\n    <\/div>\n\n    <div class=\"aawp-product__footer\">\n\n        <div class=\"aawp-product__pricing\">\n                                                        \n                            <span class=\"aawp-product__price aawp-product__price--current\">54,03 EUR<\/span>\n            \n                    <\/div>\n\n                <a class=\"aawp-button aawp-button--buy aawp-button--icon aawp-button--icon-black\" href=\"https:\/\/www.amazon.de\/dp\/8551304801?tag=ekiwide0b-21&#038;linkCode=ogi&#038;th=1&#038;psc=1&#038;keywords=samba%20buch\" title=\"Buy on Amazon\" target=\"_blank\" rel=\"nofollow noopener sponsored\">Buy on Amazon<\/a>\n            <\/div>\n\n<\/div>\n\n            \n            \n<div class=\"aawp-product aawp-product--horizontal aawp-product--bestseller aawp-product--ribbon\"  data-aawp-product-asin=\"344646977X\" data-aawp-product-id=\"114063\" data-aawp-tracking-id=\"ekiwide0b-21\" data-aawp-product-title=\"Samba 4  Das Handbuch f\u00fcr Administratoren\">\n\n    <span class=\"aawp-product__ribbon aawp-product__ribbon--bestseller\">Bestseller No. 3<\/span>\n    <div class=\"aawp-product__thumb\">\n        <a class=\"aawp-product__image-link\"\n           href=\"https:\/\/www.amazon.de\/dp\/344646977X?tag=ekiwide0b-21&linkCode=ogi&th=1&psc=1&keywords=samba%20buch\" title=\"Samba 4: Das Handbuch f\u00fcr Administratoren\" rel=\"nofollow noopener sponsored\" target=\"_blank\">\n            <img decoding=\"async\" class=\"aawp-product__image\" src=\"https:\/\/m.media-amazon.com\/images\/I\/41ElSkVXpqL._SL160_.jpg\" alt=\"Samba 4: Das Handbuch f\u00fcr Administratoren\"  \/>\n        <\/a>\n\n            <\/div>\n\n    <div class=\"aawp-product__content\">\n        <a class=\"aawp-product__title\" href=\"https:\/\/www.amazon.de\/dp\/344646977X?tag=ekiwide0b-21&linkCode=ogi&th=1&psc=1&keywords=samba%20buch\" title=\"Samba 4: Das Handbuch f\u00fcr Administratoren\" rel=\"nofollow noopener sponsored\" target=\"_blank\">\n            Samba 4: Das Handbuch f\u00fcr Administratoren        <\/a>\n        <div class=\"aawp-product__description\">\n                    <\/div>\n    <\/div>\n\n    <div class=\"aawp-product__footer\">\n\n        <div class=\"aawp-product__pricing\">\n            \n                            <span class=\"aawp-product__price aawp-product__price--current\">49,99 EUR<\/span>\n            \n            <a href=\"https:\/\/www.amazon.de\/gp\/prime\/?tag=ekiwide0b-21\" title=\"Amazon Prime\" rel=\"nofollow noopener sponsored\" target=\"_blank\" class=\"aawp-check-prime\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/plugins\/aawp\/assets\/img\/icon-check-prime.svg\" height=\"16\" width=\"55\" alt=\"Amazon Prime\" \/><\/a>        <\/div>\n\n                <a class=\"aawp-button aawp-button--buy aawp-button--icon aawp-button--icon-black\" href=\"https:\/\/www.amazon.de\/dp\/344646977X?tag=ekiwide0b-21&#038;linkCode=ogi&#038;th=1&#038;psc=1&#038;keywords=samba%20buch\" title=\"Buy on Amazon\" target=\"_blank\" rel=\"nofollow noopener sponsored\">Buy on Amazon<\/a>\n            <\/div>\n\n<\/div>\n\n    \n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How do I connect to a Windows share in Linux?<\/p>\n","protected":false},"author":1,"featured_media":23181,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[1682],"class_list":["post-26312","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-linux-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/26312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=26312"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/26312\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/23181"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=26312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=26312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=26312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}