{"id":347,"date":"2020-10-06T15:17:59","date_gmt":"2020-10-06T13:17:59","guid":{"rendered":"http:\/\/shabazz.fr\/?page_id=347"},"modified":"2025-12-30T18:25:33","modified_gmt":"2025-12-30T17:25:33","slug":"activer-le-partage-samba","status":"publish","type":"page","link":"http:\/\/shabazz.fr\/?page_id=347","title":{"rendered":"Tips &#8211; Activer le partage Samba"},"content":{"rendered":"\n<p>Par d\u00e9faut le service samba n&#8217;est pas activ\u00e9 sur le Mister. Il est int\u00e9ressant de pouvoir acc\u00e9der aux fichiers du Mister via un explorateur de fichier d&#8217;un autre pc de la maison pour manipuler des fichiers comme par exemple les .vhd.<\/p>\n\n\n\n<p>Cela vous \u00e9vitera d&#8217;avoir \u00e0 les t\u00e9l\u00e9charger avec winscp, faire votre modif puis le reverser sur le mister. Vous pourrez les modifier directement.<br><br>Les .vhd peuvent m\u00eame \u00eatre mont\u00e9 directement sur votre pc avec <a href=\"https:\/\/sourceforge.net\/projects\/imdisk-toolkit\/\">ImDisk<\/a> par exemple.<\/p>\n\n\n\n<p>Pour ce faire, aller dans votre r\u00e9pertoire \/media\/fat\/linux. Vous devriez y trouv\u00e9 un fichier _samba.sh. Renommer le en samba.sh.<\/p>\n\n\n\n<p>A ce stade vous pouvez ouvrir votre navigateur et acc\u00e9der \u00e0 votre partage en tapant  \\\\Mister ou bien \\\\192.168.X.XXX (votre adresse ip)<\/p>\n\n\n\n<p class=\"has-large-font-size\"><strong>user: root password: 1<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"405\" height=\"292\" src=\"http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/Sans-titre-1.png\" alt=\"\" class=\"wp-image-348\" style=\"width:201px;height:145px\" srcset=\"http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/Sans-titre-1.png 405w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/Sans-titre-1-300x216.png 300w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/Sans-titre-1-208x150.png 208w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/Sans-titre-1-150x108.png 150w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" \/><\/figure>\n\n\n\n<p>Si vous poss\u00e9der une cl\u00e9 USB ou tout au support pour votre Mister, il vous faudra dans un second temps, vous connecter en ssh avec putty par exemple et modifier le fichier smb.conf avec la commande vim par exemple.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"149\" src=\"http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image.png\" alt=\"\" class=\"wp-image-349\" srcset=\"http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image.png 643w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-300x70.png 300w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-250x58.png 250w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-150x35.png 150w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><figcaption class=\"wp-element-caption\"><br><\/figcaption><\/figure>\n\n\n\n<p>Modifier le fichier comme suit:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"783\" height=\"300\" src=\"http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-1.png\" alt=\"\" class=\"wp-image-350\" srcset=\"http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-1.png 783w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-1-300x115.png 300w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-1-768x294.png 768w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-1-250x96.png 250w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-1-150x57.png 150w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/figure>\n\n\n\n<p>Puis enregistrer en faisant echap :wq!<\/p>\n\n\n\n<p>Un petit reboot du mister et vous aurez acces au partage de votre second media<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"481\" height=\"207\" src=\"http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-2.png\" alt=\"\" class=\"wp-image-351\" srcset=\"http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-2.png 481w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-2-300x129.png 300w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-2-250x108.png 250w, http:\/\/shabazz.fr\/wp-content\/uploads\/2020\/10\/image-2-150x65.png 150w\" sizes=\"auto, (max-width: 481px) 100vw, 481px\" \/><\/figure>\n\n\n\n<p>Enjoy !<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Par d\u00e9faut le service samba n&#8217;est pas activ\u00e9 sur le Mister. Il est int\u00e9ressant de pouvoir acc\u00e9der aux fichiers du Mister via un explorateur de fichier d&#8217;un autre pc de la maison pour manipuler des fichiers comme par exemple les .vhd. Cela vous \u00e9vitera d&#8217;avoir \u00e0 les t\u00e9l\u00e9charger avec winscp, \u2026 <a class=\"continue-reading-link\" href=\"http:\/\/shabazz.fr\/?page_id=347\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":296,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-347","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages\/347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shabazz.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=347"}],"version-history":[{"count":4,"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages\/347\/revisions"}],"predecessor-version":[{"id":1584,"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages\/347\/revisions\/1584"}],"up":[{"embeddable":true,"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages\/296"}],"wp:attachment":[{"href":"http:\/\/shabazz.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}