{"id":120,"date":"2018-11-25T13:16:19","date_gmt":"2018-11-25T13:16:19","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/partage-un-dossier-du-raspberry-sur-son-reseau-local-samba"},"modified":"2024-04-21T13:19:42","modified_gmt":"2024-04-21T11:19:42","slug":"partage-un-dossier-du-raspberry-sur-son-reseau-local-samba","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/de\/partage-un-dossier-du-raspberry-sur-son-reseau-local-samba","title":{"rendered":"Freigeben eines Raspberry-Ordners \u00fcber sein lokales Netzwerk (Samba)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-119\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2018\/11\/samba-on-raspberry-pi-800x343.jpg\" alt=\"Samba auf Raspberry Pi 800x343\" width=\"367\" height=\"157\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/11\/samba-on-raspberry-pi-800x343.jpg 800w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/11\/samba-on-raspberry-pi-800x343-600x257.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/11\/samba-on-raspberry-pi-800x343-300x129.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2018\/11\/samba-on-raspberry-pi-800x343-768x329.jpg 768w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/p>\n<p><!--more-->Der Einfachheit halber kann es hilfreich sein, einen Ordner auf dem Raspberry zu haben, auf den von seinem PC aus zugegriffen werden kann.<\/p>\n<p>Ich nutze es z. B. f\u00fcr:<\/p>\n<ul>\n<li>Ablegen von Sounddateien, die ich bei Google Home abspielen lasse<\/li>\n<li>Verwenden Sie dieses Dossier als Verbindung zwischen <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/jeedom\" target=\"_blank\" rel=\"noopener noreferrer\">Jeedom <\/a>und <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/ed-win-plateforme-domotique\" target=\"_blank\" rel=\"noopener noreferrer\">Edwin<\/a><\/li>\n<\/ul>\n<p>Zu diesem Zweck beschreibe ich die Installation und Konfiguration von <strong>Samba<\/strong><\/p>\n<p><!--more--><\/p>\n<h1><span id=\"Installer_Samba\">Installieren Sie Samba<\/span><\/h1>\n<p>Denken Sie wie immer vor einer Installation daran, das System zu aktualisieren. Das kann nicht schaden.<\/p>\n<div class=\"line number1 index0 alt2\"><code class=\"bash functions\">sudo<\/code> <code class=\"bash plain\">apt-get update<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><code class=\"bash functions\">sudo<\/code> <code class=\"bash plain\">apt-get upgrade<\/code><\/div>\n<div><\/div>\n<p>Nun kann zur Samba-Anlage \u00fcbergegangen werden:<\/p>\n<p><code class=\"bash functions\">sudo<\/code> <code class=\"bash plain\">apt-get <\/code><code class=\"bash functions\">install<\/code> <code class=\"bash plain\">Samba Samba-Common<\/code><\/p>\n<p>Dann \u00e4ndern wir die Datei. <strong>\/etc\/samba\/smb.conf<\/strong><\/p>\n<p><code>vi \/etc\/samba\/smb.conf<\/code><\/p>\n<p>Alles am Ende der Datei, l\u00f6schen Sie die # um die letzten beiden Zeilen zu entziffern:<\/p>\n<div class=\"line number4 index3 alt1\"><code class=\"bash plain\">Schnittstellen = 127.0.0.0<\/code><code class=\"bash plain\">\/8<\/code> <code class=\"bash plain\">eth0<\/code><\/div>\n<div class=\"line number5 index4 alt2\"><code class=\"bash plain\">bind interfaces only = <\/code><code class=\"bash functions\">yes<\/code><\/div>\n<div><\/div>\n<div>Hinzuzuf\u00fcgen:<\/div>\n<div>\n<p><code>[Teilen]<\/code><br \/>\n<code>wie = Teilen Samba auf Raspberry Pi<\/code><br \/>\n<code>path = \/home\/lionel\/share<\/code><br \/>\n<code>writable = yes<\/code><br \/>\n<code>guest ok = yes<\/code><br \/>\n<code>guest only = yes<\/code><br \/>\n<code>create mask= 0777<\/code><br \/>\n<code>directory mask= 0777<\/code><br \/>\n<code>read only = Nein<\/code><\/p>\n<\/div>\n<div>Und fertig, starten Sie Samba neu und suchen Sie Ihren Raspberry in Ihrem Netzwerk auf dem PC<\/div>\n<div><\/div>\n<div><code class=\"bash functions\">sudo<\/code> <code class=\"bash plain\">systemctl restart smbd.service<\/code><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14],"tags":[94,58],"class_list":["post-120","post","type-post","status-publish","format-standard","hentry","category-domotique","tag-raspberry","tag-samba"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/comments?post=120"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/120\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media?parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/categories?post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/tags?post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}