Not able to connect to "BorderRouter-AP"

190 views
Skip to first unread message

N.UMAMAHESWAR REDDY

unread,
Mar 22, 2021, 3:21:11 AM3/22/21
to openthread-users
Hi all,
I have a problem where I'm able to see BorderRouter-AP SSID and when I tried to connect through my mobile it is not connecting, but just showing as saved.

I'm using Raspberry Pi 3B with nrf52840 dongle for  BorderRouter setup in RCP design and did all the configuration correctly and could able to see the required services running, but facing issue on connecting to Wi-Fi AP. Tried with different mobiles but couldn't see any change.
Used ot-br-posix repo for configuration in Pi 3B.
Followed Nordic Semiconductor Infocenter instructions to program dongle with the supported firmware. 
12345678 is the password that I tried to connect.
Checked in the network manger file in ot-br-posix repo, and can see the same password written there.

I would be very thankful if I get any solution or suggestion to resolve this issue.
Thank you.

Kangping Dong

unread,
Mar 22, 2021, 3:26:06 AM3/22/21
to N.UMAMAHESWAR REDDY, openthread-users
Hi,

Can you share the information below?
  1. the OTBR commit
  2. the commands you used to set up OTBR

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/1b2663ab-fa53-4eb9-bc25-9d00cd3d09e2n%40googlegroups.com.

N.UMAMAHESWAR REDDY

unread,
Mar 22, 2021, 3:52:28 AM3/22/21
to openthread-users
Thanks for your reply

Cloned the  ot-br-posix repo
used
 cd ot-br-posix
./script/bootstrap
./script/setup
for wpanutund : /etc/wpantund.conf.
Config:NCP:SocketPath "/dev/ttyACM0"

Kangping Dong

unread,
Mar 22, 2021, 3:57:43 AM3/22/21
to N.UMAMAHESWAR REDDY, openthread-users
The Wi-Fi AP setup is by default disabled in the latest OTBR repo.
you need to set up with
BORDER_ROUTING=0 NETWORK_MANAGER=1 ./script/setup
If you need the AP.
 

BRs,
Kangping

Message has been deleted

N.UMAMAHESWAR REDDY

unread,
Mar 22, 2021, 5:19:52 AM3/22/21
to openthread-users
Sincere Apologies Kangping,
By mistake I mentioned as RCP instead of NCP.
I followed steps mentioned in OpenThread Border Router - nRF52840 MDK USB Dongle (makerdiary.com)  
And If I'm going for Automatic setup of Wi-Fi AP, Do I need to follow the same step(setting up Wi-Fi) as you mentioned above?

Kangping Dong

unread,
Mar 22, 2021, 5:27:02 AM3/22/21
to N.UMAMAHESWAR REDDY, openthread-users
If you are trying to use the latest OTBR main branch, you will need to
2. bootstrap and setup OTBR with below commands:
NETWORK_MANAGER=1 ./script/bootstrap
BORDER_ROUTING=0 NETWORK_MANAGER=1 ./script/setup 
 
BRs,
Kangping

On Mon, Mar 22, 2021 at 5:10 PM N.UMAMAHESWAR REDDY <n.umamahes...@gmail.com> wrote:
Sincere Apologies Kangping,
By mistake I mentioned as RCP instead of NCP.
And Do I need to follow the same step(setting up Wi-Fi) as you mentioned above?
Message has been deleted

N.UMAMAHESWAR REDDY

unread,
Mar 22, 2021, 6:16:56 AM3/22/21
to openthread-users
I'm using wpantund/master branch and configuring in NCP design, Do I need to follow the above mentioned steps?

Kangping Dong

unread,
Mar 22, 2021, 6:40:09 AM3/22/21
to N.UMAMAHESWAR REDDY, openthread-users

I'm using wpantund/master branch and configuring in NCP design, Do I need to follow the above mentioned steps?
You don't need to.

BRs,
Kangping

N.UMAMAHESWAR REDDY

unread,
Mar 22, 2021, 6:46:23 AM3/22/21
to openthread-users
Then what might be the problem?? 
Even though I'm able to see BorderRouter-AP SSID in my mobile and trying to connect using 12345678 Password, I'm not able to connect to Wi-Fi AP, it's just showing as saved.
Tried with different mobiles also but still able to see same results.

Jonathan Hui

unread,
Mar 29, 2021, 9:27:24 PM3/29/21
to N.UMAMAHESWAR REDDY, openthread-users
There seems to be a regression with the latest Raspberry Pi OS image.

Can you try using a separate Wi-Fi AP? You can try building with:

NETWORK_MANAGER=0 ./script/bootstrap
NETWORK_MANAGER=0 ./script/setup

Then use raspi-config to connect the RPi to your Wi-Fi AP.

--
Jonathan Hui


N.UMAMAHESWAR REDDY

unread,
Mar 31, 2021, 3:34:07 AM3/31/21
to openthread-users
Thanks for your reply Jonathan Hui
I followed these steps 
NETWORK_MANAGER=0 ./script/bootstrap
NETWORK_MANAGER=0 ./script/setup
And built a separate Wi-Fi AP by following the steps mentioned in Wi-Fi AP
Even after that I could able to see BorderRouter-AP SSID, then I disabled Network manager using nmcli disable and stop commands.

Then I were able to see the SSID that I configured and when I tried to connect with password, it is showing as obtaining Ip address and after some time it shows as avoided poor connection even though my mobile is next to Raspberry Pi and signal strength is excellent. 

I checked for the hostapd and dnsmasq services after trying with separate Wi-Fi AP, can see that dnsmasq.service is failed and showing the errors as Failed to allocate directory: too many open files 

Jonathan Hui

unread,
Mar 31, 2021, 8:42:38 PM3/31/21
to N.UMAMAHESWAR REDDY, openthread-users
If you have previously run the setup with `NETWORK_MANAGER=1` (i.e. without specifying `NETWORK_MANAGER=0`), then you will need to start from a fresh Raspberry Pi OS image to disable network manager.

Note that `NETWORK_MANAGER=0` is now the default in the main branch. Is it possible for you to use the main branch instead (this would also mean migrating away from wpantund)?

--
Jonathan Hui



N.UMAMAHESWAR REDDY

unread,
Apr 1, 2021, 12:34:16 AM4/1/21
to openthread-users
I tried with Main branch earlier and haven't got any option to configure Wpantund and trying with wpantund/master branch. It is not possible for Raspberry Pi to work as OpenThread Border Router without wpantund.service I guess.

Kangping Dong

unread,
Apr 1, 2021, 12:54:40 AM4/1/21
to N.UMAMAHESWAR REDDY, openthread-users
It is not possible for Raspberry Pi to work as OpenThread Border Router without wpantund.service I guess.

Not really. OTBR can work without the wpantund and only a RCP device is needed to be attached.

If it is possible to upgrade to use the latest OTBR and openthread code, you can follow this codelab and guide to set up the latest OTBR.


BRs,
Kangping

N.UMAMAHESWAR REDDY

unread,
Apr 1, 2021, 1:16:40 AM4/1/21
to openthread-users
Sorry, I'm confused now as this is the first time I'm working on OpenThread related stuff.

I have Raspberry PI 3B and Nordic[nrf52840] dongle to build OpenThread Border Router, is it possible with these to build in RCP design? If so can you please briefly quote the steps to be followed.
 
I have EFR32MG12 attached to brd4001A  Board to communicate with OTBR. I've flashed ot-ncp-ftd demo example code using Simplicity studio 5 and want to know how to verify that.

And it would be of a great help if I get info. on how to build the OTBR if there is any other way and the EFR32 to communicate each other.
Thank you in advance.


Jonathan Hui

unread,
Apr 1, 2021, 1:21:01 AM4/1/21
to N.UMAMAHESWAR REDDY, openthread-users
On Wed, Mar 31, 2021 at 10:16 PM N.UMAMAHESWAR REDDY <n.umamahes...@gmail.com> wrote:
Sorry, I'm confused now as this is the first time I'm working on OpenThread related stuff.

I have Raspberry PI 3B and Nordic[nrf52840] dongle to build OpenThread Border Router, is it possible with these to build in RCP design? If so can you please briefly quote the steps to be followed.

Please see the Thread Border Router - Bidirectional IPv6 Connectivity and DNS-Based Service Discovery codelab that Kangping linked in his previous response.
 
I have EFR32MG12 attached to brd4001A  Board to communicate with OTBR. I've flashed ot-ncp-ftd demo example code using Simplicity studio 5 and want to know how to verify that.


And it would be of a great help if I get info. on how to build the OTBR if there is any other way and the EFR32 to communicate each other.
Thank you in advance.

I hope the links above are helpful.

--
Jonathan Hui

N.UMAMAHESWAR REDDY

unread,
Apr 1, 2021, 1:38:03 AM4/1/21
to openthread-users
In Thread Border Router - Bidirectional IPv6 Connectivity and DNS-Based Service Discovery it is mentioned about 2 nrf52840 dev board but, I have only one nrf52840 dongle with Rasp Pi. In that case building of OTBR is not possible?

Jonathan Hui

unread,
Apr 1, 2021, 1:42:31 AM4/1/21
to N.UMAMAHESWAR REDDY, openthread-users
On Wed, Mar 31, 2021 at 10:38 PM N.UMAMAHESWAR REDDY <n.umamahes...@gmail.com> wrote:
In Thread Border Router - Bidirectional IPv6 Connectivity and DNS-Based Service Discovery it is mentioned about 2 nrf52840 dev board but, I have only one nrf52840 dongle with Rasp Pi. In that case building of OTBR is not possible?

OTBR only requires a single 15.4 device to serve as the RCP. The second nRF52840 board is simply for demonstrating Thread wireless connectivity. You can use a EFR32MG12-based platform instead - see openthread/ot-efr32.

--
Jonathan Hui

N.UMAMAHESWAR REDDY

unread,
Apr 1, 2021, 3:15:05 AM4/1/21
to openthread-users
From my understandings, I feel that nrf52840 dongle can't be served in RCP design even it has 15.4 radio and the page that you mentioned refers to nrf dev boards which I don't want to use, if it is possible with nrf Dongle in RCP design, can you please guide me where I can find the instructions to set the dongle in RCP design

Kangping Dong

unread,
Apr 1, 2021, 3:25:34 AM4/1/21
to N.UMAMAHESWAR REDDY, openthread-users
1. nrf52840 dongle can be served in RCP design.
4. When flashing the openthread firmware, use ot-rcp binary but not ot-ncp-ftd.
5. Plug the flashed nRF dongle to the Raspberry Pi.
6. Follow the reset of this codelab  Thread Border Router - Bidirectional IPv6 Connectivity and DNS-Based Service Discovery to verify the setup and form a Thread network.


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.
Reply all
Reply to author
Forward
0 new messages