Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note: on wpa_supplivant 0.7.x this fixes bug 21332 _only_ when switching
from wep to psk, not the other way round due to wpa_supplicant not telling
about RSN/WPA fields being empty. This could be fixed in parsing IE every
time it is updated, if wpa_s signals it. It work properly on
wpa_supplicant 0.8.x and 1.x since signaling RSN/WPA changes has been
fixed.
Fixes BMC#21332
|
|
|
|
|
|
|
|
|
|
Set host routes via the interface and identified gateway when
requested by gweb. Remove host routes when the check is done.
Fixes BMC#25061
|
|
In order to be able to request a certain ipconfig type, add the type
as a parameter to __connman_ipconfig_get_gateway_from_index().
|
|
Update g_web_request_get() and add WISPr route request debug
printouts.
|
|
|
|
|
|
Define GWebRouteFunc that will be called when a route to the
intended destination may need to be set up.
|
|
We save offline mode status in init so that settings
file gets created if it was missing.
|
|
So we save the technology status if the settings file does not
contain it.
|
|
The settings file is created only when migrating
from default.profile. This means that technology
default values are used if settings file does not
exists.
|
|
By defalt offline mode is OFF if settings file
is not found or OfflineMode entry is not found
in settings file.
|
|
Ethernet is enabled by default if settings file is not found
or the Wired entry is not found in the file.
|
|
|
|
The previous code would assume all commandline options to have a value,
whereas --comp-lzo does not. As a result, openvpn's argv would have a
spurious empty string in its argv, and openvpn would not launch.
|
|
|
|
|
|
|
|
This way it will trigger the error which will be reported to service.
|
|
|
|
|
|
|
|
For PBC method, the WiFi.PinWPS has to be NULL.
Fixes BMC#25076
|
|
The idea here is to delay cache removal few seconds if there
are no cache users any more (refcount goes to 0). This is useful
for IPv6 RDNSS where new DNS servers are created right after old
one is removed. In this case we do not want to loose the cache
that still has perfectly valid data.
|
|
|
|
|
|
Stay at ready state with a preferred technology also when the
online check fails. Otherwise we end up in an endless autoconnect
loop with two preferred WiFi networks where neither one goes to
online.
Print out a warning message when the online check fails.
|
|
|
|
|
|
- stop_autoscan() should unref the device only when relevant, i.e. when
interval and/or timeout have been set.
- autoscan_scan_callback() should unref the device since it has been
referenced in throw_wifi_scan()
|
|
This fix is for following scenario:
- New interface is coming up.
- There is radvd in the connected network and it is
advertising IPv6 addresses and DNS servers.
- Kernel receives router advertisement and picks up the DNS
server information which is then routed via netlink to
rtnl.c:rtnl_newnduseropt() which then creates DNS listener.
- Kernel activates DAD (duplicate address detection).
- As the DAD takes some time we now have interface up
and it only has link local IPv6 address defined.
- The DNS listener is now using link local source addresses when
sending queries instead of proper autoconfigured addresses.
- When DAD is finished, the interface will have autoconfigured
addresses assigned and corresponding netlink message will cause
function rtnl.c:process_newaddr() to be called.
- If all this happens, then we re-create DNS listener
in dnsproxy.c so that listener will have a proper
(autoconfigured) source address when sending DNS packets.
|
|
|
|
A base of 2 creates too many scans on too short times, so a base of 3 reduces
this amount. And a limit of 3600 is way too much, a scan every 5 minute is
more relevant.
|
|
Service state can transition from online to disconnect like this:
1) old online - new disconnect/association => association
2) old association - new disconnect/disconnect => disconnect
Create a separate function for leaving online mode, don't rely on
the previous old_state in service_indicate_state().
Fixes BMC#25073
|
|
|
|
|
|
A VPN does not have a network struct set. Thus do not attempt to
look up the corresponding interface index for a NULL network
pointer.
Fixes BMC#25075
|
|
|
|
|
|
Such "background" scanning was in use only for wifi devices. Such feature
is now fully moved and better supported in connman's wifi plugin.
|