{"id":1869,"date":"2018-05-06T22:17:03","date_gmt":"2018-05-06T20:17:03","guid":{"rendered":"http:\/\/van-maanen.com\/?p=1869"},"modified":"2018-05-06T22:17:03","modified_gmt":"2018-05-06T20:17:03","slug":"mounting-drives","status":"publish","type":"post","link":"http:\/\/archief.van-maanen.com\/?p=1869","title":{"rendered":"mounting drives"},"content":{"rendered":"<p>Today, I played a bit with mounting external drives. Boy, that was more difficult than I thought.<br \/>\nThe situation was a follows. I had a linux desktop and I wanted to use network resources. I have a NAS, a samba drive and a few windows shares.<br \/>\nA the end of the day, I only got the samba drive working. This was a directory on a raspberryPi. The directory is made available through samba. The terminal commands are:<\/p>\n<pre>\nsudo mkdir \/media\/samba\/startTom\nsudo chmod 777 -R \/media\/samba\nsudo mount -t cifs -o username=pi,password=bunvogni \/\/192.168.2.15\/share \/media\/samba\/rasp\n<\/pre>\n<p>One has to issue these commands every time the machine is booted.<br \/>\nAn alternative is to have it included in the \/etc\/fstab file that needs next line:<\/p>\n<pre>\n\/\/192.168.2.15\/share \/media\/samba\/rasp cifs rw,username=pi,password=bunvogni,uid=1000,gid=1000 0 0\n<\/pre>\n<p>That is all I got. No access to windows shares, no access to my NAS. Hum, Windows is easier is this respect.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, I played a bit with mounting external drives. Boy, that was more difficult than I thought. The situation was a follows. I had a linux desktop and I wanted to use network resources. I have a NAS, a samba drive and a few windows shares. A the end of the day, I only got [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1869","post","type-post","status-publish","format-standard","hentry","category-allgemein"],"_links":{"self":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts\/1869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1869"}],"version-history":[{"count":0,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts\/1869\/revisions"}],"wp:attachment":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1869"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}