Commit Graph

13873 Commits

Author SHA1 Message Date
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
Dan Williams
df786181e4 2005-12-06 Dan Williams <dcbw@redhat.com>
* Change nm_device_is_* functions to better names:
		nm_device_is_wireless() -> nm_device_is_802_11_wireless()
		nm_device_is_wired() -> nm_device_is_802_3_ethernet()


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1132 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 00:38:33 +00:00
Dan Williams
bfae8891a7 2005-12-06 Dan Williams <dcbw@redhat.com>
* Change naming of NMDeviceType to something more sensible:
		NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
		NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
		NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1131 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-07 00:22:52 +00:00
Dan Williams
6bcf90acf2 2005-12-06 Dan Williams <dcbw@redhat.com>
* Move NetworkManager.h -> include/NetworkManager.h
	* Split out VPN stuff to include/NetworkManagerVPN.h
	* Fix up makefiles to include new location
	* Fix up sources to include NetworkManagerVPN.h


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1130 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-06 23:37:09 +00:00
Dan Williams
4c42d4052c Add changelog entry for previous commit
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1129 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-06 23:04:57 +00:00
Dan Williams
7e3c364575 2005-12-06 Dan Williams <dcbw@redhat.com>
Various changes in the applet to move VPN connection "state" -> "stage",
	which it actually is.  I'd like to change the signal as well when we
	break compat in the near future.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1128 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-06 23:02:42 +00:00
Dan Williams
58d310199c 2005-12-06 Dan Williams <dcbw@redhat.com>
Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
	* initscript/Slackware/rc.networkmanager
		- Cosmetic fix

	* src/backends/NetworkManagerSlackware.c
		- Kill dhcpcd when starting so that dhclient can bind to DHCP on
			interfaces


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1127 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-06 21:24:23 +00:00
Tim Niemueller
b8c9b829c0 + Reformatted for better readability.
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1126 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 22:46:51 +00:00
Tim Niemueller
30697c19bb + NM-OpenVPN 0.3.0
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1125 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 22:38:16 +00:00
Tim Niemueller
b7c6f8ba3b + Versions from intltool 0.34 are back, magically work after new
. autogen.sh run!?

Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1124 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 22:37:57 +00:00
Tim Niemueller
7899ecc6b3 + Password is also needed for new X.509 + User/Pass connection type
Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1123 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 22:34:18 +00:00
Tim Niemueller
415d12937e * src/nm-openvpn-service-openvpn-helper.c:
+ Updated header

* src/nm-openvpn-service.[ch]:
+ Added support for new X.509 + User/Pass connection type
+ device is now an explicit parameter, if not set it defaults to
. "tun" for compatibility with versions < 0.3.0
+ fixed closing of management socket, thanks for this patch goes
. to Crispin Flowerday

Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1122 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 22:33:48 +00:00
Tim Niemueller
1981454b3b + Added support for new X.509 + User/Pass connection type
+ Added support for using TAP device, device is now written to
. config to new field dev, added checkbox to optional info expander

Tim


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1121 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 22:32:47 +00:00
Robert Love
8e2dbddf82 proper puncuation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1120 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 20:41:15 +00:00
Robert Love
02ea0ef426 2005-12-05 Robert Love <rml@novell.com>
* src/NetworkManager.c: don't call nm_data_free() when there is nothing
	  to free, particularly here as it just barfs.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1119 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 20:40:46 +00:00
Kjartan Maraas
455cec7c34 2005-12-05 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@1118 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 19:05:18 +00:00
Dan Williams
ccfab8a933 2005-12-05 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus.c
		- Work with dbus 0.6 too


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1117 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-05 18:17:55 +00:00
Dan Williams
1d8201cb9e 2005-12-03 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerUtils.[ch]
	  src/nm-ip4-config.c
		- move ip4_netmask_to_prefix() to NetworkManagerUtils.c
		- consolidate code into nm_utils_ip4_addr_to_nl_addr()


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1116 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-04 02:23:29 +00:00
Robert Love
cafa5878fc 2005-12-01 Robert Love <rml@novell.com>
* gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
	  need a NULL for the '...' parameter, too, to fill the so-called
	  sentinel.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1115 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-01 21:45:12 +00:00
Robert Love
46898b0f62 2005-12-01 Robert Love <rml@novell.com>
* src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
	  interface is already gone, so don't call rtnl_link_change() to down
	  it (which will segfault, anyhow).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1114 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-01 21:42:41 +00:00
Robert Love
3e3a38bb0f Add "WPA support" to TODO.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1113 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-01 18:37:38 +00:00
Robert Love
e90cdbbb60 Keep VPN-related changes in their respective ChangeLog
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1112 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-01 18:35:15 +00:00
Tim Niemueller
a2d09a9a4e 2005-11-30 Tim Niemueller <tim@niemueller.de>
* vpn-daemons/openvpn/auth-dialog/main.c: Only request one password,
	  still use GnomeTwoPasswordDialog, gives all the functionality we need.
	  This should be unified between VPN implementations. Also I had to add
	  GConf support to see if a password is really needed for the connection
	  type. The configuraton line should be written to the auth-dialog by NM
	  and maybe even an impl_needs_passwd_dialog or similar should be added.
	  Patch will follow when healthy again.

	* vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade: Updated GUI,
	  contains now everything needed to configure all three connection types

	* vpn-daemons/openvpn/properties/nm-openvpn.c: Added handling of all
	  three connection types.

	* vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c: Use
	  different environment variables which are available for all connection
	  types, fixed the returned VPN gateway address. This was the remote IP
	  used in the VPN network, not the remote's real address. This prevented
	  it from working if VPN gateway was not in the same subnet since routes
	  were wrong.

	* vpn-daemons/openvpn/src/nm-openvpn-service.h
	  vpn-daemons/openvpn/src/nm-openvpn-service.c: Added support for
	  password and shared secret connection types. Reformatted to Gnu style.

	* vpn-daemons/openvpn/configure.in: Raised version to 0.2.0

	* vpn-daemons/openvpn/intltool-extract.in
	  vpn-daemons/openvpn/intltool-merge.in
	  vpn-daemons/openvpn/intltool-update.in:
	  Version from intltool 0.33, 0.34 won't work at the moment.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1111 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-30 17:56:51 +00:00
Robert Love
3738ba5503 2005-11-22 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
	  gateway is not set, just print a little note.  Configurations without
	  gateways are valid.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1110 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-22 15:51:40 +00:00
Robert Love
fbf4a3bca2 Update README.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1109 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-22 15:34:37 +00:00
Gabor Kelemen
71fce1e856 2005-11-21 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Hungarian translation updated.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1108 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-21 22:55:54 +00:00
Ilkka Tuohela
da2c6e79b7 Added Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1107 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-20 09:34:06 +00:00
Robert Love
d20de1509b update .cvsignore
remove unused var


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1106 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-14 16:24:36 +00:00
Robert Love
784706392b add .cvsignore files
remove a bunch of generated files


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1105 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-14 16:17:51 +00:00
Robert Love
266c94917f 2005-11-14 Robert Love <rml@novell.com>
* vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
          Niemueller <tim@niemueller.de>.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1104 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-14 16:04:36 +00:00
Francisco Javier F. Serrador
01b17e0450 2005-11-13 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1103 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-13 14:58:51 +00:00
Dan Williams
67913703fc 2005-11-08 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss <bmoss@clemson.edu>
	* src/NetworkManagerDevice.c
		- (nm_device_activate_stage5_ip_config_commit): fix ordering
			of nm_policy_schedule_activation_finish() to prevent a
			race condition that causes the link to be dropped


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1102 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-09 01:59:23 +00:00
Dan Williams
6f68d85cd4 2005-11-08 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss <bmoss@clemson.edu>
	* src/NetworkManagerAPList.c
	  src/NetworkManagerDevice.c
	  src/NetworkManagerDbus.c
		- Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
			we get more readable ether/mac addresses


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1101 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-09 01:56:03 +00:00
Marcel Telka
4039ec3985 2005-11-06 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1100 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-06 08:48:58 +00:00
Robert Love
eca4d33050 misc. comment updates.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1099 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-04 20:57:59 +00:00
Robert Love
e2659894f4 2005-11-04 Robert Love <rml@novell.com>
* auth-dialog/gnome-two-password-dialog.c: Embarrassing bug!  Make sure
	  we g_free() these things in the right order.  Fix c/o JPR. (Novell
	  bug #121884).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1098 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-04 20:57:29 +00:00
Adam Weinberger
c108f58be1 2005-11-04 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.


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


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1096 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 23:03:50 +00:00
Christopher Aillon
5efba73c10 2005-11-02 Christopher Aillon <caillon@redhat.com>
* gnome/applet/main.c: Don't set the restart command.  This fixes
	the issue where the restart command was getting copies of all its
	arguments for each time the applet was restarted.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1095 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 20:26:11 +00:00
Robert Love
1b73bb6d2f 2005-11-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
	  if the widget state differs from our saved state.  This ensures we
	  do not enter an endless loop of death and destruction.  Also, this
	  guarantees us that we enforce the widget state.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1094 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-11-02 20:03:28 +00:00