openthread / wpantund

Wireless Network Interface Daemon for Low-Power Wireless SoCs
Apache License 2.0
174 stars 111 forks source link

Unit wpantund.service could not be found. #488

Closed hansdeweerd closed 3 years ago

hansdeweerd commented 3 years ago

I am trying to set up a thread network with a raspberry pi model 4b and a wireless starting kit(brd4001A) with a brd4161A on it as an NCP, this needs to be the border router.

but de wpantund is not showing up as a service. I follow this instruction: https://openthread.google.cn/certification/border-router/device-setup. for the NCP i have used the following build configurations: BORDER_AGENT=1 BORDER_ROUTER=1 COMMISSIONER=1 UDP_FORWARD=1

also, the config file was not installed so I installed wpantund by hand. and edit the config file to Config:NCP:SocketPath '/dev/ttyACM0'

jwhui commented 3 years ago

@hansdeweerd , the main branch in openthread/ot-br-posix implements the RCP model and does not use wpantund.

If you would like to follow the Border Router Guide, try using the wpantund/master branch in openthread/ot-br-posix.

hansdeweerd commented 3 years ago

thank you for your reply @jwhui

I switch to wpantund/master branch and installed openthread again but still no wpantund.conf file. Or do i need to install wpantund by hand?

root@raspberrypi:/home/pi/ot-br-posix# git branch main

jwhui commented 3 years ago

./script/setup should invoke script/_wpantund, which installs wpantund.

hansdeweerd commented 3 years ago

thanks it works!