Commit Graph

8762 Commits

Author SHA1 Message Date
Dan Williams
3b1357e782 remove some debug code
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1182 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-14 04:51:35 +00:00
Robert Love
8100bf57b4 80x24, dog.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1181 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-13 21:50:10 +00:00
Robert Love
bfe8ef82a8 2005-12-13 Robert Love <rml@novell.com>
* src/named-manager/nm-named-manager.c: Revert earlier commit.  Instead, fail silently if config is NULL
	  by not asserting and not returning FALSE.  Also, make sure we always fclose() the file.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1180 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-13 21:45:52 +00:00
Robert Love
4be49b9902 2005-12-13 Robert Love <rml@novell.com>
Patch by Stefan Scheler <sscheler@suse.de>:
	*  src/nm-ip4-config.h, src/nm-ip4-config.c,
	   src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
	   via DHCP.  Still need the backends to commit the NIS domain name and
	   and servers to yp.conf as needed.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1179 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-13 21:03:57 +00:00
Robert Love
2dcaedf999 2005-12-12 Robert Love <rml@novell.com>
* src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
	  nm_vpn_manager_remove_connection() unless vpn is non-NULL.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1178 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-13 19:48:12 +00:00
Robert Love
e623ea3b22 2005-12-12 Robert Love <rml@novell.com>
* src/named-manager/nm-named-manager.c: Don't unref the config until
	  after we call rewrite_resolv_conf(), because get_last_default_domain()
	  needs to access the config.  Fixes "rewrite_resolv_conf: assertion
	  `config != NULL' failed" assertion failures and "Could not commit DNS
	  changes" warnings.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1177 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-13 18:46:45 +00:00
Robert Love
d1e0e9d91b its unsigned
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1176 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-13 17:04:05 +00:00
Dan Williams
e0b5f17877 Remove some debug prints
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1175 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-13 16:39:49 +00:00
Dan Williams
e8a0e3c5d7 2005-12-12 Dan Williams <dcbw@redhat.com>
* libnm-util/dbus-helpers.[ch]
	  libnm-util/Makefile.am
		- new helper calls to consolidate locations where
			NM's setDevice method is called

	* gnome/applet/applet-dbus-devices.c
	  gnome/applet/wireless-security-option.c
	  gnome/applet/wso-*
		- Implement dbus message param append function for
			all wireless security options


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1174 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 22:18:55 +00:00
Robert Love
702cb0a500 extra space.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1173 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 21:37:49 +00:00
Robert Love
12095c0f04 2005-12-12 Robert Love <rml@novell.com>
* libnm-util/cipher-wep-passphrase.c,
	  libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
	  src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
	  src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
	  all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
	  When handling keys, we don't care what the sign is.  The compiler
	  guarantees us that we get our 8-bits, which is all we care about.
	* configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1172 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 19:57:59 +00:00
Robert Love
0cb2179ae2 null, not newline!
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1171 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 19:20:17 +00:00
Dan Williams
7713d13397 2005-12-11 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.[ch]
	  gnome/applet/applet.c
	  gnome/applet/other-network-dialog.c
	  gnome/applet/wireless-security-manager.[ch]
	  gnome/applet/wireless-security-option.[ch]
	  gnome/applet/wso-*
		- Push the wireless security options further into the applet


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1170 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 18:53:05 +00:00
Dan Williams
e6c5848a13 Init dbus error before using it
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1169 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 16:15:38 +00:00
Robert Love
49776b18d3 add cipher-private.h to Makefile.am
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1168 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 16:00:46 +00:00
Robert Love
8440287aaa 2005-12-12 Robert Love <rml@novell.com>
* auth-dialog/main.c: one more NULL, this time for the ellipses


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1167 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 15:49:18 +00:00
Robert Love
eb5eca7a16 2005-12-12 Robert Love <rml@novell.com>
* src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
	  return any name servers.  That is perfectly valid.  (Novell #134369).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1166 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 15:29:32 +00:00
Dan Williams
0ac916c977 2005-12-11 Dan Williams <dcbw@redhat.com>
* gnome/applet/wso-*
	  gnome/applet/wireless-security-option.*
	  gnome/applet/Makefile.am
		- split each security option out so we can eventually
			have each one build up their own dbus message
			arguments to send to NM


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1165 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-12 04:28:26 +00:00
Miloslav Trmac
9bd797e508 2005-12-11 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1164 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 22:00:25 +00:00
Dan Williams
01afcce899 Patch from Bill Moss; build libnm-util library earlier
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1163 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 17:59:28 +00:00
Dan Williams
7c39985801 2005-12-11 Dan Williams <dcbw@redhat.com>
* Make validation of the key work correctly


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1162 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 17:23:29 +00:00
Dan Williams
f7f136dad2 2005-12-11 Dan Williams <dcbw@redhat.com>
* Hook more bits of the Other Network Dialog up to the
		wireless security manager stuff, and restructure
		bits of the dialog so there's less code.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1161 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 15:46:58 +00:00
Francisco Javier F. Serrador
efc3db77ca 2005-12-11 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1160 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 11:53:41 +00:00
Tim Niemueller
04413efd00 + Bumped version to 0.3.2
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1159 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 01:12:25 +00:00
Tim Niemueller
239b71f683 + Added support for encrypted key files for X.509 connections
+ Added support for port parameter in gconf keys. This is not shown in the
. guy but maybe set through gconf-editor.

Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1158 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 01:11:54 +00:00
Tim Niemueller
739f9cd449 + Added support for setting the primary password label
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1157 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-11 01:10:35 +00:00
Dan Williams
5093c26462 2005-12-10 Dan Williams <dcbw@redhat.com>
* gnome/applet/Makefile.am
		- Add libnm-util to includes
		- Add libnm-util to link list
		- Add wireless-security-common.* to compile list

	* gnome/applet/other-network-dialog.c
		- Convert to using the WirelessSecurityManager code and
			widgets

	* gnome/applet/passphrase-dialog.c
		- Comment out references to stuff in the glade file that
			cause runtime errors until it can be fixed up
			to use the WirelessSecurityManager code

	* gnome/applet/wireless-applet.glade
		- Rename some widgets
		- Add widgets for the WirelessSecurityManager code
		- Remove passphrase-related stuff since that's now
			handled by the WirelessSecurityManager code


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1156 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-10 19:45:06 +00:00
Dan Williams
8bc5acbc99 2005-12-10 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.c
		- Print out error message details for dbus pending call callbacks
		- Move nmwa_dbus_update_devices() up

	* gnome/applet/applet-dbus-vpn.c
		- Print out error message details for dbus pending call callbacks


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1155 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-10 19:42:02 +00:00
Dan Williams
d9ac9fbdf3 2005-12-09 Dan Williams <dcbw@redhat.com>
* libnm-util/*
		- More fixups
		- Remove cipher-manager.* because we don't need it
		- Forgot to add gnome-keyring-md5 files to compile list


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1154 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-10 19:33:26 +00:00
Dan Williams
fdbaa9662e Add cvsignore file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1153 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-10 02:26:47 +00:00
Dan Williams
7758dcb273 2005-12-09 Dan Williams <dcbw@redhat.com>
* libnm-util/*
	  configure.in
	  Makefile.am
		- Add a utility library for clients of NetworkManager.  It's
			only targetted at applets for the moment, and contains
			a generalized 802.11 cipher framework for different
			types of keys (WEP & WPA Hex, ASCII, Passphrase)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1152 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-09 23:25:22 +00:00
Robert Love
058e30e25d 2005-12-09 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c: handle error better in
	  nm_device_set_mode().


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1151 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-09 19:38:05 +00:00
Robert Love
9674539f15 2005-12-08 Robert Love <rml@novell.com>
* include/NetworkManager.h: add WPA capabilities constants
	* src/NetworkManagerDevice.c: detect if wireless devices support WPA
	  or WPA2 and add the capabilities bits as appropriate.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1150 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-08 21:48:41 +00:00
Robert Love
c521bf2e07 2005-12-08 Robert Love <rml@novell.com>
* initscript/SUSE/networkmanager-dispatcher.in: new initscript for
	  NetworkManagerDispatcher.
	* configure.in, initscript/SUSE/.cvsignore,
	  initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
	  initscript.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1149 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-08 17:01:47 +00:00
Robert Love
b376771770 2005-12-08 Robert Love <rml@novell.com>
* initscript/SUSE/networkmanager.in: Do not start 'networking' service.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1148 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-08 15:46:34 +00:00
Robert Love
dec36b0540 2005-12-08 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c: We want to fall back on and default to
	  IW_MODE_AUTO, not -1, which is more in line with our previous
	  behavior.  Otherwise, we try to set the wireless mode to -1 in
	  nm_device_set_mode().


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1147 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-08 15:40:24 +00:00
Tim Niemueller
510458f78f + Notes about unused variable removal
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1146 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 20:31:08 +00:00
Tim Niemueller
41c92505be + Removed unused variable
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1145 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 20:29:42 +00:00
Robert Love
231c04097c 2005-12-07 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
	  src/NetworkManagerAP.c, src/NetworkManagerAP.h,
	  src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
	  src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
	  src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
	  wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
	  zero.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1144 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 20:21:29 +00:00
Robert Love
91b74775a5 2005-12-07 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: In static configurations, if the
	  supplied IP is invalid, fall back to DHCP.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1143 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 17:55:39 +00:00
Dan Williams
eff693f386 2005-12-07 Dan Williams <dcbw@redhat.com>
* Convert NETWORK_MODE_* constants to IW_MODE_*
	* Make all the get_mode/set_mode functions take and return 'int'
	* Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1142 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 17:40:37 +00:00
Robert Love
a4cab32122 2005-12-07 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c: strncpy() buffer check.
	* src/NetworkManagerUtils.c: be anal about syslog() formatting.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1141 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 15:56:47 +00:00
Dan Williams
09918c0a36 Add cvsignore file
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1140 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 15:55:12 +00:00
Dan Williams
98498e55b6 2005-12-06 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus.c
		- (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c

	* gnome/applet/applet-dbus-vpn.c
		- (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
		- (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
			to TRUE here if stage was ACTIVATED


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1139 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 04:22:10 +00:00
Tim Niemueller
9677e94d78 + Changes for 0.3.1
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1138 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 01:45:21 +00:00
Tim Niemueller
51c54ed60a + Raised versoin to 0.3.1
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1137 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 01:34:09 +00:00
Tim Niemueller
39c7b0d342 + Support proto flag in config, default to UDP if not set for backward
. compatibility
+ Set a fake login banner for now until we fixed when NM sets
. last_attempt_success (provided by Crispin)

Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1136 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 01:33:50 +00:00
Tim Niemueller
3ad1df247d + Protocol can now be set, defaults to UDP, TCP maybe selected with
. check box

Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1135 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 01:33:00 +00:00
Tim Niemueller
5e613fff33 + Added check button to use TCP instead of UDP
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1134 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 01:32:37 +00:00
Tim Niemueller
25ca1a0882 + Only request one password from Gnome keyring, patch by Crispin Flowerday
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1133 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 01:32:00 +00:00