Difference between revisions of "OpenWRT: samba sharing"

From OnnoWiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 19: Line 19:
  
  
 +
==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==
 
==Referensi==
  
 
* https://openwrt.org/docs/guide-user/services/nas/samba_configuration
 
* https://openwrt.org/docs/guide-user/services/nas/samba_configuration

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