Samba filesystem

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:03, 17 June 2006 (edit)
69.129.2.46 (Talk)
(Instructions)
← Previous diff
Revision as of 16:04, 17 June 2006 (edit) (undo)
69.129.2.46 (Talk)
(Instructions)
Next diff →
Line 4: Line 4:
==Instructions== ==Instructions==
The first step would be to create a network share on the Samba or Windows server and provide some logon credentials. The first step would be to create a network share on the Samba or Windows server and provide some logon credentials.
-Then, to setup the router, login to the web interface. <br/>Go to '''Administration''', find the '''Samba FS Automount''' option and enable it.+Then, setup the router by logging into the DD-WRT's web interface. <br/>Go to '''Administration''', find the '''Samba FS Automount''' option and enable it.
<br/>In 'share' enter the location of your network share, eg: ''\\lanserver\myshare'' . <br/>In 'share' enter the location of your network share, eg: ''\\lanserver\myshare'' .
<br/>In 'user' and 'password' enter the logon credentials of a user allowed to access the share. <br/>In 'user' and 'password' enter the logon credentials of a user allowed to access the share.

Revision as of 16:04, 17 June 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, setup the router by logging into the DD-WRT's 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.