Difference between revisions of "OpenWRT: samba sharing"

From OnnoWiki
Jump to navigation Jump to search
Line 19: Line 19:
  
  
 +
==Konfigurasi Awal
  
 +
Restart & Generate Default Config
 +
 +
/etc/init.d/samba restart
 +
 +
Edit /etc/config/samba:
 +
 +
/etc/init.d/samba disable
 +
 +
Edit /etc/rc.local
 +
 +
smbd -D
 +
nmbd -D
  
  

Revision as of 08:17, 7 July 2021

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/samba restart

Edit /etc/config/samba:

/etc/init.d/samba disable

Edit /etc/rc.local

smbd -D
nmbd -D


Referensi