Home
last modified time | relevance | path

Searched +full:avahi +full:- +full:daemon (Results 1 – 25 of 52) sorted by relevance

123

/external/autotest/client/common_lib/cros/
Davahi_utils.py3 # Use of this source code is governed by a BSD-style license that can be
17 BUS_NAME = 'org.freedesktop.Avahi'
18 INTERFACE_SERVER = 'org.freedesktop.Avahi.Server'
26 def avahi_config(options, src_file='/etc/avahi/avahi-daemon.conf', host=None):
27 """Creates a temporary avahi-daemon.conf file with the specified changes.
29 Avahi daemon uses a text configuration file with sections and values
55 tmp_conf_file = run('mktemp -t avahi-conf.XXXX').stdout.strip()
66 """Returns True when the avahi-deamon's DBus interface is ready.
68 After your launch avahi-daemon, there is a short period of time where the
69 daemon is running but the DBus interface isn't ready yet. This functions
[all …]
/external/openthread/tools/harness-simulation/posix/etc/
Dserver.patch1 --- script/server 2022-08-15 11:41:53.915673348 +0800
2 +++ script/server2 2022-08-15 11:43:12.387100651 +0800
3 @@ -50,6 +50,7 @@
4 …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 …
11 @@ -58,6 +59,7 @@
12 …sudo service avahi-daemon status || sudo service avahi-daemon start || die 'Failed to start avahi!'
13 …sudo service otbr-agent status || sudo service otbr-agent start || die 'Failed to start otbr-agent…
[all …]
/external/autotest/client/cros/
Dchrooted_avahi.py2 # Use of this source code is governed by a BSD-style license that can be
18 """Helper object to start up avahi in a network chroot.
20 Creates a virtual ethernet pair to enable communication with avahi.
21 Does the necessary work to make avahi appear on DBus and allow it
26 SERVICES_TO_STOP = ['avahi']
29 # We'll drop the Avahi side into our network namespace.
33 AVAHI_CONFIG_FILE = 'etc/avahi/avahi-daemon.conf'
37 'host-name-from-machine-id=yes\n'
38 'browse-domains=\n'
39 'use-ipv4=yes\n'
[all …]
Dp2p_utils.py3 # Use of this source code is governed by a BSD-style license that can be
19 P2P_SHARE_BACKUP_PATH = '/var/cache/p2p-backup'
25 p2p-server shall not be running during backup or restore.
42 p2p-server shall not be running during backup or restore.
53 """Manage a p2p-server instance running over a TAP interface.
55 This class manages a p2p-server instance configured to run over a TAP
56 interface, useful for any test that needs to interact with the p2p-server
57 (and its p2p-http-server instance) on a controled network environment.
77 """Initializes avahi daemon on a new tap interface.
89 # Ensure p2p and avahi aren't running.
[all …]
/external/ot-br-posix/script/
Dserver39 OTBR_MDNS="${OTBR_MDNS:-mDNSResponder}"
40 OT_BACKBONE_CI="${OT_BACKBONE_CI:-0}"
41 REFERENCE_DEVICE="${REFERENCE_DEVICE:-0}"
47 sudo sysctl --system
54 # Thread Certification tests require Avahi to publish records for tests. Since the
55 # same image is used for all tests Avahi needs to be started here and if
57 if [[ ${OTBR_MDNS} == "avahi" || ${OT_BACKBONE_CI} == 1 || ${REFERENCE_DEVICE} == 1 ]]; then
58 start_service avahi-daemon
63 without WEB_GUI || start_service otbr-web
64 start_service otbr-agent
[all …]
Dbootstrap36 NAT64_SERVICE="${NAT64_SERVICE:-openthread}"
38 FIREWALL="${FIREWALL:-1}"
40 OTBR_MDNS="${OTBR_MDNS:-mDNSResponder}"
41 OT_BACKBONE_CI="${OT_BACKBONE_CI:-0}"
42 REFERENCE_DEVICE="${REFERENCE_DEVICE:-0}"
46 sudo apt-get update
47 sudo apt-get install --no-install-recommends -y \
50 iputils-ping \
51 libreadline-dev \
52 libncurses-dev
[all …]
/external/python/pyserial/examples/
Dport_publisher.py3 # (C) 2001-2015 Chris Liechti <cliechti@gmx.net>
5 # SPDX-License-Identifier: BSD-3-Clause
7 Multi-port serial<->TCP/IP forwarder.
8 - RFC 2217
9 - check existence of serial port periodically
10 - start/stop forwarders
11 - each forwarder creates a server socket and opens the serial port
12 - serial ports are opened only once. network connect/disconnect
14 - only one client per connection
29 # Try to import the avahi service definitions properly. If the avahi module is
[all …]
Dport_publisher.sh2 # daemon starter script
7 DAEMON=/usr/local/bin/port_publisher.py
9 DESC="serial port avahi device publisher"
11 test -f $DAEMON || exit 0
13 set -e
17 echo -n "Starting $DESC: "
18 $DAEMON --daemon --pidfile /var/run/$NAME.pid
22 echo -n "Stopping $DESC: "
23 start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid
24 # \ --exec $DAEMON
[all …]
/external/ot-br-posix/tests/mdns/
Dtest_init34 set -euxo pipefail
41 sudo service avahi-daemon stop || true
47 avahi)
49 sudo service avahi-daemon restart
65 [[ ! -e ${DNS_SD_RESULT} ]] || rm "${DNS_SD_RESULT}" || true
92 # dns-sd will not exit
93 dns-sd -L "$1" "$2" local >"${DNS_SD_RESULT}" 2>&1 &
116 # dns-sd will not exit
117 dns-sd -B "$2" local >"${DNS_SD_RESULT}" 2>&1 &
139 # dns-sd will not exit
[all …]
/external/ot-br-posix/tests/scripts/
Dbootstrap.sh30 set -euxo pipefail
33 [[ -d $TOOLS_HOME ]] || mkdir -p "$TOOLS_HOME"
41 if [[ -f ${OTBR_APT_CONF_FILE} ]] && grep Install-Recommends "${OTBR_APT_CONF_FILE}"; then
45 sudo tee -a /etc/apt/apt.conf <<EOF
46 APT::Get::Install-Recommends "false";
47 APT::Get::Install-Suggests "false";
54 sudo apt-get install --no-install-recommends -y \
55 libdbus-1-dev \
56 ninja-build \
59 net-tools \
[all …]
/external/python/pyserial/documentation/
Dexamples.rst16 setup-miniterm-py2exe.py_
21 .. _setup-miniterm-py2exe.py: https://github.com/pyserial/pyserial/blob/master/examples/setup-minit…
24 TCP/IP - serial bridge
32 - The serial port settings are set on the command line when starting the
34 - There is no possibility to change settings from remote.
35 - All data is passed through as-is.
39 usage: tcp_serial_redirect.py [-h] [-q] [--parity {N,E,O,S,M}] [--rtscts]
40 [--xonxoff] [--rts RTS] [--dtr DTR]
41 [-P LOCALPORT]
51 -h, --help show this help message and exit
[all …]
/external/ot-br-posix/etc/openwrt/openthread-br/
DMakefile33 PKG_NAME:=openthread-br
34 PKG_LICENSE:=BSD-3-Clause
44 -DBUILD_TESTING=OFF \
45 -DCMAKE_INSTALL_PREFIX=/usr \
46 -DOTBR_BORDER_AGENT=ON \
47 -DOTBR_BORDER_ROUTING=ON \
48 -DOTBR_INFRA_IF_NAME=\"br-lan\" \
49 -DOTBR_MDNS="avahi" \
50 -DOTBR_OPENWRT=ON \
51 -DOTBR_SRP_ADVERTISING_PROXY=ON \
[all …]
DREADME.md12 echo src-link openthread "$(pwd)/etc/openwrt" >> ${OPENWRT_TOP_SRCDIR}/feeds.conf
15 ./scripts/feeds install openthread-br
20 OpenThread is not selected by default, so use menuconfig to select openthread-br (OpenThread Border…
29 2. Enable _openthread-br_ by moving the cursor to it and pressing **Y**.
35 make package/openthread-br/compile
41 make -j1 V=sc package/openthread-br/compile
49 opkg install openthread-br-1.0*.ipk
54 - `openthread-br` requires `ipset` and `iptables-mod-extra` packages if the firewall feature is ena…
55 - `openthread-br` requires `libavahi-client` and `avahi-daemon` package if the MDNS feature is enab…
61 Start otbr-agent manually:
[all …]
/external/ot-br-posix/src/agent/
DCMakeLists.txt2 # Copyright (c) 2020-2021, The OpenThread Authors.
29 add_executable(otbr-agent
36 target_link_libraries(otbr-agent PRIVATE
37 $<$<BOOL:${OTBR_BORDER_AGENT}>:otbr-border-agent>
38 $<$<BOOL:${OTBR_BACKBONE_ROUTER}>:otbr-backbone-router>
39 $<$<BOOL:${OTBR_DBUS}>:otbr-dbus-server>
40 $<$<BOOL:${OTBR_MDNS}>:otbr-mdns>
41 $<$<BOOL:${OTBR_OPENWRT}>:otbr-ubus>
42 $<$<BOOL:${OTBR_REST}>:otbr-rest>
43 openthread-cli-ftd
[all …]
/external/libcups/packaging/
Dcups.spec.in6 # Copyright © 2007-2019 by Apple Inc.
7 # Copyright © 1999-2007 by Easy Software Products, all rights reserved.
13 # Conditional build options (--with name/--without name):
15 # dbus - Enable/disable DBUS support (default = enable)
16 # dnssd - Enable/disable DNS-SD support (default = enable)
17 # libusb1 - Enable/disable LIBUSB 1.0 support (default = enable)
18 # static - Enable/disable static libraries (default = enable)
19 # systemd - Enable/disable systemd support (default = enable)
21 %{!?_with_dbus: %{!?_without_dbus: %define _with_dbus --with-dbus}}
22 %{?_with_dbus: %define _dbus --enable-dbus}
[all …]
Dcups.spec6 # Copyright © 2007-2019 by Apple Inc.
7 # Copyright © 1999-2007 by Easy Software Products, all rights reserved.
13 # Conditional build options (--with name/--without name):
15 # dbus - Enable/disable DBUS support (default = enable)
16 # dnssd - Enable/disable DNS-SD support (default = enable)
17 # libusb1 - Enable/disable LIBUSB 1.0 support (default = enable)
18 # static - Enable/disable static libraries (default = enable)
19 # systemd - Enable/disable systemd support (default = enable)
21 %{!?_with_dbus: %{!?_without_dbus: %define _with_dbus --with-dbus}}
22 %{?_with_dbus: %define _dbus --enable-dbus}
[all …]
/external/autotest/client/cros/netprotos/
Dzeroconf.py2 # Use of this source code is governed by a BSD-style license that can be
55 """Implements a simulated Zeroconf daemon running on the given host.
68 @param host: The Host instance where this daemon runs on.
81 # dict() of name --> (dict() of type --> (dict() of data --> timeout))
104 """The Host object where this daemon is running."""
230 ### RFC 2782 - RR for specifying the location of services (DNS SRV).
238 daemon is running, "hostname.domain".
276 ### RFC 1035 - 3.4.1, Domains Names - A (IPv4 address).
310 ### RFC 1035 - 3.3.12, Domain names - PTR (domain name pointer).
319 "my-desktop".
[all …]
/external/openthread/tests/scripts/thread-cert/border_router/
Dtest_mdns_restart.py37 …t verifies that Discovery Proxy and Advertising Proxy of otbr-agent work well after the mDNS daemon
38 # (mdns or avahi-daemon) restarts.
41 # ----------------(eth)------------------
43 # BR1 (Leader) ----- BR2 HOST
128 ed1.srp_client_set_host_name('ed1-host')
133 ed2.srp_client_set_host_name('ed2-host')
/external/libcups/scheduler/
Ddirsvc.c4 * Copyright © 2007-2018 by Apple Inc.
5 * Copyright © 1997-2007 by Easy Software Products, all rights reserved.
88 * 'cupsdDeregisterPrinter()' - Stop sending broadcast information for a
95 cupsd_printer_t *p, /* I - Printer to register */ in cupsdDeregisterPrinter()
96 int removeit) /* I - Printer being permanently removed */ in cupsdDeregisterPrinter()
103 "cupsdDeregisterPrinter(p=%p(%s), removeit=%d)", p, p->name, in cupsdDeregisterPrinter()
106 if (!Browsing || !p->shared || in cupsdDeregisterPrinter()
107 (p->type & (CUPS_PRINTER_REMOTE | CUPS_PRINTER_SCANNER))) in cupsdDeregisterPrinter()
122 * 'cupsdRegisterPrinter()' - Start sending broadcast information for a
127 cupsdRegisterPrinter(cupsd_printer_t *p)/* I - Printer */ in cupsdRegisterPrinter()
[all …]
/external/openthread/.github/workflows/
Dsimulation-1.1.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 packet-verification:
49 runs-on: ubuntu-24.04
57 - name: Harden Runner
58 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
60 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
[all …]
/external/ot-br-posix/tests/dbus/
Dtest-client32 set -euxo pipefail
34 OTBR_DBUS_SERVER_CONF=otbr-test-agent.conf
41 sudo systemctl stop test-otbr-agent || true
42 if [[ -v LEADER_PID ]]; then
45 if [[ -v CHILD_PID ]]; then
48 sudo killall dbus-monitor || true
49 sudo rm "/etc/dbus-1/system.d/${OTBR_DBUS_SERVER_CONF}" || true
51 sed -n "/$TEST_HELLO/,\$p" /var/log/syslog | grep 'ot-cli\|otbr'
58 sudo "${CMAKE_BINARY_DIR}"/third_party/openthread/repo/src/posix/ot-ctl "$@"
64 timeout 2 bash -c "while ! ot_ctl state; do sleep 1; done"
[all …]
/external/selinux/policycoreutils/po/
Dbo.po8 "Project-Id-Version: Policycoreutils\n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2013-10-10 16:04-0400\n"
11 "PO-Revision-Date: 2013-07-10 20:44+0000\n"
12 "Last-Translator: dwalsh <dwalsh@redhat.com>\n"
13 "Language-Team: Tibetan <trans-bo@lists.fedoraproject.org>\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=1; plural=0;\n"
[all …]
Dla.po8 "Project-Id-Version: Policycoreutils\n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2013-10-10 16:04-0400\n"
11 "PO-Revision-Date: 2012-03-30 18:14+0000\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: Latin (http://www.transifex.com/projects/p/fedora/language/"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
[all …]
Dks.po8 "Project-Id-Version: Policycoreutils\n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2013-10-10 16:04-0400\n"
11 "PO-Revision-Date: 2013-07-10 20:44+0000\n"
12 "Last-Translator: dwalsh <dwalsh@redhat.com>\n"
13 "Language-Team: Kashmiri (http://www.transifex.com/projects/p/fedora/language/"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
[all …]
Dky.po8 "Project-Id-Version: Policycoreutils\n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2013-10-10 16:04-0400\n"
11 "PO-Revision-Date: 2012-03-30 18:14+0000\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: Kirgyz (http://www.transifex.com/projects/p/fedora/language/"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=1; plural=0;\n"
[all …]

123