OTBR going into degraded state

307 views
Skip to first unread message

N.UMAMAHESWAR REDDY

unread,
May 28, 2021, 6:47:50 AM5/28/21
to openthread-users
Hi,
I have OTBR setup with Raspberrypi 3B + nrf52840 dongle in RCP design.
Followed the manual configuration of WiFi AP and everything worked fine for sometime.
performed the FORM operation from Webgui.
from systemctl command, can see all the services are up and running
But after some time BorderRouter is going into degraded state and even with reboot also facing this issue. Can see dnsmasq and bind9 service is failing.
Tried 2,3 times with New OS but still facing the issue. 
Need help on fixing this issue.
And wanted to know whether I can directly make this BorderRouter to make and act as Leader?
I have one EFR32MG12 board and wanted to know how can I add this device into network as child?
 everywhere I see that they are using 2 same kind of boards and adding them into network by making one as Leader and one as child. but have only one EFR32 board and wanted to make as a child.
Thanks in advance.

Kangping Dong

unread,
May 29, 2021, 4:18:50 AM5/29/21
to N.UMAMAHESWAR REDDY, openthread-users
Hi,

Followed the manual configuration of WiFi AP and everything worked fine for sometime.
If there are chances that you can connect the Raspberry Pi to your home Wi-Fi or Ethernet network,
please avoid configuring the Wi-Fi AP on Raspberry Pi, it is problematic and discouraged.

But after some time BorderRouter is going into degraded state and even with reboot also facing this issue. Can see dnsmasq and bind9 service is failing.
Could you provide more information about the "degraded state"? What does "degraded state" mean?
Specifically, could you provide the otbr-agent log when it is not functioning? you can get the log with "cat /var/log/syslog | grep otbr-agent".

And wanted to know whether I can directly make this BorderRouter to make and act as Leader?
Right after you form a Thread network with OTBR web gui, it should already be a leader. To verify,
run the command "sudo ot-ctl state" and it should give "Leader".


BRs,
Kangping

--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/91aae1ae-0788-4753-afcc-9caa3ad11ba3n%40googlegroups.com.

N.UMAMAHESWAR REDDY

unread,
May 29, 2021, 10:32:37 AM5/29/21
to openthread-users
How can I open a Web gui, FORM a network and make the RaspberryPI as OTBR without WiFi-AP?

Degraded state is that I'm getting with sudo systemctl status command and 
with sudo systemctl --failed  command can see that dnsmasq and bind9 service is failing.

Would like to know what steps to be followed for EFR32MG12 to add into network as child.

syslog:
35:43 raspberrypi otbr-agent[432]: [NOTE]-PLAT----: Will not subscribe duplicate multicast address ff02::16
May 28 12:35:43 raspberrypi otbr-agent[432]: [NOTE]-PLAT----: Will not subscribe duplicate multicast address ff02::2
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Session socket is ready
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012state
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: leader
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012version
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: OPENTHREAD/0.01.00; POSIX; May 28 2021 11:29:55
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012version api
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 120
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012rcp version
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: OPENTHREAD/20200818-00897-g5b6654d0b; NRF52840; May 11 2021 15:14:05
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012eui64
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: f4
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: ce
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 36
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 04
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 45
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 64
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: df
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: bc
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012channel
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 15
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012txpower
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 0 dBm
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012networkname
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: OpenThreadDemo
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012extpanid
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 11
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 11
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 11
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 11
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 22
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 22
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 22
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 22
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012panid
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 0x1234
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012partitionid
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 1936921837
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012dataset active
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Active Timestamp: 0
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Channel: 15
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Channel Mask: 0x07fff800
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Ext PAN ID:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 11
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 11
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 11
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 11
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 22
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 22
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 22
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 22
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Mesh Local Prefix: fd0e:efba:ed22:bce8::/64
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Master Key:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 00
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 11
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 22
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 33
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 44
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 55
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 66
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 77
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 88
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 99
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: aa
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: bb
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: cc
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: dd
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: ee
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: ff
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Network Name:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: OpenThreadDemo
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: PAN ID: 0x1234
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: PSKc:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 61
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: e1
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 20
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 6d
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 2c
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 2b
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 46
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: e0
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 79
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: eb
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 77
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 5f
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 41
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: fc
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 72
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 19
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Security Policy:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: 672
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: o
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: n
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: r
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: c
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: b
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: > #012ipaddr
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: fd0e:efba:ed22:bce8:0:ff:fe00:fc11
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: fd0e:efba:ed22:bce8:0:ff:fe00:fc38
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: fd0e:efba:ed22:bce8:0:ff:fe00:fc10
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: fd11:22:0:0:9f37:aa7:412f:d6c1
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: fd0e:efba:ed22:bce8:0:ff:fe00:fc00
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: fd0e:efba:ed22:bce8:0:ff:fe00:5400
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: fd0e:efba:ed22:bce8:4021:deaa:1f41:914a
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: fe80:0:0:0:b88b:69de:74e4:7c8c
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----:
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: Done
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: #015
May 28 12:35:43 raspberrypi otbr-agent[432]: [INFO]-PLAT----: >
May 28 12:35:43 raspberrypi otbr-agent[432]: [WARN]-PLAT----: Daemon read: Connection reset by peer
May 28 12:35:45 raspberrypi otbr-agent[432]: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
May 28 12:35:45 raspberrypi otbr-agent[432]: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, chksum:42cd, to:0xffff, sec:no, prio:net, radio:all
May 28 12:35:45 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     src:[fe80:0:0:0:b88b:69de:74e4:7c8c]:19788
May 28 12:35:45 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]:19788
May 28 12:35:47 raspberrypi otbr-agent[432]: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
May 28 12:35:47 raspberrypi otbr-agent[432]: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, chksum:2b5f, to:0xffff, sec:no, prio:net, radio:all
May 28 12:35:47 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     src:[fe80:0:0:0:b88b:69de:74e4:7c8c]:19788
May 28 12:35:47 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]:19788
May 28 12:35:54 raspberrypi otbr-agent[432]: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
May 28 12:35:54 raspberrypi otbr-agent[432]: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, chksum:9692, to:0xffff, sec:no, prio:net, radio:all
May 28 12:35:54 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     src:[fe80:0:0:0:b88b:69de:74e4:7c8c]:19788
May 28 12:35:54 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]:19788
May 28 12:36:06 raspberrypi otbr-agent[432]: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
May 28 12:36:06 raspberrypi otbr-agent[432]: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, chksum:3f76, to:0xffff, sec:no, prio:net, radio:all
May 28 12:36:06 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     src:[fe80:0:0:0:b88b:69de:74e4:7c8c]:19788
May 28 12:36:06 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]:19788
May 28 12:36:43 raspberrypi otbr-agent[432]: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
May 28 12:36:43 raspberrypi otbr-agent[432]: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, chksum:8bc1, to:0xffff, sec:no, prio:net, radio:all
May 28 12:36:43 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     src:[fe80:0:0:0:b88b:69de:74e4:7c8c]:19788
May 28 12:36:43 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]:19788
May 28 12:37:11 raspberrypi otbr-agent[432]: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
May 28 12:37:11 raspberrypi otbr-agent[432]: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, chksum:b9f0, to:0xffff, sec:no, prio:net, radio:all
May 28 12:37:11 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     src:[fe80:0:0:0:b88b:69de:74e4:7c8c]:19788
May 28 12:37:11 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]:19788
May 28 12:37:45 raspberrypi otbr-agent[432]: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
May 28 12:37:45 raspberrypi otbr-agent[432]: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, chksum:3b1b, to:0xffff, sec:no, prio:net, radio:all
May 28 12:37:45 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     src:[fe80:0:0:0:b88b:69de:74e4:7c8c]:19788
May 28 12:37:45 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]:19788
May 28 12:38:16 raspberrypi otbr-agent[432]: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
May 28 12:38:16 raspberrypi otbr-agent[432]: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, chksum:ad1d, to:0xffff, sec:no, prio:net, radio:all
May 28 12:38:16 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     src:[fe80:0:0:0:b88b:69de:74e4:7c8c]:19788
May 28 12:38:16 raspberrypi otbr-agent[432]: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]:19788

Jonathan Hui

unread,
May 29, 2021, 11:27:40 AM5/29/21
to N.UMAMAHESWAR REDDY, openthread-users
On Sat, May 29, 2021 at 7:32 AM N.UMAMAHESWAR REDDY <n.umamahes...@gmail.com> wrote:
How can I open a Web gui, FORM a network and make the RaspberryPI as OTBR without WiFi-AP?

If you have an existing Wi-Fi AP, you can connect both your RPi and mobile/laptop to as Wi-Fi clients.

Would like to know what steps to be followed for EFR32MG12 to add into network as child.

I suggest following the Thread Border Router Codelab, which includes steps to setup OTBR and form a Thread network.

--
Jonathan Hui
 

N.UMAMAHESWAR REDDY

unread,
May 31, 2021, 12:12:34 AM5/31/21
to openthread-users
In Thread BorderRouter codelab, there's support for only nrf52840 as SRP client end device.
But in my case I have EFR32MG12 flashed with ot-cli-ftd as end device and need to know the commands that are required to add this end device into network.

Jonathan Hui

unread,
May 31, 2021, 12:34:07 AM5/31/21
to N.UMAMAHESWAR REDDY, openthread-users
The CLI commands are platform independent. You can use the same commands.

--
Jonathan Hui

--
--
Jonathan Hui

N.UMAMAHESWAR REDDY

unread,
May 31, 2021, 9:02:49 AM5/31/21
to openthread-users
The srp client codelab commands aren't working with me, they are showing as invalid commands, The board that I have with me is EFR32MG12, want this as child and wish to connect this to OTBR which is a leader, please do help on this.

Kangping Dong

unread,
May 31, 2021, 9:38:19 PM5/31/21
to N.UMAMAHESWAR REDDY, openthread-users
Could you please provide more details of which commands are not working for you?

If you follow the instructions in this step, you should already be able to join the network of the OTBR.
Could you confirm that you did this?

BRs,
Kangping

N.UMAMAHESWAR REDDY

unread,
May 31, 2021, 11:15:18 PM5/31/21
to openthread-users
I'm using EFR32MG12 board flashed with ot-cli-ftd code in simplicity studio, Opened the terminal, got this output with commands

sudo ot-ctl dataset active -x
sudo ot-ctl dataset active -x
Error 35: InvalidCommand
> ot-ctl dataset active -x
ot-ctl dataset active -x
Error 35: InvalidCommand
> dataset active -x
dataset active -x
000300000f35060004001fffe00208c4d649d770da24400708fd805e5ebcd0474b051000112233445566778899aabbccddeeff030e70656e54687265616444656d6f4f010212340410035a79604e0ef7ea1304c511f98039b90c030000ff0e080000000000010000
Done
> dataset active 
000300000f35060004001fffe00208c4d649d770da24400708fd805e5ebcd0474b051000112233445566778899aabbccddeeff030e70656e54687265616444656d6f4f010212340410035a79604e0ef7ea1304c511f98039b90c030000ff0e080000000000010000dataset active 000300000f35060004001fffe00208c4d649d770da24400708fd805e5ebcd0474b051000112233445566778899aabbccddeeff030e70656e54687265616444656d6f4f010212340410035a79604e0ef7ea1304c511f98039b90c030000ff0e080000000000010000
Error 7: InvalidArgs
> i

Jonathan Hui

unread,
May 31, 2021, 11:21:26 PM5/31/21
to N.UMAMAHESWAR REDDY, openthread-users
The `sudo ot-ctl` prefix is only used when using the CLI on OTBR.

To retrieve the Active Dataset from OTBR, use `sudo ot-ctl dataset active -x`.

To set the Active Dataset on ot-cli-ftd, use `dataset set active ...`

Please follow the Join the OTBR network step carefully with the above in mind.

--
Jonathan Hui



N.UMAMAHESWAR REDDY

unread,
Jun 1, 2021, 8:11:54 AM6/1/21
to openthread-users
Thanks for all the support, 
I have all the setup up and running, need some more clarification on ot-ctl CLI.
I wish to communicate with EFR32MG12 Board and play with it using CLI in BorderRouter.
Found that ot-ctl is a CLI, and can see ot-ctl CLI  is presetn only in Openthread repo but not in ot-br-posix repo and also got to know that Openthread is a submodule in ot-br-posix, but can just see empty folder in it.
If I could get the ot-ctl CLI and can add/change some commands, is it possible to toggle somethings in EFR32MG12[end device]?
Because can see that ot-ctl can communicate only with RCP device. need some clarification on above questions.

Jonathan Hui

unread,
Jun 1, 2021, 4:25:06 PM6/1/21
to N.UMAMAHESWAR REDDY, openthread-users
On Tue, Jun 1, 2021 at 5:11 AM N.UMAMAHESWAR REDDY <n.umamahes...@gmail.com> wrote:
Thanks for all the support, 
I have all the setup up and running, need some more clarification on ot-ctl CLI.

Great to hear that you were able to set up a network.
 
I wish to communicate with EFR32MG12 Board and play with it using CLI in BorderRouter.
Found that ot-ctl is a CLI, and can see ot-ctl CLI  is presetn only in Openthread repo but not in ot-br-posix repo and also got to know that Openthread is a submodule in ot-br-posix, but can just see empty folder in it.

ot-br-posix includes openthread as a git submodule and it needs to be initialized with the following command at the root of ot-br-posix:

git submodule update --init
 
If I could get the ot-ctl CLI and can add/change some commands, is it possible to toggle somethings in EFR32MG12[end device]?

You can take a look at the CoAP and/or UDP examples that demonstrate how to send messages over the network.

--
Jonathan Hui

Message has been deleted

Jonathan Hui

unread,
Jun 2, 2021, 4:46:47 PM6/2/21
to N.UMAMAHESWAR REDDY, openthread-users
I just tried this using the latest main branches for OTBR and OpenThread and it worked fine for me.
  1. On ot-cli-ftd

    > udp open
    Done
    > udp bind :: 1234
    Done
    > ipaddr
    fd5c:f59b:e679:5cc7:0:ff:fe00:7000
    fdbd:3422:2a16:ff6f:6253:f9e2:bf2c:11d0
    fd5c:f59b:e679:5cc7:fe11:b57d:c440:306
    fe80:0:0:0:18b7:6ff5:eb81:64f
    Done

  2. On OTBR

    > udp open
    Done
    > udp send fdbd:3422:2a16:ff6f:6253:f9e2:bf2c:11d0 1234 hello
    Done

  3. On ot-cli-ftd, the following prints out:

    5 bytes from fdbd:3422:2a16:ff6f:31f8:c326:fa15:1683 49154 hello
Can you provide a copy of your console to give better visibility into the commands you are issuing and the CLI output?

--
Jonathan Hui



On Wed, Jun 2, 2021 at 12:27 AM N.UMAMAHESWAR REDDY <n.umamahes...@gmail.com> wrote:
Tried the UDP commands as per the instructions in UDP, even from both the nodes, can see that udp command sent status from one end but it's not receiving in other node, will that straight displays in other node CLI or do we need to go and look in some where else for the message that we are sending?
Checked the IP address that I'm using for UDP with ping commands just to verify if the IP address is correct and can get any response, verified that IP is correct.
--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-use...@googlegroups.com.

N.UMAMAHESWAR REDDY

unread,
Jun 9, 2021, 1:13:55 AM6/9/21
to openthread-users
Thanks for the support could be able to see the output.
Is it possible to send a command from BorderRouter and can see the output in BorderRouter console only?(eg: getting temperature information)
Is there anyway that I can control something here using mobile phone?

Jonathan Hui

unread,
Jun 9, 2021, 3:35:52 PM6/9/21
to N.UMAMAHESWAR REDDY, openthread-users
Thread provides the IPv6 network layer. You still need to implement an application layer on top to achieve your example of getting temperature information. You can then use your application layer to interact from any host reachable on the IPv6 network, including OTBR and mobile devices.

--
Jonathan Hui



Reply all
Reply to author
Forward
0 new messages