{"id":11030,"date":"2019-08-19T08:00:23","date_gmt":"2019-08-19T06:00:23","guid":{"rendered":"https:\/\/funrecycler.com\/?p=11030"},"modified":"2019-08-19T08:00:23","modified_gmt":"2019-08-19T06:00:23","slug":"synology-mount-ubuntu-cifs-im-terminal","status":"publish","type":"post","link":"https:\/\/funrecycler.com\/index.php\/2019\/08\/19\/synology-mount-ubuntu-cifs-im-terminal\/","title":{"rendered":"Synology mount Ubuntu Cifs im Terminal"},"content":{"rendered":"\n<p>Freigegebene Ordner sind wohl der wichtigste Punkt eines NAS. Ohne hat das Ger\u00e4t eigentlich wenig Sinn. <br \/>Mit Linux darauf zuzugreifen w\u00e4re sicher \u00fcber NFS die bessere Wahl. Aber in einem heterogenen Netzwerk kann man das auch \u00fcber CIFS machen. Dazu kann man sich ein kleines bash Script schreiben oder auch automatisch mounten. <\/p>\n\n\n<p>sudo mount -t cifs&nbsp;<em>lokaleIP\/photo \/media\/photo -o username=Verbinder,uid=1000,vers=3.0&nbsp;<\/em><\/p>\n\n\n<p>\/media\/photo muss nat\u00fcrlich auf dem eigenen System existieren und auch als Benutzer beschreibbar sein. sudo chmod 777 photo  w\u00e4re eine M\u00f6glichkeit. Die ID des lokalen Benutzers bekommt man mit dem Befehl  &#8222;id Benutzer&#8220; leicht raus. Auf der Synology w\u00e4re es sinnvoll, dass ein gleichnamiger Benutzer mit passenden Berechtigungen existiert. <\/p>\n\n\n<p>Damit dies alles so funktioniert, muss man aber noch auf der Synology unter Systemsteuerung -&gt; SMB\/AFP\/NFS in den erweiterten Einstellungen des SMB Dienstes das maximale SMB Protokoll SMB3 einstellen. <\/p>\n\n\n<p>Unter Ubuntu sollte man noch <\/p>\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/funrecycler.com\/wp-content\/uploads\/2019\/08\/smbv3.png\" alt=\"\" class=\"wp-image-11031\"\/><\/figure>\n\n\n<p><em>sudo apt-get install cifs-utils <\/em><br \/><em>sudo apt-get install nfs-common<\/em><\/p>\n\n\n<p>ausf\u00fchren, damit es l\u00e4uft. <br \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Freigegebene Ordner sind wohl der wichtigste Punkt eines NAS. Ohne hat das Ger\u00e4t eigentlich wenig Sinn. Mit Linux<\/p>\n","protected":false},"author":1,"featured_media":11031,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,9,17],"tags":[589,628,1530,2397,2561,2613,2743],"class_list":["post-11030","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-und-technik","category-linux-computer-und-technik","category-technik-trends","tag-cifs","tag-console","tag-konsole","tag-smb-3","tag-synology","tag-terminal","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/posts\/11030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/comments?post=11030"}],"version-history":[{"count":0,"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/posts\/11030\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/media?parent=11030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/categories?post=11030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/funrecycler.com\/index.php\/wp-json\/wp\/v2\/tags?post=11030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}