How to Installation Samba OpenWRT TP-Link MR3020 |
Install samba36-server and luci-app-samba
# opkg install samba36-server # opkg install luci-app-samba
Edit /etc/config/samba
# vi /etc/config/samba config samba option name 'OpenWrt' option workgroup 'WORKGROUP' option description 'OpenWrt' option homes '0'
config sambashare option name 'samba' option read_only 'no' option users 'samba' option create_mask '0777' option dir_mask '0777' option path '/home/samba' option guest_ok 'yes'option null_passwords 'yes'
Install useradd application :Adding samba user to OpenWRT:# opkg update # opkg install shadow-useradd
# useradd sambaCreate password for user diantokam
# passwd samba
Start samba service
# /etc/init.d/samba start
Adding "samba" to samba user
# smbpasswd -a samba
Enable samba service on startup
# /etc/init.d/samba enable
To accesses samba share from windows type \\samba_server_name on address bar, in my case it is \\openwrt
or using \\ip_address in my case, it is \\192.168.1.1not require username and password for samba if you have configured "null_password yes"
Done.
Installation Samba OpenWRT TP-Link mr3020
Reviewed by Sitakom Blog
on
11:38 PM
Rating:
No comments: