Commit Graph

15047 Commits

Author SHA1 Message Date
Dan Williams
7e7278fbd5 Merge remote branch 'origin/master' into btdun 2010-02-11 22:41:02 -08:00
Dan Williams
b4d0114ff6 gsm: split password and PIN try counters
To ensure that getting one wrong doesn't force a request for another.
2010-02-11 11:28:59 -08:00
Dan Williams
096f87e160 modem: ignore Enabled property changes while activating
Due to various ordering issues in ModemManager, when the Enable()
call fails because a PIN is required, MM will disable the modem
and *then* complete the dbus call.  That means that NM gets the
Enable property change before the Enable() call completes, and NM
would then transition the device to DISCONNECTED.  What we
really want to do is get the response from MM and then figure out
whether to fail activation or get secrets, not go to DISCONNECTED.

To fix this, ignore Enabled property changes to FALSE while
activating so we can handle it ourselves.  There are still a few
fixes left in nm-applet to make the secrets request for PINs work
on-the-fly, but saved in the connection works fine.
2010-02-09 23:50:26 -08:00
Dan Williams
21242568a6 gsm: handle PIN requests during modem enable too (bgo #609197)
Fix a regression after f61af8e139 where
a PIN request while enabling the modem wouldn't properly make NM
request secrets from the settings service.
2010-02-08 13:16:14 -08:00
Michael Biebl
2a7a4ebaf6 ifupdown: interpret allow-hotplug as autoconnect (debian #568784) 2010-02-08 09:34:28 -08:00
Tournaris Pavlos
74dfcf6ad7 po: update Greek translation (bgo #608810) 2010-02-02 09:48:40 -08:00
Dan Williams
f6c383ff14 policy: be more selective when adding hostname to /etc/hosts (debian #567411)
If the user has already mapped the hostname to some other address,
assume the user knows what they are doing (since they probably do)
and leave that mapping alone, and create a minimal 127.0.0.1 entry.
If there was no hostname mapping, add it to the 127.0.0.1 entry
like NM did before.
2010-02-01 17:29:58 -08:00
Krishna Babu K
21965b1431 po: updated Telugu translation (bgo #608426) 2010-01-30 14:05:37 -08:00
Dan Williams
86e4843902 introspection: sync device state reason codes with NetworkManager.h 2010-01-28 12:15:00 -08:00
Dan Williams
0a5a0146f8 bluetooth: finish DUN implementation 2010-01-28 11:21:53 -08:00
Dan Williams
75898f075b bluetooth: minor cleanup for device connect 2010-01-27 17:28:35 -08:00
Dan Williams
4e5539c895 Merge commit 'origin/master' into btdun 2010-01-27 17:21:06 -08:00
Dan Williams
2d982646b4 trivial: clearer hostname fallback message 2010-01-27 17:16:58 -08:00
Dan Williams
72f936db31 policy: fall back to original hostname before trying reverse DNS
Having the original hostname checks in the settings-service code
didn't allow the policy enough granularity to differentiate between
a plugin-provided hostname and the original hostname.  We want to
fall back to the original hostname if there isn't a persistent
hostname (from a plugin) and if there isn't a DHCP-provided
hostname.  Moving the original hostname checks to the policy
makes that possible.  Clarify the precedence order at the same
time, and minimally validate the DHCP hostname as well.
2010-01-27 17:13:35 -08:00
Dan Williams
35c4b97d7d dhcp6: first stab at autoconf otherconf/managed mode support 2010-01-27 16:20:09 -08:00
Dan Williams
bfcb57f1b9 Merge commit 'origin/master' into dhcp6 2010-01-22 12:06:04 -08:00
Dan Williams
13af29f693 ifcfg-rh: read and write DHCPv6 connections 2010-01-22 12:04:52 -08:00
Dan Williams
02bebfd1f4 misc: more license fixes 2010-01-21 15:19:28 -08:00
Dan Williams
6400f5cb77 misc: license fixups
All libs are LGPL, all binaries are GPL.
2010-01-21 15:11:50 -08:00
Dan Williams
7a594f2bdc crypto: de-init NSS after calling PR_GetError()
PR_Cleanup() can clear out the error, and we don't want to
loose it.
2010-01-21 12:57:31 -08:00
Dan Williams
133c86ee92 introspection: fix inclusion of Dhcp6Config XML 2010-01-20 17:30:48 -08:00
Dan Williams
e21885e764 Merge commit 'origin/master' into dhcp6 2010-01-20 16:54:12 -08:00
Dan Williams
8720a74c2e build: pkg-config file fixes 2010-01-20 16:53:04 -08:00
Dan Williams
3cd457a26a release: bump version to 0.7.999 (0.8-rc3) 2010-01-20 16:38:21 -08:00
Dan Williams
79303517ee ifcfg-rh: formatting fix 2010-01-20 16:37:49 -08:00
Dan Williams
5598a4493b Merge commit 'origin/master' into dhcp6 2010-01-20 16:36:37 -08:00
Dan Williams
14aef3678a ifcfg-rh: handle missing PREFIX by generating one
Based on what the initscripts do with ipcalc, which was tripping
a few people up when they forgot to do PREFIX/NETMASK.
2010-01-20 16:34:23 -08:00
Dan Williams
79db492854 ifcfg-rh: ensure IPv6 addresses are cleared when none get written out 2010-01-20 16:30:06 -08:00
Dan Williams
ac2505b64c Merge commit 'origin/master' into dhcp6 2010-01-20 15:42:26 -08:00
Ozan Çağlayan
51a95abef3 backends: add backend for Pardus 2010-01-20 13:37:52 -08:00
Jirka Klimes
7603f6dde4 libnm-util: fix NMDeviceBt hardware address property 2010-01-19 21:23:37 -08:00
Jerone Young
de2205a24e core: ensure failed /etc/hosts update writes out well-formatted file (lp#471498) 2010-01-19 20:37:46 -08:00
Dan Williams
c0b951d83b po: updated Slovenian translation (bgo #604836) 2010-01-17 23:26:05 -08:00
Gabor Kelemen
3f90f3aea7 po: updated Hungarian translation (bgo #596112) 2010-01-15 17:30:37 -08:00
Dan Williams
fbe413cbcd dhcp: ensure DHCP client is stopped on timeout 2010-01-15 12:50:38 -08:00
Dan Williams
4f537c195c libnm-glib: add NMDHCP6Config class 2010-01-15 12:40:19 -08:00
Dan Williams
f9bd97020d ipv6: push router advertisement flags to listeners 2010-01-14 22:57:51 -08:00
Dan Williams
d20c61a1d6 olpc-mesh: fix companion path and active channel property types
Companion device should be an object path instead of a string, and
the introspection data property type for the active channel was
wrong.
2010-01-14 14:30:02 -08:00
Dan Williams
d41c35fbf8 netlink: work around kernel cache refill problems
Sometimes cause the cache not to refill with all interfaces,
meaning NM sometimes got the wrong carrier state from the
kernel which prevented NM from taking over existing connections.
2010-01-14 14:15:18 -08:00
Christian Kirbach
534509b3c7 po: update German translation (bgo #598616) 2010-01-14 13:05:06 -08:00
Dan Williams
a9e32f3c3b dhcp: add initial DHCPv6 support (managed mode only) 2010-01-14 00:45:10 -08:00
Dan Williams
f094e0ad9d dhcp: dhclient leasefile and pidfile fixes for IPv6
Don't use the same lease and pid files for IPv6 as for IPv4.
2010-01-14 00:39:58 -08:00
Dan Williams
439768db3d dhcp: add the NMDHCP6Config object 2010-01-13 22:30:40 -08:00
Dan Williams
9e805187cd core: rename some DHCPv4 specific variables 2010-01-13 18:06:05 -08:00
Dan Williams
2a718bbb1b core: simplify DHCP setup and cleanup
nm_device_set_use_dhcp() and nm_device_get_use_dhcp() were somewhat
confusing and don't really reflect the new DHCP architecture with
NMDHCPClient.  Now that timeout and state signals are specific to
the NMDHCPClient it doesn't make sense to check for DHCP use
in the callbacks for those signals since they'll never get called
if DHCP isn't in use.  We might as well just keep the DHCP manager
around and check whether a DHCP client instance exists when we need
to figure out whether DHCP is in use.
2010-01-13 17:59:54 -08:00
Dan Williams
3568a98a61 dhcp: fix dhcp 4/6 mixup 2010-01-13 17:59:19 -08:00
Dan Williams
fe62e59c7e dhcp: add DHCPv6 functionality 2010-01-13 16:51:20 -08:00
Dan Williams
81f23ea383 dhcp: actually use runtime-selected DHCP client 2010-01-12 23:07:44 -08:00
Dan Williams
702836b42f dhcp: allow runtime DHCP client selection via config file 2010-01-12 22:55:24 -08:00
Dan Williams
1806235049 dhcp: convert dhcp backends to classes 2010-01-12 22:09:28 -08:00