Gargoyle 1.15.x BETA - 2025-03-31 - Based on OpenWrt 23.05

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

helmax
Posts: 15
Joined: Mon Mar 16, 2015 7:14 pm

Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05

Post by helmax »

for install 1.15 mt-6000 only need use sysupgrade.bin in default GL-inet portal

right?

ektus
Posts: 258
Joined: Sun Aug 11, 2013 2:26 am
Location: Germany

Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05

Post by ektus »

Lantis wrote:
Sun Feb 02, 2025 5:29 pm
Not as it currently stands no sorry.
samba36 is still included in the repository and all of the code still supports it. You can compile Gargoyle and swap it out with ksmbd if you’d like to.
Do I have to compile myself, or just install it with gpkg? Both samba36 and samba40 are available in gpkg list.

ektus
Posts: 258
Joined: Sun Aug 11, 2013 2:26 am
Location: Germany

Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05

Post by ektus »

helmax wrote:
Sun Feb 02, 2025 8:19 pm
for install 1.15 mt-6000 only need use sysupgrade.bin in default GL-inet portal

right?
Yes, as it comes with openwrt from the factory.

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05

Post by Lantis »

ektus wrote:
Sun Feb 02, 2025 9:00 pm
Lantis wrote:
Sun Feb 02, 2025 5:29 pm
Not as it currently stands no sorry.
samba36 is still included in the repository and all of the code still supports it. You can compile Gargoyle and swap it out with ksmbd if you’d like to.
Do I have to compile myself, or just install it with gpkg? Both samba36 and samba40 are available in gpkg list.
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.

ektus
Posts: 258
Joined: Sun Aug 11, 2013 2:26 am
Location: Germany

Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05

Post by ektus »

The package manager doesn't complain:

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.
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:

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'
/etc/config/share_users contains the users:

Code: Select all

config user 'testuser'
        option password_salt 'xxxxxx'
        option password_sha1 'xxxxxx'

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05

Post by Lantis »

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.
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.

ektus
Posts: 258
Joined: Sun Aug 11, 2013 2:26 am
Location: Germany

Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05

Post by ektus »

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\";"

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05

Post by Lantis »

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.

ektus
Posts: 258
Joined: Sun Aug 11, 2013 2:26 am
Location: Germany

Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05

Post by ektus »

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...

ViBE
Posts: 202
Joined: Sun Apr 19, 2015 6:58 pm

Re: Gargoyle 1.15.x BETA - 2024-11-13 - Based on OpenWrt 23.05

Post by ViBE »

just realised that GL.iNet MT-3000 became supported. can Gargoyle read temperature and able to control the built in fan?

Post Reply