I'm a novice so thank you for your hard work here.(@Nevskiy ) I've installed Nevskiy's images on my Stora MS-2110 over the weekend and it seems to be working. This is fantastic because the Netgear interface is now dead courtesy Flash EOL.
Just to understand better, I can not install packages from the software once I upgrade to the full image (21.02) but i can when I use the initial sysupgrade. I am unable to download the current package list with 21.02, because i get some sort of error related to incorrect certificate? I dont know where to start trouble shooting this,but I assume it's somewhere in the package download script?
I wish to download the Disk-Idle spin down package so my cheap HDD's turn off when the NAS is inactive.
If I try to install packages from the initial image, many of the packages are incompatible with the kernel and require an upgrade and I can not find the disk man anywhere?
@Nevskiy Did you have any trouble getting Samba working correctly? Its 99% working now for me, but I have 1 problem.
Remote computers can not copy / download off the SAMBA shares. They can browse and write files, but not copy off? It must be something simple, but I can't seem to find what is interfering?
I have figured it out (i think) the samba default for create mask was 0666 for the shares which didn't seem to work. I changed it to 0777 and that seemed to fix it. I tried configuring users but I wasn't able to get it to work, as in, i set it up and samba appeared to accept it, but neither Windows or Mac were able to log in with the defined credentials.
[global]
netbios name = OpenWrt
interfaces = br-lan
server string = Samba on OpenWRT
unix charset = UTF-8
workgroup = HOME
min protocol = SMB2
## This global parameter allows the Samba admin to limit what interfaces on a machine will serve SMB requests.
bind interfaces only = yes
## time for inactive connections to-be closed in minutes
deadtime = 15
## disable core dumps
enable core files = no
## set security (auto, user, domain, ads)
security = user
## This parameter controls whether a remote client is allowed or required to use SMB encryption.
## It has different effects depending on whether the connection uses SMB1 or SMB2 and newer:
## If the connection uses SMB1, then this option controls the use of a Samba-specific extension to the SMB protocol introduced in Samba 3.2 that makes use of the Unix extensions.
## If the connection uses SMB2 or newer, then this option controls the use of the SMB-level encryption that is supported in SMB version 3.0 and above and available in Windows 8 and newer.
## (default/auto,desired,required,off)
#smb encrypt = default
## set invalid users
invalid users = root
## map unknow users to guest
map to guest = Bad User
## allow client access to accounts that have null passwords.
null passwords = yes
## The old plaintext passdb backend. Some Samba features will not work if this passdb backend is used. (NOTE: enabled for size reasons)
## (tdbsam,smbpasswd,ldapsam)
passdb backend = smbpasswd
## Set location of smbpasswd ('smbd -b' will show default compiled location)
smb passwd file = /etc/samba/smbpasswd
## LAN (IPTOS_LOWDELAY TCP_NODELAY) WAN (IPTOS_THROUGHPUT) WiFi (SO_KEEPALIVE) try&error for buffer sizes (SO_RCVBUF=65536 SO_SNDBUF=65536)
socket options = IPTOS_LOWDELAY TCP_NODELAY
## If this integer parameter is set to a non-zero value, Samba will read from files asynchronously when the request size is bigger than this value.
## Note that it happens only for non-chained and non-chaining reads and when not using write cache.
## The only reasonable values for this parameter are 0 (no async I/O) and 1 (always do async I/O).
## (1/0)
#aio read size = 0
#aio write size = 0
## If Samba has been built with asynchronous I/O support, Samba will not wait until write requests are finished before returning the result to the client for files listed in this parameter.
## Instead, Samba will immediately return that the write request has been finished successfully, no matter if the operation will succeed or not.
## This might speed up clients without aio support, but is really dangerous, because data could be lost and files could be damaged.
#aio write behind = /*.tmp/
## lower CPU useage if supported and aio is disabled (aio read size = 0 ; aio write size = 0)
## is this still broken? issue is from 2019 (NOTE: see https://bugzilla.samba.org/show_bug.cgi?id=14095 )
## (no, yes)
#use sendfile = yes
I builded new firmware for our Stora. Based on OpenWrt 21.01 RC1 stable. New kernel, last version packages. Package update correct work. New firmware in folder 21.01.0-rc1. Need just update in LuCi