Comments (7)
This is probably an issue for all prefixes served by the border router (on and off mesh).
from ot-br-posix.
I will check it.
from ot-br-posix.
I am also facing same issue.
from ot-br-posix.
I found a work-around… I set up this script to run at boot:
root@wsg-74fe481fe117:~# cat /usr/local/bin/recommission-ncp
#!/bin/sh
ROUTER_CONFIG='{
"networkKey":"aabbccddaabbccddaabbccddaabbccdd",
"prefix":"fdaa:bbcc:ddee:ff00::",
"defaultRoute":true,
"extPanId":"0011223344556677",
"panId":"0x0123",
"passphrase":"0123012301",
"channel":1,
"networkName":"MyNetwork"
}'
wpanctl reset && sleep 10 && curl -d"${ROUTER_CONFIG}" \
-H 'Content-Type: application/json;charset=utf-8' \
http://localhost:8080/form_network
That JSON blob is found by using my browser's developer tools to snoop on the front-end to the border router. It's not pretty, but it gets me going. The wpanctl reset
probably isn't needed in most cases, just in our case the NCP is "special" and doesn't seem to want to work first try.
from ot-br-posix.
One thing I observe now, is wpantund
after commissioning, will then mysteriously "forget" the prefix. In some cases, mere minutes after assigning it. e.g.
Oct 8 10:31:23 wsg-74fe481fe117 wpantund[498]: wpantund[498]: Pushing a new SLAAC address 2001:db8:1234:5678:248a:784b:f413:756b/64 to NCP
Oct 8 10:31:23 wsg-74fe481fe117 wpantund[498]: wpantund[498]: Adding address "2001:db8:1234:5678:248a:784b:f413:756b/64" to NCP
Oct 8 10:31:23 wsg-74fe481fe117 otbr-agent[2317]: NCP property Daemon:ReadyForHostSleep changed.
Oct 8 10:31:23 wsg-74fe481fe117 otbr-agent[2317]: otbr-agent[2317]: NCP property Daemon:ReadyForHostSleep changed.
Oct 8 10:31:23 wsg-74fe481fe117 otbr-agent[2317]: NCP property Daemon:ReadyForHostSleep changed.
Oct 8 10:31:23 wsg-74fe481fe117 otbr-agent[2317]: otbr-agent[2317]: NCP property Daemon:ReadyForHostSleep changed.
Oct 8 10:33:52 wsg-74fe481fe117 wpantund[498]: Removing SLAAC address 2001:db8:1234:5678:248a:784b:f413:756b/64 from NCP
Oct 8 10:33:52 wsg-74fe481fe117 wpantund[498]: Removing address "2001:db8:1234:5678:248a:784b:f413:756b/64" from NCP
Oct 8 10:33:52 wsg-74fe481fe117 otbr-agent[2317]: NCP property Daemon:ReadyForHostSleep changed.
Oct 8 10:33:52 wsg-74fe481fe117 wpantund[498]: wpantund[498]: Removing SLAAC address 2001:db8:1234:5678:248a:784b:f413:756b/64 from NCP
Oct 8 10:33:52 wsg-74fe481fe117 wpantund[498]: wpantund[498]: Removing address "2001:db8:1234:5678:248a:784b:f413:756b/64" from NCP
from ot-br-posix.
I noticed one thing, that when we add on mesh prefix for the first time and after rebooting, the ncp persist the on mesh prefix which is labelled as origin:ncp. In this state, my coap message are not able to reach RPi and also I am not able to ping RPi.
When I again add the on mesh prefix using Web GUI, new prefix is added into on mesh prefix list with label origin:user, and I am able to receive ping and coap messages in RPi.
Can anyone help me regarding this issue.
from ot-br-posix.
Closing stale issue.
from ot-br-posix.
Related Issues (20)
- [trel-dnssd] trel platform selects first peer address instead of wider scope one HOT 2
- PC in LAN cannot access Thread node but OTBR can HOT 17
- BeagleBone Black not booting after following OTBR guide HOT 2
- Use Docker image on bridged or custom docker network
- [Dbus] Set and GetAll methods throwing Error io.openthread.Error.NotFound: io.openthread.Error.NotFound error HOT 4
- Can the open thread border router be ported to the Android platform? HOT 1
- otbr-agent restarting after linux pc coming out of sleep mode
- Protobuf compiler version 24.4 doesn't match library version 3.12.4
- `test_manual_maddress.py` is flaky
- is there a way to dynamically change interface of otbr-agent HOT 5
- Compile failed when use higher protobuf lib
- [SOLVED] Best Practices for accessing OpenThread Instance in OT-BR-POSIX project HOT 2
- Compiling Border Router with TCP support HOT 2
- docker: Couldn't load target OTBR_FORWARD_INGRESS and mDNSPlatformSendUdp error 99.
- openwrt: ubus list otbr Command failed: Not found HOT 1
- Crash at UnsubscribeService HOT 2
- otbr intermittently crashes when a thread sed tries to do a srv & txt query HOT 1
- Border router disappears randomly from home assistant thread network HOT 4
- Thread Devices Become Unreachable from RPI Over Time Despite Connectivity via ot-ctl HOT 2
- Need some features for "ip -6 rule add~~~" to port Thread to Android 12. HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ot-br-posix.