wpantund.service is not running by default
Closed this issue · 0 comments
I want Open Thread Border Router (OTBR) Web GUI to configure and form, join, or check the status of a Thread network. I am trying to Setup the Border Router Using Beagle Bone Black and TI Board CC2652R1 as a NCP.
I have followed this below steps to setup the Border Router.
- Flashed the bone-debian-10.3-iot-armhf-2020-04-06-4gb image on Beagle Bone Black.
- Expanded the partition to enable usage of the entire storage capacity.
sudo /opt/scripts/tools/grow_partition.sh
sudo shutdown -r now - Installation of Border Router
git clone https://github.com/openthread/ot-br-posix
cd ot-br-posix
./script/bootstrap
./script/setup - Installation of wpantund
git clone https://github.com/openthread/wpantund.git
cd wpantund
git checkout full/latest-release
sudo apt-get update
sudo apt-get install dbus libreadline
sudo apt-get install gcc g++ libdbus-1-dev libboost-dev libreadline-dev
git checkout full/latest-release
sudo apt-get install libtool autoconf autoconf-archive
./bootstrap.sh
./configure --sysconfdir=/etc
make
sudo make install - configure the /etc/wpantund.conf file
Config:NCP:SocketPath "serial:/dev/ttyACM0,raw,b115200,crtscts=0
I am able to open Open Thread Border Router Web Page Using IP address of BBB but when I try to Form network it throws an error "Form Operation is failed".
I am attaching some commands output -
- sudo systemctl status
? beaglebone
State: running
Jobs: 1 queued
Failed: 0 units
Since: Wed 2022-04-27 09:08:08 UTC; 34min ago
CGroup: /
tquser.slice
x mquser-1000.slice
x tquser@1000.service
x x mqinit.scope
x x tq1785 /lib/systemd/systemd --user
x x mq1786 (sd-pam)
x mqsession-1.scope
x tq1679 /bin/login -p --
x tq1795 -bash
x tq5992 sudo systemctl status
x tq5994 systemctl status
x mq5995 pager
tqinit.scope
x mq1 /sbin/init
mqsystem.slice
tqalsa-state.service
x mq1675 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon
tqsystemd-timesyncd.service
x mq765 /lib/systemd/systemd-timesyncd
tqtayga.service
x mq1146 /usr/sbin/tayga --pidfile /var/run/tayga.pid
tqdbus.service
x mq791 /usr/bin/dbus-daemon --system --address=systemd: --nofork -
tqssh.service
x mq1047 /usr/sbin/sshd -D
tqavahi-daemon.service
x tq808 avahi-daemon: running [beaglebone.local]
x mq840 avahi-daemon: chroot helper
tqsystem-serial\x2dgetty.slice
x mqserial-getty@ttyS0.service
x mq1076 /sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 t
tqotbr-web.service
x mq1215 /usr/sbin/otbr-web
tqsystem-getty.slice
x mqgetty@tty1.service
x mq1068 /sbin/agetty -o -p -- \u --noclear tty1 linux
tqwpa_supplicant.service
x mq805 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
tqconnman.service
x mq799 /usr/sbin/connmand -n --nodnsproxy
tqsystemd-logind.service
x mq815 /lib/systemd/systemd-logind
tqotbr-agent.service
x tq5973 /bin/sh /usr/sbin/service mdns start
x mq5997 systemctl -p Triggers show systemd-udevd-control.socket
tqcron.service
x mq802 /usr/sbin/cron -f
tqsystemd-udevd.service
x mq758 /lib/systemd/systemd-udevd
tqrsyslog.service
x mq811 /usr/sbin/rsyslogd -n -iNONE
tqmdns.service
x mq1210 /usr/sbin/mdnsd
tqsystemd-journald.service
x mq746 /lib/systemd/systemd-journald
mqhaveged.service
mq766 /usr/sbin/haveged --Foreground --verbose=1 -w 1024
lines 41-63/63 (END)
-
sudo wpanctl status
error: The name com.nestlabs.WPANTunnelDriver was not provided by any .service files
wpanctl: error:wpantund
is either not running, locked up, or incompatible with this version ofwpanctl
. -
sudo /usr/local/sbin/wpantund -o NCPSocketName /dev/ttyACM0 -o SyslogMask all -I wpan0
debian@beaglebone:~$ sudo /usr/local/sbin/wpantund -o NCPSocketName /dev/ttyACM0 -o SyslogMask all -I wpan0
wpantund[3077]: Starting wpantund 0.07.01 (Apr 26 2022 10:36:59) . . .
wpantund[3077]: SOURCE_VERSION = 0.07.01-2-g6993264-dirty
wpantund[3077]: BUILD_VERSION = 0.07.01-2-g6993264-dirty
wpantund[3077]: Reading configuration from "/etc/wpantund.conf" . . .
wpantund[3077]: Configuration file "/etc/wpantund.conf" read.
wpantund[3077]: CONFIGURATION PROPERTY "NCPSocketName" IS DEPRECATED. Please use "Config:NCP:SocketPath" instead.
wpantund[3077]: CONFIGURATION PROPERTY "SyslogMask" IS DEPRECATED. Please use "Daemon:SyslogMask" instead.
wpantund[3077]: set-config-param: "Config:NCP:SocketPath" = "/dev/ttyACM0"
wpantund[3077]: set-config-param: "Config:TUN:InterfaceName" = "wpan0"
wpantund[3077]: set-config-param: "Daemon:SyslogMask" = "all"
wpantund[3077]: set-config-param: "Daemon:SyslogMask" set succeded
wpantund[3077]: Getting DBus connection
wpantund[3077]: Registering DBus connection
wpantund[3077]: Requesting DBus connection name com.nestlabs.WPANTunnelDriver
wpantund[3077]: Ready. Using DBUS bus ":1.18"
wpantund[3077]: Stat (autolog): Tx: 0 packets (0 udp, 0 tcp, 0 icmp6) -- 0 bytes
wpantund[3077]: Stat (autolog): Tx history is empty
wpantund[3077]: Stat (autolog):
wpantund[3077]: Stat (autolog): Rx: 0 packets (0 udp, 0 tcp, 0 icmp6) -- 0 bytes
wpantund[3077]: Stat (autolog): Rx history is empty
wpantund[3077]: Stat (autolog):
wpantund[3077]: Stat (autolog): NCP state history is empty.
wpantund[3077]: Stat (autolog):
wpantund[3077]: Stat (autolog):
wpantund[3077]: Opening tun interface socket with name "wpan0"
wpantund[3077]: Running as root without dropping privileges!
wpantund[3077]: SELECT: fd_count=8 cms_timeout=0
wpantund[3077]: SELECT: read_fd_set: 4, 7
wpantund[3077]: SELECT: write_fd_set:
wpantund[3077]: Initializing NCP
wpantund[3077]: NCP is now BUSY.
wpantund[3077]: SELECT: fd_count=8 cms_timeout=0
wpantund[3077]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[3077]: SELECT: write_fd_set:
wpantund[3077]: SELECT: fd_count=8 cms_timeout=100
wpantund[3077]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[3077]: SELECT: write_fd_set:
wpantund[3077]: [->NCP] CMD_PROP_VALUE_GET(PROP_PROTOCOL_VERSION) tid:1
wpantund[3077]: ? 810201
wpantund[3077]: SELECT: fd_count=8 cms_timeout=5000
Please suggest me any solution.
I am new in OpenThread and Linux, If I did any silly mistake please forgive me