X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain.conf;h=555225f0998bdae5251f5fd5fe5c83ba1be084b6;hb=7ef7e96fc2f3eb620fffb6f277339214efe83747;hp=68870b2816f8484282da2dbb5618e40097a8d5a2;hpb=9362752a471a5c892d679548fbf2828d5fc5684b;p=platform%2Fupstream%2Fconnman.git diff --git a/src/main.conf b/src/main.conf old mode 100644 new mode 100755 index 68870b2..555225f --- a/src/main.conf +++ b/src/main.conf @@ -14,18 +14,29 @@ # 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. +# 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 timeserver set by the user or by the service. -# These can contain mixed combination of fully qualified -# domain names, IPv4 and IPv6 addresses. +# 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 @@ -52,19 +63,26 @@ # 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 +# 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 +# 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 @@ -76,6 +94,7 @@ # setting enabled applications will notice more network breaks than # normal. Default value is false. # SingleConnectedTechnology = false +SingleConnectedTechnology = true # List of technologies for which tethering is allowed separated by ",". # The default value is wifi,bluetooth,gadget. Only those technologies @@ -117,3 +136,82 @@ # 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 + +[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_24GHz = -74