Commit Graph

13873 Commits

Author SHA1 Message Date
Dan Williams
e90e4f88ca 2006-02-05 Dan Williams <dcbw@redhat.com>
* gnome/applet/nm-gconf-wso.c
		- (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
			of unencrypted access point security info.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1443 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-05 05:47:26 +00:00
Dan Williams
de07a4fc5f Remove double function name in warning
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1442 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-05 05:41:21 +00:00
Robert Love
77e9f0997e 2006-02-03 Robert Love <rml@novell.com>
* src/NetworkManagerUtils.c: Even for debugging, we should not log the
	  user's encryption key, so we print the err_msg_cmd not the command,
	  if available.  So long as SUPPLICANT_DEBUG is default, this makes
	  sense.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1441 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-03 20:18:58 +00:00
Christopher Aillon
5b90082cd1 2006-02-03 Christopher Aillon <caillon@redhat.com>
* initscript/RedHat/NetworkManagerDispatcher.in:
	modify the pidfile location


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1440 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-03 20:12:00 +00:00
Christopher Aillon
6e01a0e2dd 2006-02-03 Christopher Aillon <caillon@redhat.com>
* initscript/RedHat/NetworkManager.in: modify the pidfile location
	Patch from Dan Walsh <dwalsh@redhat.com>


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1439 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-03 20:00:45 +00:00
Robert Love
944f8877aa 2006-02-03 Robert Love <rml@novell.com>
* dispatcher-daemon/NetworkManagerDispatcher.c,
	  dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
	  but use the sysconfdir.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1438 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-03 17:50:33 +00:00
Robert Love
133134e225 2006-02-03 Robert Love <rml@novell.com>
* src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
	  Make nm_device_802_11_wireless_get_essid() return 'const char *' not
	  'char *'.
	* src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
	  nm_ip4_config_get_hostname() and
	  nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
	* src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
	  leak g_strdup() result.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1437 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-03 17:40:44 +00:00
Funda Wang
89a76ad10e Added Simplified Chinese translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1436 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-03 17:05:56 +00:00
Robert Love
7f96832191 2006-02-03 Robert Love <rml@novell.com>
* src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
	  broadcast == TRUE.  Also, copy broadcast and artificial properties
	  from source network to destination in nm_ap_copy().
	* src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
	  since we now default new networks to non-hidden.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1435 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-03 15:37:28 +00:00
Dan Williams
b54e6ea149 2006-02-03 Dan Williams <dcbw@redhat.com>
* gnome/applet/main.c
		- (main): change the NEVER->ALWAYS so we start at the
			beginning of the session, if being session-managed


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1434 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-03 15:34:27 +00:00
Dan Williams
203eac3431 2006-02-02 Dan Williams <dcbw@redhat.com>
* gnome/applet/main.c
		- (main): in a variation on Robert's patch, change
			RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
			he wants.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1433 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-03 15:32:06 +00:00
Robert Love
1bcdfd702c Make 'passwords' plural.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1432 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-02 21:46:25 +00:00
Robert Love
fa2f9181ec src/nm-device-802-11-wireless.c: add space to nm_info().
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1431 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-02 21:22:09 +00:00
Robert Love
35238722d9 2006-02-02 Robert Love <rml@novell.com>
* src/Makefile.am: If we aren't going to create the run directory at,
	  uh, run-time, create it during install.  Then users just doing
	  'make install' are cool, too.  While we are here, create the
	  dispatcher.d directory, too.
	* src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
	  the exact run directory.
	* Makefile.am: Install nm-applet.desktop.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1430 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-02 20:52:43 +00:00
Robert Love
2f71e13495 2006-02-02 Robert Love <rml@novell.com>
* src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
	  structure, which denotes whether or not the AP is hidden.  This is a
	  superset of 'artificial' -- we need 'broadcast' because a hidden AP
	  can show up in the scan list.  Add nm_ap_get_broadcast() and
	  nm_ap_set_broadcast() accessor interfaces.
	* src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
	  nm_ap_set_broadcast().
	* src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
	  "getProperties" method, which denotes whether or not the given
	  network is hidden.
	* src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
	  an artificial network.  Set broadcast to TRUE when scanning returns
	  an ESSID and FALSE when not.
	* gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
	  from "getProperties" method on a network.  Possible TODO is to
	  somehow display this.
	* test/nm-tool.c: Display "Hidden" if the AP does not broadcast.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1429 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-02 18:05:19 +00:00
Dan Williams
ecd009cc7d 2006-02-02 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (supplicant_interface_init): don't try to create
			/var/run/NetworkManager, since that should be done by
			the distro package.  Causes problems for stuff like SELinux


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1428 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-02 16:59:47 +00:00
Robert Love
a517193ea8 Check sigaction for error.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1427 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-02 16:49:11 +00:00
Robert Love
3abc236427 2006-02-02 Robert Love <rml@novell.com>
Patch by Sureshkumar T <tsureshkumar@novell.com>:
	* src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
	  Check for and handle empty string for iface.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1426 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-02 15:07:35 +00:00
Robert Love
4b328ce7d3 man/.cvsignore: add nm-tool.1
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1425 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-01 19:12:12 +00:00
Robert Love
f0cc1a602c 2006-02-01 Robert Love <rml@novell.com>
* configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
	  manpage.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1424 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-01 18:14:15 +00:00
Ilkka Tuohela
1617377b97 Updated Finnish translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1423 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-01 17:50:14 +00:00
Robert Love
a78d9f57cf Mark label-driver as selectable (so user's can copy it) like the other labels.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1422 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-01 17:28:20 +00:00
Adam Weinberger
2480f6c9bb 2006-01-31 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1421 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-01 02:01:04 +00:00
Dan Williams
afb234cbdc 2006-01-31 Dan Williams <dcbw@redhat.com>
* nm-applet.desktop
                - Add --sm-disable to Exec arguments, presuming that when
                        using autostart, we don't want session management


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1420 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-31 19:16:57 +00:00
Robert Love
b25439083b 2006-01-31 Robert Love <rml@novell.com>
* src/NetworkManagerAP.c: Add two new manufacturer default network
	  names: linksys-a and linksys-g.  These are found (at least) on the
	  Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
	  own ESSID.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1419 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-31 18:54:11 +00:00
Robert Love
f30946e156 2006-01-31 Robert Love <rml@novell.com>
* src/NetworkManagerAP.c: Optimize the function
	  nm_ap_has_manufacturer_default_essid().  I did not like its resulting
	  machine code.  This is the first in a series of code tweaks aiming to
	  generate better machine code and make NetworkManager all the better.
	  Just kidding.  Who has time to go through the assembly generated for
	  every function?  I certainly don't.  I have a wife, a kid, a job,
	  a mortgage, a mistress.  But this function was so bad, I was called
	  to arms.  Like the book.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1418 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-31 18:52:06 +00:00
Robert Love
7c7fa335f2 2006-01-31 Robert Love <rml@novell.com>
* src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
	  AP is not broadcasting, to scan with probe request frames.  Required
	  for non-broadcast networks.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1417 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-31 17:39:11 +00:00
Dan Williams
4af8827824 Use S_IRWXU rather than raw octal number, and fix a printf format string
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1416 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-31 16:03:42 +00:00
Robert Love
589549bf83 update comment
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1415 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-31 15:54:48 +00:00
Robert Love
1dadd8600a 2006-01-30 Robert Love <rml@novell.com>
* src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
	  preprocessor define (still 20s).  Fix message text in nm_info()
	  s/too too/took too/.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1414 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-31 15:54:00 +00:00
Clytie Siddall
f812d5f4a7 vi.po: Updated Vietnamese translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1413 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-31 04:57:12 +00:00
Dan Williams
b28dad1522 2006-01-30 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (supplicant_monitor_start): increase connect/auth timeout to
			20 seconds from 10 seconds


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1412 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-31 04:13:37 +00:00
Dan Williams
8f39a2bcea 2006-01-30 Dan Williams <dcbw@redhat.com>
* src/Makefile.am
		- Define LOCALSTATEDIR

	* src/nm-device-802-11-wireless.c
		- (supplicant_exec): tell wpa_ctrl_open() to stick the local control
			socket where we want it to

	* src/wpa_ctrl.[ch]
		- (wpa_ctrl_open): accept location to put local control socket


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1411 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-31 04:10:01 +00:00
Robert Love
70f591d7d6 TODO: format
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1410 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-30 22:41:20 +00:00
Robert Love
fb39965281 Wrap in ifdefs to be anal.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1409 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-30 21:53:35 +00:00
Robert Love
aedbd5490f 2006-01-30 Robert Love <rml@novell.com>
* src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
	  get_ip4_string() for "domain_name".


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1408 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-30 21:01:09 +00:00
Robert Love
569693ce2d 2006-01-30 Robert Love <rml@novell.com>
* gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
	  gnome/applet/wireless-security-option.c, include/NetworkManager.h,
	  libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
	  libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
	  support for "Automatic" pairwise and group cipher configuration by
	  letting wpa_supplicant handle the details.  Add UI elements, new
	  cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
	  charm.  Note this does more than add a nice feature, it fixes a bug.
	  Apparently, some people have AP's where the pairwise cipher does not
	  match the group cipher.  Insane, but true.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1407 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-30 19:40:10 +00:00
Dan Williams
4c4eed19fc 2006-01-30 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.c
		- (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
			functions, grab device driver name from NetworkManager
		- (nmwa_dbus_device_properties_cb): call functions to get driver

	* gnome/applet/applet.c
		- (nmwa_update_info): show driver name in Connection Information
			dialog

	* gnome/applet/nm-device.[ch]
		- (network_device_get_driver, network_device_set_driver): add
			accessors for driver name

	* gnome/applet/wireless-applet.glade
		- Add line for driver name to Connection Information dialog

	* src/nm-dbus-device.c
		- (nm_dbus_device_get_driver): new function to return driver name
		- (nm_dbus_device_methods): hook up driver name function to dbus

	* test/nm-tool.c
		- (get_driver_name): new function
		- (detail_device): grab and show driver name


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1406 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-30 18:45:17 +00:00
Robert Love
b92d952a4d 2006-01-30 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
	  does not parse the markup if it is not part of the format.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1405 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-30 17:31:05 +00:00
Robert Love
1ca336c741 2006-01-27 Robert Love <rml@novell.com>
* gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
	  FALSE, we have no security options for this dialog, so we throw up
	  an error dialog instead of a broken passphrase dialog.  Fixes
	  Novell #138404.
	* gnome/applet/wireless-security-manager.c,
	  gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
	  does not add any security options, not even none, print a warning
	  and return FALSE.  This let's functions constructed a dialog bail
	  out if the device's capabilities and the network's requirements have
	  zero overlap.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1404 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-30 17:28:22 +00:00
joseppc
95baaac2f7 Updated Catalan translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1403 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-29 00:14:02 +00:00
Gabor Kelemen
83e285ab54 2006-01-28 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Hungarian translation updated.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1402 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-28 22:53:38 +00:00
Vincent van Adrighem
5b8d4ad918 2006-01-28 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1401 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-28 19:06:20 +00:00
Francisco Javier F. Serrador
3aae305867 2006-01-27 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1400 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 22:53:25 +00:00
Robert Love
78894fba52 2006-01-27 Robert Love <rml@novell.com>
* configure.in: Require wpa_supplicant.  Detect location of binary and
	  use it.  Override with "--with-wpa_supplicant=foo".
	* src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
	  path to wpa_supplicant but use the auto-detected or user-provided
	  value from configure.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1399 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 18:41:06 +00:00
Robert Love
d96db0552a 2006-01-27 Robert Love <rml@novell.com>
* src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
	  but the DHCP server did not return a hostname, try to look up our
	  name via DNS and set the system hostname to that.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1398 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 15:29:23 +00:00
Dan Williams
10bc492ab0 2006-01-27 Dan Williams <dcbw@redhat.com>
* src/backends/NetworkManagerRedHat.c
		- Add NM_CONTROLLED system network script support for RH/Fedora


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1397 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 05:48:02 +00:00
Dan Williams
c12d5456da 2006-01-27 Dan Williams <dcbw@redhat.com>
* src/backends/NetworkManagerGentoo.c
		- (nm_system_device_get_disabled): add missing function.
			Gnome BZ #328780


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1396 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 05:43:16 +00:00
Clytie Siddall
9af0ad5a04 * configure.in Added vi in ALL_LINGUAS line.
CVS: ----------------------------------------------------------------------


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1395 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 04:51:19 +00:00
Clytie Siddall
2a43287698 vi.po: Updated Vietnamese translation.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1394 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-27 04:49:49 +00:00