Samba filesystem

From DD-WRT Wiki

Revision as of 13:34, 9 July 2006 by 200.142.202.140 (Talk)
Jump to: navigation, search

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. 77735174820172516356555

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.