Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kmod-fs-exfat #168

Open
leaberry opened this issue Sep 27, 2023 · 4 comments
Open

Add kmod-fs-exfat #168

leaberry opened this issue Sep 27, 2023 · 4 comments

Comments

@leaberry
Copy link

leaberry commented Sep 27, 2023

I tried following the directions to compile my own kernel, but it's just not working (go errors on adguard). The default GL.inet kernel had exfat support, would be great to have that on Smoothwan too.

And a big thanks for the project, it's very neat and much appreciated for those of us with multiple internet options, but none too reliable. I use starlink/LTE combined to make zoom calls excellent for my day job.

@TalalMash
Copy link
Member

TalalMash commented Sep 28, 2023

Added first image builder configuration as test, this use precompiled glinet packages and kernel, which allows you to install from glinet repositories.
The original glinet-infra-builder repo has gone private.
Compiled test image, or build from here: https://github.com/SmoothWAN/SmoothWAN/tree/glinet_imagebuilder & https://github.com/gl-inet/imagebuilder

@leaberry
Copy link
Author

Well that test image sort of works. There is now the exfat kernel module, but the web interface doesn't work anymore. I flashed the WebUI.tar version from the web interface. When I go to http://172.17.17.2 it redirects me quickly to http://172.17.17.2/cgi-bin/luci/ and then says "Site refused to connect"

I can still ssh in, and I tried 'firstboot' to reset it, but still no luci webui. I suppose I should have told you I'm on a Slate AXT1800 router.

I copied over exfat.ko from /lib/modules though, then sysupgrade'd back to the 0.99.9HF5 release, and copied exfat.ko into /lib/modules/4.4.60 That is preserved during reboot and nicely solves the problem. Now I just need to figure out why samba4-server can't install since libatomic1 is missing from the repos.... But hey, that's a different problem!

I'm patient, this will work until the 1.0 release which I hope will have exfat as a kernel module. Appreciate the help

@TalalMash
Copy link
Member

TalalMash commented Sep 28, 2023

Interesting, I'd expect the module to crash when compiled with a different kernel version.
You could replace:

src/gz glinet_core https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/kmod-4.2.1/arm_cortex-a7/ip60xx
#src/gz glinet_gli_pub https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/packages-4.1/arm_cortex-a7/glinet
#src/gz opnwrt_packages https://fw.gl-inet.com/releases/v21.02-SNAPSHOT/packages-4.0/arm_cortex-a7/packages

src/gz openwrt_base https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_cortex-a7/base
src/gz openwrt_luci https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_cortex-a7/luci
src/gz openwrt_packages https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_cortex-a7/packages
src/gz openwrt_routing https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_cortex-a7/routing
src/gz openwrt_telephony https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_cortex-a7/telephony

in /etc/opkg/distfeeds.conf for universal packages.

@leaberry
Copy link
Author

leaberry commented Oct 9, 2023

Hmm, you're correct. It modprobes fine, but stacktraces when I plug in an exfat drive. Oh well, I'm happy enough with the speedify bonding that I can't really complain. But next release please add the exfat kernel module (and the sierra wireless one too, then my LTE card will work too!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants