Fix resource leak
[platform/upstream/connman.git] / src / main.conf
1 [General]
2
3 # Set input request timeout. Default is 120 seconds
4 # The request for inputs like passphrase will timeout
5 # after certain amount of time. Use this setting to
6 # increase the value in case of different user
7 # interface designs.
8 # InputRequestTimeout = 120
9
10 # Set browser launch timeout. Default is 300 seconds
11 # The request for launching a browser for portal pages
12 # will timeout after certain amount of time. Use this
13 # setting to increase the value in case of different
14 # user interface designs.
15 # BrowserLaunchTimeout = 300
16
17 # If wifi is disconnected, the background scanning will follow a simple
18 # backoff mechanism from 3s up to 5 minutes. Then, it will stay in 5
19 # minutes unless user specifically asks for scanning through a D-Bus
20 # call. If so, the mechanism will start again from 3s. This feature
21 # activates also the background scanning while being connected, which
22 # is required for roaming on wifi.
23 # When BackgroundScanning is false, ConnMan will not perform any scan
24 # regardless of wifi is connected or not, unless it is requested by
25 # the user through a D-Bus call.
26 # BackgroundScanning = true
27 BackgroundScanning = false
28
29 # Assume that service gateways also function as timeservers.
30 # UseGatewaysAsTimeservers = false
31
32 # List of Fallback timeservers separated by ",".
33 # These timeservers are used for NTP sync when there are
34 # no timeservers set by the user or by the service, and
35 # when UseGatewaysAsTimeservers = false. These can contain
36 # mixed combination of fully qualified domain names, IPv4
37 # and IPv6 addresses.
38 # FallbackTimeservers =
39 #FallbackTimeservers = pool.ntp.org
40
41 # List of fallback nameservers separated by "," used if no
42 # nameservers are otherwise provided by the service. The
43 # nameserver entries must be in numeric format, host
44 # names are ignored.
45 # FallbackNameservers =
46
47 # List of technologies that are marked autoconnectable
48 # by default, separated by commas ",". The default value
49 # for this entry when empty is ethernet,wifi,cellular.
50 # Services that are automatically connected must have been
51 # set up and saved to storage beforehand.
52 # DefaultAutoConnectTechnologies =
53
54 # List of preferred technologies from the most preferred
55 # one to the least preferred one separated by commas ",".
56 # Services of the listed technology type will be tried one
57 # by one in the order given, until one of them gets connected
58 # or they are all tried. A service of a preferred technology
59 # type in state 'ready' will get the default route when
60 # compared to another preferred type further down the list
61 # with state 'ready' or with a non-preferred type; a service
62 # of a preferred technology type in state 'online' will get
63 # the default route when compared to either a non-preferred
64 # type or a preferred type further down in the list.
65 # PreferredTechnologies =
66 PreferredTechnologies = wifi, ethernet
67
68 # List of blacklisted network interfaces separated by ",".
69 # Found interfaces will be compared to the list and will
70 # not be handled by ConnMan, if their first characters
71 # match any of the list entries. Default value is
72 # vmnet,vboxnet,virbr,ifb,ve-,vb-.
73 # NetworkInterfaceBlacklist = vmnet,vboxnet,virbr,ifb,ve-,vb-
74 NetworkInterfaceBlacklist = veth,vmnet,vboxnet,virbr,usb,rndis,rmnet,rev_rmnet,dummy,seth_td,seth_w
75
76 # Allow ConnMan to change the system hostname. This can
77 # happen for example if we receive DHCP hostname option.
78 # Default value is true.
79 # AllowHostnameUpdates = true
80
81 # Allow ConnMan to change the system domainname. This can
82 # happen for example if we receive DHCP domainname option.
83 # Default value is true.
84 # AllowDomainnameUpdates = true
85
86 # Keep only a single connected technology at any time. When a new
87 # service is connected by the user or a better one is found according
88 # to PreferredTechnologies, the new service is kept connected and all
89 # the other previously connected services are disconnected. With this
90 # setting it does not matter whether the previously connected services
91 # are in 'online' or 'ready' states, the newly connected service is
92 # the only one that will be kept connected. A service connected by the
93 # user will be used until going out of network coverage. With this
94 # setting enabled applications will notice more network breaks than
95 # normal. Default value is false.
96 # SingleConnectedTechnology = false
97 SingleConnectedTechnology = true
98
99 # List of technologies for which tethering is allowed separated by ",".
100 # The default value is wifi,bluetooth,gadget. Only those technologies
101 # listed here are used for tethering. If ethernet tethering is desired,
102 # then ethernet should be added to the list. The technologies listed here
103 # have to support tethering, currently tethering is implemented for wifi,
104 # bluetooth, gadget and ethernet.
105 # NOTE that if ethernet tethering is enabled, then a DHCP server is
106 # started on all ethernet interfaces. Tethered ethernet should
107 # never be connected to corporate or home network as it will disrupt
108 # normal operation of these networks. Due to this ethernet is not
109 # tethered by default. Do not activate ethernet tethering unless you
110 # really know what you are doing.
111 # TetheringTechnologies = wifi,bluetooth,gadget
112
113 # Restore earlier tethering status when returning from offline mode,
114 # re-enabling a technology, and after restarts and reboots.
115 # Default value is false.
116 # PersistentTetheringMode = false
117
118 # Automatically enable Anycast 6to4 if possible. This is not recommended, as
119 # the use of 6to4 will generally lead to a severe degradation of connection
120 # quality. See RFC6343. Default value is false (as recommended by RFC6343
121 # section 4.1).
122 # Enable6to4 = false
123
124 # Enable use of http get as on online status check.
125 # When a service is in a READY state, and is selected as default,
126 # ConnMan will issue an HTTP GET request to verify that end-to-end
127 # connectivity is successful. Only then the service will be
128 # transitioned to ONLINE state.
129 # If this setting is false, the default service will remain in READY state.
130 # Default value is true.
131 # EnableOnlineCheck = false
132
133 # Urls (IPv4 and IPv6 respectively) used during the online status check.
134 # Please refer to the README for more detailed information.
135 # Default values are http://ipv4.connman.net/online/status.html and
136 # http://ipv6.connman.net/online/status.html respectively.
137 # OnlineCheckIPv4URL= http://ipv4.connman.net/online/status.html
138 # OnlineCheckIPv6URL= http://ipv6.connman.net/online/status.html
139
140 # Range of intervals between two online check requests.
141 # Please refer to the README for more detailed information.
142 # Default values are 1 and 12 respectively.
143 # OnlineCheckInitialInterval = 1
144 # OnlineCheckMaxInterval = 12
145
146 # WARNING: Experimental feature!!!
147 # In addition to EnableOnlineCheck setting, enable or disable use of HTTP GET
148 # to detect the loss of end-to-end connectivity.
149 # If this setting is false, when the default service transitions to ONLINE
150 # state, the HTTP GET request is no more called until next cycle, initiated
151 # by a transition of the default service to DISCONNECT state.
152 # If this setting is true, the HTTP GET request keeps beeing called to guarantee
153 # that end-to-end connectivity is still successful. If not, the default service
154 # will transition to READY state, enabling another service to become the
155 # default one, in replacement.
156 # EnableOnlineToReadyTransition = false
157
158 # List of technologies with AutoConnect = true which are always connected
159 # regardless of PreferredTechnologies setting. Default value is empty and
160 # will connect a technology only if it is at a higher preference than any
161 # other which is already connected.
162 # This setting has no effect if SingleConnectedTechnologies is enabled.
163 # AlwaysConnectedTechnologies =
164
165 # Allow connman to add service gateway to the time server list.
166 # Default value is false.
167 # UseGatewaysAsTimeservers = false
168
169 # Enable auto connection of services in roaming.
170 # If this setting is false, roaming services are not auto-connected by ConnMan.
171 # Default value is false.
172 # AutoConnectRoamingServices = false
173
174 # Enable address conflict detection
175 # If this setting is true, ConnMan will send probe ARP packets to see
176 # if an IPv4 address is already in use before assigning the address
177 # to an interface (in accordance with RFC 5227).
178 # Default value is false.
179 # AddressConflictDetection = false
180
181 NetworkCellularInterfaceList = pdp,rmnet,seth_td,seth_w
182
183 # Enable use of link-local address for auto-configuration.
184 # When a device fails to get IP address from DHCP server,
185 # ConnMan will start link-local address autoconfiguration and
186 # assign a link-local IP address to device.
187 # If this setting is false and device fails to get IP address
188 # from DHCP server then device state will be set to disconnected.
189 # Default value is true.
190 # EnableAutoIp = false
191
192 # Allow connman to set additional global nameserver and it will be used
193 # if all nameservers are failed to resolve DNS query. The nameserver
194 # entries must be in numeric format.
195 # GlobalNameserver = 8.8.8.8
196
197 # Enable supplicant debugging log
198 ConnmanSupplicantDebug = false
199
200 # Save ConnMan log to file
201 FileLogging = false
202
203 # Use dlog for ConnMan logging
204 DlogLogging = true
205
206 # Some logs of low importance are omitted to reduce the amount of logs
207 SimplifiedLog = true
208
209 # This value specifies which will be the default when there are multiple wifi interfaces.
210 # Default value is wlan0.
211 DefaultWifiInterface = wlan0
212
213 # Allow ConnMan to start scan for wifi roaming when SNR and signal are weakened
214 # Default value is false.
215 # WifiRoamingScan = true
216
217 # Allow ConnMan to start wifi roaming when SNR and signal are weakened
218 # and there is another BSS in better condition.
219 # Default value is false.
220 # WifiRoaming = true
221
222 # Determine if the SNR and signal have weakened
223 # based on the following conditions.
224 #   - SNR is less than WifiRoamingMinSNR or RSSI is less than
225 #     WifiRoamingMinRSSI_2_4GHz, WifiRoamingMinRSSI_5GHz or WifiRoamingMinRSSI_6GHz.
226 #   - If the WifiRoamingMinSNR value is 0, the SNR check will be skipped.
227 WifiRoamingMinSNR = 20
228 WifiRoamingMinRSSI_2_4GHz = -75
229 WifiRoamingMinRSSI_5GHz = -77
230 WifiRoamingMinRSSI_6GHz = -78
231
232 # This value indicates which AP selection method to be used.
233 # 0: Normal(Signal strength)
234 # 1: INS
235 ApSelectionMethod = 0
236
237 [INS]
238 # INS(Intelligent Network Selection) configuration: BSSID Selection.
239 INSPreferredFreqBSSID = 5GHz
240 INSPreferredFreqBSSIDScore = 20
241 INSLastConnectedBSSID = true
242 INSLastConnectedBSSIDScore = 20
243 INSAssocReject = true
244 INSAssocRejectScore = 10
245 INSSignalBSSID = true
246
247 # INS(Intelligent Network Selection) configuration: SSID Selection.
248 INSLastUserSelection = true
249 INSLastUserSelectionTime = 480
250 INSLastUserSelectionScore = 30
251 # (INSLastUserSelectionTime - selection time diff) / (INSLastUserSelectionTime / INSLastUserSelectionScore)
252 # This means '(480 - selection time) / x) <= 30'
253 INSLastConnected = true
254 INSLastConnectedScore = 30
255 INSPreferredFreq = 5GHz
256 INSPreferredFreqScore = 60
257 INSSecurityPriority = SAE,RSN
258 INSSecurityPriorityScore = 5
259 # In this case, SAE(10 score), RSN(5 score)
260 INSSignal = true
261 INSInternet = true
262 INSInternetScore = 30
263
264 # INS(Intelligent Network Selection) configuration: Common.
265 INSSignalLevel3_5GHz = -76
266 INSSignalLevel3_2_4GHz = -74