http://wiki.dd-wrt.com/wiki/index.php?title=Samba_filesystem&limit=50&action=history&feed=atom Samba filesystem - Revision history 2024-03-29T15:13:49Z Revision history for this page on the wiki MediaWiki 1.10.1 http://wiki.dd-wrt.com/wiki/index.php?title=Samba_filesystem&diff=56017&oldid=prev Kernel-panic69 at 14:14, 16 September 2021 2021-09-16T14:14:56Z <p></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 14:14, 16 September 2021</td> </tr> <tr><td colspan="2" align="left"><strong>Line 2:</strong></td> <td colspan="2" align="left"><strong>Line 2:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Samba is one of a number of [[network file systems]] available to the DD-WRT platform. A network file system allows for sharing the contents of directories or entire drives across a network. In DD-WRT this can work both ways: You can run a Samba server on your main computer and run a client on your router (thus gaining writable storage for the router) or you can use Samba to share a drive connected (typically by [[USB]]) to the router among all the computers connected to your network.</td><td> </td><td style="background: #eee; font-size: smaller;">Samba is one of a number of [[network file systems]] available to the DD-WRT platform. A network file system allows for sharing the contents of directories or entire drives across a network. In DD-WRT this can work both ways: You can run a Samba server on your main computer and run a client on your router (thus gaining writable storage for the router) or you can use Samba to share a drive connected (typically by [[USB]]) to the router among all the computers connected to your network.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">''Standard and larger versions of DD-WRT contain the Samba/CIFS client. Mini and Micro versions of DD-WRT do not contain Samba/CIFS. See the Wiki page [[<del style="color: red; font-weight: bold; text-decoration: none;">What is DD-WRT?#File Versions</del>]].''</td><td>+</td><td style="background: #cfc; font-size: smaller;">''Standard and larger versions of DD-WRT contain the Samba/CIFS client. Mini and Micro versions of DD-WRT do not contain Samba/CIFS. See the Wiki page [[<ins style="color: red; font-weight: bold; text-decoration: none;">Version Features</ins>]].''</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">== Running a Samba client on DD-WRT ==</td><td> </td><td style="background: #eee; font-size: smaller;">== Running a Samba client on DD-WRT ==</td></tr> </table> Kernel-panic69 http://wiki.dd-wrt.com/wiki/index.php?title=Samba_filesystem&diff=39442&oldid=prev Kt haddock: /* Note for Windows Server 2003/ Vista/ 7 */ 2011-02-15T14:01:16Z <p><span class="autocomment">Note for Windows Server 2003/ Vista/ 7</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 14:01, 15 February 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 145:</strong></td> <td colspan="2" align="left"><strong>Line 145:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> security = SHARE</td><td> </td><td style="background: #eee; font-size: smaller;"> security = SHARE</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> # don't ask for a password</td><td> </td><td style="background: #eee; font-size: smaller;"> # don't ask for a password</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> <del style="color: red; font-weight: bold; text-decoration: none;">]</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"> </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> [Optware]</td><td> </td><td style="background: #eee; font-size: smaller;"> [Optware]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> path = /opt</td><td> </td><td style="background: #eee; font-size: smaller;"> path = /opt</td></tr> <tr><td colspan="2" align="left"><strong>Line 151:</strong></td> <td colspan="2" align="left"><strong>Line 151:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> read only = No</td><td> </td><td style="background: #eee; font-size: smaller;"> read only = No</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> guest ok = Yes</td><td> </td><td style="background: #eee; font-size: smaller;"> guest ok = Yes</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> <del style="color: red; font-weight: bold; text-decoration: none;">]</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"> </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> [Public]</td><td> </td><td style="background: #eee; font-size: smaller;"> [Public]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> path = /mnt</td><td> </td><td style="background: #eee; font-size: smaller;"> path = /mnt</td></tr> <tr><td colspan="2" align="left"><strong>Line 157:</strong></td> <td colspan="2" align="left"><strong>Line 157:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> read only = No</td><td> </td><td style="background: #eee; font-size: smaller;"> read only = No</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> guest ok = Yes</td><td> </td><td style="background: #eee; font-size: smaller;"> guest ok = Yes</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> <del style="color: red; font-weight: bold; text-decoration: none;">]</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"> </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> #guest ok = yes:</td><td> </td><td style="background: #eee; font-size: smaller;"> #guest ok = yes:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> #guest user 'nobody' is allowed and has access as 'valid users' is not specified (so all users are allowed).</td><td> </td><td style="background: #eee; font-size: smaller;"> #guest user 'nobody' is allowed and has access as 'valid users' is not specified (so all users are allowed).</td></tr> </table> Kt haddock http://wiki.dd-wrt.com/wiki/index.php?title=Samba_filesystem&diff=35384&oldid=prev Ccdoggy: /* Troubleshooting */ 2010-08-22T03:56:37Z <p><span class="autocomment">Troubleshooting</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 03:56, 22 August 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 242:</strong></td> <td colspan="2" align="left"><strong>Line 242:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">On the server side, see if you can enable guest access (on a Samba server, set guest OK = yes in your smb.conf file). If that helps, the problem is a matter of either user name resolution or passwords.</td><td> </td><td style="background: #eee; font-size: smaller;">On the server side, see if you can enable guest access (on a Samba server, set guest OK = yes in your smb.conf file). If that helps, the problem is a matter of either user name resolution or passwords.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">If you are having windows 7 access issues try adding 'host msdf = no' into the global area of your samba config file. I am not sure exactly what is happening but windows 7 seems to sometimes make samba think its a ms distributed filesystem host and so refuses to show access to files unless you map the device to a drive. This cleared it up for me and is working great accessing with a windows 7 box.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Samba]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Samba]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Basic tutorials]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Basic tutorials]]</td></tr> </table> Ccdoggy http://wiki.dd-wrt.com/wiki/index.php?title=Samba_filesystem&diff=35240&oldid=prev Masterman: /* Note for Windows Server 2003/ Vista/ 7 */ 2010-08-13T17:19:04Z <p><span class="autocomment">Note for Windows Server 2003/ Vista/ 7</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 17:19, 13 August 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 139:</strong></td> <td colspan="2" align="left"><strong>Line 139:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> vi /opt/etc/samba/smb.conf</td><td> </td><td style="background: #eee; font-size: smaller;"> vi /opt/etc/samba/smb.conf</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Once the editor has opened up <del style="color: red; font-weight: bold; text-decoration: none;">a </del>new file <del style="color: red; font-weight: bold; text-decoration: none;">that </del>should be named '''smb.conf''' , Hit the '''Insert''' key on your keyboard and paste the following into the new file (give a big thanks to okki, who discovered the interface problem!):</td><td>+</td><td style="background: #cfc; font-size: smaller;">Once the editor has opened up<ins style="color: red; font-weight: bold; text-decoration: none;">, the </ins>new file should be named '''smb.conf''' , Hit the '''Insert''' key on your keyboard and paste the following into the new file (give a big thanks to okki, who discovered the interface problem!):</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> [global]</td><td> </td><td style="background: #eee; font-size: smaller;"> [global]</td></tr> <tr><td colspan="2" align="left"><strong>Line 145:</strong></td> <td colspan="2" align="left"><strong>Line 145:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> security = SHARE</td><td> </td><td style="background: #eee; font-size: smaller;"> security = SHARE</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> # don't ask for a password</td><td> </td><td style="background: #eee; font-size: smaller;"> # don't ask for a password</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">&#160;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> ]</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> [Optware]</td><td> </td><td style="background: #eee; font-size: smaller;"> [Optware]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> path = /opt</td><td> </td><td style="background: #eee; font-size: smaller;"> path = /opt</td></tr> <tr><td colspan="2" align="left"><strong>Line 151:</strong></td> <td colspan="2" align="left"><strong>Line 151:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> read only = No</td><td> </td><td style="background: #eee; font-size: smaller;"> read only = No</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> guest ok = Yes</td><td> </td><td style="background: #eee; font-size: smaller;"> guest ok = Yes</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">&#160;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> ]</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> [Public]</td><td> </td><td style="background: #eee; font-size: smaller;"> [Public]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> path = /mnt</td><td> </td><td style="background: #eee; font-size: smaller;"> path = /mnt</td></tr> <tr><td colspan="2" align="left"><strong>Line 157:</strong></td> <td colspan="2" align="left"><strong>Line 157:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> read only = No</td><td> </td><td style="background: #eee; font-size: smaller;"> read only = No</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> guest ok = Yes</td><td> </td><td style="background: #eee; font-size: smaller;"> guest ok = Yes</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">&#160;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> ]</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> #guest ok = yes:</td><td> </td><td style="background: #eee; font-size: smaller;"> #guest ok = yes:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> #guest user 'nobody' is allowed and has access as 'valid users' is not specified (so all users are allowed).</td><td> </td><td style="background: #eee; font-size: smaller;"> #guest user 'nobody' is allowed and has access as 'valid users' is not specified (so all users are allowed).</td></tr> </table> Masterman http://wiki.dd-wrt.com/wiki/index.php?title=Samba_filesystem&diff=35239&oldid=prev Masterman: /* Note for Windows Server 2003/ Vista/ 7 */ 2010-08-13T17:14:23Z <p><span class="autocomment">Note for Windows Server 2003/ Vista/ 7</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 17:14, 13 August 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 95:</strong></td> <td colspan="2" align="left"><strong>Line 95:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># Goto Computer Configuration / Windows Settings / Security Settings / Local Policies / Security Options.</td><td> </td><td style="background: #eee; font-size: smaller;"># Goto Computer Configuration / Windows Settings / Security Settings / Local Policies / Security Options.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># Verify that &quot;Network security: LAN Manager authentication level&quot; is '''NOT''' &quot;Send NTLMv2 response only\refuse LM &amp; NTLM&quot; (on Vista Home Premium set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LmCompatibilityLevel to 1, because there is no gpedit.msc as in Ultimate )</td><td> </td><td style="background: #eee; font-size: smaller;"># Verify that &quot;Network security: LAN Manager authentication level&quot; is '''NOT''' &quot;Send NTLMv2 response only\refuse LM &amp; NTLM&quot; (on Vista Home Premium set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LmCompatibilityLevel to 1, because there is no gpedit.msc as in Ultimate )</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">'''NOTE''' For Windows Vista and Windows 7 (mainly), you must use a version of Samba that is 3.4 or higher!</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">If you have a USB capable router with [[Optware, the Right Way]] installed, it will be a breeze for you. For those with only JFFS2 space available, your options are very limited!</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">To effortlessly get the latest version of Samba working (Samba 3.5.4 as of 08/13/2010) with Optware, the Right Way, you must do the following:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">First make a backup of your current Samba, just in case something happens:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">For vi users:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> cp /opt/etc/samba/smb.conf /opt/etc/samba/smb.conf.copy</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> cp /opt/etc/init.d/S80samba /opt/etc/init.d/S80samba.copy</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">For users who want to edit those files on their computers:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> cp /opt/etc/samba/smb.conf /mnt/smb.conf.copy</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> cp /opt/etc/init.d/S80samba /mnt/S80samba.copy </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Now do the following:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> service samba stop</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> service samba off</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Then</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> ipkg-opt remove samba2 </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> ipkg-opt install samba35</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Let the packages install, and don't worry about Dbus, you won't be needing it. After install has completed, it will prompt you that a new smb.conf file needs to be created. Easy enough...</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">In the terminal prompt (make sure to use Putty, not Telnet when editing files with Vi!), do the following:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> rm -r /opt/etc/samba/smb.conf</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Also you will need to delete the file in '''/opt/etc/init.d''' that Samba35 has created. It is called S08samba</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> rm -r /opt/etc/init.d/S08samba</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Now create a new smb.conf file:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> vi /opt/etc/samba/smb.conf</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Once the editor has opened up a new file that should be named '''smb.conf''' , Hit the '''Insert''' key on your keyboard and paste the following into the new file (give a big thanks to okki, who discovered the interface problem!):</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> [global]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> interfaces = 192.168.1.1/255.255.255.0</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> security = SHARE</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> # don't ask for a password</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> [Optware]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> path = /opt</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> force user = root</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> read only = No</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> guest ok = Yes</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> [Public]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> path = /mnt</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> force user = root</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> read only = No</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> guest ok = Yes</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> #guest ok = yes:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> #guest user 'nobody' is allowed and has access as 'valid users' is not specified (so all users are allowed).</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Once properly pasted, hit the '''ESCAPE''' key and type ''':wq''' followed by '''Enter'''</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">All that's left to do now is to Reboot (although you really don't have to), then when logged back in, type:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> service samba on</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> service samba start</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Now you will be able to see your shares and Access them on your network in Windows 7!</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">'''NOTE''' I have not tested Samba35 S.W.A.T yet, but it should be as easy as issuing the following:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> ipkg-opt install samba35-swat</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Hope this helps!</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Finally, for those who do not wish to install Samba 35, or are looking for an even newer version, issue the following:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> ipkg-opt upgrade</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> ipkg-opt update</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Then issue</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> ipkg-opt list | grep samba</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">== Running a Samba Server on DD-WRT ==</td><td> </td><td style="background: #eee; font-size: smaller;">== Running a Samba Server on DD-WRT ==</td></tr> </table> Masterman http://wiki.dd-wrt.com/wiki/index.php?title=Samba_filesystem&diff=33425&oldid=prev Glenn: Samba Filesystem moved to Samba filesystem 2010-05-21T15:42:41Z <p><a href="/wiki/index.php/Samba_Filesystem" title="Samba Filesystem">Samba Filesystem</a> moved to <a href="/wiki/index.php/Samba_filesystem" title="Samba filesystem">Samba filesystem</a></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 15:42, 21 May 2010</td> </tr> </table> Glenn http://wiki.dd-wrt.com/wiki/index.php?title=Samba_filesystem&diff=33424&oldid=prev Glenn: chg 2010-05-21T15:42:26Z <p>chg</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 15:42, 21 May 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">{{Languages|Samba <del style="color: red; font-weight: bold; text-decoration: none;">Filesystem</del>}}</td><td>+</td><td style="background: #cfc; font-size: smaller;">{{Languages|Samba <ins style="color: red; font-weight: bold; text-decoration: none;">filesystem</ins>}}</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Samba is one of a number of [[network file systems]] available to the DD-WRT platform. A network file system allows for sharing the contents of directories or entire drives across a network. In DD-WRT this can work both ways: You can run a Samba server on your main computer and run a client on your router (thus gaining writable storage for the router) or you can use Samba to share a drive connected (typically by [[USB]]) to the router among all the computers connected to your network.</td><td> </td><td style="background: #eee; font-size: smaller;">Samba is one of a number of [[network file systems]] available to the DD-WRT platform. A network file system allows for sharing the contents of directories or entire drives across a network. In DD-WRT this can work both ways: You can run a Samba server on your main computer and run a client on your router (thus gaining writable storage for the router) or you can use Samba to share a drive connected (typically by [[USB]]) to the router among all the computers connected to your network.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> </table> Glenn http://wiki.dd-wrt.com/wiki/index.php?title=Samba_filesystem&diff=33422&oldid=prev Glenn: +{{Languages|Samba Filesystem}} 2010-05-21T15:41:40Z <p>+{{Languages|Samba Filesystem}}</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 15:41, 21 May 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">{{Languages|Samba Filesystem}}</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Samba is one of a number of [[network file systems]] available to the DD-WRT platform. A network file system allows for sharing the contents of directories or entire drives across a network. In DD-WRT this can work both ways: You can run a Samba server on your main computer and run a client on your router (thus gaining writable storage for the router) or you can use Samba to share a drive connected (typically by [[USB]]) to the router among all the computers connected to your network.</td><td> </td><td style="background: #eee; font-size: smaller;">Samba is one of a number of [[network file systems]] available to the DD-WRT platform. A network file system allows for sharing the contents of directories or entire drives across a network. In DD-WRT this can work both ways: You can run a Samba server on your main computer and run a client on your router (thus gaining writable storage for the router) or you can use Samba to share a drive connected (typically by [[USB]]) to the router among all the computers connected to your network.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> </table> Glenn http://wiki.dd-wrt.com/wiki/index.php?title=Samba_filesystem&diff=31745&oldid=prev Glenn: catchg 2010-04-30T15:44:21Z <p>catchg</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 15:44, 30 April 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 150:</strong></td> <td colspan="2" align="left"><strong>Line 150:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">On the server side, see if you can enable guest access (on a Samba server, set guest OK = yes in your smb.conf file). If that helps, the problem is a matter of either user name resolution or passwords.</td><td> </td><td style="background: #eee; font-size: smaller;">On the server side, see if you can enable guest access (on a Samba server, set guest OK = yes in your smb.conf file). If that helps, the problem is a matter of either user name resolution or passwords.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Category:<del style="color: red; font-weight: bold; text-decoration: none;">English documentation</del>]]</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Category:<ins style="color: red; font-weight: bold; text-decoration: none;">Samba</ins>]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Basic tutorials]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Basic tutorials]]</td></tr> </table> Glenn http://wiki.dd-wrt.com/wiki/index.php?title=Samba_filesystem&diff=30913&oldid=prev Ericmagaha at 13:12, 31 March 2010 2010-03-31T13:12:04Z <p></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 13:12, 31 March 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 60:</strong></td> <td colspan="2" align="left"><strong>Line 60:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">=== Filesystem to use that works ===</td><td> </td><td style="background: #eee; font-size: smaller;">=== Filesystem to use that works ===</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">&quot;On 3-31-10, DD-WRT User ericmagaha advised:&quot;</td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">I initially format my usb hard drive as Fat32 because I wanted to be able to use the drive on any computer. I couldn't get [[Slim_samba2]] to run. Here is a link to the exact same issue I was having.</td><td> </td><td style="background: #eee; font-size: smaller;">I initially format my usb hard drive as Fat32 because I wanted to be able to use the drive on any computer. I couldn't get [[Slim_samba2]] to run. Here is a link to the exact same issue I was having.</td></tr> <tr><td colspan="2" align="left"><strong>Line 67:</strong></td> <td colspan="2" align="left"><strong>Line 66:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">I messed with this for a while and just decided to go with what was recommended in the [[Slim_samba2]] tutorial i.e. etx3/swap/ext3 as defined here [[How_to_-_Format_and_Partition_External_Storage_Device]]. It works great.</td><td> </td><td style="background: #eee; font-size: smaller;">I messed with this for a while and just decided to go with what was recommended in the [[Slim_samba2]] tutorial i.e. etx3/swap/ext3 as defined here [[How_to_-_Format_and_Partition_External_Storage_Device]]. It works great.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[User:Ericmagaha|Ericmagaha]] 15:12, 31 March 2010 (CEST)</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">=== Allowing write access for any OS i.e. Mac OSX, Windows ===</td><td> </td><td style="background: #eee; font-size: smaller;">=== Allowing write access for any OS i.e. Mac OSX, Windows ===</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">&quot;On 3-31-10, DD-WRT User ericmagaha advised:&quot;</td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">I used [[Slim_samba2]] and formatted my drive as ext3/swap/ext3 i.e. Optware/Swapfile/Data as outlined [[How_to_-_Format_and_Partition_External_Storage_Device]]. Initially I had readonly access to the drive from Windows and Mac. Had to change the permissions of the Data partition i.e. /mnt/data. It defaulted to 700 i.e. rwx------. I used chmod and changed it to 777 i.e. rwxrwxrwx. I could then write to the Data partition from Windows (Windows explorer) and Mac (Finder).</td><td> </td><td style="background: #eee; font-size: smaller;">I used [[Slim_samba2]] and formatted my drive as ext3/swap/ext3 i.e. Optware/Swapfile/Data as outlined [[How_to_-_Format_and_Partition_External_Storage_Device]]. Initially I had readonly access to the drive from Windows and Mac. Had to change the permissions of the Data partition i.e. /mnt/data. It defaulted to 700 i.e. rwx------. I used chmod and changed it to 777 i.e. rwxrwxrwx. I could then write to the Data partition from Windows (Windows explorer) and Mac (Finder).</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[User:Ericmagaha|Ericmagaha]] 15:12, 31 March 2010 (CEST)</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">=== Note for Windows XP ===</td><td> </td><td style="background: #eee; font-size: smaller;">=== Note for Windows XP ===</td></tr> </table> Ericmagaha