I setup a SATA drive on one X9S. Setup my NAS via OpenWRT on Samba, allow guest. On computer I am able to access the SATA drive; add, rename and delete. On my second X9S I am unable to connect to the NAS either by search or manually entering the IP/Share. Any ideas?
You are using different NAS server names on each X9S (default is OpenWrt but this can be changed)? Should not matter if they are the same, but it enables identification for you. You updated the settings template using the Himedia script content? It helped me to detect the OpenWrt SMB Server by network searching. Anyway makes SMB blazing fast also (Gigabit wire-rate). Tried a very similar setup myself just working fine: Using my Xtreamer eXpress (same RTD1295DD plus same OpenWrt) as a NAS server sending BD's to X9S as the NAS Client. Obviously also works with my W10 based PC.
Tried both on same server name and both on different. No luck. I even tried manually using \\ip\Disk_sda1\ . Not sure what the hi media script is all about.
How are you trying to connect ? i know i had problems with the midiacenter from zidoo on the x6 to connect to my x9s, but i added the samba share directly under kodi and worked first time
The script is about replacing the default OpenWrt template for SMB with the one below. Just go to it, cut and paste the new one and apply&save it. All set. In my opinion this should have been the updated default for this media player (=OpenWrt default now). The same applies to FTP where the default should have been changed to allow "Local user" enabling to connect via FTP using root/pwd set for OpenWrt also for FTP access. Took me half a day to get SMB and FTP working as it should have been by default. Just turning SMB and FTP features ON under Android setup should be all what is needed. The updated template will implicitly also add a public share being called "share" which is a common standard for many SMB Servers. Just call it directly with \\ip-address\share or network search for it which will work nicely with the new template provided. [global] netbios name = |NAME| display charset = |CHARSET| # interfaces = |INTERFACES| server string = |DESCRIPTION| unix charset = |CHARSET| workgroup = |WORKGROUP| browseable = yes domain master = no encrypt passwords = true enable core files = no guest account = nobody guest ok = yes invalid users = root local master = no 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 = no printable = no security = user smb encrypt = disabled smb passwd file = /etc/samba/smbpasswd # socket options = TCP_NODELAY IPTOS_LOWDELAY syslog = 2 writeable = yes min receivefile size = 512 use sendfile = true aio read size = 4096 aio write size = 4096 write cache size = 1024000 read raw = yes write raw = yes getwd cache = yes oplocks = yes #max xmit = 65535 max xmit = 131072 dead time = 0 large readwrite = yes [share] path = /mnt read only = no guest ok = yes All thanks go to the Futeko Himedia forum members for providing these SMB settings and know-how. On Himedia / Egreat both HiSillicon based players it can be applied via the supplied script, but on players with OpenWrt based NAS it needs to be done via updating mentioned SMB template. Also other RTD1295DD based players like Xtreamer eXpress use OpenWrt NAS not only Zidoo. Functionally the results achieved are identical for all players except that SMB on OpenWrt is more efficient doing IO and runs Gigabit Ethernet at an amazing wire-rate for all platforms I tried myself. Valid for both SMB and FTP transfers Read/Write with SATA or USB3 attached HDD's, what do you want more regarding performance? OpenWrt NAS is also functionally very rich combined with proven stability (but complex to configure as a consequence). @HaoSs: Don't use KODI myself and did not try to setup SMB that way. Also viewed your Youtube NAS setup but that confused me and also steps made went far too quick for this simple old man.
I would like to move NAS a step further by adding essential security settings and I am looking for OpenWrt/SMB/FTP expertise/help here. All know-how to be shared here. Where am I talking about? The order is my guess of the relevance of these security features for the average customer. SMB ------ Using the template above a Public Share (=Guest access without UID/PWD) is granted for everybody with Read/Write access. This should be optionally enhanced with: - Change access to 'Read only' which is easy enough to do, but should come with the next one too. - Get an admin account with PWD stored encrypted with full read/write access to all shares. - Add user specific shares read/write per user next to read access to the guest share. Access via UID/PWD, where share names and user names are identical. this way family members get guest share read access plus access each to their own private share. (S)FTP -------- By simply granting local users access by FTP is added for the root administrator of OpenWrt. This needs additional security when enabled via the Public Internet opening up the Firewall: - Replace local root access to be defined admin with PWD stored encrypted - FTP to be changed to SFTP with encryption and certificates for access - Add user specific shares read/write per user next to read access to the guest share. SFTP access via UID/PWD, where share names and user names are identical. The idea is to make adding these security features as easy as possible, lowering the threshold for non-specialist customers as much as feasible.
I connected a HDD with SATA on X9s and it is completely no problem to access the files and folder through file manager from original Android OS. It is also no problem for me to access folder & files in another unit NAS through file manager in X9s Android OS through SMB / NFS. However I'm not able to access OpenWRT's folder & files from my Mac PC / AFP network connection. This cuased me unable to copy or transfer file from my Mac PC to OpenWRT drive. Can anyone advise any high level setting I can apply to access OpenWRT drive from my Mac ?
"OpenWrt settings updated to work with defaults for SMB and FTP" should have been on the update list for FW 1.4.4 - Guest access via dynamic SMB shares created per drive attached individually - FTP access using root plus the password set for it - Many defaults were changed to grant SMB access for all actions under probably all if not most circumstances. In effect my modifications suggested here were implemented in a slightly different way: Per HDD dynamic share creation rather than one universal share for all drives. This works smarter and for the average user is easier to work with. My intentions for an OpenWrt tutorial to facilitate more advanced features is still present. I have now seen that Zidoo got at least the required know-how lined up.
I think you will wait a life time for Zidoo to make openWRT easy for x9 x10 users. I think they shoud make the NAS easy to access for all types of users who are not technical and add a GUI to access it, just like QNAP do.
Check out Share USB Hard-drive with Samba using the Luci web-interface https://wiki.openwrt.org/doc/recipes/usb-storage-samba-webinterface