Home
last modified time | relevance | path

Searched refs:sudo (Results 1 – 17 of 17) sorted by relevance

/openthread-latest/tools/harness-simulation/posix/etc/
Dserver.patch4 …systemctl is-active avahi-daemon || sudo systemctl start avahi-daemon || die 'Failed to start avah…
5 …without WEB_GUI || systemctl is-active otbr-web || sudo systemctl start otbr-web || die 'Failed to…
6 …systemctl is-active otbr-agent || sudo systemctl start otbr-agent || die 'Failed to start otbr-age…
7 + systemctl is-active commissionerd || sudo systemctl start commissionerd || die 'Failed to …
9 sudo service rsyslog status || sudo service rsyslog start || die 'Failed to start rsyslog!'
10 sudo service dbus status || sudo service dbus start || die 'Failed to start dbus!'
12sudo service avahi-daemon status || sudo service avahi-daemon start || die 'Failed to start avahi!'
13sudo service otbr-agent status || sudo service otbr-agent start || die 'Failed to start otbr-agent…
14 …without WEB_GUI || sudo service otbr-web status || sudo service otbr-web start || die 'Failed to s…
15 + sudo service commissionerd status || sudo service commissionerd start || die 'Failed to st…
DDockerfile66 ENV OTBR_DOCKER_REQS sudo python2 python3 python-is-python2
/openthread-latest/script/
Dcheck-posix-pty43 sudo killall expect || true
44 sudo killall ot-ctl || true
45 sudo killall ot-daemon || true
46 sudo killall ot-cli || true
47 sudo killall ot-rcp || true
48 sudo killall socat || true
100 sudo rm -rf tmp
121sudo -E "$PWD/build/posix/src/posix/ot-daemon" -d7 -v -I "${VALID_NETIF_NAME}" "${RADIO_URL}" 2>&1…
129 OT_CTL=(sudo "${OT_CTL_PATH}")
161 sudo "${OT_CLI}" -I "${VALID_NETIF_NAME}" -n "${RADIO_URL}"
[all …]
Dbootstrap41sudo apt-get --no-install-recommends install -y clang-format-14 clang-tidy-14 || echo 'WARNING: co…
50 …command -v shfmt || sudo apt-get install shfmt || echo 'WARNING: could not install shfmt, which is…
58 sudo apt-get update
59 sudo apt-get --no-install-recommends install -y g++ lsb-release cmake ninja-build shellcheck
67sudo apt-get --no-install-recommends install -y binutils-arm-none-eabi gcc-arm-none-eabi gdb-arm-n…
69 sudo apt-get --no-install-recommends install -y bzip2 ca-certificates wget
72 && sudo tar xjf gcc-arm-none-eabi-9-2020-q2-update-"$ARCH"-linux.tar.bz2 -C /opt \
74 && sudo ln -s -f /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/* /usr/local/bin/.)
117 sudo ln -s "$(brew --prefix llvm@14)/bin/clang-format" /usr/local/bin/clang-format-14
118 sudo ln -s "$(brew --prefix llvm@14)/bin/clang-tidy" /usr/local/bin/clang-tidy-14
[all …]
Dcheck-simulation-local-host38 sudo ip link set dev "$IFACE_NAME" down
39 sudo ip link del dev "$IFACE_NAME"
49 ip link show "$IFACE_NAME" >/dev/null 2>&1 || sudo ip link add "$IFACE_NAME" type dummy
51 sudo ip link set dev "$IFACE_NAME" up
Dtest242 rm -rfv "${OT_BUILDDIR}" || sudo rm -rfv "${OT_BUILDDIR}"
313 sudo modprobe ip6table_filter
432 sudo killall ot-rcp || true
433 sudo killall ot-cli || true
434 sudo killall ot-cli-ftd || true
435 sudo killall ot-cli-mtd || true
436 sudo rm -rf tmp
440 sudo -E expect -df "${script}" 2>"${log_file}"
559 echo "$OT_COREDUMP_DIR/corefile-%e-%p-%t" | sudo tee /proc/sys/kernel/core_pattern
605 sudo chmod 777 tmp/
Dgcda-tool54 …rm -rfv "${OT_MERGED_PROFILES}" "${OT_GCOV_PREFIX_BASE}" || sudo rm -rfv "${OT_MERGED_PROFILES}" "…
60 sudo chown -R "$USER" "${OT_GCOV_PREFIX_BASE}"
87 sudo chown -R "$USER" build
Dcheck-size66 sudo apt-get --no-install-recommends install -y ninja-build
/openthread-latest/tests/toranj/
Dstart.sh39 sudo rm tmp/*.flash tmp/*.data tmp/*.swap >/dev/null 2>&1
40 sudo rm ./*.log >/dev/null 2>&1
44 sudo killall wpantund >/dev/null 2>&1
47 sudo ip link delete "$interface" >/dev/null 2>&1
58 if sudo -E "${python_app}" "$1"; then
81 sudo apt-get --no-install-recommends install -y dbus libdbus-1-dev
82 sudo apt-get --no-install-recommends install -y autoconf-archive
83 sudo apt-get --no-install-recommends install -y libarchive-tools
84 sudo apt-get --no-install-recommends install -y libtool
85 sudo apt-get --no-install-recommends install -y libglib2.0-dev
[all …]
DREADME_CLI.md62 Note: You may need to run as `sudo` to allow log file to be written (i.e., use `sudo python` or `su…
DREADME_NCP.md31 sudo python ncp/test-001-get-set.py
52 Note: You may need to run as `sudo` to allow `wpantund` to create tunnel interface (i.e., use `sudo
/openthread-latest/tools/harness-thci/
DOpenThread_BR.py382 def bash(self, cmd, timeout=DEFAULT_COMMAND_TIMEOUT, sudo=True): argument
383 return self.bash_unwatched(cmd, timeout=timeout, sudo=sudo)
385 def bash_unwatched(self, cmd, timeout=DEFAULT_COMMAND_TIMEOUT, sudo=True): argument
386 if sudo and not self.__is_root:
422 self.bash(cmd, sudo=False)
429 self.bash(cmd, sudo=False)
464 self.bash(cmd, sudo=False)
484 self.bash(cmd, sudo=False)
509 output = self.bash(cmd, sudo=False)
549 …return self.bash('ip addr list dev %s | grep ether' % self.backboneNetif, sudo=False)[0].strip().s…
[all …]
DREADME.md54 2. Login Raspberry Pi, sudo raspi-config, then -> interfacing options -> enable ssh.
/openthread-latest/tools/harness-simulation/posix/
Dinstall.sh45 sudo apt install -y "${PACKAGES[@]}"
137 sudo chown root:root root/etc/init.d/commissionerd
138 sudo chmod +x root/etc/init.d/commissionerd
/openthread-latest/etc/docker/environment/
DDockerfile19 sudo \
/openthread-latest/tools/otci/otci/
Dcommand_handlers.py230 def __init__(self, host, port, username, password, sudo): argument
235 self.__sudo = sudo
Dotci.py3047 def connect_otbr_ssh(host: str, port: int = 22, username='pi', password='raspberry', sudo=True): argument
3048 cmd_handler = OtbrSshCommandRunner(host, port, username, password, sudo=sudo)