Werner Posted February 8, 2021 Posted February 8, 2021 Providing logs with armbianmonitor -u helps with troubleshooting and significantly raises chances that issue gets addressed. 0 Quote
ChriWo Posted February 9, 2021 Posted February 9, 2021 sorry here is the info http://ix.io/2OJ0 Best regards ChriWo 0 Quote
Igor Posted February 9, 2021 Posted February 9, 2021 Latest wireguard version is shipped with a kernel. You only need to apt install wireguard-tools. I added them to our repository but update takes 24h. You can manually install them and it should work: http://ftp.us.debian.org/debian/pool/main/w/wireguard/wireguard-tools_1.0.20200827-1~bpo10+1_armhf.deb 0 Quote
ChriWo Posted February 10, 2021 Posted February 10, 2021 Hi Igor, Thank you for the download but get the following error: noname@hc1:~$ sudo apt install wireguard-tools_1.0.20200827-1_bpo10+1_armhf.deb Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package wireguard-tools_1.0.20200827-1_bpo10+1_armhf.deb E: Couldn't find any package by glob 'wireguard-tools_1.0.20200827-1_bpo10+1_armhf.deb' E: Couldn't find any package by regex 'wireguard-tools_1.0.20200827-1_bpo10+1_armhf.deb' noname@hc1:~$ What I'm doing wrong? Thanks for helping ChriWo 0 Quote
Igor Posted February 10, 2021 Posted February 10, 2021 wget http://ftp.us.debian.org/debian/pool/main/w/wireguard/wireguard-tools_1.0.20200827-1~bpo10+1_armhf.deb sudo dpkg -i wireguard-tools_1.0.20200827-1~bpo10+1_armhf.deb 0 Quote
ChriWo Posted February 11, 2021 Posted February 11, 2021 Dear Igor, Thank you very much with this command sudo dpkg -i wireguard-tools_1.0.20200827-1~bpo10+1_armhf.deb it is working. Best regards ChriWo 1 Quote
Justly5653 Posted July 17, 2023 Posted July 17, 2023 Hi, this seems to be an issue again with Odroid XU4 + Armbian. When I try to bring up a Wireguard interface I get: jul 17 12:52:30 odroidxu4 wg-quick[1940]: [#] ip link add wg0 type wireguard jul 17 12:52:30 odroidxu4 wg-quick[1949]: Error: Unknown device type. jul 17 12:52:30 odroidxu4 wg-quick[1952]: Unable to access interface: Protocol not supported Both wireguard and wireguard tools are up to date, I restarted the device multiple times. "sudo dkms status" doesn't output anything. Based on "sudo apt update" / "sudo apt dist-upgrade" I'm up to date. Looks like the wireguard module isn't loaded at all: $ sudo lsmod | grep wire <no output> Version information: $ uname -a Linux odroidxu4 5.4.243-odroidxu4 #1 SMP PREEMPT Mon May 22 13:57:29 UTC 2023 armv7l GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Armbian 23.05.1 bookworm Release: 12 Codename: bookworm I tried to find some "odroidxu4 specific kernel headers package", but that fails: $ sudo dpkg-reconfigure linux-headers-current-odroidxu4 Compiling headers - please wait ... Makefile:583: arch//Makefile: No existe el fichero o el directorio make: *** No hay ninguna regla para construir el objetivo 'arch//Makefile'. Alto. Makefile:927: scripts/Makefile.ubsan: No existe el fichero o el directorio make: *** No hay ninguna regla para construir el objetivo 'scripts/Makefile.ubsan'. Alto. Makefile:927: scripts/Makefile.ubsan: No existe el fichero o el directorio make: *** No hay ninguna regla para construir el objetivo 'scripts/Makefile.ubsan'. Alto. How can I make Wireguard usable on the OdroidXU4 with Armbian? 0 Quote
Igor Posted July 17, 2023 Posted July 17, 2023 5 hours ago, Justly5653 said: How can I make Wireguard usable on the OdroidXU4 with Armbian? Try EDGE kernel. Module for WG should be already in. For this 5.4.y kernel we need to look why headers are broken ... 0 Quote
Justly5653 Posted July 24, 2023 Posted July 24, 2023 Hi Igor, thanks for the quick reply! On 7/17/2023 at 6:22 PM, Igor said: Try EDGE kernel. Module for WG should be already in. For this 5.4.y kernel we need to look why headers are broken ... How can I do that? Is there a specific package I should install? Thanks. 0 Quote
Justly5653 Posted July 30, 2023 Posted July 30, 2023 On 7/24/2023 at 2:54 PM, Werner said: Try with armbian-config -> system -> other Thanks, that worked. However the edge kernel doesn't seem to have the eCryptfs module (the one which can be used to encrypt home directories: https://man.archlinux.org/man/extra/ecryptfs-utils/ecryptfs-migrate-home.8.en). When I tried to go back to the current kernel (again with armbian-config -> system -> other), the whole system just didn't start after reboot. I'll have to re-flash my eMMC storage with armbian. 0 Quote
Werner Posted July 30, 2023 Posted July 30, 2023 You can always go ahead and use the build framework to build a kernel package or whole image with kernel configuration customized and stuff added you need: https://github.com/armbian/build 0 Quote
Topsporty Posted August 8, 2023 Posted August 8, 2023 Same Problem here. I activated the edge kernel, then wireguard worked, but my xu4 can't reboot. After reboot command, system ist not reachable over the network. (pull the plug fixes this, but after reboot command, same problem) any ideas? 0 Quote
PaperLawyer Posted September 15, 2023 Posted September 15, 2023 I moved to the edge kernel this evening following Werner's advice and it solved my wireguard installation issues on my Odroid HC2. No problem on reboot, either. Thank you. 0 Quote
BOFFBOY Posted 14 hours ago Posted 14 hours ago apologies to hi-jack this thread Armbian_24.5.2 noble_vendor_6.1.43_gnome-oibaf_desktop version WG can not start after a reboot.... I have enabled and started the services but no good... am i doing something missing ? 0 Quote
Werner Posted 12 hours ago Posted 12 hours ago Is the wireguard kernel module available and loaded? 0 Quote
BOFFBOY Posted 12 hours ago Posted 12 hours ago could you please provide some steps on how to check and how to enable ? it appears i have to manually do this command to get it started after a reboot sudo systemctl enable wg-quick@wg0 sudo systemctl start wg-quick@wg0 sudo wg-quick up wg0 0 Quote
Werner Posted 12 hours ago Posted 12 hours ago Check if wireguard is present under lsmod Also check your logs (journal, syslog,...) which should tell you something about why things fail. 0 Quote
BOFFBOY Posted 11 hours ago Posted 11 hours ago (edited) Please assist ... after reboot here are the details... note.. i did have this working a few weeks ago... but after sudo update.. it stopped even after a fresh install.. root@orangepi5-plus:~# sudo systemctl status wg-quick@wg0.service × wg-quick@wg0.service - WireGuard via wg-quick(8) for wg0 Loaded: loaded (/lib/systemd/system/wg-quick@.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2024-11-30 00:05:18 AEDT; 1min 31s ago Docs: man:wg-quick(8) man:wg(8) https://www.wireguard.com/ https://www.wireguard.com/quickstart/ https://git.zx2c4.com/wireguard-tools/about/src/man/wg-quick.8 https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8 Process: 1276 ExecStart=/usr/bin/wg-quick up wg0 (code=exited, status=1/FAILURE) Main PID: 1276 (code=exited, status=1/FAILURE) CPU: 56ms Nov 30 00:05:18 orangepi5-plus systemd[1]: Starting WireGuard via wg-quick(8) for wg0... Nov 30 00:05:18 orangepi5-plus wg-quick[1276]: [#] ip link add wg0 type wireguard Nov 30 00:05:18 orangepi5-plus wg-quick[1276]: [#] wg setconf wg0 /dev/fd/63 Nov 30 00:05:18 orangepi5-plus wg-quick[1338]: Name or service not known: `myipaddresshereremoved.com:51820' Nov 30 00:05:18 orangepi5-plus wg-quick[1338]: Configuration parsing error Nov 30 00:05:18 orangepi5-plus wg-quick[1276]: [#] ip link delete dev wg0 Nov 30 00:05:18 orangepi5-plus systemd[1]: wg-quick@wg0.service: Main process exited, code=exited, status=1/FAILURE Nov 30 00:05:18 orangepi5-plus systemd[1]: wg-quick@wg0.service: Failed with result 'exit-code'. Nov 30 00:05:18 orangepi5-plus systemd[1]: Failed to start WireGuard via wg-quick(8) for wg0. root@orangepi5-plus:~# apt list --installed|grep wireguard WARNING: apt does not have a stable CLI interface. Use with caution in scripts. wireguard-dkms/jammy,now 1.0.20210606-1 all [installed,automatic] wireguard-tools/jammy,now 1.0.20210914-1ubuntu2 arm64 [installed,automatic] wireguard/jammy,now 1.0.20210914-1ubuntu2 all [installed] root@orangepi5-plus:~# lsmod Module Size Used by bnep 24576 2 nft_masq 16384 1 nft_fib_inet 16384 1 nft_fib_ipv4 16384 1 nft_fib_inet nft_fib_ipv6 16384 1 nft_fib_inet nft_fib 16384 3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet nft_reject_inet 16384 6 nf_reject_ipv4 16384 1 nft_reject_inet nf_reject_ipv6 16384 1 nft_reject_inet nft_reject 16384 1 nft_reject_inet nft_ct 20480 10 wireguard 77824 0 libchacha20poly1305 16384 1 wireguard chacha_neon 24576 1 libchacha20poly1305 libchacha 16384 1 chacha_neon poly1305_neon 20480 1 libchacha20poly1305 ip6_udp_tunnel 16384 1 wireguard udp_tunnel 20480 1 wireguard libcurve25519_generic 36864 1 wireguard nft_chain_nat 16384 3 nf_nat 57344 2 nft_masq,nft_chain_nat nf_conntrack 135168 3 nf_nat,nft_ct,nft_masq nf_defrag_ipv6 20480 1 nf_conntrack nf_defrag_ipv4 16384 1 nf_conntrack nf_tables 172032 215 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_fib_ipv4,nft_masq,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet nfnetlink 16384 2 nf_tables zstd 16384 8 binfmt_misc 20480 1 joydev 20480 0 sch_fq_codel 20480 5 fuse 110592 1 ip_tables 28672 0 ipv6 438272 89 nf_reject_ipv6,nft_fib_ipv6,wireguard pgdrv 16384 0 r8169 77824 0 panfrost 57344 0 gpu_sched 28672 1 panfrost Edited 11 hours ago by BOFFBOY removedip 0 Quote
SteeMan Posted 10 hours ago Posted 10 hours ago 1 hour ago, BOFFBOY said: Nov 30 00:05:18 orangepi5-plus wg-quick[1338]: Name or service not known: `myipaddresshereremoved.com:51820' This is likely the error you are running into. Is that your valid domain name for your wireguard server? I have had issues with wireguard starting before DNS name resolution is in place which I resolved by using IP addresses in the wireguard config files instead of domain names. 0 Quote
BOFFBOY Posted 9 hours ago Posted 9 hours ago oh my goodness yes you are correct.. when i use the IP address it fixes it.. how can i use domain name in the endpoint ? must be something i need to config ? i missed a step ? ps i really need to use a domain.. 0 Quote
SteeMan Posted 9 hours ago Posted 9 hours ago Don't know, as I am fine with using the IP address so never researched further. I suspect it is a timing issue between DNS starting and wireguard starting. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.