1

Temat: samba jaki interface przy moście?

jaki interfejs wpisać w pliku samba.conf gdy mam brige?

[global]
    netbios name = LEDE 
    display charset = UTF-8
    interfaces = lo br-lan 
    server string = OpenWrt
    unix charset = UTF-8
    workgroup = WORKGROUP
    bind interfaces only = yes
    deadtime = 30
    enable core files = no
    invalid users = root
    local master = no
    map to guest = Bad User
    max protocol = SMB2
    min receivefile size = 16384
    null passwords = yes
    passdb backend = smbpasswd
    security = user
    smb passwd file = /etc/samba/smbpasswd
    use sendfile = yes

[homes]
    comment     = Home Directories
    browsable   = no
    read only   = no
    create mode = 0750

[music]
    path = /mnt/sda1
    read only = no
    guest ok = yes
    create mask = 0777
    directory mask = 0777
    browseable = yes

jeszcze dołączę network.conf

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fd62:ef39:3d87::/48'

config interface 'lan'
    option type 'bridge'
    option ifname 'eth0'
    option proto 'static'
    option netmask '255.255.255.0'
    option ip6assign '60'
    option ipaddr '192.168.2.1'

config interface 'wan6'
    option proto 'dhcpv6'
    option type 'bridge'
    option ifname 'eth1 radio0'

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option ports '0 1 2 3 5'

config switch_vlan
    option device 'switch0'
    option vlan '2'
    option ports '4 6'

config interface 'wwan'
    option proto 'dhcp'

config interface 'bridge'
    option proto 'relay'
    option ipaddr '192.168.55.103'
    list network 'lan'
    list network 'wwan'

2

Odp: samba jaki interface przy moście?

Pewnie dodaj br-bridge.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.