I have create a folder and mount remonte file, i need to share it using NAS on Flint2.
If i add it from luci, after restart i lost my custom sharing
I have create a folder and mount remonte file, i need to share it using NAS on Flint2.
If i add it from luci, after restart i lost my custom sharing
Hi
I believe this issue may be related to the requirements mentioned in your other post.
Please try following the solution outlined there first.
However, if this issue is unrelated, please provide the following details so we can investigate further:
Hi,
I’m using last version 4.8.3-op24 (OpenWrt 24.10.4 r28959-29397011cc),
I add configuration using a custom script
…
uci add samba4 sambashare
uci set samba4.@sambashare\[-1\].name="r1d" # Share name
uci set samba4.@sambashare\[-1\].path="$base_mount_dir"
uci set samba4.@sambashare\[-1\].guest_ok='yes'
uci set samba4.@sambashare\[-1\].read_only='yes' # Read-only
uci commit samba4
…
the script work fine,
but after some time the config is lost on samba, like gl_nas restore configuration only for USB
Yes, as I mentioned in your other thread.
When there are configuration changes in Application - Network Storage, it will overwrite the samba4 configuration, including any parts set/modified via uci.
If you wish to use uci to configure features not currently available in the GL UI, we recommend you disable Application - Network Storage and only use uci to configure samba4 and /etc/init.d/samba4 to manage its startup.