Commit graph

4255 commits

Author SHA1 Message Date
Dan Williams 00f945e54e gsm: correct GSM band implementation and settings
NM didn't pass it to MM anyway, so it was mainly unused, but the band settings
were still wrong.  Fix that (and still preserve ABI) by adding a new property
for allowed bands that can actually hold all the bands instead of limiting
to 16-bits.  Clean up some of the deprecation stuff at the same time to make
it clearer what's deprecated and what to do about it.
2009-10-07 12:18:57 -07:00
Noel J. Bergman 59d89050f2 sharing: fix sharing after 715ddd2045 (lp:444756)
Commit 715ddd2045 broke sharing because
sometimes a multi-argument string gets passed in rule->rule.  Revert
most of that commit.  A bunch of cleanups by dcbw too.
2009-10-06 16:46:46 -07:00
Dan Williams 72a98c5b29 system-settings: fix crash saving default wired connections to backing storage (lp:430781)
Fix up refcounting, plus it turns out that we already have the MAC address
lying around as	a GObject data item, so	we don't need to go grab it
from the connection itself.
2009-10-05 17:46:16 -07:00
Dan Williams 1b9496bbef introspection: clarify wired device 'Speed' property units 2009-10-05 16:58:07 -07:00
Dan Williams 1d28ad1aa5 ppp: add minimal debugging output to the ppp plugin 2009-10-05 12:23:03 -07:00
Alexander Sack 8b3ddc7c8a ifupdown: unmanage devices with "mapping" stanzas - lp:413622 bgo:591864 2009-10-05 19:53:54 +02:00
Frej Soya e3ae3efc09 wired: fix build_supplicant_config for wired - bgo:594038 lp:422597 2009-10-05 11:22:20 +02:00
Dan Williams 85da54edd7 manager: fix use-after-free crash for cdc-ether modems
An ethernet device that's actually a component of a modem could get
added to the device list, but then destroyed without getting removed
from the device list.
2009-10-04 23:36:06 -07:00
Dan Williams 12aa505d3c libnm-util: fix distcheck after 7a8611e0ad 2009-10-02 17:20:38 -07:00
Dan Williams 7a8611e0ad libnm-util: fix NSS padding checking and add testcase 2009-10-02 13:29:43 -07:00
Tambet Ingo 4f0c06142a Merge branch 'iptables' 2009-10-02 09:20:48 +03:00
Tambet Ingo 715ddd2045 core: Make iptables path configurable
On some systems, it's located in different path...
2009-10-01 14:31:09 +03:00
Dan Williams 866d48bb9b libnm-glib: add class padding for future expansion 2009-09-30 09:21:32 -07:00
Dan Williams 0596068561 libnm-util: add class padding for future expansion 2009-09-30 09:21:32 -07:00
Alexander Sack dec1773694 libnm-util: fix build with gcc 4.4 - pass string format to g_set_error 2009-09-30 16:01:16 +02:00
Dan Williams 66251aedab doc: 802-1x doc fixes 2009-09-28 16:55:52 -07:00
Dan Williams a73bc57153 doc: rebuild sections file too 2009-09-28 16:55:44 -07:00
Dan Williams 668dab3903 doc: let gtk-doc rebuild libnm-util.types 2009-09-28 16:12:39 -07:00
Dan Williams f355259f7e doc: regenerate docs when sources change 2009-09-28 16:01:21 -07:00
Dan Williams 371cf62c6e doc: the sgml file is normally stored in RCS 2009-09-28 16:00:56 -07:00
Dan Williams f75a6754ad libnm-util: doc fixes 2009-09-28 16:00:30 -07:00
Dan Williams 28e2e44686 ifcfg-rh: really fix writing the WPA PSK and add testcase for it 2009-09-28 15:29:29 -07:00
Dan Williams a5de3b9d88 ifcfg-rh: treat BOOTPROTO=none as static IP 2009-09-28 15:08:07 -07:00
Dan Williams 963d055abf wired: defer carrier-off events while connected by a few seconds
Don't immediately tear down an active wired connection when the carrier
flips to off, but wait a few seconds for it to come back before breaking
the user's network.
2009-09-28 14:12:09 -07:00
Dan Williams 4f6eef9e77 ifcfg-rh: quote WPA passphrases when writing connections
The reader requires passphrases to be quoted, but the writer wasn't
doing that.  Hex PSKs were fine though.
2009-09-28 13:34:42 -07:00
Dan Williams dbe2816c4c ifcfg-rh: handle BOOTPROTO errors better 2009-09-28 13:09:50 -07:00
Dan Williams a2c1256215 wired: link_timeout_id -> supplicant_timeout_id 2009-09-28 12:57:18 -07:00
Dan Williams 0bbf8c5307 ethernet: make initial carrier check synchronous; require carrier for connection takeover (lp#417719) 2009-09-28 11:09:31 -07:00
Dan Williams ddce707d67 netlink: add blocking function to get carrier state 2009-09-28 10:50:22 -07:00
Dan Williams aa7bb93968 core: spacing fix 2009-09-28 10:49:55 -07:00
Dan Williams e6dfbaebf7 libnm-util: bump soname minor component (1.0.0 -> 1.1.0) for API additions 2009-09-26 15:45:45 -07:00
Dan Williams 1326d816d6 po: remove dead translatable 2009-09-25 17:34:29 -07:00
Dan Williams 91bc44229e Merge commit 'origin/master' into cert-paths 2009-09-25 16:02:53 -07:00
Dan Williams 0190ac21a4 Revert "libnm-util: bump soname for certificate changes"
This reverts commit 5b90df0737.

Since commit 71219015ea adds all the
0.7.x certificate and key functions back, we can revert the soname
change and preserve API/ABI.
2009-09-25 16:01:23 -07:00
Dan Williams 71219015ea libnm-util: add 0.7 cert/key functions back
Since there's a more or less direct mapping between the 0.7.x and
the 0.8.x certificate and key operations, we might as well just
deprecate them instead of removing them entirely.
2009-09-25 16:00:19 -07:00
Witold Sowa b20cef2e1b libnm-glib: add 'connections-read' signal to settings interface
To let listeners know when all connections have been found.
2009-09-22 23:44:45 -07:00
Witold Sowa ac03cbce04 libnm-glib: add service-running property to NMRemoteSettings
So that users can actually tell if the remote service is running or not.
It doesn't have to be when the object is created.
2009-09-22 23:29:02 -07:00
Dan Williams 73a504a1e6 Merge commit 'origin/master' into cert-paths 2009-09-21 10:59:53 -07:00
Dan Williams d548fc9a61 libnm-util: silence some of the GSM PUK warnings 2009-09-21 10:59:19 -07:00
Dan Williams 5b90df0737 libnm-util: bump soname for certificate changes 2009-09-21 10:57:52 -07:00
Dan Williams cde6af87a8 Merge commit 'origin/master' into cert-paths 2009-09-19 07:01:49 -07:00
Dan Williams e4ed9764b5 libnm-util: deprecate GSM PUK property
Unused anyway, and PUK is dangerous enough that it should be handled
by the client explicitly and not by NM.
2009-09-18 17:08:30 -07:00
Dan Williams c134460c9f Merge commit 'origin/master' into cert-paths 2009-09-18 09:09:03 -07:00
Dan Williams 99fb844657 core: device disconnection cleanups
Return an error when trying to disconnect an already-disconnected
or deactivated device.
2009-09-18 09:05:11 -07:00
Dan Williams 7239863d8f libnm-glib: make nm_device_disconnect() async 2009-09-18 08:38:29 -07:00
Alexander Sack 109f7e772a libnm-glib: add nm_device_disconnect function to glib API 2009-09-18 17:06:53 +02:00
Alexander Sack 2be94b44c3 core: implement manual disconnect feature
In the past networkmanager did not allow to manually disconnect devices.

Manually disconnected devices will not be automatically reconnected until one
of the following events occur:
 1. user activates a connection for the currently disconnected device
 2. network manager awakes from hibernate/suspend
 3. network manager is restarted (e.g. reboot)

Add a Disconnect method to generic NMDevice dbus interface; set a new private
autoconnect_inhibit flag if Disconnect method is called through dbus.
Based on this auto activation for devices gets inhibited until one
of the above events occur.
2009-09-18 17:06:48 +02:00
Dan Williams fdb5ef29c1 nm-tool: don't depend on private NM includes 2009-09-17 14:07:53 -07:00
Dan Williams 9b7d537b65 Merge commit 'origin/master' into cert-paths 2009-09-17 11:24:56 -07:00
Dan Williams 3ce6b68c64 vpn: fix crash caused by 8d205212dc
Typo; should have been 'unref'.
2009-09-17 11:23:44 -07:00