{"id":34,"date":"2002-08-18T00:12:47","date_gmt":"2002-08-18T00:12:47","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=14"},"modified":"2008-07-24T23:55:23","modified_gmt":"2008-07-25T04:55:23","slug":"mounted","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2002\/mounted\/","title":{"rendered":"Samba Notes"},"content":{"rendered":"<p>First step, set up a linux user and a Windows logon that match.<\/p>\n<p><B>Viewing Windows shares from linux<\/B><br \/>\nType the following (eventually set it up to run on boot):<br \/>\n<HR NOSHADE SIZE=\"1\"><br \/>\nmount -t smbfs \/\/sharename\/c \/mnt\/sharename_c -o username=### -orw -ofmask=777 -odmask=777 -ouid=www<br \/>(### = your Windows\/linux logon name)<\/p>\n<p><B>Viewing linux partitions from Windows<\/B><br \/>\nSet up \/etc\/samba\/smb.cnf as follow<br \/>\nthen run [\/etc\/rc.d\/init.d\/smb restart]<br \/>\n<HR NOSHADE SIZE=\"1\"><br \/>\n  workgroup = ####  (set to match Windows PC&#8217;s)<br \/>\n  hosts allow = 192.168.###.  (### = your LAN&#8217;s range)<br \/>\n  [root]<br \/>\n   comment = root path<br \/>\n   path = \/<br \/>\n   public = yes<br \/>\n   writable = yes<br \/>\n   printable = no<br \/>\n   write list = @###   (### = your Windows\/linux logon name)<br \/>\n   create mask = 0755<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First step, set up a linux user and a Windows logon that match. Viewing Windows shares from linux Type the following (eventually set it up to run on boot): mount -t smbfs \/\/sharename\/c \/mnt\/sharename_c -o username=### -orw -ofmask=777 -odmask=777 -ouid=www(### = your Windows\/linux logon name) Viewing linux partitions from Windows Set up \/etc\/samba\/smb.cnf as follow [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[10],"tags":[],"class_list":["post-34","post","type-post","status-publish","format-standard","hentry","category-tricks-tips-tools"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s9M11L-mounted","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/34","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":1,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"predecessor-version":[{"id":293,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/34\/revisions\/293"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}