OpenWRT: samba sharing

From OnnoWiki
Jump to navigation Jump to search

Sumber: https://openwrt.org/docs/guide-user/services/nas/samba_configuration

Disini akan di coba menggunakan samba4 yang terbaru


Cek

Pastikan routing & DNS jalan

smbd -V
opkg list-installed | grep samba
opkg update
opkg list | grep samba


Instal

opkg install luci-app-samba4 samba4-admin samba4-client samba4-libs samba4-server samba4-utils


Konfigurasi Awal

Restart & Generate Default Config

/etc/init.d/samba4 restart

Edit /etc/config/samba:

/etc/init.d/samba4 disable

Edit /etc/rc.local

smbd -D
nmbd -D

Referensi