netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
11.3k stars 518 forks source link

failed creating interface wt0: [no such device] #127

Closed zeflo closed 2 years ago

zeflo commented 3 years ago

Hi, i tried to setup wiretrustee on an raspberry pi and an raspberry pi 3 model b+. I created a new raspbian sd card and then tried the setup as described in [1]. But after the initial login it can't start. The log[2] shows the following:

time="2021-10-07T17:20:12+01:00" level=error msg="failed reading config /etc/wiretrustee/config.json open /etc/wiretrustee/config.json: no such file or directory"
time="2021-10-07T17:20:29+01:00" level=info msg="generating new config /etc/wiretrustee/config.json"
time="2021-10-07T17:20:31+01:00" level=info msg="peer has been successfully registered on Management Service"
time="2021-10-07T17:21:02+01:00" level=debug msg="connecting to management server api.wiretrustee.com:33073"
time="2021-10-07T17:21:05+01:00" level=debug msg="connected to management server api.wiretrustee.com:33073"
time="2021-10-07T17:21:05+01:00" level=info msg="peer logged in to Management Service api.wiretrustee.com:33073"
time="2021-10-07T17:21:05+01:00" level=error msg="failed creating interface wt0: [no such device]"
time="2021-10-07T17:21:05+01:00" level=error msg="error while starting Wiretrustee Connection Engine: no such device"

Any ideas what the problem is?

[1] https://app.wiretrustee.com/add-peer [2] /var/log/wiretrustee/client.log

braginini commented 3 years ago

Hey @zeflo Could you please try running: which wg

And then: sudo apt-cache policy wireguard

What is the output? It might be that your OS version doesn't have Wireguard module installed.

What version of Raspbian are you using?