summaryrefslogtreecommitdiff
path: root/src/main_robot.conf
blob: 5b72cd985cf36bbf06918ad06bd7d129da37cf23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
[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

# If wifi is disconnected, the background scanning will follow a simple
# backoff mechanism from 3s up to 5 minutes. Then, it will stay in 5
# minutes unless user specifically asks for scanning through a D-Bus
# call. If so, the mechanism will start again from 3s. This feature
# activates also the background scanning while being connected, which
# is required for roaming on wifi.
# When BackgroundScanning is false, ConnMan will not perform any scan
# regardless of wifi is connected or not, unless it is requested by
# the user through a D-Bus call.
# BackgroundScanning = true
BackgroundScanning = false

# Assume that service gateways also function as timeservers.
# UseGatewaysAsTimeservers = false

# List of Fallback timeservers separated by ",".
# These timeservers are used for NTP sync when there are
# no timeservers set by the user or by the service, and
# when UseGatewaysAsTimeservers = false. These can contain
# mixed combination of fully qualified domain names, IPv4
# and IPv6 addresses.
# FallbackTimeservers =
#FallbackTimeservers = pool.ntp.org

# 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 =
PreferredTechnologies = wifi, ethernet

# 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-
NetworkInterfaceBlacklist = veth,vmnet,vboxnet,virbr,usb,rndis,rmnet,rev_rmnet,dummy,seth_td,seth_w

# Allow ConnMan to change the system hostname. This can
# happen for example if we receive DHCP hostname option.
# Default value is true.
# AllowHostnameUpdates = true

# Allow ConnMan to change the system domainname. This can
# happen for example if we receive DHCP domainname option.
# Default value is true.
# AllowDomainnameUpdates = 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
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

# Range of intervals between two online check requests.
# When an online check request fails, another one is triggered after a
# longer interval. The intervals follow the power of two series of numbers
# between OnlineCheckInitialInterval and OnlineCheckMaxInterval.
# Default range is [1, 12], corresponding to the following intervals, in
# seconds: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121 and 144.
# OnlineCheckInitialInterval = 1
# OnlineCheckMaxInterval = 12

# WARNING: Experimental feature!!!
# In addition to EnableOnlineCheck setting, enable or disable use of HTTP GET
# to detect the loss of end-to-end connectivity.
# If this setting is false, when the default service transitions to ONLINE
# state, the HTTP GET request is no more called until next cycle, initiated
# by a transition of the default service to DISCONNECT state.
# If this setting is true, the HTTP GET request keeps beeing called to guarantee
# that end-to-end connectivity is still successful. If not, the default service
# will transition to READY state, enabling another service to become the
# default one, in replacement.
# EnableOnlineToReadyTransition = 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 =

# Allow connman to add service gateway to the time server list.
# Default value is false.
# UseGatewaysAsTimeservers = false

# Enable auto connection of services in roaming.
# If this setting is false, roaming services are not auto-connected by ConnMan.
# Default value is false.
# AutoConnectRoamingServices = false

# Enable address conflict detection
# If this setting is true, ConnMan will send probe ARP packets to see
# if an IPv4 address is already in use before assigning the address
# to an interface (in accordance with RFC 5227).
# Default value is false.
# AddressConflictDetection = false

NetworkCellularInterfaceList = pdp,rmnet,seth_td,seth_w

# Enable use of link-local address for auto-configuration.
# When a device fails to get IP address from DHCP server,
# ConnMan will start link-local address autoconfiguration and
# assign a link-local IP address to device.
# If this setting is false and device fails to get IP address
# from DHCP server then device state will be set to disconnected.
# Default value is true.
# EnableAutoIp = false

# Allow connman to set additional global nameserver and it will be used
# if all nameservers are failed to resolve DNS query. The nameserver
# entries must be in numeric format.
# GlobalNameserver = 8.8.8.8

# Enable supplicant debugging log
ConnmanSupplicantDebug = false

# Save ConnMan log to file
FileLogging = false

# Use dlog for ConnMan logging
DlogLogging = true

# Some logs of low importance are omitted to reduce the amount of logs
SimplifiedLog = true

# This value specifies which will be the default when there are multiple wifi interfaces.
# Default value is wlan0.
DefaultWifiInterface = wlan0

# Allow ConnMan to start scan for wifi roaming when SNR and signal are weakened
# Default value is false.
# WifiRoamingScan = true

# Allow ConnMan to start wifi roaming when SNR and signal are weakened
# and there is another BSS in better condition.
# Default value is false.
# WifiRoaming = true

# Determine if the SNR and signal have weakened
# based on the following conditions.
#   - SNR is less than WifiRoamingMinSNR or RSSI is less than
#     WifiRoamingMinRSSI_2_4GHz, WifiRoamingMinRSSI_5GHz or WifiRoamingMinRSSI_6GHz.
#   - If the WifiRoamingMinSNR value is 0, the SNR check will be skipped.
WifiRoamingMinSNR = 20
WifiRoamingMinRSSI_2_4GHz = -75
WifiRoamingMinRSSI_5GHz = -77
WifiRoamingMinRSSI_6GHz = -78

# This value indicates which AP selection method to be used.
# 0: Normal(Signal strength)
# 1: INS
ApSelectionMethod = 0

[INS]
# INS(Intelligent Network Selection) configuration: BSSID Selection.
INSPreferredFreqBSSID = 5GHz
INSPreferredFreqBSSIDScore = 20
INSLastConnectedBSSID = true
INSLastConnectedBSSIDScore = 20
INSAssocReject = true
INSAssocRejectScore = 10
INSSignalBSSID = true

# INS(Intelligent Network Selection) configuration: SSID Selection.
INSLastUserSelection = true
INSLastUserSelectionTime = 480
INSLastUserSelectionScore = 30
# (INSLastUserSelectionTime - selection time diff) / (INSLastUserSelectionTime / INSLastUserSelectionScore)
# This means '(480 - selection time) / x) <= 30'
INSLastConnected = true
INSLastConnectedScore = 30
INSPreferredFreq = 5GHz
INSPreferredFreqScore = 60
INSSecurityPriority = SAE,RSN
INSSecurityPriorityScore = 5
# In this case, SAE(10 score), RSN(5 score)
INSSignal = true
INSInternet = true
INSInternetScore = 30

# INS(Intelligent Network Selection) configuration: Common.
INSSignalLevel3_5GHz = -76
INSSignalLevel3_2_4GHz = -74