Commit Graph

13873 Commits

Author SHA1 Message Date
Dan Williams
28e809b751 Bump version to 0.6.2
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1748 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-19 13:58:13 +00:00
Robert Love
0941a4059b update .cvsignore files
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1744 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-17 21:31:00 +00:00
Robert Love
12e183cced * src/nm-device-802-11-wireless.c: Lentils.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1743 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-17 21:27:34 +00:00
Robert Love
27e78ebd39 * src/nm-device-802-11-wireless.c: Whoops!
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1742 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-17 21:24:25 +00:00
Robert Love
8b11dc086a 2006-05-17 Robert Love <rml@novell.com>
Functionality to differentiate Ad-Hoc networks from infrastructure
	networks in the applet, by displaying a special icon:
	* gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
	* gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
	* gnome/applet/menu-items.c: Set a special icon in the scan list for
	  ad-hoc networks.  TODO: Add a third icon representing "encrypted and
	  Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
	  networks, encrypted or not.
	* gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
	  accessor functions to get and set the mode of a given network,
	  wireless_network_get_mode() and wireless_network_set_mode().


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1741 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-17 20:04:50 +00:00
Robert Love
b428d9d8a2 2006-05-17 Robert Love <rml@novell.com>
Functionality to automatically add BSSIDs to the allowed-MAC list as
	one roams from access point to access point on a given network:
	* src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
	  helper function to compare two ether_addr structures and return TRUE
	  if they contain the same MAC address.
	* src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
	  prototype.
	* src/nm-device-802-11-wireless.c: New function to update the BSSID
	  stored with the current AP.  If the BSSID has indeed changed, we
	  send it out to the applet, allowing the allowed-MAC list to grow
	  automatically in response to roaming.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1739 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-17 15:02:57 +00:00
Robert Love
8d0012453a 2006-05-16 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs unless
	  dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1737 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-16 17:26:01 +00:00
Robert Love
e68fabc5ea src/backends/NetworkManagerSuSE.c: The var is in dhcp, not config.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1735 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-15 14:21:13 +00:00
Daniel Nylander
907ebe5876 2006-05-14 Daniel Nylander <po@danielnylander.se>
* sv.po Updated Swedish Translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1734 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-14 12:14:42 +00:00
Dan Williams
5f9f987e17 2006-05-13 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-3-ethernet.c
		- (real_get_generic_capabilities): Don't ignore devices that can't do
			carrier detect (Debian bug #366373)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1733 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-13 19:06:05 +00:00
Francisco Javier F. Serrador
517eda3bc9 2006-05-12 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1732 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-12 13:41:24 +00:00
Robert Love
8628b47086 misc. bits, all trivial
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1731 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-11 21:31:43 +00:00
Robert Love
47cd0bba11 2006-05-11 Robert Love <rml@novell.com>
Patch to add OpenVPN TLS and Cipher support, by Groug <groug@free.fr>:
	* properties/nm-openvpn-dialog.glade: Add UI checkboxes.
	* properties/nm-openvpn.c: New UI.
	* src/nm-openvpn-service.c: Support "--tls-auth" and "--cipher"
	  OpenVPN options.
	* src/nm-utils.c: Add nm_find_openvpn(), exported function for finding
	  the location of the OpenVPN binary.
	* src/nm-utils.h: Add prototype.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1730 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-11 17:19:17 +00:00
Robert Love
1af2d8f0af po/.cvsignore: Update.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1729 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-11 16:18:42 +00:00
Dan Williams
15a5def1ee 2006-05-11 Dan Williams <dcbw@redhat.com>
Patch from Michael Biebl <biebl@teco.edu>
	* src/backends/NetworkManagerDebian.c
		- Debian backend fixups


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1727 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-11 15:26:58 +00:00
Robert Love
3359a3f374 vim7 does spell checking !@!
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1726 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-10 21:00:25 +00:00
Robert Love
c2872a8b6b 2006-05-10 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1725 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-10 14:38:44 +00:00
Robert Love
0e5527128e Header fix.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1724 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-09 15:22:25 +00:00
Robert Love
e8942d502a 2006-05-09 Robert Love <rml@novell.com>
* gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
	  private certificate passphrase, if any, in the GNOME Keyring.
	* libnm-utils/dbus-helpers.c: Update.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1723 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-09 15:06:41 +00:00
Ilkka Tuohela
884f13f2bf Updated Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1722 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-06 07:53:57 +00:00
Dan Williams
8495eeca54 2006-05-05 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (nm_device_802_11_wireless_set_wep_enc_key): convert to
			nm_device_802_11_wireless_disable_encryption() since that's all
			we use it for anymore; we don't ever set WEP keys ourselves.
		- (real_deactivate_quickly): reset SSID and encryption keys
		- (real_deactivate): move SSID and encryption key reset to
			real_deactivate_quickly(), which gets run before us anyway


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1721 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-05 20:42:48 +00:00
Robert Love
2bd178e259 ChangeLog: reindent
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1720 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-05 19:43:35 +00:00
Robert Love
f1fb0b5e24 2006-05-05 Robert Love <rml@novell.com>
* src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
	  root has a wacky default of its own (or, more common, a user has a
	  bad umask and uses su/sudo to restart NetworkManager).  Anything other
	  than 0022 does not do what we want with, for example, resolv.conf.  This
	  problem is amplified by our judicious use of fopen(), which uses mode
	  0666 -- implying that the only way to get the permissions we want is
	  with a umask of 0022.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1719 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-05 19:42:20 +00:00
Dan Williams
8a2815e4ac 2006-05-05 Dan Williams <dcbw@redhat.com>
* gnome/libnm_glib/libnm_glib.c
		- Don't suck CPU when dbus isn't around by scheduling idle handlers
			to reconnect; instead wait a bit more with each reconnect attempt
			up to a max of one minute.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1718 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-05 15:36:46 +00:00
Ryan Lortie
ad87e09b84 2006-05-04 Ryan Lortie <desrt@desrt.ca>
* gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
	  the WirelessNetwork structure using the proper function instead of
	  just casting it directly to (const char *) (gnome.org #336991)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1717 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-04 15:32:45 +00:00
Robert Love
3b3af29576 2006-05-03 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: Respect the variable
	  dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
	  config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
	  to dynamically update /etc/resolv.conf.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1716 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-03 19:29:15 +00:00
Peter Jones
2579c9ef82 - allow vpnc rekeying
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1715 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-02 21:26:48 +00:00
Robert Love
5bdf83737b 2006-05-02 Robert Love <rml@novell.com>
Patch by Timo Hoenig;
	* tests/nm-online.c: Print pretty status indicator as timeout winds
	  down.  Also fix possible race between DBUS startup and failure
	  return.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1714 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-02 14:47:59 +00:00
Robert Love
a2dbccec37 2006-05-01 Robert Love <rml@novell.com>
* gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
	  empty, too.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1713 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-01 19:10:57 +00:00
joseppc
ceae0fa9e4 Added Catalan translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1712 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-01 05:08:58 +00:00
joseppc
ff4ce9aeee Updated Catalan translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1711 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-01 04:53:21 +00:00
Jeremy Katz
927d2b3394 2006-04-27 Jeremy Katz <katzj@redhat.com>
* src/nm-device.c (discover_device_type): Actually use the hal
	device type instead of ioctl poking


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1710 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-27 15:49:40 +00:00
Robert Love
fc4797caaf Default to 30, not 60, seconds.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1709 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-26 19:43:53 +00:00
Robert Love
1558cd6be3 readd?
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1707 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-26 19:34:03 +00:00
Robert Love
cdb292cc26 2006-04-26 Robert Love <rml@novell.com>
* tests/nm-online.c: New file.  Simple utility that returns exit status
	  noting whether the connection is offline or online.  If offline on
	  start, it waits 60 seconds (or a command-line given value) for an
	  online signal.  If it times out, it again returns offline.  This is
	  useful for scripts that want to wait for network connections.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1706 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-26 19:11:17 +00:00
Robert Love
71b7fcc56a 2006-04-25 Robert Love <rml@novell.com>
* src/nm-ap-security-wep.c: Bug fix: We stopped setting the
	  key mode (the authentication algorithm), e.g. open or shared, when we
	  moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
	  only shared was broken.  If the user specified a shared key, set it
	  explicitly, otherwise let wpa_supplicant go with the default.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1705 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-25 18:08:19 +00:00
Dan Williams
552a3e3bc5 2006-04-24 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (nm_device_802_11_wireless_set_essid): fix setting of "any" essid


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1704 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-24 21:15:08 +00:00
Dan Williams
4a0434fa70 2006-04-24 Dan Williams <dcbw@redhat.com>
Commit the async scanning patch

	* src/nm-device-802-11-wireless.c
		- get rid of scan_mutex
		- (wireless_event_helper): act on wireless scan events
		- (real_start): schedule a pending scan
		- (link_to_specific_ap): fake the link to the AP during a scan
		- (nm_device_802_11_wireless_update_signal_strength): ignore signal
			strength during scans
		- (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
			nm_device_set_bitrate): unused with new scanning code, disable
		- (nm_device_wireless_schedule_scan): removed
		- (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
		- (request_and_convert_scan_results): new function; retrieve scan
			results from the driver and schedule the processing function
		- (scan_results_timeout): timeout triggered when card doesn't send
			a scan results wireless event during a certain interval
		- (schedule_scan_results_timeout): new function; schedule the scan
			results timeout
		- (cancel_scan_results_timeout): new function; cancel the scan
			results timeout
		- (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
			to do the scanning.  Otherwise, just request a scan but don't
			grab results here; instead schedule a timeout for scan results and
			let netlink notify us of scan completion events
		- (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
		- (cancel_pending_scan): new function; cancel a pending wireless scan
		- (supplicant_status_cb): ignore disconnect events while scanning
		- (supplicant_exec): wait a bit longer for the supplicant to start up
		- (nm_device_802_11_wireless_dispose): cancel pending scans and results
			timeouts
		- (get_scan_results): removed; folded into request_and_convert_scan_results()


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1703 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-24 21:09:38 +00:00
Dan Williams
f2042467b5 2006-04-24 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus.c
		- Disable the pending call debug stuff, seems under control now


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1702 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-24 20:49:22 +00:00
Dan Williams
a567dca2ad 2006-04-23 Dan Williams <dcbw@redhat.com>
Patch from j@bootlab.org
	* src/Makefile.am: add missing files so make distcheck works


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1701 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-23 17:45:31 +00:00
Robert Love
6fd1cc39d2 2006-04-20 Robert Love <rml@novell.com>
Fix bug where hidden ESSID's would not show up in the applet, even
	if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
	because nm_policy_device_list_update_from_allowed_list() would merge
	the data, putting a name to the hidden networks, but never notify NMI
	of the changes.  Simple fix is to invoke the function
	nm_dbus_signal_wireless_network_change() if we make a mapping.
	* src/NetworkManagerAPList.c: Call the function
	  nm_dbus_signal_wireless_network_change() if we made a successful
	  BSSID to ESSID mapping, notifying the applet of the "new" network.
	* src/NetworkManagerAPList.h: Update the prototypes for both
	  nm_ap_list_copy_essids_by_address() and
	  nm_ap_list_copy_one_essid_by_address().


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1700 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-20 20:40:25 +00:00
Robert Love
84b973fd59 2006-04-20 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
	  not set.  Just return zero.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1697 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-20 16:05:33 +00:00
Robert Love
eae1b63a1c 2006-04-20 Robert Love <rml@novell.com>
* gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
	  only one copy of nm-vpn-properties is running at a time via the 'ol
	  X selection trick.  This prevents the user from opening two "VPN
	  Connections" windows from within the applet, which leads to mass
	  hysteria.
	* clipboard.c: New file, implementing simple X selection logic.
	* clipboard.h: New file.
	* gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1695 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-20 15:15:37 +00:00
Vincent van Adrighem
811c77c689 2006-04-20 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1694 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-20 00:08:42 +00:00
Nicolas Trangez
8d569f052f Gentoo initscript and backend updates
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1693 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-18 17:06:03 +00:00
Robert Love
77e02f0818 2006-04-17 Robert Love <rml@novell.com>
* properties/nm-openvpn-dialog.glade: If the dialog won't let the user
	  type in the file entry GtkEntries, then don't mark them editable.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1692 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-17 17:08:56 +00:00
Kjartan Maraas
7dd1f92100 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
	* no.po: Remove obsolete duplicate.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1691 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-17 09:47:07 +00:00
Dan Williams
e5040768d1 2006-04-16 Dan Williams <dcbw@redhat.com>
Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
	* configure.in
	  initscript/Slackware/Makefile.am
	  initscript/Slackware/rc.networkmanager-dispatcher.in
	  initscript/Slackware/rc.networkmanager.in
		- Update slackware initscripts


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1688 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-17 02:03:09 +00:00
Ilkka Tuohela
c80a9eeb5b Updated Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1687 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-14 16:58:24 +00:00
Daniel Nylander
031ccc08e5 2006-04-12 Daniel Nylander <po@danielnylander.se>
* sv.po: Updated Swedish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1686 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-12 19:06:24 +00:00