wpantund
wpantund copied to clipboard
Build problems with debian
this is a documentation problem/bug not a SW bug.
Debian in my case means: "jessie" Beagle Bone Black Image.
- apt-get install dbus libreadline-dev
NOT: libreadline (plain) does not work.
- apt-get install autoconf-archive
Is also required.
This is also the case for Ubuntu 18.05 bionic... I suspect that libreadline and libreadline-dev used to be too separate packages.. either way my wpantund says that libreadline is active by just getting libreadline-dev.
Hello...
I am building on a similar armhf board: BBGG. Also from beagleboard.org but here is my issue:
wpanctl:wpan0> status
wpan0 => [
"NCP:State" => "uninitialized:fault"
"Daemon:Enabled" => true
"NCP:Version" => ""
"Daemon:Version" => "0.08.00d (0.07.01-363-ga8f3f76; Feb 14 2022 18:48:16)"
"Config:NCP:DriverName" => "spinel"
"NCP:HardwareAddress" => [0000000000000000]
]
I believe this is due to this reasoning:
sudo /usr/local/sbin/wpantund -o WPANInterfaceName wpan0
wpantund[1420]: Starting wpantund 0.08.00d (Feb 14 2022 18:48:16) . . .
wpantund[1420]: SOURCE_VERSION = 0.07.01-363-ga8f3f76
wpantund[1420]: BUILD_VERSION = 0.07.01-363-ga8f3f76
wpantund[1420]: Configuration file "/usr/local/etc/wpantund.conf" read.
wpantund[1420]: CONFIGURATION PROPERTY "WPANInterfaceName" IS DEPRECATED. Please use "Config:TUN:InterfaceName" instead.
wpantund[1420]: Ready. Using DBUS bus ":1.12"
wpantund[1420]: Running as root without dropping privileges!
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:412: Requirement Failed (IS_EVENT_FROM_NCP(event) && GetInstance(this)->mInboundHeader == mLastHeader)
wpantund[1420]: Resetting and trying again... (retry 1)
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:391: Requirement Failed (Timed out while trying to send command)
wpantund[1420]: Resetting and trying again... (retry 2)
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:99: Check Failed (Operation not permitted)
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:114: Check Failed (Operation not permitted)
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:396: Requirement Failed (event == EVENT_NCP_RESET)
wpantund[1420]: Resetting and trying again... (retry 3)
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:389: Requirement Failed (Timed out while waiting 5 seconds for empty outbound buffer)
wpantund[1420]: The NCP is misbehaving: Repeatedly unable to initialize NCP. Entering fault state.
wpantund[1420]: State change: "uninitialized" -> "uninitialized:fault"
wpantund[1420]: PropSet: Property "NetworkKey" is deprecated. Please use "Network:Key" instead.
wpantund[1420]: PropSet: Property "enabled" is deprecated. Please use "Daemon:Enabled" instead.
wpantund[1420]: PropSet: Property "NetworkKey" is deprecated. Please use "Network:Key" instead.
wpantund[1420]: Experiencing extended insomnia. Resetting internal state.
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:99: Check Failed (Operation not permitted)
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:114: Check Failed (Operation not permitted)
wpantund[1420]: State change: "uninitialized:fault" -> "uninitialized"
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:99: Check Failed (Operation not permitted)
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:114: Check Failed (Operation not permitted)
wpantund[1420]: NCPInstance: error 0
wpantund[1420]: Resetting and trying again... (retry 1)
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:391: Requirement Failed (Timed out while trying to send command)
wpantund[1420]: Resetting and trying again... (retry 2)
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:99: Check Failed (Operation not permitted)
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:114: Check Failed (Operation not permitted)
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:396: Requirement Failed (event == EVENT_NCP_RESET)
wpantund[1420]: Resetting and trying again... (retry 3)
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:389: Requirement Failed (Timed out while waiting 5 seconds for empty outbound buffer)
wpantund[1420]: The NCP is misbehaving: Repeatedly unable to initialize NCP. Entering fault state.
wpantund[1420]: State change: "uninitialized" -> "uninitialized:fault"
If you know of any reasons why this may be taking place, please contact me. I built the lib. on a BBGG and can access ideas but have been getting negative feedback so far.
Seth
P.S. Thank you for replying.