Commit graph

3884 commits

Author SHA1 Message Date
Dan Williams
b3f192e216 dbus: final dbus policy fixes (bgo #563730)
Keep explicit denials, consolidate stuff, ensure that when denying
send_interface it's almost always matched with send_destination.
2009-02-17 10:45:44 -05:00
Dan Williams
6d498a1f94 system-settings: fix shutdown issues
Shutdown on SIGTERM, and don't segfault when quitting cleanly.  Can't
send signals on an object that's being disposed of, so don't do that.
Fix a memory leak of the Hal manager's priv->devices on shutdown, not
that it matters.
2009-02-17 10:45:36 -05:00
Dan Williams
9ca2cd78fd gsm: quiet pointless debug message 2009-02-17 06:25:52 -05:00
Dan Williams
eea5a77db4 gsm: only use the 'Control' interface on new Option modems 2009-02-17 06:24:41 -05:00
Dan Williams
3a37aa6ae5 core: ask udev for modem capabilities
In combination with udev-extras, this allows automatic detection of modem
capabilties instead of having to keep 10-modem.fdi up-to-date with the hardware
flavor of the week.  NMHalManager grabs the originating device of a newly
detected device, passes that to NMManager, which then passes it along to the
device-type-specific creators.  The modem creator then asks udev for any
probed modem capabilities, and uses those in perference to any capabilities
HAL reports.  HAL capabilities are kept as a fallback.
2009-02-16 18:07:49 -05:00
Dan Williams
149166c49a gsm: use AT+CGREG on Huawei E160G modems (bgo #565177) (rh #466177) 2009-02-15 23:09:50 -05:00
Dan Williams
3ea65cdd39 hso: only turn off unsolicited dial messages after dialing 2009-02-15 22:53:10 -05:00
Dan Williams
a01940cda8 hso: fix repeated secrets requests
Secrets attempts never got reset.
2009-02-15 22:30:15 -05:00
Dan Williams
58f0541ff4 makefile cleanups
0.7 requires dbus 1.1 or greater (for system bus activation), so make that
explicit, and remove compat code for D-Bus 0.6 and earlier.  Consolidate
the various glib pkgconfig checks into one, since most anything will require
gthread, glib, and gobject anyway.  Fixup the docs makefile to be more
automake-compatible and let 'make clean' actually work correctly when
docs are built.
2009-02-15 11:23:31 -05:00
Dan Williams
52dbe22890 dbus: clean up reconnection
The reconnection timeout would never be canceled, and get rid of the
"disconnected by the system bus" message on exit, which while
technically true was useless due to the pending exit.
2009-02-15 11:23:22 -05:00
Dan Williams
1ec0645602 core: log when exiting 2009-02-15 11:23:11 -05:00
Dan Williams
e383153375 man: fix up manpages; document dispatcher stuff 2009-02-14 17:21:17 -05:00
Dan Williams
f142e15df7 core: fix error reporting from replace_default_ip4_route() (rh #477916) 2009-02-13 06:58:42 -05:00
Dan Williams
b9028ffd7e core: increase SSID buffer size to fix 32-character SSIDs (rh #485312, lp281755) 2009-02-12 18:04:43 -05:00
Dan Williams
de15a81c5e core: remove stray semi-colon 2009-02-10 23:24:47 -05:00
Dan Williams
ae5adeaf2b core: allow uid 0 to activate user connections
Previously, uid 0 was not permitted to activate user connections,
but in some cases this is desired.
2009-02-10 23:24:33 -05:00
David Planella
eb7c6c0b50 po: update Catalan translation 2009-02-10 23:24:24 -05:00
Dan Williams
6e120709e2 Merge commit 'a734c836a56f3170202f0555f1a03c9b2835775c' into NETWORKMANAGER_0_7
Conflicts:

	libnm-glib/nm-ip4-config.c
	libnm-glib/nm-ip4-config.h
	src/dhcp-manager/nm-dhcp-manager.c
2009-02-10 23:23:14 -05:00
Dan Williams
a734c836a5 libnm-util: ignore Privacy for APs broadcasting WPA & RSN IEs (rh #445369)
While broadcasting WPA and RSN IEs with the Privacy bit set to 0 is
technically illegal, some networks using older Cisco equipment do it
(I'm looking at you, Eduroam) and there's no reason not to support
it.  Since the AP is broadcasting WPA/RSN IEs, assume that means
WPA and RSN is supported (duh).
2009-02-06 17:32:56 -05:00
Dan Williams
ce3473dc90 clear pending activation checks on device removal
Found by Drew Moseley <dmoseley@mvista.com>
2009-02-06 15:38:09 -05:00
Dan Williams
12f20e29ff fix --with-tests info message 2009-02-05 14:29:45 -05:00
Dan Williams
675a01ab9a fix dbus conf file broken by 7c3063faea 2009-02-05 07:15:04 -05:00
Dan Williams
7c3063faea ppp: don't require separate bus name for pppd plugin communication
Not actually needed, and actually makes securing the daemon harder
from a D-Bus perspective, since both bus names resolve to the same
unique name anyway, and the unique name is what actually gets
matched on inside dbus.  Suggestion from Colin Walters.
2009-02-05 06:05:10 -05:00
Henrique P Machado
6f5560f9b7 po: update pt_BR translation 2009-02-04 15:52:15 -05:00
Dan Williams
345fd870fa nm-tool: show minimal VPN information (bgo #569562) 2009-02-04 15:33:08 -05:00
Dan Williams
47f4d9945e ifcfg-rh: silence message about ignoring loopback config (rh #484060) 2009-02-04 11:28:27 -05:00
Dan Williams
c2f228e7b7 nm-tool: add carrier property to wired devices; remove "supported"
"supported" was always yes anyway.
2009-02-04 09:07:58 -05:00
Dan Williams
196c2055c7 introspection: add missing "Vpn" property on ActiveConnection interface (bgo #570030) 2009-02-03 06:27:33 -05:00
Dan Williams
65c4eff185 introspection: add missing NMDeviceType enum (bgo #569934) 2009-02-03 06:24:15 -05:00
Dan Williams
5f7cbe5ee9 libnm-glib: use correct D-Bus interface for getting devices (bgo #570031) 2009-02-03 06:14:49 -05:00
Dan Williams
5405a26b40 libnm-glib: use correct D-Bus interface for getting ActiveConnections (bgo #569933) 2009-02-03 06:09:23 -05:00
Dan Williams
718debc2cd fix distcheck for real 2009-02-02 01:36:43 -05:00
Dan Williams
203cff4d83 libnm-util: move crypto tests to libnm-util/tests/
Add testing certs and keys; run crypto tests on 'make check'
2009-02-02 01:03:15 -05:00
Dan Williams
b61b199776 libnm-util: flag properties with G_PARAM_CONSTRUCT so default values get set
This caused the 'autoconnect' property of NMSettingConnection to not
get updated in some cases (as when a system setting plugin noticed a
change to autoconnect=true and emitted the Updated signal, which wouldn't
contain the new value).  Add a testcase for setting default values too.
2009-02-01 20:18:21 -05:00
Michael Biebl
8a2393ade2 vpn: ignore VPN service files that don't end in .name 2009-01-30 00:00:12 -05:00
Dan Williams
0e6c557bce ppp: fix interpretation of 'noauth' and default to TRUE
MPPE has nothing to do with noauth, since auth/noauth is for asking
the remote server to authenticate itself to the local pppd, which is
pointless.  Default 'noauth' to true.
2009-01-28 11:53:16 -05:00
Dan Williams
468ca67a1f ppp: always use 'noauth'
Since NM is really only a client of the provider's PPP server, and since NM
doesn't have any authentication information to authenticate the remote
peer anyway.  Some providers don't set up their servers to allow clients to
ask for authentication from the remote peer either.
2009-01-28 11:49:28 -05:00
Dan Williams
154f2f4534 libnm-util: default 'autoconnect' to true
Like the NetworkManagerConfigurationSpecification wiki page has stated for
quite a long time.
2009-01-27 11:31:21 -05:00
Dan Williams
4a7bfefeec ppp: honor MTU from PPP setting 2009-01-26 16:10:19 -05:00
Dan Williams
8a1e437eca spec: clarify behavior of Update() 2009-01-26 11:22:11 -05:00
Dan Williams
d7e671ddad make distcheck happier (but still not completely happy) 2009-01-22 19:38:53 -05:00
Dan Williams
fbb20f04ad ifcfg-rh: help prevent rh#476089 in the future 2009-01-22 19:38:19 -05:00
Przemysław Grzegorczyk
bac45aa0d5 clean up glib includes (bgo #564376)
Only <glib.h> and <gtk/gtk.h> need to be included.
2009-01-19 00:16:40 -05:00
Dan Williams
f2e8870338 dhcp: handle classless static routes (bgo #567246)
Based on patches by Johan Bilien <jobi@via.ecp.fr>,
nick loeve <trickie@gmail.com>, and Roy Marples <roy@marples.name>
with significant changes for dhclient formatting and test cases.

Note that dhclient needs help before it can actually parse
classless static routes by adding the following to the
dhclient.conf file:

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
2009-01-18 23:19:09 -05:00
Dan Williams
f06a136a99 move nm_utils_ip4_addr_to_nl_addr() to nm-ip4-config.c
Since that's the only place it's used.
2009-01-18 20:04:14 -05:00
Dan Williams
59bc300cee move test functions somewhere commonly accessible 2009-01-18 18:43:18 -05:00
Dan Williams
4aab9ff556 gsm: add init string for USBModem by MobileStream for Palm devices 2009-01-16 16:41:54 -05:00
Sjoerd Simons
c96333de17 gsm: handle different modem init sequences more elegantly
Change the encoding on the channel to binary too, since modems usually don't
send UTF-8.
2009-01-16 16:40:59 -05:00
Simos Xenitellis
94575f511d Updated greek translation (bgo #566372) 2009-01-16 16:28:52 -05:00
Dan Williams
e207a458c4 keyfile: read & write nicely formatted BSSIDs 2009-01-13 13:04:24 -05:00