Commit Graph

4397 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Jirka Klimes
a74e2cfde0 keyfile: add IPv6 support (bgo #593814)
(fixes by dcbw to use '/' as the prefix separator)
2010-01-08 11:23:39 -08:00
Jirka Klimes
686425adce ifcfg-rh: add IPv6 addressing and routes support (rh #523288) 2010-01-05 19:06:27 -06:00
Jirka Klimes
3b0255f73c libnm-util: add IPv6 comparison functions 2010-01-05 18:51:53 -06:00
Dan Williams
306e01d6b0 release: bump version to 0.7.998 (rc2) 2010-01-04 17:30:39 -06:00
Luca Ferretti
c159efb05e po: update italian translation (bgo #595673) 2010-01-02 18:50:27 -06:00
Dan Williams
97ab9c8497 ifcfg-rh: add missing testcase 2010-01-01 13:58:34 -06:00
Dan Williams
8b4095cb23 ifcfg-rh: ensure keys/route files are monitored for changes too
keys- and route- files weren't passing the should_ignore_file()
check in dir_changed() because should_ignore_file() was only
taking ifcfg- files into account.  Generalize most of the ifcfg name
handling functions so that should_ignore_file() will now handle
all three variants.

Add testcases to ensure that the name handling does what we want
it to, and optimize memory usage of utils_get_ifcfg_name() a bit.
2009-12-30 16:33:12 -06:00
Tambet Ingo
302e62d9c7 core: Fix another crash
Need to check if the killswitch type has an object filter function
before trying to use it (in other location as well).
2009-12-29 15:52:36 +02:00
Dan Williams
39ad6084ac arch: remove hal dependency from initscript (bgo #605530) 2009-12-28 19:01:57 -06:00
Dan Williams
644dabd7ab core: fix crash after wake due to 8f4d4c0463
Need to check if the killswitch type has an object filter function
before trying to use it.
2009-12-28 15:20:02 -06:00
Dan Williams
f9318dac55 core: fix reading WWAN state from state file 2009-12-25 14:42:44 -06:00
Dan Williams
58df1b6e36 core: fix error when parsing state file for WirelessEnabled fails
Found by Chen Jie <chenj@lemote.com>.
2009-12-25 14:33:02 -06:00
Dan Williams
0762b2c77b dispatcher: fix (harmless) memory leak (bgo #585714) 2009-12-24 15:55:59 -06:00
Dan Williams
f012d06531 ifcfg-rh: remove another unused variable 2009-12-23 11:11:30 -08:00
Dan Williams
16c29e6daf ifcfg-rh: remove unused variables 2009-12-23 11:11:11 -08:00
Dan Williams
6a6e231b3e supplicant: remove unused variables 2009-12-23 11:10:47 -08:00
Dan Williams
412cd1afbf core: fix possible erroneous warning on auto-ip events
Remove unused variable too.
2009-12-23 11:10:11 -08:00
Dan Williams
870cfa489e wifi: remove useless assignment 2009-12-23 11:09:37 -08:00
Dan Williams
d6799281e1 ethernet: remove unused variable 2009-12-23 11:09:22 -08:00
Dan Williams
0075b41510 dhcp: clarify ignored variable name 2009-12-23 11:08:56 -08:00
Dan Williams
c0d7c2579e libnm-util: fix potential crash when encrypting fails 2009-12-23 11:08:26 -08:00
Dan Williams
e2b9e401ca libnm-util: remove unused variable 2009-12-23 11:07:50 -08:00
Dan Williams
a0984585af modem: ensure deactivation on disable only happens on disable 2009-12-23 02:44:21 -08:00
Dan Williams
ac38d65d6d modem: fix activation after 1379af271138202d406de585cbdcd491ac11ed01
Got the return semantics of dbus_g_proxy_end_call() wrong...
2009-12-23 01:30:55 -08:00
Dan Williams
154a41dec9 modem: ensure device is deactivated if the modem is disabled underneath NM 2009-12-23 01:30:54 -08:00