Commit graph

2322 commits

Author SHA1 Message Date
Dan Williams
0f1310cda0 2007-08-28 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerMain.h
	  src/nm-device-802-11-wireless.c
	  src/NetworkManager.c
		- Remove invalid AP list from NMData; need to rework this somewhat, but
		for now we should set the 'invalid' property on individual APs, and when
		we need to invalidate a whole ESS, set the 'invalid' on every member of
		that ESS



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2741 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-28 15:33:29 +00:00
Dan Williams
3443abf3f9 2007-08-28 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerAP.c
	  src/NetworkManagerAP.h
		- Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
			'autoconnect' property instead

	* src/NetworkManager.c
	  src/NetworkManagerMain.h
	  src/NetworkManagerPolicy.c
	  src/NetworkManagerPolicy.h
		- Remove the 'allowed_ap_list', which should be replaced by 
			NMConnection/NMSettings instead, since _those_ are the allowed
			things that NM can connect to

	* src/nm-device-802-11-wireless.c
		- Remove both allowed_ap_list usage and 'fallback' checking



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2740 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-28 15:17:48 +00:00
Dan Williams
9194b61b8f 2007-08-28 Dan Williams <dcbw@redhat.com>
* src/nm-device.c
	  src/named-manager/nm-named-manager.c
	  src/named-manager/nm-named-manager.h
	  src/NetworkManager.c
	  src/vpn-manager/nm-vpn-manager.c
	  src/NetworkManagerMain.h
	  src/NetworkManagerSystem.c
		- Remove the named-manager object from NMData structure in preparation
		for NMData's timely death.  Make the NMNamedManager the singleton that
		it really is



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2739 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-28 15:00:00 +00:00
Dan Williams
7a8f33aa3d 2007-08-28 Dan Williams <dcbw@redhat.com>
Remove NMAPSecurity objects, they are replaced with flags on the APs for
	each AP's capabilities, and by NMConnection/NMSettings objects for user
	defined connections.

	* include/NetworkManager.h
		- Redefine 802.11 security properties.  There are now device capabilities
			and AP flags and AP security flags.  It was way to unclear before.

	* src/Makefile.am
	  src/nm-ap-security-leap.h
	  src/nm-ap-security-leap.c
	  src/nm-ap-security-wpa-eap.c
	  src/nm-ap-security-wpa-eap.h
	  src/nm-ap-security-private.h
	  src/nm-ap-security-wpa-psk.c
	  src/nm-ap-security-wpa-psk.h
	  src/nm-ap-security-wep.c
	  src/nm-ap-security-wep.h
	  src/nm-ap-security.c
	  src/nm-ap-security.h
		- Removed, to be replaced with NMConnection/NMSettings objects

	* src/nm-dbus-nmi.c
	  src/nm-dbus-nmi.h
		- Removed, to be replaced by code that talks to the new info daemon
			interface and gets NMConnection/NMSettings objects

	* src/backends/NetworkManagerSuSE.c
		- Remove usage of NMAPSecurity; should be replaced by a system-level
			info-daemon that does the same thing but talks the new info-daemon
			D-Bus interface

	* src/NetworkManagerAP.h
	  src/NetworkManagerAP.c
	  src/NetworkManagerAPList.c
	  libnm-glib/libnm-glib-test.c
		- Remove usage of NMAPSecurity objects and adjust to new flags for
			WPA/RSN

	* libnm-glib/nm-access-point.c
	  libnm-glib/nm-access-point.h
	  introspection/nm-access-point.xml
	  test/nm-tool.c
		- Adjust to new flags for AP security

	* utils/nm-utils.c
	  utils/nm-utils.h
	  src/vpn-manager/nm-dbus-vpn.c
		- Remove D-Bus pending call stuff from nm-utils and put it in the VPN
			stuff which is the only place it's used

	* src/nm-device-interface.c
	  src/nm-device-interface.h
	  introspection/nm-device.xml
	  src/nm-activation-request.c
	  src/nm-activation-request.h
	  src/nm-device.c
		- Add a new 'specific_object' argument that hints to NM what actual
			AP or other device-specific thing the connection should apply to.
			NMConnection objects can apply to more than one actual device/AP.

	* libnm-util/nm-connection.c
	* libnm-util/nm-connection.h
		- Add 'have_secrets" call stubs

	* libnm-util/cipher.h
		- Move NM_AUTH_TYPE_* defines here for now

	* src/nm-device-802-11-wireless.c
		- Remove usage of NMAPSecurity, to be replaced with NMConnection/
			NMSettings objects

	* src/NetworkManagerDbus.c
	* src/NetworkManagerPolicy.c
		- Remove usage of update_allowed_networks, should be pushing data in
			a different manner



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2738 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-28 14:47:31 +00:00
Vladimer Sichinava
478aa57fab Some translation updates for ka
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2737 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-28 00:49:57 +00:00
Tambet Ingo
2fe726d144 2007-08-27 Tambet Ingo <tambet@gmail.com>
* src/nm-manager.c (impl_manager_get_devices): Duplicate the
        * device path, 
        dbus-glib frees it when the call is done.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2736 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-27 14:18:04 +00:00
Dan Williams
84f666b16c Fix up device type
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2735 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-26 20:29:12 +00:00
Dan Williams
2b768e222a 2007-08-26 Dan Williams <dcbw@redhat.com>
* introspection/nm-device.xml
		- Add 'Index' property on NMDevice objects (forgot to do this earlier)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2734 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-26 18:53:15 +00:00
Dan Williams
1107629a77 2007-08-26 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-3-ethernet.c
		- (constructor): move connection of interface-connected/disconnected
			signals here from real_bring_up().  Should be listening to netlink
			for carrier events no matter what the initial state of the device
			is.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2733 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-26 18:50:38 +00:00
Dan Williams
4c06f348af 2007-08-26 Dan Williams <dcbw@redhat.com>
* src/nm-netlink-monitor.c
		- (nm_netlink_monitor_class_init): fix marshalling types for
			interface-connected/interface-disconnected
		- (nm_netlink_monitor_event_handler): clean up carrier on/off
			check



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2732 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-26 18:48:41 +00:00
Dan Williams
cd00315325 2007-08-26 Dan Williams <dcbw@redhat.com>
Convert to using interface indexes as the primary method of identifying
	devices inside NetworkManager.  Indexes are (?) stable, but devices can
	be renamed at any time.  Device object paths now refer to the device
	index rather than the name, and you can map those two manually if you like
	by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
	netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
	to use interface indexes rather than names.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2731 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-26 15:55:27 +00:00
Dan Williams
c7b06312e7 2007-08-26 Dan Williams <dcbw@redhat.com>
* src/nm-netlink-monitor.h
		- Remove one last bit of wireless-event signal



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2728 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-26 15:11:38 +00:00
Dan Williams
c708b1082f 2007-08-26 Dan Williams <dcbw@redhat.com>
* src/nm-netlink-monitor.c
		- (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
			don't need the 'wireless-event' signal anymore since that's all
			handled by wpa_supplicant



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2727 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-26 15:10:12 +00:00
Dan Williams
386998c983 2007-08-25 Dan Williams <dcbw@redhat.com>
It's 2007. Remove support for drivers that don't support wireless scanning.

	* test/nm-tool.c
	  include/NetworkManager.h
	  src/NetworkManagerUtils.c
	  src/NetworkManagerPolicy.c
	  src/nm-device-802-11-wireless.c
		- Remove special handling for non-scanning devices and mark them
			as unsupported/unhandled



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2726 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-25 15:07:23 +00:00
Dan Williams
d711aed2ef 2007-08-20 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
	  src/nm-device-802-3-ethernet.c
		- (real_is_up): move device-specific tests before generic IFF_UP test,
			because when the card is pulled or the module removed, the device
			is already !IFF_UP and then device-specific cleanup (removing
			the supplicant interface, periodic checks, etc) never gets done



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2721 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-21 02:01:52 +00:00
Dan Williams
e5177b35cd 2007-08-20 Dan Williams <dcbw@redhat.com>
* src/nm-manager.c
		- (nm_manager_remove_device): bring device down before disconnecting
			signal handlers, so that the 'state' signal will get broadcast when
			the device enters the DOWN state
		- (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
			of states that cause the NMManager to recheck its state



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2720 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-21 01:54:30 +00:00
Dan Williams
f7ca6ded56 2007-08-20 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.c
		- (interface_disconnect_done): don't try to dispose of the net proxy
			when it may already have been disposed of



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2719 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-21 01:52:19 +00:00
Dan Williams
281d2f71fd 2007-08-20 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (nm_device_802_11_wireless_get_ssid): don't traceback and die when
			the SSID isn't available; this can happen when the card is pulled
			or the module unloaded, during the post-removal deactivation
			paths, when the ioctl returns ENODEV



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2718 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-21 01:50:29 +00:00
Dan Williams
7442a81b7c Formatting fix
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2717 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-21 01:47:57 +00:00
Dan Williams
2b1e8226f1 2007-08-20 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
			frequency, and mode match.  Applets are now responsible for grouping
			access points



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2716 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-21 01:42:58 +00:00
Dan Williams
3c14aa3926 2007-08-20 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerAP.c
	* src/NetworkManagerAP.h
		- (nm_ap_print_self): new function

	* src/NetworkManagerAPList.c
		- (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
			to do it all here



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2715 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-21 01:41:04 +00:00
Wadim Dziedzic
7823115115 2007-08-20 Wadim Dziedzic <wadimd@svn.gnome.org>
* pl.po: Updated Polish translation.

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2714 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-20 19:31:20 +00:00
Wadim Dziedzic
44cc9d1a86 2007-08-20 Wadim Dziedzic <wadimd@svn.gnome.org>
* nb.po: Updated Polish translation.

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2713 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-20 19:27:27 +00:00
Dan Williams
d6ce97e677 2007-08-17 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-3-ethernet.c
		- (real_bring_down): don't try to dispose of stuff that might not
			exist



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2712 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-17 21:31:59 +00:00
Dan Williams
4f402876fe 2007-08-17 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerAP.c
		- (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
			applet.  This ensures that the case between the seen-bssids and
			the bssids reported by the driver match.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2711 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-17 21:31:22 +00:00
Dan Williams
71a7f5bdb1 2007-08-17 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (device_cleanup): disconnect the interface in wpa_supplicant before
			we dispose of the interface proxy in NM



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2710 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-17 21:30:14 +00:00
Kjartan Maraas,,23491770
ef0773e577 2007-08-17 Kjartan Maraas,,23491770 <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2709 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-17 01:10:54 +00:00
Kjartan Maraas
f4720397fe 2007-08-17 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2708 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-17 01:09:04 +00:00
Kjartan Maraas
a5e10e27ce 2007-08-17 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2707 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-17 01:06:41 +00:00
Dan Williams
9c9ae6abff 2007-08-16 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-client.c
		- (nm_client_init): create VPN connections hash table with key free
			function
		- (proxy_vpn_connection_added): VPN connections hash table key should
			be a duplicated value, not the same memory address as the VPN
			connection name.  This is because the VPN connection name could
			potentially be freed and set to something else during the lifetime
			of the NMVPNConnection object.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2706 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-16 22:54:22 +00:00
Tambet Ingo
1214ece853 2007-08-16 Tambet Ingo <tambet@gmail.com>
* src/ppp-manager/nm-ppp-manager.c (pppd_child_setup):
        * Implement.
        (nm_ppp_manager_start): Use g_spawn_async() since we're not
doing anything
        with the file descriptors. Send a child setup function to change
the pppd
        progress group.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2700 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-16 07:16:32 +00:00
Dan Williams
f5ff2b6ca3 2007-08-15 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.c
		- (try_remove_iface): new function, ask wpa_supplicant to remove
			an interface
		- (nm_supplicant_interface_dispose): call try_remove_iface() when
			disposing of the NMSupplicantInterface.  Otherwise weird stuff
			happens on hotplug if wpa_supplicant doesn't tear down and readd
			the interface internally



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2699 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 19:55:04 +00:00
Dan Williams
6f57387033 2007-08-15 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
		- (real_bring_down): move most of this function into device_cleanup()
			so that it can be called from elsewhere
		- (nm_device_802_11_wireless_dispose): clean up device periodic timers
			and stuff on dispose.  These would normally get cleaned up when
			the device is marked down and deactivated, but when the device is
			hot-unplugged, it's already down and real_down() never gets run



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2698 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 18:52:23 +00:00
Dan Williams
cf24e61f74 2007-08-15 Dan Williams <dcbw@redhat.com>
* src/nm-dbus-nmi.c
		- (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
			caused a reference leak on device for which NM requested a key



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2697 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 18:49:52 +00:00
Dan Williams
e2ca9c32f3 2007-08-15 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-client.c
		- (nm_client_get_best_vpn_state): fix leakage of the vpn connection list



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2696 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 16:25:48 +00:00
Tambet Ingo
b1e15de652 2007-08-15 Tambet Ingo <tambet@gmail.com>
* src/ppp-manager: Implement ppp-manager. It's sort of dead code
        * for now since
        nothing is using it at the moment, but it'll be all useful and
stuff later on.

        * libnm-util/nm-setting.h: Define NMSettingPPP.

        * libnm-util/nm-setting.c: Implement NMSettingPPP.

        * libnm-util/nm-connection.c (register_default_creators):
        * Register ppp setting.

        * src/Makefile.am: Add ppp-manager to SUBDIRS.

        * configure.in: Require ppp headers. Build Makefile for
        * ppp-manager.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2695 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 14:30:06 +00:00
Tambet Ingo
43da26b1fd 2007-08-15 Tambet Ingo <tambet@gmail.com>
* nm-openvpn-service.name.in: Use uppercase macros so that they
        * get replaced
        by the Makefile.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2694 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 14:04:17 +00:00
Tambet Ingo
fc433a76a5 2007-08-15 Tambet Ingo <tambet@gmail.com>
* nm-vpnc-service.name.in: Use upper-case macro names as that's
        * what the
        sed script from Makefile is trying to replace.

        * src/Makefile.am: Link to $NM_UTILS_LIBS.

        * configure.in: Update required NetworkManager version to 0.7.0.
        Clean up the double-check to NetworkManager.pc.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2693 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 12:01:05 +00:00
Kostas Papad
2c2b1490c0 Updated Greek Translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2692 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 10:19:04 +00:00
Kostas Papad
5b83052a3b Updated Greek Translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2691 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 10:08:24 +00:00
Kostas Papad
31217d9ee9 Updated Greek Translation
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2690 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 10:03:48 +00:00
Tambet Ingo
eaf775ea30 2007-08-15 Tambet Ingo <tambet@gmail.com>
* introspection/Makefile.am: Add nm-manager-client.xml to
        * EXTRA_DIST.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2689 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 08:15:58 +00:00
Tambet Ingo
8bed6ff2de 2007-08-14 Tambet Ingo <tambet@gmail.com>
* libnm-glib/Makefile.am: Use nm-manager-client.xml to produce
        * nm-client-bindings.

        * introspection/nm-manager-client.xml: Add a horrible horrbile
        * hack to work around
        an issue with dbus-glib bindings generator. The issue is, the
generated C caller
        functions for dbus methods "Sleep(bool)" and "sleep()" both have
the same function
        name and different arguments and it won't compile anymore. To
fix this, we now have
        two copies of nm-manager.xml file. nm-manager.xml contains the
actual interface,
        that is new API + compatibility API and used by the daemon. The
other, 
        nm-manager-client.xml is only the new API without compatibility
bits and is used
        by libnm-glib to make it compile.

        * introspection/nm-manager.xml: Define compatibility methods
        * (sleep, wake, state).

        * src/nm-manager.c (impl_manager_legacy_sleep)
        (impl_manager_legacy_wake, impl_manager_legacy_state): Implement
the compatibility
        interface functions for 0.6 branch.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2688 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 07:52:25 +00:00
Dan Williams
30a4e7e602 2007-08-14 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerAP.c
		- (nm_ap_new_from_properties): fix mistaken check of return value
			from memcmp (should expect 0)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2687 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 02:54:15 +00:00
Dan Williams
0b9df92472 2007-08-14 Dan Williams <dcbw@redhat.com>
(force-commit to fix wrong comment and partial commit of r2685; this
	 commit actually applies to r2685)

	* src/NetworkManagerUtils.c
		- (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
			ignores trailing nulls in the SSID to work around mismatches in
			expectations between WEXT and what the info-daemon passes back.  The
			info-daemon would pass back the correct length, but due to the
			ESSID length issues with WEXT 22 and greater and wpa_supplicant,
			the device would always have an SSID + 1 depending on what versions
			of wpa_supplicant, the kernel, and NM you have.  This was most often
			visible by just quitting the applet and relaunching, which caused
			NM to reassociated to the same network over again when reloading
			the save networks.

	* src/NetworkManagerPolicy.c
	  src/NetworkManagerUtils.h
	  src/nm-device-802-11-wireless.c
		- Update for new parameter to nm_utils_same_ssid()



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2686 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 01:59:19 +00:00
Dan Williams
ccb13f0bdd 2007-08-14 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerUtils.c
		- (nm_utils_escape_ssid): add "ignore_trailing_null" parameter which
			ignores trailing nulls in the SSID to work around mismatches in
			expectations between WEXT and what the info-daemon passes back.  The
			info-daemon would pass back the correct length, but due to the
			ESSID length issues with WEXT 22 and greater and wpa_supplicant,
			the device would always have an SSID + 1 depending on what versions
			of wpa_supplicant, the kernel, and NM you have.  This was most often
			visible by just quitting the applet and relaunching, which caused
			NM to reassociated to the same network over again when reloading
			the save networks.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2685 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 01:56:02 +00:00
Dan Williams
66c11dd988 2007-08-14 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerAP.c
		- (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
			I encountered a BSS that wasn't just hiding it's ESSID, it was
			setting the BSSID to all 0s.  That confused the heck out of NM,
			plus it's useless and probably out-of-spec.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2684 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 01:31:53 +00:00
Dan Williams
2413ebf771 Debug supplicant state
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2683 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-15 01:30:00 +00:00
Dan Williams
93f08e2f11 2007-08-14 Dan Williams <dcbw@redhat.com>
* callouts/Makefile.am
	  src/dhcp-manager/nm-dhcp-manager.c
	  src/dhcp-manager/nm-dhcp-manager.h
	  src/dhcp-manager/Makefile.am
		- Change install location of nm-dhcp-client.action to ${prefix}/libexec



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2682 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-14 18:35:38 +00:00
Dan Williams
9bcbbb1cca 2007-08-14 Dan Williams <dcbw@redhat.com>
* src/dhcp-manager/nm-dhcp-manager.c
		- (dhclient_run): don't pass -x to dhclient until we figure out if
			it's really needed, get rid of unused xtra_args parameter



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2681 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-08-14 18:23:40 +00:00