[GH-ISSUE #36] ERROR: 2025/09/22 14:39:11 Failed to create TUN device: operation not permitted #496

Closed
opened 2026-04-29 17:01:49 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @peterwalber on GitHub (Sep 22, 2025).
Original GitHub issue: https://github.com/fosrl/olm/issues/36

I tried to create a client for a raspberrypi 4.

The olm Image for arm64 doesn't start

`-bash: ./olm: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei

-bash: ./olm: can't execute binary file: error in format of the executable file`

Then I tried the docker image for olm.

But it failed to create the /dev/net/tun device

`INFO: 2025/09/22 14:39:09 Olm version 1.1.1

INFO: 2025/09/22 14:39:09 Websocket Connected

INFO: 2025/09/22 14:39:09 Sent registration message

INFO: 2025/09/22 14:39:09 Sent initial ping message

INFO: 2025/09/22 14:39:09 Starting hole punch for 1 exit nodes

INFO: 2025/09/22 14:39:09 Starting UDP hole punch to 1 exit nodes

INFO: 2025/09/22 14:39:09 Resolved exit node: pangolin.smarthomeremagen.de -> 194.55.12.147:21820

INFO: 2025/09/22 14:39:10 Starting hole punch for 1 exit nodes

INFO: 2025/09/22 14:39:10 Stopping UDP holepunch for all exit nodes

INFO: 2025/09/22 14:39:10 UDP hole punch goroutine ended for all exit nodes

INFO: 2025/09/22 14:39:10 UDP hole punch goroutine ended

ERROR: 2025/09/22 14:39:11 Failed to create TUN device: operation not permitted`

Originally created by @peterwalber on GitHub (Sep 22, 2025). Original GitHub issue: https://github.com/fosrl/olm/issues/36 I tried to create a client for a raspberrypi 4. The olm Image for arm64 doesn't start `-bash: ./olm: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei -bash: ./olm: can't execute binary file: error in format of the executable file` Then I tried the docker image for olm. But it failed to create the /dev/net/tun device `INFO: 2025/09/22 14:39:09 Olm version 1.1.1 INFO: 2025/09/22 14:39:09 Websocket Connected INFO: 2025/09/22 14:39:09 Sent registration message INFO: 2025/09/22 14:39:09 Sent initial ping message INFO: 2025/09/22 14:39:09 Starting hole punch for 1 exit nodes INFO: 2025/09/22 14:39:09 Starting UDP hole punch to 1 exit nodes INFO: 2025/09/22 14:39:09 Resolved exit node: pangolin.smarthomeremagen.de -> 194.55.12.147:21820 INFO: 2025/09/22 14:39:10 Starting hole punch for 1 exit nodes INFO: 2025/09/22 14:39:10 Stopping UDP holepunch for all exit nodes INFO: 2025/09/22 14:39:10 UDP hole punch goroutine ended for all exit nodes INFO: 2025/09/22 14:39:10 UDP hole punch goroutine ended ERROR: 2025/09/22 14:39:11 Failed to create TUN device: operation not permitted`
Author
Owner

@oschwartz10612 commented on GitHub (Nov 19, 2025):

I think you need to run it as sudo.

<!-- gh-comment-id:3553809376 --> @oschwartz10612 commented on GitHub (Nov 19, 2025): I think you need to run it as sudo.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/olm#496