Gargoyle 1.15.x BETA - 2025-03-31 - Based on OpenWrt 23.05
Moderator: Moderators
Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05
for install 1.15 mt-6000 only need use sysupgrade.bin in default GL-inet portal
right?
right?
Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05
Do I have to compile myself, or just install it with gpkg? Both samba36 and samba40 are available in gpkg list.
Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05
I haven’t tried. Not in a position to at the moment sorry in the middle of developing a few things and need a stable environment.
It might work, but the two packages conflict each other. So you need to remove ksmbd first. But the gargoyle usb storage package requires one of them, so it will be orphaned.
I think the right sequence of force commands will make it work.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05
The package manager doesn't complain:
So now to find out how the system decides which server is used...
Using the services plugin, it's possible to disable ksmbd and enable samba. But samba takes it's configuration from /etc/samba, while Gargoyle uses /etc/config/samba.
Correction: Gargoyle uses /etc/config/ksmbd to store information on the ksmbd-driven samba:
/etc/config/share_users contains the users:
Code: Select all
root@Flint2-Gargoyle:~# gpkg install samba36-server
Preparing to install the following packages, which will require 974418 bytes:
samba36-server
Preparing to install package samba36-server...
Downloading...
Downloaded samba36-server successfully.
Installing samba36-server...
Successfully installed samba36-server.
Installation of packages successful.
Using the services plugin, it's possible to disable ksmbd and enable samba. But samba takes it's configuration from /etc/samba, while Gargoyle uses /etc/config/samba.
Correction: Gargoyle uses /etc/config/ksmbd to store information on the ksmbd-driven samba:
Code: Select all
config samba 'global'
option workgroup 'AHORNBERG'
config sambashare 'public'
option name 'public'
option path '/tmp/usb_mount/some_UID'
option create_mask '0777'
option dir_mask '0777'
option browseable 'yes'
option read_only 'no'
option guest_ok 'yes'
list users_rw 'testuser'
Code: Select all
config user 'testuser'
option password_salt 'xxxxxx'
option password_sha1 'xxxxxx'
Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05
https://github.com/ericpaulbishop/gargo ... age.sh#L51
If the ksmbd utilities exist, Gargoyle will use them as first preference.
Otherwise it uses samba.
You could modify that check to always fail or reverse its decision etc.
If the ksmbd utilities exist, Gargoyle will use them as first preference.
Otherwise it uses samba.
You could modify that check to always fail or reverse its decision etc.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05
So to reverse the decision (use samba if available, else ksmbd), it should read like:
Code: Select all
# whichksmbd="$(which ksmbd.mountd)"
# [ -n "$whichksmbd" ] && echo "var sambapkg=\"ksmbd\";" || echo "var sambapkg=\"samba\";"
whichsmbd="$(which smbd)"
[ -n "$whichsmbd" ] && echo "var sambapkg=\"samba\";" || echo "var sambapkg=\"ksmbd\";"
Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05
That looks right to me 

https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05
It does reverse the priority, so it's now configuring the samba files from the GUI, but I haven't been able to get it working yet. Will have to look further as time permits, perhaps activate some logging to see what's (not) going on...
Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05
just realised that GL.iNet MT-3000 became supported. can Gargoyle read temperature and able to control the built in fan?