Commit Graph

8762 Commits

Author SHA1 Message Date
joseppc
0f3cade04f Updated Catalan translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1282 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-07 12:47:30 +00:00
Francisco Javier F. Serrador
0712bb415a 2006-01-07 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1281 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-07 01:25:26 +00:00
Gabor Kelemen
0e83da3289 2006-01-07 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Hungarian translation updated.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1280 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-07 00:00:19 +00:00
Robert Love
5e62f41321 2006-01-06 Robert Love <rml@novell.com>
* src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
	  user plugging in a network cable signals their preference for to
	  switch, unless the user explicitly selected a wireless network and
	  therefore signaled their preference for said wireless network over
	  wired.  In other words, do exactly what makes sense.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1279 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-06 22:04:03 +00:00
Robert Love
af619b1594 2006-01-06 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
	  src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
	  src/NetworkManagerWireless.h: Remove, no longer used and they keep
	  showing up in my greps.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1278 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-06 21:05:07 +00:00
Ilkka Tuohela
f664cabf12 Updated Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1277 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-06 20:50:31 +00:00
Robert Love
22e8b28790 2006-01-06 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-devices.c,
	  gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
	  libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
	  src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
	  New Network' both failed in the non-encrypted case because we were
	  not appending the security options to the DBUS message.  And
	  'Connect to Other' was also failing in the encrypted case because
	  we were not incrementing to the next DBUS parameter.  All fixed.
	  Thanks to dcdw for some debugging help.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1276 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-06 20:12:31 +00:00
Robert Love
d8e4dcb4a5 revert bogus commits
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1275 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-06 16:24:25 +00:00
Robert Love
019a9ab116 remove unused variable, bitches
An unused variable is a lot like an unused car in that  it sits in the drive and
just begs to be driven, but it also begs a larger question of why you own a car
that just sits in your driveway when so many other people, people with large
pension plans and pet racoons, do not own a car at all!


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1274 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-06 16:19:32 +00:00
Robert Love
9dd733b3b5 2006-01-06 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
	  gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
	  hangup code and add per-device hangup.  Tie last commit into the
	  GNOME applet.  TODO:  Save, understand, and respond to the state of
	  each dialup device.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1273 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-06 15:52:40 +00:00
Robert Love
9837697e06 2006-01-06 Robert Love <rml@novell.com>
Patch by Timo Hoenig <thoenig@suse.de>:
	* src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
	  hangup specific dialup devices.
	* src/backends/NetworkManagerDebian.c,
	  src/backends/NetworkManagerGentoo.c,
	  src/backends/NetworkManagerRedHat.c,
	  src/backends/NetworkManagerSlackware.c: Add stub backend.
	* src/backends/NetworkManagerRedHat.c,
	  src/backends/NetworkManagerSuSE.c: Add specific backend interface to
	  hangup specific dialup devices.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1272 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-06 15:39:55 +00:00
Robert Love
da31656b36 vpn-daemons/*/configure.in: newer automake versions need AC_CONFIG_AUX_DIR
before AM_INIT_AUTOMAKE.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1271 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-05 21:46:11 +00:00
Robert Love
f5cfd79328 reformat
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1270 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-05 21:07:10 +00:00
Robert Love
bcbbde17ce 2006-01-04 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-devices.c,
	  gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
	  src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
	  connections.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1269 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-05 18:56:09 +00:00
Tim Niemueller
d08e885b2d 2006-01-05 Tim Niemueller <tim@niemueller.de>
* configure.in: Explicitly set AUX_DIR to . to prevent autoconf from
          searching (and finding) install-sh in ../.., which lead to
          problems.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1268 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-05 18:18:59 +00:00
Dan Williams
9dcbf019bb 2006-01-04 Dan Williams <dcbw@redhat.com>
First dump of wpa_supplicant-related code.  It's not hooked up to
	anything yet though.  Thanks to Kay Sievers for
	wpa_supplicant_wrapper.c, which formed the basis for this work,
	and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.

	* src/Makefile.am
	  src/wpa_ctrl.[ch]
		- Add wpa_ctrl stuff from wpa_supplicant so we can talk to it

	* src/NetworkManagerUtils.[ch]
		- (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
			Add convenience functions for talking to wpa_supplicant

	* src/nm-ap-security.[ch]
	  src/nm-ap-security-wep.c
	  src/nm-ap-security-wpa-psk.[ch]
		- Update and implement real_write_supplicant_config functions
			in all security types
		- (nm_ap_security_wpa_psk_new_from_ap): implement in
			nm-ap-security-wpa-psk.c

	* src/nm-device-802-11-wireless.c
		- (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
		   wpa_supplicant_start, wpa_supplicant_interface_init,
		   wpa_supplicant_send_network_config): add functions to talk to
			wpa_supplicant and write network config to it


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1267 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-05 04:44:11 +00:00
Vincent van Adrighem
eddd23576b 2006-01-04 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1266 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-04 21:13:27 +00:00
Robert Love
ab3f92194e 2006-01-04 Robert Love <rml@novell.com>
* src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
	  values so that distribution-backends can differentiate between the
	  various types (modem, ISDN, et cetera) of dialup device that they
	  support.
	* src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
	  needed.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1265 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-04 19:17:43 +00:00
Robert Love
923b6fab33 misc compile fixes
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1264 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-04 18:07:14 +00:00
Robert Love
e67fbad497 misc. compile fixes
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1263 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-04 18:06:34 +00:00
Robert Love
0dcbec9372 make a vague attempt at checking write(2)'s error code.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1262 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-04 17:54:42 +00:00
Robert Love
959b98d58c move unused variable into '#if 0'
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1261 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-04 17:48:01 +00:00
Robert Love
219ef597c2 add nm-gconf-wso-private.h to source
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1260 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-04 17:40:33 +00:00
Dan Williams
7f07df2466 2006-01-03 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerPolicy.c
	  src/nm-device.[ch]
	  src/nm-device-802-11-wireless.c
		- Move wireless-specific activation failure and success code
			into wireless device class


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1259 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-03 22:11:35 +00:00
Robert Love
ebe118b3ff 2006-01-03 Robert Love <rml@novell.com>
Patch by Preggna S:
	* src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
	  IPsec does not require that a VPN client be bound to an interface,
	  due to the use of the in-kernel IPSec bits.  So make the tunnel
	  device optional.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1258 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-03 20:58:07 +00:00
Dan Williams
c9a7797a60 Don't segfault if the active iter is invalid for some reason
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1257 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-03 19:06:37 +00:00
Dan Williams
d23aba6524 2006-01-03 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerAP.c
		- (nm_ap_add_capabilities_from_ie): presume no WEP unless
			the WPA IE specifies that WEP is supported

	* src/nm-device-802-11-wireless.c
		- (process_scan_results): don't mark an AP as supporting WEP
			if there's already other encryption capability info


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1256 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-03 19:00:09 +00:00
Dan Williams
21446d1fa6 Add some debug prints
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1255 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-03 18:57:59 +00:00
Dan Williams
429dd2f394 Clean up printout a bit
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1254 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-03 18:57:29 +00:00
Dan Williams
1c5f300910 2006-01-03 Dan Williams <dcbw@redhat.com>
* src/dhcp-manager/nm-dhcp-manager.c
		- Recognize activation cancellation when waiting for DHCP
			configuration from dhcdbd
		- Ignore non-dhcdbd messages

	* src/nm-device.c
		- (real_act_stage3_ip_config_start): return to correct behavior
			of letting the dhcp-manager notify us of failure or
			success rather than incorrectly doing that ourselves
		- (nm_device_activate_stage4_ip_config_get): deal with
			activation cancellation a bit earlier


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1253 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-03 18:18:05 +00:00
Dan Williams
f1fad5ecd0 Fix up my dates
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1252 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-03 17:49:57 +00:00
Dan Williams
d242edf282 2006-1-3 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
	  src/nm-device.[ch]
		- Add hooks to subclasses for stage3_ip_config_start and
			stage4_ip_config_timeout

	* src/nm-device-802-3-ethernet.c
		- (real_get_generic_capabilities): make devices NM-supported
			by default


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1251 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-03 17:47:38 +00:00
Robert Love
c71d14c97f 2006-01-03 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: update to newer API (no more
	  nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
	  latter cannot differentiate between error and the address -1; misc.
	  clean up.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1250 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-03 17:29:08 +00:00
Dan Williams
d639dbeac0 2006-1-3 Dan Williams <dcbw@redhat.com>
* src/NetworkManager.c
		- Move link-checking/probing into the device subclasses
			themselves

	* src/nm-device.[ch]
	  src/nm-device-802-11-wireless.c
	  src/nm-device-802-3-ethernet.c
		- Do periodic link checking in device subclasses rather
			than being triggered from NetworkManager.c
		- discover_wireless_capabilities -> get_wireless_capabilities
		- discover_generic_capabilities -> get_generic_capabilities
		- Device subclass activation routines now return a value of type
			NMActStageReturn to indicate what step to perform next
		- Devices now override stage4_get_ip4_config if they choose


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1249 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-03 17:07:07 +00:00
Dan Williams
d724f08c8a Print out signature when debugging dbus messages
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1248 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-03 14:16:51 +00:00
Dan Williams
6a35ad489c 2006-1-1 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (real_init): don't chain up to parent init because we don't
			need to do that anymore

	* src/nm-device.c
		- (discover_device_type): fix arguments to ioctl() to correctly
			pass interface name
		- (nm_device_new): consolidate generic device initialization into
			nm_device_new()
		- (real_init): remove, consolidated to nm_device_new()
		- (nm_device_deactivate, real_deactivate): consolidate


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1247 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-02 02:50:47 +00:00
Dan Williams
bd17658bba cvsignore updates
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1246 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-02 02:47:25 +00:00
Dan Williams
aff2d6bdcf 2006-1-1 Dan Williams <dcbw@redhat.com>
* src/nm-activation-request.c
		- Change dhcp_state member of the NMActRequest structure
			from guint8 to guint32

	* src/dhcp-manager/nm-dhcp-manager.[ch]
		- (nm_dhcp_manager_get_state_for_device): return guint32 rather
			than guint8 to match the dbus argument.  Turns out we were
			overwriting memory since we were passing in only a guint8


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1245 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-01 22:22:39 +00:00
Dan Williams
4ed4b491fa 2005-12-31 Dan Williams <dcbw@redhat.com>
* refactor NMDevice into a GObject-based framework with separate
		objects for wired and wireless.  The following files are no
		longer used but should stick around for a bit so we don't
		loose code through the cracks:
			NetworkManagerDevice.c
			NetworkManagerDevice.h
			NetworkManagerWireless.c
			NetworkManagerWireless.h

	The intent here is to allow each device type to manage its own
	connection & activation life-cycle, ie to allow wireless devices
	to interface with wpa_supplicant, etc.  There's a fair bit of
	encapsulation breakage right now that should gradually get pulled
	back into each device, along with things like periodic property
	updates and link probing.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1244 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-31 08:21:24 +00:00
Dan Williams
d717e1ad88 no longer used
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1243 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-31 08:11:30 +00:00
Dan Williams
a5a2045d51 Remove
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1242 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-29 17:10:18 +00:00
Dan Williams
2588e28c21 2005-12-29 Dan Williams <dcbw@redhat.com>
* include/NetworkManager.h
		- Add NM_802_11_CAP_PROTO_NONE since we need to recognize
			between networks that don't have any encryption at all


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1241 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-29 17:09:52 +00:00
Dan Williams
4783f65521 2005-12-29 Dan Williams <dcbw@redhat.com>
* test/test-common.c
	  test/test-common.h
	  test/Makefile.am
		- Move to a test-common subdirectory

	* test/libnm-util/test-ciphers.c
		- Move test data to test-inputs.h
		- Test WPA ciphers too

	* test/libnm-util/test-dbus-helpers.c
		- Test serialization/deserialization of ciphers


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1240 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-29 17:03:46 +00:00
Dan Williams
b16fe688d2 Fix AP mode dbus type, and understand AP and wireless capabilities
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1239 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-29 16:59:36 +00:00
Dan Williams
c957948a82 2005-12-29 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.c
		- Replace 'enc' parameter with 'capabilities' for wireless networks
			in dbus calls to NM
		- Set capabilities on WirelessNetwork objects
		- Receive and save type-specific device capabilities too

	* gnome/applet/applet-dbus-info.c
	  gnome/applet/applet-dbus.c
		- Passphrase dialog no longer a singleton; new instance gets created
			on each request.  Updates to deal with that.

	* gnome/applet/applet.c
		- (nmwa_has_encrypted_networks_helper): use AP capabilities rather
			than single 'encrypted' flag
		- (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
			menu items
		- Passphrase dialog updates per above

	* gnome/applet/menu-items.c
		- (network_menu_item_update): use AP capabilities to determine
			encryption

	* gnome/applet/nm-device.[ch]
		- Add accessors for type-specific device capabilities

	* gnome/applet/other-network-dialog.c
		- Rework to respect device capabilities.  i.e., if the device doesn't
			support WPA, remove that option from the security dropdown

	* gnome/applet/passphrase-dialog.c
		- Massive rework so that a new instance is created each time
			it's used, to support wireless network capabilities

	* gnome/applet/wireless-network.[ch]
		- Add accessors and members for wireless network capabilities

	* gnome/applet/wireless-security-manager.[ch]
		- (wsm_set_capabilities): called after creation to set which
			security options get shown to the user


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1238 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-29 16:54:34 +00:00
Dan Williams
2cc6237c02 Fix bug saving unencrypted AP security information
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1237 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-29 16:36:22 +00:00
Dan Williams
4dd1456235 2005-12-29 Dan Williams <dcbw@redhat.com>
* libnm-util/cipher-wpa-psk-passphrase.c
		- (cipher_wpa_psk_passphrase_hash_func): return key as hex string
			like other ciphers


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1236 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-29 16:33:06 +00:00
Žygimantas Beručka
9c898727d8 2005-12-25 Žygimantas Beručka <zygis@gnome.org>
* lt.po: Updated Lithuanian translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1235 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-25 23:17:37 +00:00
Lasse Bang Mikkelsen
8222fef08d Updated Danish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1234 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-25 17:05:09 +00:00
Francisco Javier F. Serrador
aa03959251 2005-12-25 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1233 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-12-25 11:43:56 +00:00