Samba filesystem

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:23, 27 March 2006 (edit)
68.169.45.180 (Talk)
(Instructions)
← Previous diff
Revision as of 18:00, 15 May 2006 (edit) (undo)
Gerrys (Talk | contribs)

Next diff →
Line 9: Line 9:
<br/> <br/>
<br/>Optionally you may enter a Startscript. For example if you have a script on your sambashare ''\\lanserver\myshare\startup.sh'' you enter ''startup.sh'' in the 'Startscript' box. This script (''/tmp/smbshare/startup.sh'' on the router) will be executed when the router mounts your share on boot. <br/>Optionally you may enter a Startscript. For example if you have a script on your sambashare ''\\lanserver\myshare\startup.sh'' you enter ''startup.sh'' in the 'Startscript' box. This script (''/tmp/smbshare/startup.sh'' on the router) will be executed when the router mounts your share on boot.
 +
 +
 +[[Category:basic HOWTO]]
 +
 +[[Category:English documentation]]

Revision as of 18:00, 15 May 2006

Introduction

One of the things you might miss on the router, is writable storage. Well, if you run a Linux samba or Windows server on your LAN, the Samba filesystem provides a convenient solution! It adds a vast amount of writable storage to your router and even offers an automatic startup script.

Instructions

The first step would be to create a network share on the Samba or Windows server and provide some logon credentials. Then, to set up the router log into the web interface.
Go to Administration, find the Samba FS Automount option and enable it.
In 'share' enter the location of your network share, eg: \\lanserver\myshare .
In 'user' and 'password' enter the logon credentials of a user allowed to access the share.

Optionally you may enter a Startscript. For example if you have a script on your sambashare \\lanserver\myshare\startup.sh you enter startup.sh in the 'Startscript' box. This script (/tmp/smbshare/startup.sh on the router) will be executed when the router mounts your share on boot.