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

kernel backend not working #22

Open
bol-van opened this issue Dec 12, 2024 · 0 comments
Open

kernel backend not working #22

bol-van opened this issue Dec 12, 2024 · 0 comments

Comments

@bol-van
Copy link

bol-van commented Dec 12, 2024

I'm trying to set up kernel backed for amnezia wg android v1.1.1.1.
I've successfully built kernel module, loaded it.
Could switch it on in app.
But when I try to enable any tunnel I immediately get

12-12 23:14:58.107  7328  7344 W AmneziaWG/AwgQuickBackend:     at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:92)
12-12 23:14:58.157  7328  7328 E AmneziaWG/BaseFragment: Ошибка при запуске туннеля: Required tools unavailable
12-12 23:14:58.157  7328  7328 E AmneziaWG/BaseFragment: java.io.FileNotFoundException: Required tools unavailable
12-12 23:14:58.157  7328  7328 E AmneziaWG/BaseFragment:        at org.amnezia.awg.util.ToolsInstaller.ensureToolsAvailable(Unknown Source:57)
12-12 23:14:58.157  7328  7328 E AmneziaWG/BaseFragment:        at org.amnezia.awg.backend.AwgQuickBackend.setState(SourceFile:48)
12-12 23:14:58.157  7328  7328 E AmneziaWG/BaseFragment:        at org.amnezia.awg.model.TunnelManager$setTunnelState$2$1.invokeSuspend(Unknown Source:75)
12-12 23:14:58.157  7328  7328 E AmneziaWG/BaseFragment:        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
12-12 23:14:58.157  7328  7328 E AmneziaWG/BaseFragment:        at kotlinx.coroutines.DispatchedTask.run(Unknown Source:96)
12-12 23:14:58.157  7328  7328 E AmneziaWG/BaseFragment:        at androidx.fragment.app.Fragment$4.run(SourceFile:14)
12-12 23:14:58.157  7328  7328 E AmneziaWG/BaseFragment:        at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
12-12 23:14:58.157  7328  7328 E AmneziaWG/BaseFragment:        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:92)

There's nothing in /data/data/org.amnezia.awg/code_cache/bin
I also built awg-tools and put wg/wg-quick there (as in original wireguard) with no effect. (also set up chmod and chcon)
Renamed wg->awg wg_quick->awg_quick with not effect.

strace shows that it doesn't even try to open any files when I press tunnel enable

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

1 participant