Comments (15)
Hi, could you please give more details on the environment? For example, the hardware platform, the OS and so on?
from ot-br-posix.
Hi, bukepo
I used the Raspi 3B and Raspbian Stretch Lite, version: 2017-09-07
I've run script "./script/bootstrap" from "borderrouter" directory, it worked fine. But it always failed when I run script "./script/setup" and show the above timeout error.
I found there was something wrong after "create_eth_connection" in the script "./script/_network_manager":
network_manager_install()
{...
create_eth_connection
sudo systemctl daemon-reload
sudo systemctl restart NetworkManager
sleep 15
if [ $PLATFORM = raspbian ]; then
sudo nmcli c up ${AP_CONN}
fi
sudo nmcli c up ${ETH_CONN}
}
Did I miss something?
from ot-br-posix.
Hi, bukepo
I've sloved this problem just now. Thanks for your reply!
I found the network-manager will setup a wifi AP named "BorderRouter-AP" and I can access the web UI. Well, what should I do next? Do I still need to configure the Pi step by step following the official document: Wi-Fi Access Point Setup for OpenThread Border Router
In addition, I found the Border Router with NCP(Nordic nRF52840) is not able to talk with my Thread Nodes(Synopsys EMSK, Nordic nRF52840 and my custom board). No matter who create a Thread Network, the NCP or the Thread Nodes, there is nothing after executing the command "scan". But it works fine between the Thread Nodes.
What's more, I've tried that only install wpantund on the Pi, and everything is OK using the wpanctl, such as "scan", "join" and so on. But I use the wpantund(Tags: full/latest-release Version: 0.07.01 (0.07.01-2-g6993264; Dec 11 2017 14:03:19)) at that time. Does the different version of wpantund make difference?
pi@raspberrypi:~ $ sudo wpanctl status
wpan0 => [
"NCP:State" => "offline"
"Daemon:Enabled" => true
"NCP:Version" => "OPENTHREAD/0.01.00; ARM Mbed; Dec 18 2017 18:55:32"
"Daemon:Version" => "0.08.00d (/120ef3e; Dec 18 2017 10:17:31)"
"Config:NCP:DriverName" => "spinel"
"NCP:HardwareAddress" => [0050C2FFFE1D3000]
]
pi@raspberrypi:~ $ sudo wpanctl -I wpan0 scan
| Joinable | NetworkName | PAN ID | Ch | XPanID | HWAddr | RSSI
---+----------+--------------------+--------+----+------------------+------------------+------
pi@raspberrypi:~ $ ifconfig
nat64: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 192.168.255.1 netmask 255.255.255.255 destination 192.168.255.1
inet6 fdaa:bb:1::1 prefixlen 128 scopeid 0x0
inet6 fe80::25b2:fb31:9d61:8a1b prefixlen 64 scopeid 0x20
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 304 (304.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255
inet6 fe80::ba27:ebff:fea2:7b3 prefixlen 64 scopeid 0x20
ether b8:27:eb:a2:07:b3 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 31 bytes 5354 (5.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0wpan0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1280
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 384 (384.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
from ot-br-posix.
Could you please write the steps to reproduce this issue? And please also attach the syslog of your respberry pi.
Iām wondering if the NCP is working normally.
from ot-br-posix.
I encountered the same problem. The script "./script/bootstrap" from "borderrouter" directory, it worked fine for me as well. But it failed when I run script "./script/setup" with the following error setup-error.log.
from ot-br-posix.
Could you please check the output of
nmcli d | grep wifi | cut -d" " -f1
It seems no wifi interface was found.
from ot-br-posix.
I'm sorry for your effort. Unfortunatlly I have noticed that the RPI which I was using is a RPI version 2. I'll get one of version 3 B and try it again.
I'm wondering why a wifi interface is required since the beaglebone has also no. Is it also possible to use the RPI 2 if you do without the WIFI Accespoint? In case if it is possible, it would be nice if you could provide some hints at which points the setup script has to be modified.
Thanks a lot !
from ot-br-posix.
I think you may try disabling network_manager by setting NETWORK_MANAGER=0
in https://github.com/openthread/borderrouter/blob/master/examples/platforms/raspbian/default
from ot-br-posix.
It seems not enough to get it working on RPI2. But for me it doesn't matter anymore I got my RPI3 and with this device it is working. Only one thing, it was necessary to execute the setup script as root , otherwise permission denied errors occur.
Thanks !
from ot-br-posix.
Thanks a lot. All the scripts worked fine for me now.
But I encountered another problem. My OTBR had been built and installed successfully on raspi 3B runing Stretch. Then start an Thread device as leader and created an Thread network using CLI commands.
On the raspi, type ''sudo wpanctl scan", but the Thread network could not be found.
How can I solve the problem?
How can I debug the OTBR? Are there log files or other tools?
from ot-br-posix.
I'm experiencing same problem as OP. I've followed the instruction:
https://openthread.io/guides/border_router/raspberry_pi_3b
I'm using RPI3 and running Raspbian Stretch Lite OS image. Any fix for this?
from ot-br-posix.
@HendraWijaya, are you still having issues with this?
I just tested and the scripts seem to work for me.
Hardware version:
$ cat /proc/cpuinfo
...
Revision : a22082
Linux is Raspbian Stretch Lite 2018-03-13.
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
from ot-br-posix.
@jwhui I tried again and it works now. I connect the pi through eth. It didn't work before because I connected through wlan.
from ot-br-posix.
@XiangcaiHuang
Hi!
I am also facing same Timeout error issue. Can you please mention how you resolved it.
from ot-br-posix.
@tarunsmalviya
Hi, I'm sorry for the late reply. Have you solved the problem?
I was just trying to run the script at different times of the day, then it finally work. So it maybe the reason for the network connection but I'm not sure.
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.