Difference between revisions of "OpenWRT: samba sharing"

From OnnoWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 23: Line 23:
 
Restart & Generate Default Config
 
Restart & Generate Default Config
  
  /etc/init.d/samba restart
+
  /etc/init.d/samba4 restart
  
Edit /etc/config/samba:
+
Edit /etc/config/samba4:
  
  /etc/init.d/samba disable
+
  /etc/init.d/samba4 disable
  
 
Edit /etc/rc.local
 
Edit /etc/rc.local

Latest revision as of 08:37, 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/samba4 restart

Edit /etc/config/samba4:

/etc/init.d/samba4 disable

Edit /etc/rc.local

smbd -D
nmbd -D

Referensi