Commit Graph

7740 Commits

Author SHA1 Message Date
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
7a36b31ced Merge branch 'master' into wimax 2009-12-29 16:09:17 +02: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
Tambet Ingo
20a4c6c6b6 wimax: Implement RFKILL handling
Implement and export over DBus WiMAX enable/disable and hardware state query.
2009-12-29 11:27:10 +02:00
Tambet Ingo
ac0f32537e Merge branch 'master' into wimax 2009-12-29 11:25:37 +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
212220f0b4 Merge commit 'origin/master' into btdun 2009-12-23 01:46:59 -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
Dan Williams
f61af8e139 modem: enable modem before connecting if required 2009-12-23 01:30:54 -08:00
Dan Williams
ec56c4d093 libnm-glib: add WWAN enable/disable support 2009-12-23 01:30:54 -08:00
Dan Williams
8f4d4c0463 manager: add WWAN enable/disable support 2009-12-23 01:30:54 -08:00
Dan Williams
a0f732c8cb modem: proxy the ModemManager Enabled property 2009-12-23 01:30:54 -08:00
Dan Williams
5605709e80 manager: generalize rfkill operations
So it's easier to support other killswitches like WWAN and WiMAX.
2009-12-23 01:30:54 -08:00
Dan Williams
843c251d26 core: add statefile support for WWAN devices 2009-12-23 01:30:54 -08:00
Dan Williams
c80b729e77 udev: add support for other types of rfkill switches 2009-12-23 01:30:54 -08:00
Dan Williams
052cf6b2e2 core: generalize interface for enabling/disabling devices
We'll use it for WWAN too.
2009-12-23 01:30:54 -08:00
Dan Williams
7b10ec29a2 modem: fix enable/disable/disconnect flow
NM shouldn't really be calling Enable(False) except in response to
direct user requests to turn off WWAN, much like rfkill, since
Enable(False) /is/ essentially rfkill for 3G.  Instead, we should
be powering up the modem before trying to use it, and only
disconnecting after we're done.  Let the user do enable/disable
when they want to.

This also fixes issues with other devices like GPS potentially
using the modem-manager at the same time as NM and ensures that NM
won't punch the modem in the face while GPS is using it.
2009-12-23 01:30:54 -08:00
Dan Williams
18ca453969 Merge commit 'origin/master' into btdun 2009-12-23 00:30:25 -08:00
Tambet Ingo
d98c431c65 system-settings: Fix using hostname from DHCP
When a plugin has hostname capability, it's NULL for hostname means "use
the hostname from DHCP server".
2009-12-22 09:11:30 +02:00
Tambet Ingo
b9ca266d94 ifcfg-suse: Clean up, upstream the patch which has been in use for a while
Since openSUSE 11.1 NetworkManager does not support reading yast network
setup. It's for your own good - you either want to use static configuration
(yast) or dynamic (NetworkManager). Mixing the two has never worked very well
and has caused a lot of confusion. The only exception to this is hostname
handling, which is handled by ifcfg-suse plugin.
2009-12-21 12:07:18 +02:00
Tambet Ingo
75c734f1a9 wimax: Implement WiMAX support 2009-12-18 15:41:27 +02:00
Dan Williams
1e1be1cd57 ifcfg-rh: handle unquoted passphrases better
Before Sept. 2009 the writer may not have properly quoted passphrases,
so handle that.
2009-12-16 13:29:01 -08:00
Dan Williams
c6bf930b1f Merge commit 'origin/master' into btdun 2009-12-15 15:32:48 -08:00
Dan Williams
cbe313b447 ifcfg-rh: fix distcheck and tests after 9e93924cca
Since one test read in a file, wrote it out, and read it in again, we
have to be careful of whether srcdir == builddir or not.  If it doesn't,
then we need to remove the written-out connection file.  If it does, then
we don't want to remove that written-out connection file because it's
tracked by SCM.  Avoid the whole problem by writing it out to a separate
directory that we can always delete it from.
2009-12-08 17:28:51 -08:00
Dan Williams
4274edf47d libnm-util: client certificate should not be required to set private key (bgo #585570)
Not sure what I was thinking originally; there's no way this was
correct in the first place.
2009-12-08 16:52:24 -08:00
Dan Williams
30ca263727 release: bump version to 0.7.997 2009-12-07 15:11:13 -08:00
Jirka Klimes
9e93924cca ifcfg-rh: add routes file support (rh #507307)
Add support for reading and writing routes files for ifcfg connections.
2009-12-07 14:23:26 -08:00
Dan Williams
e0fb3125f9 ifcfg-rh: warn when device will be managed due to missing HWADDR (rh #545003) 2009-12-07 12:44:21 -08:00
Dan Williams
96a61a9909 ifcfg-rh: treat MODE=Auto as infrastructure mode 2009-12-04 11:10:22 -08:00
Dan Williams
9c371949bf core: use GChecksum (bgo #502494)
And remove cargo-culted internal stuff which is no longer needed.
The ifcfg-rh sha1 stuff wasn't even used anymore after the move to
certificate paths.
2009-12-03 10:55:02 -08:00
Dan Williams
0278884c6b Merge commit 'origin/master' into btdun 2009-12-01 11:44:29 -08:00
Dan Williams
1d2d65151c build: bump glib requirement to 2.18 to reflect reality
Already using the 'literal' variants of GError functions extensively.
2009-12-01 11:33:44 -08:00