Commit Graph

15047 Commits

Author SHA1 Message Date
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
Alessio Frusciante
21b6abe577 Updated Italian translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1685 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-11 20:02:56 +00:00
Clytie Siddall
13c289c836 vi.po: Updated Vietnamese translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1684 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-11 09:04:34 +00:00
Robert Love
b4818d37fc Re-un-comment
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1683 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 20:36:09 +00:00
Robert Love
35fba3778f Nice code.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1680 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 20:32:43 +00:00
Robert Love
c91717e1bf 2006-04-10 Robert Love <rml@novell.com>
* properties/nm-openvpn.c: Report error if writing out of exported
	  configuration fails.  The silent treatment might work for me and my
	  wife, but not for failed I/O.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1679 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 20:15:31 +00:00
Robert Love
3a736cfdb6 2006-04-10 Robert Love <rml@novell.com>
* properties/nm-vpnc.c: Report error if writing out of exported
	  configuration fails.  The silent treatment might work for me and my
	  wife, but not for failed I/O.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1678 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 20:05:31 +00:00
Robert Love
aa93d507ad 2006-04-10 Robert Love <rml@novell.com>
* gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
	  the "delete_event" signal on the druid's parent window and handle it
	  our way, lest using the WM to close the druid results in a series of
	  bloody and ultimately lethal errors.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1677 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 18:45:46 +00:00
Robert Love
6685c4cf31 2006-04-10 Robert Love <rml@novell.com>
* gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
	  'Back' too or else the 'Forward' option is initially disabled despite
	  valid input.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1676 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-10 16:21:37 +00:00
Robert Love
a1346d9780 TODO: update
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1675 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-06 17:49:21 +00:00
Robert Love
cd73c091c5 2006-04-06 Robert Love <rml@novell.com>
Fix bad but simple bug where an active modem connection did not update
	NM's connection state, breaking any app that did online/offline:
	* src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
	  represented whether a dial up connection is active, or not.
	* src/nm-dbus-nm.c: Set and unset 'modem_active' in response
	  to modem activation and deactivation.
	* src/NetworkManagerDbus.c: When asked our state, do not return
	  disconnected if the modem is active.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1674 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-06 14:12:23 +00:00
Vincent van Adrighem
5b5d606e09 2006-04-06 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation added by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1673 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-06 08:25:54 +00:00
Vincent van Adrighem
0218817ff9 Adding nl to ALL_LINGUAS of openvpn configure.in
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1672 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-06 08:24:56 +00:00
Robert Love
b33f9e9651 2006-04-04 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Remove the 'Remove' option that I added to the
	  applet.  It just confuses the crap out of people and does not make a
	  lot of sense, as the daemon still runs.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1671 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-04 19:39:50 +00:00
Tor Krill
3f94755dfe 2006-04-02 Tor Krill <tor@krill.nu>
* initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
          in start of service.
        * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
          get Archlinux backend up to date.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1669 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-02 14:34:29 +00:00
Vincent van Adrighem
ebb22d88e1 2006-04-01 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1668 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-01 08:24:37 +00:00
Miloslav Trmac
a9df69c525 2006-03-31 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation by Jakub Friedl.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1667 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-31 21:13:24 +00:00
Robert Love
1623ee455a 2006-03-30 Robert Love <rml@novell.com>
Patch by Crispin Flowerday <gnome@flowerday.cx>:
	* src/nm-openvpn-service-helper.c: Fix crash when no PtP IP address is
	  supplied.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1666 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-30 17:21:18 +00:00
Robert Love
992f148ffa * src/NetworkManagerDbus.c: Fix comment.
* src/NetworkManagerPolicy.c: Fix crasher.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1664 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-30 14:42:43 +00:00
Robert Love
49631334f5 Add .cvsignore files
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1663 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-30 14:41:35 +00:00
Clytie Siddall
ae2c8b1e5b vi.po: Updated Vietnamese translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1662 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-30 10:54:37 +00:00
Christian Rose
76db513538 2006-03-29 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1661 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-29 20:01:04 +00:00
Robert Love
e79ccc1a10 2006-03-29 Robert Love <rml@novell.com>
Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
	to add support for per-route MSS and improve support for per-interface
	MTU:
	* src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
	  optionally take an MSS parameter and set it for the given route.
	  Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
	  NMIP4Config's stored MSS, if any.
	* src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
	  the interface's MTU and the route's MSS, respectively.  Add functions
	  nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
	  and nm_ip4_config_set_mss for retrieving and setting the MTU and the
	  MSS.
	* src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
	  nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
	  nm_ip4_config_set_mss.
	* src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
	  VPN daemon.
	* src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
	  Change the retval of nm_system_get_mtu to guint32.
	* src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
	  NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
	  servers can specify MTU's, we should set it here if the MTU was not
	  provided.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1660 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-29 19:26:53 +00:00
Robert Love
348ed3e98d NEWS: Synchronize with the 0.6 branch
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1656 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-28 15:13:06 +00:00
Jürg Billeter
ce811e32be 2006-03-27 Jürg Billeter <j@bitron.ch>
* configure.in:
	* initscript/Makefile.am:
	* initscript/paldo/Makefile.am:
	* initscript/paldo/NetworkManager.in:
	* initscript/paldo/NetworkManagerDispatcher.in:
	* src/backends/Makefile.am:
	* src/backends/NetworkManagerPaldo.c:
		- Add paldo support


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1654 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 19:58:03 +00:00
Dan Williams
cc2af5e3af 2006-03-27 Dan Williams <dcbw@redhat.com>
Patch from Christian Persch <chpe@gnome.org>
	* gnome/applet/applet.glade
		- HIG fixes; mostly for spacing and borders (gnome.org #336220)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1653 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 18:55:09 +00:00
Dan Williams
3e2aecda5f 2006-03-27 Dan Williams <dcbw@redhat.com>
Patch from Diffe <diffie@blazebox.homeip.net>
	* src/backends/NetworkManagerSlackware.c
		- Don't restart howl, since it's been replaced by Avahi
			in most distributions


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1652 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 18:39:44 +00:00