![]() ![]() Jan 17 08:21:00 raspberrypi systemd: Failed to start WireGuard via wg-quick(8) for wg0. Jan 17 08:21:00 raspberrypi systemd: Failed with result 'exit-code'. Jan 17 08:21:00 raspberrypi systemd: Main process exited, code=exited, status=1/FAILURE Jan 17 08:21:00 raspberrypi wg-quick: Cannot find device "wg0" Jan 17 08:21:00 raspberrypi wg-quick: ip link delete dev wg0 Jan 17 08:21:00 raspberrypi wg-quick: Unable to access interface: Protocol not supported Jan 17 08:21:00 raspberrypi wg-quick: Error: Unknown device type. Jan 17 08:21:00 raspberrypi wg-quick: ip link add wg0 type wireguard Jan 17 08:21:00 raspberrypi systemd: Starting WireGuard via wg-quick(8) for wg0. Main PID: 451 (code=exited, status=1/FAILURE) Loaded: loaded enabled vendor preset: enabled)Īctive: failed (Result: exit-code) since Sun 08:21:00 CST 1 day 4h ago Rereading the output, I get the impression there is a wireguard module to load, but it doesn't load properly. Just for completeness, here's the output I get when trying to start the wireguard module. $ find /lib/modules/5.4.72-v7l+/ -type f | egrep -i 'wireguard|wg' | wc -l ![]() Similarly, I don't find "wg" or "wireguard" in any of the filenames. I'm not sure quite what to look for, but uname -a suggests I should poke around in 5.4.72-v7l+, so I tried that: $ find /lib/modules/5.4.72-v7l+/ -type f | xargs egrep -li wireguard | wc -l Taken together, it seems highly unlikely that I have a workable wireguard module. ![]() Two, I don't have the necessary headers (see apt search result above). Why "I think" the module isn't built: One, one of the things I read indicated the wireguard module automatically on install. Lack of a raspberrypi-kernel-headers package: $ apt search raspberrypi-kernel-headers I'm not the sharpest tool in the shed, but I think that uncommented deb-src line with "rpi" at the end should make kernel sources available to me. # Uncomment line below then 'apt-get update' to enable 'apt-get source' Done deb-src buster main contrib non-free rpiĭeb buster-backports main contrib non-free # Uncomment line below then 'apt-get update' to enable 'apt-get source'$ apt search raspberrypi-kernel-headersįull Text Search. Here's the sum of my various sources.list type files: # cat /etc/apt/sources.list /etc/apt//*.list I've tried various apt search commands to see if the package name has changed, and see no indication in my reading that it would be in some optional repository. I think I correctly followed the various directions I've seen about how to get up-and-running, but I can't find the raspberrypi-kernel-headers package mentioned in a couple places, so when I install the wireguard package the module can't be built (I think) and is thus unavailable to the kernel when I try to bring up that interface. I'm trying to get Wireguard going on my RPi, just to mess around with it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |