Add support for dlog
[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 # List of technologies with AutoConnect = true which are always connected
134 # regardless of PreferredTechnologies setting. Default value is empty and
135 # will connect a technology only if it is at a higher preference than any
136 # other which is already connected.
137 # This setting has no effect if SingleConnectedTechnologies is enabled.
138 # AlwaysConnectedTechnologies =
139
140 # Allow connman to add service gateway to the time server list.
141 # Default value is false.
142 # UseGatewaysAsTimeservers = false
143
144 # Enable auto connection of services in roaming.
145 # If this setting is false, roaming services are not auto-connected by ConnMan.
146 # Default value is false.
147 # AutoConnectRoamingServices = false
148
149 # Enable address conflict detection
150 # If this setting is true, ConnMan will send probe ARP packets to see
151 # if an IPv4 address is already in use before assigning the address
152 # to an interface (in accordance with RFC 5227).
153 # Default value is false.
154 # AddressConflictDetection = false
155
156 NetworkCellularInterfaceList = pdp,rmnet,seth_td,seth_w
157
158 # Enable use of link-local address for auto-configuration.
159 # When a device fails to get IP address from DHCP server,
160 # ConnMan will start link-local address autoconfiguration and
161 # assign a link-local IP address to device.
162 # If this setting is false and device fails to get IP address
163 # from DHCP server then device state will be set to disconnected.
164 # Default value is true.
165 # EnableAutoIp = false
166
167 # Allow connman to set additional global nameserver and it will be used
168 # if all nameservers are failed to resolve DNS query. The nameserver
169 # entries must be in numeric format.
170 # GlobalNameserver = 8.8.8.8
171
172 # Enable supplicant debugging log
173 ConnmanSupplicantDebug = false
174
175 # Save ConnMan log to file
176 FileLogging = false
177
178 # Use dlog for ConnMan logging
179 DlogLogging = true
180
181 # Some logs of low importance are omitted to reduce the amount of logs
182 SimplifiedLog = true
183
184 # This value specifies which will be the default when there are multiple wifi interfaces.
185 # Default value is wlan0.
186 DefaultWifiInterface = wlan0
187
188 [INS]
189 # INS(Intelligent Network Selection) configuration: BSSID Selection.
190 INSPreferredFreqBSSID = 5GHz
191 INSPreferredFreqBSSIDScore = 20
192 INSLastConnectedBSSID = true
193 INSLastConnectedBSSIDScore = 20
194 INSAssocReject = true
195 INSAssocRejectScore = 10
196 INSSignalBSSID = true
197
198 # INS(Intelligent Network Selection) configuration: SSID Selection.
199 INSLastUserSelection = true
200 INSLastUserSelectionTime = 480
201 INSLastUserSelectionScore = 30
202 # (INSLastUserSelectionTime - selection time diff) / (INSLastUserSelectionTime / INSLastUserSelectionScore)
203 # This means '(480 - selection time) / x) <= 30'
204 INSLastConnected = true
205 INSLastConnectedScore = 30
206 INSPreferredFreq = 5GHz
207 INSPreferredFreqScore = 60
208 INSSecurityPriority = SAE,RSN
209 INSSecurityPriorityScore = 5
210 # In this case, SAE(10 score), RSN(5 score)
211 INSSignal = true
212 INSInternet = true
213 INSInternetScore = 30
214
215 # INS(Intelligent Network Selection) configuration: Common.
216 INSSignalLevel3_5GHz = -76
217 INSSignalLevel3_24GHz = -74