Hirdetés

Új hozzászólás Aktív témák

  • -=Ghost=-

    őstag

    válasz vargalex #609 üzenetére

    Hi

    root@OpenWrt:~# vi /etc/config/samba
    config samba
    option 'name' 'DIR-825'
    option 'workgroup' 'WORKGROUP'
    option 'description' 'NAS'

    config sambashare
    option 'name' 'WD My Passport'
    option 'path' '/mnt/hdd'
    option 'read_only' 'no'
    option 'guest_ok' 'yes'
    option 'create_mask' '0700'
    option 'dir_mask' '0700'
    #option 'users' 'fuGu'

    root@OpenWrt:~# vi /etc/samba/smb.conf.template
    [global]
    netbios name = DIR-825
    workgroup = WORKGROUP
    server string = NAS
    syslog = 10
    guest ok = yes
    guest only = no
    encrypt passwords = false
    host allow = 192.168.
    obey pam restrictions = yes
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    unix charset = UTF-8
    display charset = UTF-8
    preferred master = yes
    os level = 20
    security = share
    guest account = nobody
    force user = root

    [share]
    path = /mnt/hdd
    browseable = yes
    public = yes
    writeable = yes
    force user = root

Új hozzászólás Aktív témák