Commit Graph

8762 Commits

Author SHA1 Message Date
Dan Williams
754774a4e3 examples: add license headers 2010-02-24 16:55:02 -08:00
Robert Piasek
2183af36b6 gentoo: fix use nscd -i to clear cache (gentoo #301720) 2010-02-22 12:07:43 +01:00
Dan Williams
4b8709629e bluetooth: NEED_AUTH state is valid here
Since during the modem preparation we might need secrets for
unlocking the device or for GSM/CDMA network password.
2010-02-19 01:44:17 -08:00
Dan Williams
c5eb684718 Merge remote branch 'origin/btdun' 2010-02-18 10:18:20 -08:00
Dan Williams
23f26b300f Merge remote branch 'origin/dhcp6' 2010-02-18 10:17:47 -08:00
Dan Williams
fa9e9b4227 examples: add some python examples 2010-02-18 10:17:08 -08:00
Dan Williams
d75aa067e3 release: bump version to 0.8 2010-02-18 08:12:35 -08:00
Dan Williams
6136bca71f ifcfg-rh: add missing file to fix distcheck 2010-02-18 08:10:18 -08:00
Dan Williams
b5bad00bc3 system-settings: remove unneeded include 2010-02-18 08:02:15 -08:00
Dan Williams
37e8ae824e ifupdown: don't tell NM about connections until we check 'managed' (lp:450458)
Otherwise it causes connections that we don't want exported to leak
out and be shown in the connection editor even though the device
isn't supposed to be managed.
2010-02-18 07:55:34 -08:00
Dan Williams
6b7ec3894a ifcfg-rh: dbus method return values need to be allocated 2010-02-17 17:23:18 -08:00
Dan Williams
d0f5c92ed9 ifcfg-rh: provide an easy way to get connection UUID/path for tools
ifup/ifdown, nmcli, and possibly other tools need a way to get the
internally generated connection UUID and possibly it's path given
just the ifcfg file path.  Not all ifcfg files have the UUID in
the file, so ifcfg-rh generates one.  But external tools don't know
what that UUID is or what the logic that NM uses to generate it is.

Help them out a bit so that ifup/ifdown can easily poke NM given
just the ifcfg file.
2010-02-17 16:43:03 -08:00
Dan Williams
95da6625b7 system-settings: register setting errors so D-Bus errors are meaningful
The errors weren't registered with dbus-glib yet for some reason, so
errors returned when adding invalid connections or updating or whatever
weren't meaningful at all.  We register them in the system settings
service (and not libnm-util) becuase libnm-util doesn't really have
anything to do wtih D-Bus, so we put the error registration with the
code that exports the connections over the bus.
2010-02-15 17:26:55 -08:00
Dan Williams
c218be1165 keyfile: add testcase for MAC address case
To make sure you can specify the MAC in either upper and lowercase.
2010-02-12 11:11:45 -08:00
Dan Williams
183c256bad modem: deactivate device if modem is disabled underneath NM 2010-02-11 22:53:49 -08:00
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