Commit graph

4256 commits

Author SHA1 Message Date
Dan Williams
55bb7a85fd modem: re-implement GSM device on top of generic modem code
Serial interface D-Bus info has to be somewhere neutral.

Fix a CDMA secrets bug.
2009-10-05 00:42:53 -07:00
Dan Williams
9fb584242c modem: kill active connections on shutdown 2009-10-05 00:13:01 -07:00
Dan Williams
8822f75652 cdma: fix device dispose
Move modem destruction from dispose -> finalize, because the superclass
still needs to use the device at dispose time.
2009-10-05 00:05:09 -07:00
Dan Williams
ac739e3311 manager: fix up composite modem device detection and suppression
Some modems have their ethernet	interface show up only on connect,
and we want NM to ignore the ethernet interface as a top-level
device.
2009-10-04 23:59:20 -07:00
Dan Williams
66fbf31a19 modem: fix stage3 IP config kickoff 2009-10-04 23:57:51 -07:00
Dan Williams
821bfe5257 Merge commit 'origin/master' into btdun 2009-10-04 23:39:16 -07: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
e4e9d40998 modem: re-implement CDMA device on top of generic modem code 2009-10-04 23:35:20 -07:00
Dan Williams
c5cf3b1d9b modem: generalize GSM and CDMA modem classes
So that Bluetooth can use them.  They used to be NMDevice subclasses, but
we need them to be generic objects that both bluetooth and the normal
modem stack can use.  All because GObject can't do multiple inheritance,
but that would probably be even messier.

So now that we have generic modem objects, we can create the actual
NMDevice subclasses that will wrap them for non-BT modems, and then
also have NMDeviceBt wrap them too for DUN.
2009-10-04 21:41:49 -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