Commit graph

4108 commits

Author SHA1 Message Date
Dan Williams
a8ca7f537d ppp: work around PPP bug that returns bogus nameservers
Work around a PPP bug (#1732) which causes many mobile broadband
providers to return 10.11.12.13 and 10.11.12.14 for the DNS servers.
Apparently fixed in ppp-2.4.5 but we've had some reports that this is
not the case.

http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=2e09ef6886bbf00bc5a9a641110f801e372ffde6
http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=f8191bf07df374f119a07910a79217c7618f113e
2009-08-18 12:28:56 -05:00
Dan Winship
80d48837ce ipv6: fix up no-duplicates logic in nm_ip6_config_add_nameserver 2009-08-18 11:14:55 -04:00
Dan Williams
b62702d337 modem: don't send PropertyChanged signals for private properties 2009-08-17 19:55:01 -05:00
Dan Williams
c2fb1f850a gsm/bt: fix merge of user-defined IPv4 settings 2009-08-17 19:48:42 -05:00
Dan Williams
3e221833da ppp: start PPP at activation stage3 instead of stage2
With the addition of IPv6, both v4 and v6 configuration are run in
parallel, and when both have finished, then activation can proceed.
Unfortunately, two of the 3 users of PPP (PPPoE and 3G) ran PPP at
stage2, and when the PPP IPv4 config was received, jumped directly
to activation stage4.  That caused the IPv6 code never to run, and
thus we hung at stage4 waiting for it to complete when nothing had
started it in the first place.

Instead, move PPP to stage3 so that
nm_device_activate_stage3_ip_config_start() can kick off both v4
and v6 IP code and we can successfully complete IP configuration
in all cases.  PPP previously being in stage2 was an artifact of
the more simplistic pre-IPv6 configuration code where it didn't
matter if you skipped stage3.
2009-08-17 15:35:02 -05:00
Dan Williams
377b116651 gsm: harmonize GSM network modes with ModemManager API 2009-08-17 14:43:37 -05:00
Dan Williams
a90491e8d8 gsm: reset secrets tries counter to avoid asking for secrets we don't need
The counter wasn't getting reset, so the second time the connection was
activated, secrets would be requested even though they weren't needed.
2009-08-17 14:39:22 -05:00
Dan Williams
8777cea8dc vpn: further clarify VPN IP4 config dict argument types 2009-08-17 09:20:58 -05:00
Dan Williams
465bc8ea46 vpn: clarify VPN Ip4Config docs 2009-08-13 17:01:06 -05:00
Dan Williams
98078b2609 vpn: document VPN Ip4Config key/value pairs 2009-08-13 16:56:44 -05:00
Dan Williams
107ac82208 build: fix distcheck 2009-08-13 09:18:26 -05:00
Alexander Sack
2e849a0cb8 system-settings: fix crasher (lp:411668) 2009-08-12 17:19:55 -05:00
Dan Winship
fc8661a24c libnm-util: fix verifying METHOD_IGNORE in NMSettingIP6Config 2009-08-12 10:33:21 -04:00
Dan Williams
38f732a721 Merge branch 'iscsi' 2009-08-10 15:52:28 -05:00
Dan Williams
0993ea3989 libnm-util: fix DEFAULT_MAP_SIZE; broken by ff88cf12c2 2009-08-10 15:21:16 -05:00
Dan Williams
39feeeb065 introspection: add a few missing files 2009-08-10 11:50:26 -05:00
Dan Williams
1d5a68db74 ifcfg-rh: read iBFT config and convert to NM IPv4 config 2009-08-07 12:13:54 -05:00
Dan Williams
869e57524c core: fix uninitialized variable usage 2009-08-06 15:15:46 -04:00
Dan Williams
78bb1c01b7 core: implement connection assumption
Mark activation requests that contain connections to be assumed,
and use that to short-circuit various parts of the activation
process by not touching various device attributes, since they
are already set up.  Also ensure the device is not deactivated
when it initially becomes managed, because that would kill the
connection we are about to assume.
2009-08-05 18:03:09 -04:00
Daniel Drake
ff88cf12c2 olpc: add mesh device logic and config setting 2009-08-05 16:34:02 -04:00
Dan Williams
4802094985 Merge commit 'origin/master' into iscsi 2009-08-05 15:46:11 -04:00
Dan Williams
4bab33405b ipv6: fix missing introspection file in distcheck 2009-08-04 14:55:22 -04:00
Dan Williams
e9c4a16ea3 Merge commit 'danw-ipv6/ipv6'
Conflicts:
	src/nm-manager.c
2009-08-04 14:18:05 -04:00
Dan Williams
f2eb3dea65 core: base infrastructure for connection assumption
Figure out what connections can be assumed when a device is added,
and on shutdown don't blow away connections that can be assumed on
NM restart.
2009-08-03 17:15:03 -04:00
Dan Williams
a77655df06 core: don't send properties-changed events for internal properties 2009-07-30 10:39:57 -04:00
Dan Winship
e4d03e1f9d manager: fix crash when applets exit
Due to bad refcounting of D-Bus proxies of the connections applets
expose.
2009-07-30 09:27:21 -04:00
Dan Winship
fc8e609784 Initial IPv6 support (only handles "manual" and "ignore" currently) 2009-07-29 21:35:01 -04:00
Dan Winship
db2748b545 Add IP6 support to NMNamedManager 2009-07-29 21:35:01 -04:00
Dan Winship
b67b1afb1a Backend IP6 config 2009-07-29 21:34:52 -04:00
Dan Winship
90bd1ad5cd Install and fix up libnm-util IPv6 config stuff 2009-07-29 21:34:19 -04:00
Dan Winship
e324f783e2 Fix crash when nm-applet exits 2009-07-29 21:23:36 -04:00
Dan Williams
e5347169f6 peap: add GTC as a recognized phase2 method (bgo #565065) (rh #451027) (lp #284211) 2009-07-29 14:08:54 -04:00
Dan Williams
18788a26d3 build: remove duplicate automake bits 2009-07-28 10:14:21 -04:00
Dan Williams
f1d8033044 build: add BT introspection to dist tarball 2009-07-28 10:12:27 -04:00
Dan Williams
e7caf09032 dbus: fix formatting of dbus permissions file 2009-07-28 10:07:52 -04:00
Daniel Drake
8f0652a9f0 core: allow devices to suppress other device's autoconnect
This allows a device (or a companion) to signal that it is not a good
time for a specific device to autoconnect to a network.

The OLPC mesh device will use this to prevent automatic connection
to WLAN networks while the mesh device is active.
2009-07-15 17:22:10 -04:00
Daniel Drake
38afee1e9f wifi: allow wifi scans to be inhibited by other devices
Like the OLPC mesh interface, which uses the same actual MAC & radio
as the OLPC wifi device, and thus when mesh is active the wifi
shouldn't be scanning.
2009-07-15 13:59:18 -04:00
Daniel Drake
3fe8d0eed4 core: allow devices to specify a DHCP anycast address
Relevant only for OLPC at this point; the mesh device uses it to
target DHCP requests at a pre-defined mesh portal anycast address.
2009-07-15 13:53:49 -04:00
Daniel Drake
0f56957b77 core: allow device subclasses to override DHCP timeout 2009-07-15 13:48:28 -04:00
Daniel Drake
14bc75edaa wifi: add 'scanning' property which is TRUE while device is scanning 2009-07-15 13:44:06 -04:00
Dan Williams
b35aa0a022 dhcp: fix dhcp-client-identifier format for dhclient (bgo #588008) 2009-07-14 16:10:38 -04:00
Dan Williams
c867c84ae5 core: fix connection updated/removed signal handling
The DBusGProxy was getting destroyed after all the ListConnections calls
were completed, and thus the dbus match was removed, and the signals
weren't getting reflected back up into NM to be handled.  Fix that by
attaching the DBusGProxy to the NMConnection it represents to ensure it
lives until that NMConnection dies.
2009-07-14 14:43:37 -04:00
Dan Williams
ee49af01d3 vpn: remove debugging leftover 2009-07-14 14:43:21 -04:00
Dan Williams
302c9fcbcc netlink: fix race that caused stale carrier state signals
Found by Ricardo Salveti de Araujo <ricardo.salveti@openbossa.org>

The link cache was updated immediately, but the carrier state signals
were emitted a lot later, when the cache data was already stale.  So
just update the cache at the same time we emit the signals.  The
carrier-state-request stuff wasn't originally converted to deferred
for any netlink-specific reason, just to smooth the initial device
creation process in NM.
2009-07-13 19:40:39 -04:00
Dan Williams
b582b4e384 docs: clarify UUID property, document NMSettingCdma 2009-07-12 10:27:10 -04:00
Dan Williams
1bb492935a bluetooth: fixes and addition of NMDeviceBt to libnm-glib 2009-07-10 10:45:24 -04:00
Alexander Sack
524ad83bc7 core: fall back to old system-settings config file 2009-07-10 08:14:01 -04:00
Torgny Johansson
a736385127 gsm: fix GSM network mode max value
So that you can actually prefer GSM/EDGE.
2009-07-10 07:58:55 -04:00
Dan Williams
fec407b345 system-settings: resurrect auto-wired-default behavior
Dropped due to time during the udev conversion.
2009-07-09 11:06:31 -04:00
Dan Williams
c07409afc8 fix distcheck 2009-07-08 12:55:24 -04:00