[GH-ISSUE #81] Unable to modify interface: Invalid argument #45

Open
opened 2026-10-13 21:05:44 +00:00 by bsakaguchi · 4 comments
Owner

Originally created by @Zerogoki00 on GitHub (Jul 5, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/81

Hello, I installed the module on my server however awg-quick doesn't work

$ sudo lsmod | grep amnezia
amneziawg 114688 0
libchacha20poly1305 16384 1 amneziawg
ip6_udp_tunnel 16384 1 amneziawg
udp_tunnel 24576 1 amneziawg
curve25519_x86_64 36864 1 amneziawg
libcurve25519_generic 49152 2 amneziawg,curve25519_x86_64

$ sudo awg-quick up awg0
[#] ip link add awg0 type amneziawg
[#] awg setconf awg0 /dev/fd/63
Unable to modify interface: Invalid argument
[#] ip link delete dev awg0

What am I missing?

Originally created by @Zerogoki00 on GitHub (Jul 5, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/81 Hello, I installed the module on my server however awg-quick doesn't work $ sudo lsmod | grep amnezia amneziawg 114688 0 libchacha20poly1305 16384 1 amneziawg ip6_udp_tunnel 16384 1 amneziawg udp_tunnel 24576 1 amneziawg curve25519_x86_64 36864 1 amneziawg libcurve25519_generic 49152 2 amneziawg,curve25519_x86_64 $ sudo awg-quick up awg0 [#] ip link add awg0 type amneziawg [#] awg setconf awg0 /dev/fd/63 Unable to modify interface: Invalid argument [#] ip link delete dev awg0 What am I missing?
Author
Owner

@13xforever commented on GitHub (Jul 5, 2025):

seems like the latest release is broken
you can try downgrading with

sudo apt-get install amneziawg=1.0.20210914-0~202410011337+c0b400c~ubuntu24.04.1 amneziawg-tools=1.0.20210914-0~202410011337+c0b400c~ubuntu24.04.1 amneziawg-dkms=1.0.0-0~202411151001+7e7dfca~ubuntu24.04.1
<!-- gh-comment-id:3039516858 --> @13xforever commented on GitHub (Jul 5, 2025): seems like the latest release is broken you can try downgrading with ```sh sudo apt-get install amneziawg=1.0.20210914-0~202410011337+c0b400c~ubuntu24.04.1 amneziawg-tools=1.0.20210914-0~202410011337+c0b400c~ubuntu24.04.1 amneziawg-dkms=1.0.0-0~202411151001+7e7dfca~ubuntu24.04.1 ```
Author
Owner

@erv5 commented on GitHub (Jul 6, 2025):

seems like the latest release is broken you can try downgrading with

sudo apt-get install amneziawg=1.0.20210914-0202410011337+c0b400cubuntu24.04.1 amneziawg-tools=1.0.20210914-0202410011337+c0b400cubuntu24.04.1 amneziawg-dkms=1.0.0-0202411151001+7e7dfcaubuntu24.04.1

I don't think there is an amd64 or all deb file available
https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu/pool/main/a/amneziawg/

<!-- gh-comment-id:3040480117 --> @erv5 commented on GitHub (Jul 6, 2025): > seems like the latest release is broken you can try downgrading with > > sudo apt-get install amneziawg=1.0.20210914-0~202410011337+c0b400c~ubuntu24.04.1 amneziawg-tools=1.0.20210914-0~202410011337+c0b400c~ubuntu24.04.1 amneziawg-dkms=1.0.0-0~202411151001+7e7dfca~ubuntu24.04.1 I don't think there is an amd64 or all deb file available https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu/pool/main/a/amneziawg/
Author
Owner

@13xforever commented on GitHub (Jul 6, 2025):

It depends on if you have the old packages still in your local apt cache after upgrade

<!-- gh-comment-id:3040636476 --> @13xforever commented on GitHub (Jul 6, 2025): It depends on if you have the old packages still in your local apt cache after upgrade
Author
Owner

@erv5 commented on GitHub (Jul 6, 2025):

The issue seems to be related to amneziawg-tools

https://github.com/amnezia-vpn/amneziawg-tools/issues/26

<!-- gh-comment-id:3041050191 --> @erv5 commented on GitHub (Jul 6, 2025): The issue seems to be related to amneziawg-tools https://github.com/amnezia-vpn/amneziawg-tools/issues/26
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-linux-kernel-module#45
No description provided.