Raspberry Pi에서 Wireguard 시도가 "RTNETLINK 답변 : 지원되지 않는 작업"과 함께 실패했습니다.

칼 수

내가 시도한 단계

  1. Raspberry pi에서 Wireguard 클라이언트를 설정하려고합니다.

이것은 사용 된 구성입니다

# /etc/wireguard/wg0-client.conf
[Interface]
Address = 10.10.0.4/32
Address = fd86:ea04:1111::4/128
SaveConfig = true
PrivateKey = CLIENT-PRIVATE-KEY
DNS = 8.8.8.8

[Peer]
PublicKey = SERVER-PUBLIC-KEY
Endpoint = SERVER-PUBLIC-IP:PORT
AllowedIPs = 0.0.0.0/0, ::/0
  1. Wireguard 구성을 설정 한 후을 실행 sudo wg-quick up wg0-client하면 다음과 같이 실패합니다.
pi@raspberrypi:~ $ sudo wg-quick up wg0-client
[#] ip link add wg0-client type wireguard
RTNETLINK answers: Operation not supported
Unable to access interface: Protocol not supported
[#] ip link delete dev wg0-client
Cannot find device "wg0-client"

Wireguard 서버 측은 다른 장치에서 한동안 작동 했으므로 여기에 정보를 붙여 넣지 않습니다.

OS 및 하드웨어 컨텍스트

/ etc / os-release 정보

pi@raspberrypi:~ $ cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

하드웨어 정보는 / sys / firmware / devicetree / base / model

Raspberry Pi 3 Model B Rev 1.2
RichO

며칠 전에 Wireguard를 제거하고 커널을 최신 버전으로 업데이트 / 업그레이드하고 커널 헤더를 설치하고 Wireguard를 다시 설치하여 Pi-2에 대해이 문제를 해결했습니다. 그 후 매력처럼 일했다.

그러나 커널 헤더 만 필요할 수 있습니다. 다른 것보다 먼저 "sudo apt-get install raspberrypi-kernel-headers"를 시도 할 수 있습니다.

나는 :

Linux raspberrypi 4.19.118-v7 + # 1311 SMP 월 4 월 27 일 14:21:24 BST 2020 armv7l GNU / Linux

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

Related 관련 기사

뜨겁다태그

보관