Konfigurasi Samba di OpenWrt di HG553-ku

Letaknya di /etc/config/samba/

config samba
	option name 'OpenWrt'
	option workgroup 'WORKGROUP'
	option description 'OpenWrt'
	option homes '1'

config sambashare
	option name 'mudah'
	option guest_ok 'yes'
	option path '/home/mudah'
	option read_only 'yes'

config sambashare
	option name 'sarip'
	option guest_ok 'yes'
	option path '/home/sarip'
	option read_only 'yes'

versi lain di /etc/samba/smb.conf

[global]
	netbios name = OpenWrt 
	display charset = UTF-8
	interfaces = 127.0.0.1/8 lo 2.2.2.2/24 br-lan 
	server string = OpenWrt
	unix charset = UTF-8
	workgroup = WORKGROUP
	browseable = yes
	deadtime = 30
	domain master = yes
	encrypt passwords = true
	enable core files = no
	guest account = nobody
	guest ok = yes
	invalid users = root
	local master = yes
	load printers = no
	map to guest = Bad User
	max protocol = SMB2
	min receivefile size = 16384
	null passwords = yes
	obey pam restrictions = yes
	os level = 20
	passdb backend = smbpasswd
	preferred master = yes
	printable = no
	security = user
	smb encrypt = disabled
	smb passwd file = /etc/samba/smbpasswd
	socket options = TCP_NODELAY IPTOS_LOWDELAY
	syslog = 2
	use sendfile = yes
	writeable = yes
	

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

[mudah]
	path = /home/mudah
	read only = yes
	guest ok = yes

[sarip]
	path = /home/sarip
	read only = yes
	guest ok = yes
NOTE : untuk efektifitas trasfer, pada bagian use sendfile = yes diganti no.
  • linux/OpenWrt/HG553/samba
  • Terakhir diubah: 11 bulan yang lalu
  • (Perubahan eksternal)