Gernot Walzl

NAS

A network attached storage (NAS) provides file-based data storage
to other devices on the network. The files can be shared between the devices.

Contents

Mount Points

Packages

Configuration

In the web interface, the option Mount Points edits /etc/config/fstab:

config global
    option anon_swap '0'
    option anon_mount '0'
    option auto_swap '1'
    option auto_mount '1'
    option delay_root '5'
    option check_fs '0'

config mount
    option target '/mnt/ssd'
    option label 'SSD'
    option enabled '1'

Network Shares

Packages

Configuration

The option Network Shares edits /etc/config/samba4:

config samba
    option workgroup 'WORKGROUP'
    option charset 'UTF-8'
    option description 'Samba on OpenWRT'
    option interface 'lan'
    option allow_legacy_protocols '1'

config sambashare
    option path '/mnt/ssd'
    option name 'ssd'
    option read_only 'no'
    option guest_ok 'yes'
    option create_mask '0666'
    option dir_mask '0777'

Do not forget to restrict the access to the share to the LAN interface.

DLNA

Packages

CONTENT.html 2020-10-18 3.4 KB