oxen-io / lokinet

Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
https://lokinet.org/
GNU General Public License v3.0
1.8k stars 225 forks source link

cannot set interface name: Operation not permitted #2192

Closed eisy closed 2 months ago

eisy commented 1 year ago

Describe the bug when i start lokinet, the following error occurs:

To Reproduce normal installation with apt, start lokinet oder lokinet-gui

Screenshots Or Logs

$ lokinet
[2023-07-14 06:57:26] [+0.000s] [:info|daemon/lokinet.cpp:230] starting up lokinet-0.9.11-1f3895a99 Our Lord And Savior
[2023-07-14 06:57:26] [+0.000s] [:info|daemon/lokinet.cpp:236] Using config file: "/home/user/.lokinet/lokinet.ini"
[2023-07-14 06:57:26] [+0.003s] [:info|llarp/router/router.cpp:1268] Bound RPC server to tcp://127.0.0.1:1190
[2023-07-14 06:57:26] [+0.007s] [:info|llarp/router/router.cpp:776] Loaded 3 bootstrap routers
[2023-07-14 06:57:26] [+0.007s] [:info|llarp/router/router.cpp:811] router profiling enabled
[2023-07-14 06:57:26] [+0.007s] [:info|llarp/router/router.cpp:814] no profiles file at "/home/user/.lokinet/profiles.dat" skipping
[2023-07-14 06:57:26] [+0.007s] [:info|llarp/handlers/tun.cpp:284] endpoint:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy.loki setting to be reachable by default
[2023-07-14 06:57:26] [+0.007s] [:info|llarp/handlers/tun.cpp:457] endpoint:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy.loki skipping loading addr map at "/home/user/.lokinet/addrmap.dat" as it does not currently exist
[2023-07-14 06:57:26] [+0.022s] [:info|llarp/router/router.cpp:1330] Signing rc...
[2023-07-14 06:57:26] [+0.023s] [:info|llarp/link/link_manager.cpp:137] starting 1 outbound links
[2023-07-14 06:57:26] [+0.023s] [:info|llarp/router/router.cpp:1382] starting hidden service context...
[2023-07-14 06:57:26] [+0.023s] [:info|llarp/handlers/tun.cpp:1084] Set Up networking for endpoint:khiuuzaqhxqqpgs8ptq36thtbt4dnjxa6nka9ayfr6zn1qyqcc4y.loki
[2023-07-14 06:57:26] [+0.023s] [:info|llarp/handlers/tun.cpp:1000] endpoint:khiuuzaqhxqqpgs8ptq36thtbt4dnjxa6nka9ayfr6zn1qyqcc4y.loki set lokitun0 to have address ::ffff:172.16.0.1
[2023-07-14 06:57:26] [+0.023s] [:info|llarp/handlers/tun.cpp:1001] endpoint:khiuuzaqhxqqpgs8ptq36thtbt4dnjxa6nka9ayfr6zn1qyqcc4y.loki allocated up to ::ffff:172.16.255.255 on range 172.16.0.1/16
[2023-07-14 06:57:26] [+0.023s] [:info|llarp/handlers/tun.cpp:960] endpoint:khiuuzaqhxqqpgs8ptq36thtbt4dnjxa6nka9ayfr6zn1qyqcc4y.loki map khiuuzaqhxqqpgs8ptq36thtbt4dnjxa6nka9ayfr6zn1qyqcc4y.loki to ::ffff:172.16.0.1
[2023-07-14 06:57:26] [+0.023s] [:info|llarp/handlers/tun.cpp:1017] endpoint:khiuuzaqhxqqpgs8ptq36thtbt4dnjxa6nka9ayfr6zn1qyqcc4y.loki using v6 range: fd00::ffff:ac10:1/112
[2023-07-14 06:57:26] [+0.023s] [:info|llarp/handlers/tun.cpp:1023] endpoint:khiuuzaqhxqqpgs8ptq36thtbt4dnjxa6nka9ayfr6zn1qyqcc4y.loki setting up network...
[2023-07-14 06:57:26] [+0.023s] [:error|llarp/handlers/tun.cpp:1031] endpoint:khiuuzaqhxqqpgs8ptq36thtbt4dnjxa6nka9ayfr6zn1qyqcc4y.loki failed to set up network interface: cannot set interface name: Operation not permitted
[2023-07-14 06:57:26] [+0.023s] [:error|llarp/service/context.cpp:156] default failed to start
[2023-07-14 06:57:26] [+0.023s] [:error|llarp/router/router.cpp:1385] Failed to start hidden service context

Device and Operating system (please complete the following information):

eisy commented 1 year ago
0ms: checking if the lokinet daemon replies for reason: "initialize ipc"...
1s:4ms: IPC channel job 724ca33b9e1b260deb07524fe1ae8e: isDaemonRunning timed out after 1000ms
1s:11ms: isDaemonRunning: status exception isDaemonRunning: timedout after 1000
1s:69ms: Lokinet daemon did not reply for reason: "initialize ipc"
1s:84ms: redux state at markDaemonIsTurningOn: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":true,"daemonIsTurningOff":false}"
6s:285ms: checking if the lokinet daemon replies for reason: "waitForDaemonStarted"...
7s:295ms: IPC channel job 782a4fcb1d0e84825ab0e4711d0ef3: isDaemonRunning timed out after 1000ms
7s:298ms: isDaemonRunning: status exception isDaemonRunning: timedout after 1000
7s:302ms: Lokinet daemon did not reply for reason: "waitForDaemonStarted"
7s:308ms: checking if the lokinet daemon replies for reason: "waitForDaemonStarted"...
8s:406ms: IPC channel job 743745627903291c09942cac2c63b4: isDaemonRunning timed out after 1000ms
8s:416ms: isDaemonRunning: status exception isDaemonRunning: timedout after 1000
8s:422ms: Lokinet daemon did not reply for reason: "waitForDaemonStarted"
8s:428ms: checking if the lokinet daemon replies for reason: "waitForDaemonStarted"...
9s:433ms: IPC channel job 2eb68bb48d84079176f349d26b1a21: isDaemonRunning timed out after 1000ms
9s:447ms: isDaemonRunning: status exception isDaemonRunning: timedout after 1000
9s:458ms: Lokinet daemon did not reply for reason: "waitForDaemonStarted"
9s:468ms: checking if the lokinet daemon replies for reason: "waitForDaemonStarted"...
10s:482ms: IPC channel job 3a697b770952211fc2f797995cf044: isDaemonRunning timed out after 1000ms
10s:499ms: isDaemonRunning: status exception isDaemonRunning: timedout after 1000
10s:511ms: Lokinet daemon did not reply for reason: "waitForDaemonStarted"
10s:525ms: checking if the lokinet daemon replies for reason: "waitForDaemonStarted"...
11s:562ms: IPC channel job da1aae2265fca595507ed05bbfff14: isDaemonRunning timed out after 1000ms
11s:571ms: isDaemonRunning: status exception isDaemonRunning: timedout after 1000
11s:594ms: Lokinet daemon did not reply for reason: "waitForDaemonStarted"
11s:745ms: redux state at markDaemonIsTurningOn: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false}"
11s:750ms: redux state at markInitialDaemonStartDone: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
11s:761ms: redux state at markDaemonIsTurningOn: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
13s:5ms: IPC channel job 1d6b08e47db99acd452f4a0d215b48: getSummaryStatus timed out after 1000ms
13s:22ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
13s:33ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
13s:505ms: IPC channel job c92229fa38d0715676e1252c39ddfd: getSummaryStatus timed out after 1000ms
13s:518ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
13s:530ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
14s:4ms: IPC channel job bb44dce0f9ceae2e5b97b69d97e6ca: getSummaryStatus timed out after 1000ms
14s:17ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
14s:28ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
14s:505ms: IPC channel job fbfcdd5f1b2b8cc6a8f13476b716ee: getSummaryStatus timed out after 1000ms
14s:520ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
14s:532ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
15s:4ms: IPC channel job 866c56f4f67e03e05683d6da16cab4: getSummaryStatus timed out after 1000ms
15s:22ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
15s:37ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
15s:504ms: IPC channel job 6a56720a28b4de2eee37a93af40366: getSummaryStatus timed out after 1000ms
15s:519ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
15s:527ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
16s:4ms: IPC channel job f008cd39ce279c85d08e734477d3e0: getSummaryStatus timed out after 1000ms
16s:18ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
16s:30ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
16s:506ms: IPC channel job a44dd605c9f2cb8d7101f2b45aa94b: getSummaryStatus timed out after 1000ms
16s:517ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
16s:528ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
17s:4ms: IPC channel job 925411a42f1568ce28201a26034ceb: getSummaryStatus timed out after 1000ms
17s:19ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
17s:28ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
17s:506ms: IPC channel job c679d5f561896f306f20ac19d571f2: getSummaryStatus timed out after 1000ms
17s:522ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
17s:533ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
18s:4ms: IPC channel job d2ff0bd4a3b6b372b5866210926434: getSummaryStatus timed out after 1000ms
18s:22ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
18s:43ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
18s:504ms: IPC channel job 31ac277ea42c477eca46066a7f2650: getSummaryStatus timed out after 1000ms
18s:534ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
18s:554ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
19s:4ms: IPC channel job b511b43e9ded2ab1aba9a4b2aa4002: getSummaryStatus timed out after 1000ms
19s:19ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
19s:25ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
19s:504ms: IPC channel job d17e479bd56cf5953726a59d2536d9: getSummaryStatus timed out after 1000ms
19s:518ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
19s:533ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
20s:4ms: IPC channel job bccbcb02dc0e7ec078578e7f6886c6: getSummaryStatus timed out after 1000ms
20s:23ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
20s:33ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
20s:504ms: IPC channel job bca3242800412d53a16f752cd4f16d: getSummaryStatus timed out after 1000ms
20s:521ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
20s:532ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
21s:4ms: IPC channel job 654ed55a578b1c05a627379c522315: getSummaryStatus timed out after 1000ms
21s:22ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
21s:34ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
21s:504ms: IPC channel job c9ed261b60eff71063fbde9b7d939c: getSummaryStatus timed out after 1000ms
21s:534ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
21s:555ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
22s:4ms: IPC channel job e981bf859a84d4c338cca32b378927: getSummaryStatus timed out after 1000ms
22s:32ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
22s:48ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
22s:506ms: IPC channel job 62b2e520a5f6197322e6966ec756e8: getSummaryStatus timed out after 1000ms
22s:520ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
22s:535ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
23s:4ms: IPC channel job b4f55c9305109bc19639e412bab1a1: getSummaryStatus timed out after 1000ms
23s:20ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
23s:29ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
23s:504ms: IPC channel job 69d919af4d3348c186e0a029b4ca74: getSummaryStatus timed out after 1000ms
23s:525ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
23s:538ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
24s:4ms: IPC channel job e2bea3cfeaf3af177159fbac5ff351: getSummaryStatus timed out after 1000ms
24s:25ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
24s:36ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
24s:504ms: IPC channel job 1fb0b2c0b43e4a875baf6020de19e1: getSummaryStatus timed out after 1000ms
24s:521ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
24s:531ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
25s:4ms: IPC channel job 2048127505bfcb5485786b74e901a3: getSummaryStatus timed out after 1000ms
25s:24ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
25s:36ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
25s:504ms: IPC channel job b9e241b551ab11ccdc651b3cc9ee61: getSummaryStatus timed out after 1000ms
25s:526ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
25s:538ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
26s:4ms: IPC channel job b6db0df344bc466a0df49315206499: getSummaryStatus timed out after 1000ms
26s:24ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
26s:34ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
26s:504ms: IPC channel job 48093a9daadaed2633cf3db34e2283: getSummaryStatus timed out after 1000ms
26s:526ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
26s:540ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
27s:4ms: IPC channel job 03ded319b80014e2f3a355d231d843: getSummaryStatus timed out after 1000ms
27s:23ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
27s:36ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
27s:559ms: IPC channel job 9fc678703c9b909d9c78ab9cc3bd5d: getSummaryStatus timed out after 1000ms
27s:574ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
27s:582ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
28s:4ms: IPC channel job 6cc1648e6f956baab6d60b2e34bd65: getSummaryStatus timed out after 1000ms
28s:20ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
28s:45ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
28s:559ms: IPC channel job 64ec233e39fda6b20cbdccdadf98f8: getSummaryStatus timed out after 1000ms
28s:574ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
28s:584ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
29s:4ms: IPC channel job ef5b0d9a1fdf919dd01c7f67357ec0: getSummaryStatus timed out after 1000ms
29s:21ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
29s:31ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
29s:504ms: IPC channel job 3a489025791406649e9ba922cec165: getSummaryStatus timed out after 1000ms
29s:519ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
29s:530ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
30s:4ms: IPC channel job 3a39b5ceed9dd61c1f9d63147603b7: getSummaryStatus timed out after 1000ms
30s:20ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
30s:36ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
30s:504ms: IPC channel job 9b7666a9bed19d6aeccb1d69fc7982: getSummaryStatus timed out after 1000ms
30s:520ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
30s:531ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
31s:4ms: IPC channel job 548ca2c5608ca8deb03bd171dfd3b4: getSummaryStatus timed out after 1000ms
31s:20ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
31s:31ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
31s:504ms: IPC channel job 84d1c9371cf4d5c64735223729ccf0: getSummaryStatus timed out after 1000ms
31s:522ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
31s:535ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
32s:4ms: IPC channel job b73d8911e57bfb46ee0968a96d1e9d: getSummaryStatus timed out after 1000ms
32s:21ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
32s:32ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
32s:504ms: IPC channel job fa3a98912eebf783981ecbf01e5207: getSummaryStatus timed out after 1000ms
32s:522ms: redux state at markAsStoppedFromSummaryTimedOut2: "{"exitTurningOn":false,"exitTurningOff":false,"daemonIsTurningOn":false,"daemonIsTurningOff":false,"initialDaemonStartDone":true}"
jagerman commented 1 year ago
$ lokinet

Lokinet typically does not run directly via a user account like this: it needs some additional permissions to create a network tunnel, which are configured in its systemd service file installed as part of the .deb.

Try starting it with sudo systemctl start lokinet instead.

Lokinet-gui should be trying to do that itself (it prompts you for authentication to start the service, though how that works is system dependent).

eisy commented 1 year ago
$ lokinet

Lokinet typically does not run directly via a user account like this: it needs some additional permissions to create a network tunnel, which are configured in its systemd service file installed as part of the .deb.

Try starting it with sudo systemctl start lokinet instead.

Lokinet-gui should be trying to do that itself (it prompts you for authentication to start the service, though how that works is system dependent).

Hello jagerman! I greet you very dear! Thank you for your quick reply and also thank you for your suggested solution! Unfortunately, this did not solve the problem. I did what you said, but Lokinet still won't start so I can use it. Even now, unfortunately, it still behaves like the problem. A connection is not established, unfortunately.

I think that's a great pity, because I think the concept of Lokinet is really great! Therefore, I hope for a solution soon so that I can also use Lokinet. I am grateful for any help you can give me!

To solve the problem, I have already tried various things myself. Also in the configuration file of Lokinet. But in the end I reset all values back to default, as none of the changes helped.

So I probably won't find a solution on my own. So I'm putting all my hopes on you guys, i.e. the Lokinet community and the Lokinet programmers!

Well, here is the output I get when I start Lokinet with your suggested solution:

user@unbekannt:~$ sudo systemctl stop lokinet
user@unbekannt:~$ sudo systemctl start lokinet
Job for lokinet.service failed because the control process exited with error code.
See "systemctl status lokinet.service" and "journalctl -xe" for details.
user@unbekannt:~$ systemctl status lokinet.service
● lokinet.service - LokiNET: Anonymous Network layer thingydoo, client
     Loaded: loaded (/lib/systemd/system/lokinet.service; disabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Sat 2023-07-15 11:26:30 CEST; 4s ago
    Process: 15092 ExecStart=/usr/bin/lokinet /var/lib/lokinet/lokinet.ini (code=exited, status=1/FAILURE)
    Process: 15105 ExecStopPost=/usr/sbin/lokinet-resolvconf remove /var/lib/lokinet/lokinet.ini (code=exited>
   Main PID: 15092 (code=exited, status=1/FAILURE)
        CPU: 49ms

user@unbekannt:~$ journalctl -xe
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:16 unbekannt systemd[3101]: var-lib-docker-overlay2-9b3cabe6ddd2b002bf51c74cc1f92b6654ac1ddb8aaa>
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:42 unbekannt systemd[3101]: run-docker-netns-d5668ee0b042.mount: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:42 unbekannt systemd[3101]: var-lib-docker-overlay2-7dce1a1f6ea0ee2fcdad841c8d0d0650364955f760da>
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
**Jul 15 11:26:52 unbekannt /usr/libexec/gdm-x-session[4339]: [4340:4527:0715/112652.073587:ERROR:get_updates_p>**
lines 2481-2503/2503 (END)
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:16 unbekannt systemd[3101]: var-lib-docker-overlay2-9b3cabe6ddd2b002bf51c74cc1f92b6654ac1ddb8aaa8af42c3f3ba557e660bd-merged.mount: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:42 unbekannt systemd[3101]: run-docker-netns-d5668ee0b042.mount: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:42 unbekannt systemd[3101]: var-lib-docker-overlay2-7dce1a1f6ea0ee2fcdad841c8d0d0650364955f760da54a0f4190a2f15414a8f-merged.mount: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:52 unbekannt /usr/libexec/gdm-x-session[4339]: [4340:4527:0715/112652.073587:ERROR:get_updates_processor.cc(264)] PostClientToServerMessage() fa>
majestrate commented 1 year ago

On Saturday, 15 July 2023 06:08:47 EDT eisy wrote:

$ lokinet

Lokinet typically does not run directly via a user account like this: it needs some additional permissions to create a network tunnel, which are configured in its systemd service file installed as part of the .deb.

Try starting it with sudo systemctl start lokinet instead.

Lokinet-gui should be trying to do that itself (it prompts you for authentication to start the service, though how that works is system dependent). Hello jagerman! I greet you very dear! Thank you for your quick reply and also thank you for your suggested solution! Unfortunately, this did not solve the problem. I did what you said, but Lokinet still won't start so I can use it. Even now, unfortunately, it still behaves like the problem. A connection is not established, unfortunately.

I think that's a great pity, because I think the concept of Lokinet is really great! Therefore, I hope for a solution soon so that I can also use Lokinet. I am grateful for any help you can give me!

To solve the problem, I have already tried various things myself. Also in the configuration file of Lokinet. But in the end I reset all values back to default, as none of the changes helped.

So I probably won't find a solution on my own. So I'm putting all my hopes on you guys, i.e. the Lokinet community and the Lokinet programmers!

Well, here is the output I get when I start Lokinet with your suggested solution:


***@***.***:~$ sudo systemctl stop lokinet
***@***.***:~$ sudo systemctl start lokinet
Job for lokinet.service failed because the control process exited with error
code. See "systemctl status lokinet.service" and "journalctl -xe" for
details. ***@***.***:~$ systemctl status lokinet.service
● lokinet.service - LokiNET: Anonymous Network layer thingydoo, client
     Loaded: loaded (/lib/systemd/system/lokinet.service; disabled; vendor
preset: enabled) Active: activating (auto-restart) (Result: exit-code)
since Sat 2023-07-15 11:26:30 CEST; 4s ago Process: 15092
ExecStart=/usr/bin/lokinet /var/lib/lokinet/lokinet.ini (code=exited,
status=1/FAILURE) Process: 15105 ExecStopPost=/usr/sbin/lokinet-resolvconf
remove /var/lib/lokinet/lokinet.ini (code=exited> Main PID: 15092
(code=exited, status=1/FAILURE)
        CPU: 49ms

***@***.***:~$ journalctl -xe
Hint: You are currently not seeing messages from other users and the system.
Users in groups 'adm', 'systemd-journal' can see all messages. Pass -q to
turn off this notice.
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:16 unbekannt systemd[3101]:
var-lib-docker-overlay2-9b3cabe6ddd2b002bf51c74cc1f92b6654ac1ddb8aaa> ░░
Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:42 unbekannt systemd[3101]:
run-docker-netns-d5668ee0b042.mount: Succeeded. ░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:42 unbekannt systemd[3101]:
var-lib-docker-overlay2-7dce1a1f6ea0ee2fcdad841c8d0d0650364955f760da> ░░
Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit UNIT has successfully entered the 'dead' state.
**Jul 15 11:26:52 unbekannt /usr/libexec/gdm-x-session[4339]:
[4340:4527:0715/112652.073587:ERROR:get_updates_p>** lines 2481-2503/2503
(END)
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:16 unbekannt systemd[3101]:
var-lib-docker-overlay2-9b3cabe6ddd2b002bf51c74cc1f92b6654ac1ddb8aaa8af42c3
f3ba557e660bd-merged.mount: Succeeded. ░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:42 unbekannt systemd[3101]:
run-docker-netns-d5668ee0b042.mount: Succeeded. ░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:42 unbekannt systemd[3101]:
var-lib-docker-overlay2-7dce1a1f6ea0ee2fcdad841c8d0d0650364955f760da54a0f41
90a2f15414a8f-merged.mount: Succeeded. ░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit UNIT has successfully entered the 'dead' state.
Jul 15 11:26:52 unbekannt /usr/libexec/gdm-x-session[4339]:
[4340:4527:0715/112652.073587:ERROR:get_updates_processor.cc(264)]
PostClientToServerMessage() fa> ```

can you give the full version of your debian system you have? the output of the following command should suffice:

$ cat /etc/os-release

additionally do you have the systemd-resolved package installed?

-- ~jeff

eisy commented 1 year ago

Good day dear jeff, I greet you warmly. Please excuse my very late reply. Thank you for your answer and your help. So I gave up on installing lokinet normally. Instead I compiled lokinet myself. Unlike the normal installation way, this worked wonderfully easy and successfully! Since I let the system compile lokinet, it works flawlessly. This seems to be subjectively (maybe objectively) the cleanest way to install lokinet.

But now I would like to answer your questions:

can you give the full version of your debian system you have? the output of the following command should suffice: $ cat /etc/os-release

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

additionally do you have the systemd-resolved package installed?

~$ sudo systemctl status systemd-resolved

systemd-resolved.service - Network Name Resolution
     Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
     Active: inactive (dead)
       Docs: man:systemd-resolved.service(8)
             man:org.freedesktop.resolve1(5)
             https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
             https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients

Best regards! ~philipp