Commit Graph

15047 Commits

Author SHA1 Message Date
Dan Williams
792cb5b89c 2006-03-27 Dan Williams <dcbw@redhat.com>
Patch from Tor Krill <bugzilla@krill.nu>
	* configure.in
	  initscript/Makefile.am
	  src/backends/Makefile.am
	  src/backends/NetworkManagerArch.c
	  initscript/Arch/Makefile.am
	  initscript/Arch/networkmanager-dispatcher.in
	  initscript/Arch/networkmanager.in
		- Add Arch Linux support, fixes gnome.org #335147


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1649 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 18:30:52 +00:00
Dan Williams
c5a395f65d 2006-03-27 Dan Williams <dcbw@redhat.com>
Patch from Diffe <diffie@blazebox.homeip.net>
     * initscript/Slackware/rc.networkmanager
     	- update, fixed gnome.org #333368


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1648 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 18:13:05 +00:00
Robert Love
0695a8e944 nm-tool: Send all non-error output to stdout, instead of some output but not other.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1647 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 18:00:12 +00:00
Robert Love
3d35794d85 2006-03-27 Robert Love <rml@novell.com>
* gnome/applet/other-network-dialog.c: Do not allow the user to try to
	  create WPA-EAP Ad-Hoc networks because such an action makes no sense.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1642 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 16:02:11 +00:00
Robert Love
dd31354acd 2006-03-27 Robert Love <rml@novell.com>
Patch by Jürg Billeter <j@bitron.ch>:
	* src/nm-logging.c: Add printf modifier to fix warning on 64-bit
	  systems.
	* src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
	  as we prefer glibc over kernel headers, if possible.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1641 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 15:20:28 +00:00
Robert Love
b3f938f381 2006-03-27 Robert Love <rml@novell.com>
Patch by Jon Escombe <list@dresco.co.uk>:
	* gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
	* gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
	  fail, don't bail out.  We don't expect all of the various WPA-EAP
	  values to be present.
	* src/nm-ap-security.c: We need to match all capabilities for each
	  encryption type, not any one of them.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1640 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 15:14:06 +00:00
Robert Love
d64140a66d 2006-03-27 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
	  restart, not reload, ypbind.  Unfortunately there is no superior
	  solution.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1639 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 15:05:05 +00:00
Kjartan Maraas
93ae9b586d 2006-03-26 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
	* no.po: Same.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1638 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-26 19:09:40 +00:00
Christian Rose
88a2461899 2006-03-25 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1637 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-25 22:56:50 +00:00
Christopher Aillon
ff296fdf61 2006-03-24 Christopher Aillon <caillon@redhat.com>
* gnome/applet/applet-notifications.c:
	When displaying a notification, make sure to get rid of the
	previous notification so as to not have competing bubbles,
	and stop leaking the old one.

	* gnome/applet/applet.c:
	* gnome/applet/applet.h:
	Add a new 'notification' member to the applet, and zero it out
	and free it appropriately.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1635 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-24 14:55:40 +00:00
Francisco Javier F. Serrador
deb66e629a 2006-03-23 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1634 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-23 20:06:49 +00:00
Robert Love
89f9c4a17e 2006-03-23 Robert Love <rml@novell.com>
Patch by j <j@bootlab.org>:
	* gnome/applet/applet.glade: Don't set the invisible_char property,
	  which simply overrides the GTK default.  By and by, this behavior
	  ought to be fixed in Glade.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1633 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-23 15:15:45 +00:00
Robert Love
e11881bccc 2006-03-22 Robert Love <rml@novell.com>
* src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1632 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-22 21:43:43 +00:00
Robert Love
aeec0b1d89 Don't hardcode the zero. The key type is NM_AUTH_TYPE_WPA_PSK_AUTO.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1631 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-22 21:26:58 +00:00
Robert Love
2edcffb40e 2006-03-22 Robert Love <rml@novell.com>
Bug fix by Timo Hoenig <thoenig@suse.de>:
	* gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
	  disconnect.  Otherwise, we have the daemon surviving DBUS restarts
	  and the applet going AWOL.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1630 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-22 21:17:07 +00:00
Robert Love
a82dd957f6 2006-03-22 Robert Love <rml@novell.com>
* src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
	  preprocessor define and use it instead of open-coded the DHCP
	  timeout, which is currently 25 seconds, everywhere.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1629 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-22 21:08:56 +00:00
Robert Love
db98fe8137 2006-03-22 Robert Love <rml@novell.com>
Implement "Dynamic WEP", which is basically WPA authentication and WEP
	key exchange via WPA, ostensibly providing good security without
	requiring hardware that supports full WPA.  Also, add UI elements to
	allow the user to select the pairwise & group cipher for WPA Enterprise
	networks, too:
	* gnome/applet/applet.glade: Update glade file.
	* gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
	  key type, too, to and from gconf.
	* gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
	  wso_wpa_create_key_type_model(), noting whether we are handling PSK
	  or EAP configuration, and in the latter case add in "Dynamic WEP" if
	  the capabilities match.
	* gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
	  prototype.
	* gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
	  serialize from UI to DBUS.
	* gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
	  one element.
	* libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
	  nmu_security_serialize_wpa_eap_with_cipher(), and
	  nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
	  serialize/deserialize the key type via DBUS as the new third DBUS
	  parameter.
	* libnm-util/dbus-helpers.h: Update prototypes.
	* src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
	  too.  If the key type is WEP104, do Dynamic WEP, which means
	  "IEEE8021X" for "key_mgmt".  Also add support for user-specified
	  pairwise and group ciphers (fixes a FIXME).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1628 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-22 19:52:41 +00:00
Robert Love
2a63ff03ec 2006-03-21 Robert Love <rml@novell.com>
* src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
	  nm_system_get_mtu(), which returns a user-provided or system-mandated
	  MTU value for a given device, if any, or zero if no such value
	  exists.  Add nm_system_set_mtu() to set the MTU for a given device
	  if we have a provided value.
	* src/nm-device.c: Set the MTU of devices.
	* src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
	* src/backends/NetworkManagerDebian.c,
	  src/backends/NetworkManagerGentoo.c,
	  src/backends/NetworkManagerRedHat.c,
	  src/backends/NetworkManagerSlackware.c: Implement stub functions.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1626 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-21 17:57:01 +00:00
Robert Love
f842f234c5 2006-03-21 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
	  configuration file.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1625 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-21 15:22:55 +00:00
Gabor Kelemen
461adafd7a 2006-03-21 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Hungarian translation updated.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1622 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-21 01:07:46 +00:00
Dan Williams
5685c50f61 2006-03-20 Dan Williams <dcbw@redhat.com>
* configure.in: Bump release to 0.6


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1620 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-20 14:32:56 +00:00
Vincent van Adrighem
a37be1e29e 2006-03-19 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1619 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-19 11:55:06 +00:00
Chris Aillon
2f7fe3a186 Add MAINTAINERS file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1618 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-19 04:35:53 +00:00
Robert Love
46fc50fc72 seriously, where did that come from?
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1617 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-17 18:40:00 +00:00
Robert Love
1a1cda1129 2006-03-17 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
	  signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
	  it, in case it is not running in the first place.  We just want its
	  configuration reloaded.  Also, do not "rcypbind stop" on device down.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1615 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-17 18:37:46 +00:00
Robert Love
ebee615101 2006-03-17 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
	  signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
	  it, in case it is not running in the first place.  We just want its
	  configuration reloaded.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1614 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-17 15:01:37 +00:00
Žygimantas Beručka
89d0e32d16 2006-03-17 Žygimantas Beručka <zygis@gnome.org>
* lt.po: Updated Lithuanian translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1613 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-17 08:03:36 +00:00
Robert Love
71a1e7fccf * libnm-util/cipher-wep-passphrase.c: Don't need those forward
declarations.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1612 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-15 20:49:49 +00:00
Robert Love
7d8af87f15 Hex, not hex, young cheetah.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1611 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-15 20:34:13 +00:00
Robert Love
f8ad81d8bc 2006-03-15 Robert Love <rml@novell.com>
* gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
	  gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
	  label "WEP 40/128-bit" is inconsistent because the physical key size
	  is 40 or 104-bits, to which a 24-bit initialisation vector is
	  appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
	  to read "40/104" or "64/128".  I do not care much which, but most
	  users think of "silver" and "gold" encryption as 64 and 128-bits, so
	  let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
	  WEP passphrase support only handles 128-bit keys, and any future
	  64-bit passphrase support will require a new option (no way to auto-
	  detect the target key size), explicitly label our passphrase support
	  "WEP 128-bit Passphrase".


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1608 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-15 20:27:11 +00:00
Robert Love
c7e71729b7 2006-03-15 Robert Love <rml@novell.com>
* src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
	  the system init scripts (or some other mechanism) starting it (or a
	  compatible DBUS service) before NetworkManager runs.  This means that
	  distributions might need to update their init scripts.  This fixes
	  possible races and is quite a bit cleaner.
	* initscript/SUSE/networkmanager.in: Update to start dhcdbd before
	  starting the NetworkManager daemon.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1607 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-15 15:32:37 +00:00
Clytie Siddall
f7b52f76db vi.po: Updated Vietnamese translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1605 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-15 06:23:33 +00:00
Peter Jones
4e97221b9b - fix a race the device objects refcount during creation of the worker thread.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1603 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-14 20:51:58 +00:00
Peter Jones
efb46cb8c4 - kill an extra call to nm_device_stop(). The worker thread does this while
it's exiting, and this extra call causes it to bring the device down on
  the resume path.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1602 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-14 20:50:59 +00:00
Robert Love
f5bd3c97d7 Add back policy enforcement.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1600 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-14 16:51:53 +00:00
Robert Love
48102092b4 Don't update the policy.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1599 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-14 16:25:05 +00:00
Robert Love
e746fe5eb4 *** empty log message ***
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1598 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-14 16:02:18 +00:00
Robert Love
8c10ac7bb9 2006-03-14 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
	  before adding anything.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1597 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-14 15:31:13 +00:00
Robert Love
7228037fda 2006-03-13 Robert Love <rml@novell.com>
* gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
	  widgets, too, if they exist, in case the user hit the back button.
	  Fixes a bug where the details page contains the widgets of multiple
	  VPN modules (Novell bug #157048).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1596 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-13 19:43:37 +00:00
Vincent van Adrighem
a0eb3c5050 2006-03-13 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1594 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-13 18:56:06 +00:00
Robert Love
84b8e60496 2006-03-13 Robert Love <rml@novell.com>
Patch by Timo Hoenig <thoenig@suse.de>:
	* dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
	  daemon survive DBUS restarts, too.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1593 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-13 16:57:38 +00:00
Robert Love
681c00f35a rm space
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1588 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-10 20:05:44 +00:00
Robert Love
a771796641 2006-03-10 Robert Love <rml@novell.com>
* gnome/applet/applet.glade: Add toggles to show/obfuscate the
	  passphrase or key.
	* gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
	  gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
	  gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
	  in response to "toggled" signal on new toggle.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1586 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-10 16:38:42 +00:00
Robert Love
b368cf5118 2006-03-10 Robert Love <rml@novell.com>
* src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
	  serialization if strings are NULL, lest DBUS get angry.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1585 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-10 14:56:52 +00:00
Robert Love
3f6036803c shadow var
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1584 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-10 14:52:59 +00:00
Robert Love
773048ab8a 2006-03-10 Robert Love <rml@novell.com>
* src/nm-ap-security-wpa-eap.c: Don't log the password.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1582 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-10 14:19:05 +00:00
Clytie Siddall
3c4a746c6a vi.po: Updated Vietnamese translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1581 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-10 11:07:13 +00:00
Robert Love
a0412efe26 mark noreturn
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1580 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-09 21:52:31 +00:00
Robert Love
0968ca13a1 2006-03-09 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
	configurations.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1572 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-09 19:35:55 +00:00
Dan Williams
9e3fccf682 2006-03-09 Dan Williams <dcbw@redhat.com>
Track pending call requests in the applet, and report how many are
	outstanding, and how long each completed one takes.

	* gnome/applet/applet-dbus-devices.c
	  gnome/applet/applet-dbus-vpn.c
		- Track pending calls

	* gnome/applet/applet-dbus.[ch]
		- Remove some unused enums
		- (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
			new functions to track dbus pending calls and spit out some
			statistics about them


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1571 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-09 17:23:00 +00:00