committing changes in /etc after apt run
Package changes: +connman 1.35-6 armhf +ofono 1.21-1 armhfremotes/origin/may2018
parent
6b65f0dd92
commit
a3aa6a8277
@ -0,0 +1,5 @@
|
|||||||
|
connman = {
|
||||||
|
'impl' : 'launchpad',
|
||||||
|
'project' : 'connman',
|
||||||
|
'bug_pattern_url' : None,
|
||||||
|
}
|
@ -0,0 +1,119 @@
|
|||||||
|
[General]
|
||||||
|
|
||||||
|
# Set input request timeout. Default is 120 seconds
|
||||||
|
# The request for inputs like passphrase will timeout
|
||||||
|
# after certain amount of time. Use this setting to
|
||||||
|
# increase the value in case of different user
|
||||||
|
# interface designs.
|
||||||
|
# InputRequestTimeout = 120
|
||||||
|
|
||||||
|
# Set browser launch timeout. Default is 300 seconds
|
||||||
|
# The request for launching a browser for portal pages
|
||||||
|
# will timeout after certain amount of time. Use this
|
||||||
|
# setting to increase the value in case of different
|
||||||
|
# user interface designs.
|
||||||
|
# BrowserLaunchTimeout = 300
|
||||||
|
|
||||||
|
# Enable background scanning. Default is true.
|
||||||
|
# Background scanning will start every 5 minutes unless
|
||||||
|
# the scan list is empty. In that case, a simple backoff
|
||||||
|
# mechanism starting from 10s up to 5 minutes will run.
|
||||||
|
# BackgroundScanning = true
|
||||||
|
|
||||||
|
# List of Fallback timeservers separated by ",".
|
||||||
|
# These timeservers are used for NTP sync when there are
|
||||||
|
# no timeserver set by the user or by the service.
|
||||||
|
# These can contain mixed combination of fully qualified
|
||||||
|
# domain names, IPv4 and IPv6 addresses.
|
||||||
|
# FallbackTimeservers =
|
||||||
|
|
||||||
|
# List of fallback nameservers separated by "," used if no
|
||||||
|
# nameservers are otherwise provided by the service. The
|
||||||
|
# nameserver entries must be in numeric format, host
|
||||||
|
# names are ignored.
|
||||||
|
# FallbackNameservers =
|
||||||
|
|
||||||
|
# List of technologies that are marked autoconnectable
|
||||||
|
# by default, separated by commas ",". The default value
|
||||||
|
# for this entry when empty is ethernet,wifi,cellular.
|
||||||
|
# Services that are automatically connected must have been
|
||||||
|
# set up and saved to storage beforehand.
|
||||||
|
# DefaultAutoConnectTechnologies =
|
||||||
|
|
||||||
|
# List of preferred technologies from the most preferred
|
||||||
|
# one to the least preferred one separated by commas ",".
|
||||||
|
# Services of the listed technology type will be tried one
|
||||||
|
# by one in the order given, until one of them gets connected
|
||||||
|
# or they are all tried. A service of a preferred technology
|
||||||
|
# type in state 'ready' will get the default route when
|
||||||
|
# compared to another preferred type further down the list
|
||||||
|
# with state 'ready' or with a non-preferred type; a service
|
||||||
|
# of a preferred technology type in state 'online' will get
|
||||||
|
# the default route when compared to either a non-preferred
|
||||||
|
# type or a preferred type further down in the list.
|
||||||
|
# PreferredTechnologies =
|
||||||
|
|
||||||
|
# List of blacklisted network interfaces separated by ",".
|
||||||
|
# Found interfaces will be compared to the list and will
|
||||||
|
# not be handled by connman, if their first characters
|
||||||
|
# match any of the list entries. Default value is
|
||||||
|
# vmnet,vboxnet,virbr,ifb,ve-,vb-.
|
||||||
|
# NetworkInterfaceBlacklist = vmnet,vboxnet,virbr,ifb,ve-,vb-
|
||||||
|
|
||||||
|
# Allow connman to change the system hostname. This can
|
||||||
|
# happen for example if we receive DHCP hostname option.
|
||||||
|
# Default value is true.
|
||||||
|
# AllowHostnameUpdates = true
|
||||||
|
|
||||||
|
# Keep only a single connected technology at any time. When a new
|
||||||
|
# service is connected by the user or a better one is found according
|
||||||
|
# to PreferredTechnologies, the new service is kept connected and all
|
||||||
|
# the other previously connected services are disconnected. With this
|
||||||
|
# setting it does not matter whether the previously connected services
|
||||||
|
# are in 'online' or 'ready' states, the newly connected service is
|
||||||
|
# the only one that will be kept connected. A service connected by the
|
||||||
|
# user will be used until going out of network coverage. With this
|
||||||
|
# setting enabled applications will notice more network breaks than
|
||||||
|
# normal. Default value is false.
|
||||||
|
# SingleConnectedTechnology = false
|
||||||
|
|
||||||
|
# List of technologies for which tethering is allowed separated by ",".
|
||||||
|
# The default value is wifi,bluetooth,gadget. Only those technologies
|
||||||
|
# listed here are used for tethering. If ethernet tethering is desired,
|
||||||
|
# then ethernet should be added to the list. The technologies listed here
|
||||||
|
# have to support tethering, currently tethering is implemented for wifi,
|
||||||
|
# bluetooth, gadget and ethernet.
|
||||||
|
# NOTE that if ethernet tethering is enabled, then a DHCP server is
|
||||||
|
# started on all ethernet interfaces. Tethered ethernet should
|
||||||
|
# never be connected to corporate or home network as it will disrupt
|
||||||
|
# normal operation of these networks. Due to this ethernet is not
|
||||||
|
# tethered by default. Do not activate ethernet tethering unless you
|
||||||
|
# really know what you are doing.
|
||||||
|
# TetheringTechnologies = wifi,bluetooth,gadget
|
||||||
|
|
||||||
|
# Restore earlier tethering status when returning from offline mode,
|
||||||
|
# re-enabling a technology, and after restarts and reboots.
|
||||||
|
# Default value is false.
|
||||||
|
# PersistentTetheringMode = false
|
||||||
|
|
||||||
|
# Automatically enable Anycast 6to4 if possible. This is not recommended, as
|
||||||
|
# the use of 6to4 will generally lead to a severe degradation of connection
|
||||||
|
# quality. See RFC6343. Default value is false (as recommended by RFC6343
|
||||||
|
# section 4.1).
|
||||||
|
# Enable6to4 = false
|
||||||
|
|
||||||
|
# Enable use of http get as on online status check.
|
||||||
|
# When a service is in a READY state, and is selected as default,
|
||||||
|
# ConnMan will issue an HTTP GET request to verify that end-to-end
|
||||||
|
# connectivity is successful. Only then the service will be
|
||||||
|
# transitioned to ONLINE state.
|
||||||
|
# If this setting is false, the default service will remain in READY state.
|
||||||
|
# Default value is true.
|
||||||
|
# EnableOnlineCheck = false
|
||||||
|
|
||||||
|
# List of technologies with AutoConnect = true which are always connected
|
||||||
|
# regardless of PreferredTechnologies setting. Default value is empty and
|
||||||
|
# will connect a technology only if it is at a higher preference than any
|
||||||
|
# other which is already connected.
|
||||||
|
# This setting has no effect if SingleConnectedTechnologies is enabled.
|
||||||
|
# AlwaysConnectedTechnologies =
|
@ -0,0 +1,13 @@
|
|||||||
|
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
||||||
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||||
|
<busconfig>
|
||||||
|
<policy user="root">
|
||||||
|
<allow own="net.connman"/>
|
||||||
|
<allow send_interface="net.connman.Agent"/>
|
||||||
|
<allow send_interface="net.connman.Counter"/>
|
||||||
|
<allow send_interface="net.connman.Notification"/>
|
||||||
|
</policy>
|
||||||
|
<policy context="default">
|
||||||
|
<allow send_destination="net.connman"/>
|
||||||
|
</policy>
|
||||||
|
</busconfig>
|
@ -0,0 +1,23 @@
|
|||||||
|
<!-- This configuration file specifies the required security policies
|
||||||
|
for oFono dundee (DUN) daemon to work. -->
|
||||||
|
|
||||||
|
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
||||||
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||||
|
<busconfig>
|
||||||
|
|
||||||
|
<!-- ../system.conf have denied everything, so we just punch some holes -->
|
||||||
|
|
||||||
|
<policy user="root">
|
||||||
|
<allow own="org.ofono.dundee"/>
|
||||||
|
<allow send_destination="org.ofono.dundee"/>
|
||||||
|
</policy>
|
||||||
|
|
||||||
|
<policy at_console="true">
|
||||||
|
<allow send_destination="org.ofono.dundee"/>
|
||||||
|
</policy>
|
||||||
|
|
||||||
|
<policy context="default">
|
||||||
|
<deny send_destination="org.ofono.dundee"/>
|
||||||
|
</policy>
|
||||||
|
|
||||||
|
</busconfig>
|
@ -0,0 +1,29 @@
|
|||||||
|
<!-- This configuration file specifies the required security policies
|
||||||
|
for oFono core daemon to work. -->
|
||||||
|
|
||||||
|
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
||||||
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
||||||
|
<busconfig>
|
||||||
|
|
||||||
|
<!-- ../system.conf have denied everything, so we just punch some holes -->
|
||||||
|
|
||||||
|
<policy user="root">
|
||||||
|
<allow own="org.ofono"/>
|
||||||
|
<allow send_destination="org.ofono"/>
|
||||||
|
<allow send_interface="org.ofono.SimToolkitAgent"/>
|
||||||
|
<allow send_interface="org.ofono.PushNotificationAgent"/>
|
||||||
|
<allow send_interface="org.ofono.SmartMessagingAgent"/>
|
||||||
|
<allow send_interface="org.ofono.PositioningRequestAgent"/>
|
||||||
|
<allow send_interface="org.ofono.HandsfreeAudioAgent"/>
|
||||||
|
<allow send_interface="org.ofono.NetworkMonitorAgent"/>
|
||||||
|
</policy>
|
||||||
|
|
||||||
|
<policy at_console="true">
|
||||||
|
<allow send_destination="org.ofono"/>
|
||||||
|
</policy>
|
||||||
|
|
||||||
|
<policy context="default">
|
||||||
|
<deny send_destination="org.ofono"/>
|
||||||
|
</policy>
|
||||||
|
|
||||||
|
</busconfig>
|
@ -0,0 +1 @@
|
|||||||
|
DAEMON_OPTS=
|
@ -0,0 +1,78 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
### BEGIN INIT INFO
|
||||||
|
# Provides: connman
|
||||||
|
# Required-Start: $remote_fs $syslog dbus
|
||||||
|
# Required-Stop: $remote_fs $syslog dbus
|
||||||
|
# Default-Start: 2 3 4 5
|
||||||
|
# Default-Stop: 0 1 6
|
||||||
|
# Short-Description: Connection Manager
|
||||||
|
### END INIT INFO
|
||||||
|
|
||||||
|
|
||||||
|
DAEMON=/usr/sbin/connmand
|
||||||
|
DESC="Connection Manager"
|
||||||
|
NAME=connmand
|
||||||
|
. /lib/lsb/init-functions
|
||||||
|
|
||||||
|
if [ -f /etc/default/connman ] ; then
|
||||||
|
. /etc/default/connman
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "CONNMAN_RUNSTATEDIR_RESOLVCONF" != "no" ] ; then
|
||||||
|
mkdir -p /run/connman
|
||||||
|
ln -sf /run/connman/resolv.conf /etc/
|
||||||
|
fi
|
||||||
|
|
||||||
|
do_start() {
|
||||||
|
start-stop-daemon --start --oknodo --exec $DAEMON -- $DAEMON_OPTS
|
||||||
|
}
|
||||||
|
|
||||||
|
do_stop() {
|
||||||
|
start-stop-daemon --stop --oknodo --quiet --exec $DAEMON
|
||||||
|
}
|
||||||
|
|
||||||
|
get_pid() {
|
||||||
|
[ -n "$1" ] || return 0
|
||||||
|
[ -S /run/dbus/system_bus_socket ] || return 0
|
||||||
|
|
||||||
|
dbus-send --system --dest=org.freedesktop.DBus --print-reply \
|
||||||
|
/org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID \
|
||||||
|
string:$1 2>/dev/null | awk '/uint32/ {print $2}'
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
log_daemon_msg "Starting $DESC"
|
||||||
|
do_start
|
||||||
|
log_end_msg $?
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
log_daemon_msg "Stopping $DESC"
|
||||||
|
do_stop
|
||||||
|
log_end_msg $?
|
||||||
|
;;
|
||||||
|
restart|force-reload)
|
||||||
|
log_daemon_msg "Restarting $DESC"
|
||||||
|
do_stop
|
||||||
|
sleep 1
|
||||||
|
do_start
|
||||||
|
log_end_msg $?
|
||||||
|
;;
|
||||||
|
status)
|
||||||
|
pid=$(get_pid net.connman)
|
||||||
|
if [ -n "$pid" ]; then
|
||||||
|
log_success_msg "$NAME is running"
|
||||||
|
return 0
|
||||||
|
else
|
||||||
|
log_failure_msg "$NAME is not running"
|
||||||
|
return 3 # LSB exit code for "program is not running"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
log_success_msg "Usage: $0 {start|stop|status|restart|force-reload}" >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
@ -0,0 +1,63 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
### BEGIN INIT INFO
|
||||||
|
# Provides: dundee
|
||||||
|
# Required-Start: $syslog $remote_fs dbus
|
||||||
|
# Required-Stop: $syslog $remote_fs dbus
|
||||||
|
# Default-Start: 2 3 4 5
|
||||||
|
# Default-Stop: 0 1 6
|
||||||
|
# Short-Description: Bluetooth DUN daemon
|
||||||
|
### END INIT INFO
|
||||||
|
|
||||||
|
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||||
|
DAEMON=/usr/sbin/dundee
|
||||||
|
NAME=dundee
|
||||||
|
#PIDFILE=/var/run/ofono/$NAME.pid
|
||||||
|
DESC="Bluetooth DUN daemon"
|
||||||
|
|
||||||
|
test -x $DAEMON || exit 0
|
||||||
|
|
||||||
|
. /lib/lsb/init-functions
|
||||||
|
|
||||||
|
# allow the admin to set DAEMON_OPTS
|
||||||
|
if [ -f /etc/default/dundee ]; then
|
||||||
|
. /etc/default/dundee
|
||||||
|
fi
|
||||||
|
|
||||||
|
do_start()
|
||||||
|
{
|
||||||
|
start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- $DAEMON_OPTS
|
||||||
|
}
|
||||||
|
|
||||||
|
do_stop()
|
||||||
|
{
|
||||||
|
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
log_daemon_msg "Starting $DESC" "$NAME"
|
||||||
|
do_start
|
||||||
|
log_end_msg $?
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
log_daemon_msg "Stopping $DESC" "$NAME"
|
||||||
|
do_stop
|
||||||
|
log_end_msg $?
|
||||||
|
;;
|
||||||
|
|
||||||
|
restart|force-reload)
|
||||||
|
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||||
|
do_stop
|
||||||
|
sleep 1
|
||||||
|
do_start
|
||||||
|
log_end_msg $?
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
log_success_msg "Usage: $0 {start|stop|restart|force-reload}"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
@ -0,0 +1,63 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
### BEGIN INIT INFO
|
||||||
|
# Provides: ofono
|
||||||
|
# Required-Start: $syslog $remote_fs dbus
|
||||||
|
# Required-Stop: $syslog $remote_fs dbus
|
||||||
|
# Default-Start: 2 3 4 5
|
||||||
|
# Default-Stop: 0 1 6
|
||||||
|
# Short-Description: oFono Mobile Telephony Daemon
|
||||||
|
### END INIT INFO
|
||||||
|
|
||||||
|
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||||
|
DAEMON=/usr/sbin/ofonod
|
||||||
|
NAME=ofonod
|
||||||
|
#PIDFILE=/var/run/ofono/$NAME.pid
|
||||||
|
DESC="oFono Mobile Telephony Daemon"
|
||||||
|
|
||||||
|
test -x $DAEMON || exit 0
|
||||||
|
|
||||||
|
. /lib/lsb/init-functions
|
||||||
|
|
||||||
|
# allow the admin to set DAEMON_OPTS
|
||||||
|
if [ -f /etc/default/ofono ]; then
|
||||||
|
. /etc/default/ofono
|
||||||
|
fi
|
||||||
|
|
||||||
|
do_start()
|
||||||
|
{
|
||||||
|
start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- $DAEMON_OPTS
|
||||||
|
}
|
||||||
|
|
||||||
|
do_stop()
|
||||||
|
{
|
||||||
|
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
log_daemon_msg "Starting $DESC" "$NAME"
|
||||||
|
do_start
|
||||||
|
log_end_msg $?
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
log_daemon_msg "Stopping $DESC" "$NAME"
|
||||||
|
do_stop
|
||||||
|
log_end_msg $?
|
||||||
|
;;
|
||||||
|
|
||||||
|
restart|force-reload)
|
||||||
|
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||||
|
do_stop
|
||||||
|
sleep 1
|
||||||
|
do_start
|
||||||
|
log_end_msg $?
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
log_success_msg "Usage: $0 {start|stop|restart|force-reload}"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
@ -0,0 +1,14 @@
|
|||||||
|
# This is a sample file for the phonesim configuration
|
||||||
|
#
|
||||||
|
# It should be installed in your oFono system directory,
|
||||||
|
# e.g. /etc/ofono/phonesim.conf
|
||||||
|
#
|
||||||
|
# Each group is parsed as a modem device
|
||||||
|
#
|
||||||
|
# Each group shall at least define the address and port
|
||||||
|
# Address = <valid IPv4 address format>
|
||||||
|
# Port = <valid TCP port>
|
||||||
|
|
||||||
|
#[phonesim]
|
||||||
|
#Address=127.0.0.1
|
||||||
|
#Port=12345
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/connman
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/dundee
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/ofono
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/connman
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/dundee
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/ofono
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/connman
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/dundee
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/ofono
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/connman
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/dundee
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/ofono
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/connman
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/dundee
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/ofono
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/connman
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/dundee
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/ofono
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/connman
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/dundee
|
@ -0,0 +1 @@
|
|||||||
|
../init.d/ofono
|
@ -1,3 +0,0 @@
|
|||||||
# Generated by resolvconf
|
|
||||||
search natalieandjoshua.com
|
|
||||||
nameserver 127.0.0.1
|
|
@ -0,0 +1 @@
|
|||||||
|
/run/connman/resolv.conf
|
@ -0,0 +1 @@
|
|||||||
|
/lib/systemd/system/connman.service
|
@ -0,0 +1 @@
|
|||||||
|
/lib/systemd/system/dundee.service
|
@ -0,0 +1 @@
|
|||||||
|
/lib/systemd/system/ofono.service
|
@ -0,0 +1 @@
|
|||||||
|
/lib/systemd/system/connman-wait-online.service
|
Loading…
Reference in New Issue