* src/Makefile.am: Don't install NMLoadModules
* src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
from src/ to test/ as no one uses it anymore. Note that I would be
fine with removing it altogether.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1353 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Apply the PtP Address bits of a patch from Tim Niemueller
* src/nm-ip4-config.[ch]
- Add ip4_ptp_address member to object
- (nm_ip4_config_copy): copy ptp address too
- (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
new functions
- (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
rather than local tunnel ip address
* src/vpn-manager/nm-vpn-service.c
- (print_vpn_config): update for PtP address
- (nm_vpn_service_stage4_ip_config_get): switch parsing to
DBusMessageIters in preparation for getting routes from the VPN
service daemons too
* vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
- (send_config_info): update for PtP address, clean up code
- (main): update for PtP address, clean up code, fix typo
* vpn-daemons/openvpn/src/nm-openvpn-service.c
- (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
* vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
- (pptp_ip_up): update for PtP address
* vpn-daemons/pptp/src/nm-pptp-service.c
- (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
* vpn-daemons/vpnc/src/nm-vpnc-service.c
- (print_vpn_config): update for PtP address
- (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1346 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/wso-wpa-psk-hex.[ch]
- Renamed -> wso-wpa-psk.[ch]
* gnome/applet/wso-wpa-psk.[ch]
- New files
* gnome/applet/wso-wpa-psk-passphrase.[ch]
- Removed, rolled into wso-wpa-psk.[ch]
* gnome/applet/Makefile.am
- Updated for above changes
* gnome/applet/wireless-applet.glade
- Consolidate WPA-PSK options into one notebook
widget, and make dialogs invisible by default
to fix screen oddities
* gnome/applet/wireless-security-manager.c
- (wsm_set_capabilities): create the new wpa-psk widget rather
than both the old hex & passphrase ones
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1339 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet.c
- (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
prevention to realize window before trying to get server
time
* gnome/applet/other-network-dialog.c
- (nmwa_other_network_dialog_run): fix up focus-stealing
prevention to realize window before trying to get server
time
* gnome/applet/passphrase-dialog.c
- (nmi_passphrase_dialog_new): fix up focus-stealing
prevention to realize window before trying to get server
time
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1337 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Patch from Timo Hoenig <thoenig@suse.de:
* libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
libnm-util/dbus-helpers.h: add checks whether headers are used
within a C++ build.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1336 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-device.c
src/nm-device.h
- Allow subclasses to implement deactivate_quickly()
- (nm_device_deactivate_quickly): call subclass
deactivate_quickly() methods
- (nm_device_set_active_link): small cleanups, and don't
deactivate the device right away because we risk a deadlock
when called from device thread, waiting for the device
thread to cancel activation
* src/nm-device-802-11-wireless.c
- (real_deactivate_quickly): new function
- (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
- (real_deactivate): move supplicant cleanup to real_deactivate_quickly
so that we kill the supplicant when we sleep too
- (supplicant_interface_init): work around naive naming attempts of
wpa_ctrl when naming sockets
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1326 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-device-802-11-wireless.c
- (supplicant_cleanup): delete old device control sockets too
- (supplicant_get_device_socket_path): new function to consolidate
locations that need a path to a device's control socket
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1325 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/backends/NetworkManagerSuSE.c: Put the ppp device in the
description so that the description is unique for each
pair (device,provider). Fixes Novell #142773.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1324 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
define if_mii(), open code the same results, and do so without any
type punning.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1320 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/wireless-security-manager.c: Fix crash by not asserting
that wso_foo_new() returned non-NULL. Instead, only append the new
wso to wsm->options if the wso is non-NULL. The crux is that we
assume that the relevant key types are implied by WEP and WPA as
appropriate. To be sure, they should be, but we should not expect
drivers to not be oozing piles of wolf fecal matter.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1319 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Add options for WPA2 and WPA1+CCMP (AES).
* gnome/applet/wireless-applet.glade
- Add UI bits for WPA+CCMP
* gnome/applet/other-network-dialog.c
- (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
and don't allow creation of WPA2 Ad-Hoc networks since
wpa_supplicant doesn't support them
* gnome/applet/wireless-security-manager.c
- (wsm_set_capabilities): Add WPA2 options, and pass capability
on to the specific wireless security option being created
* gnome/applet/wireless-security-option.[ch]
- (wso_wpa_create_key_type_model): new utility function to create
the model required for WPA Key Type combo box
* gnome/applet/wso-private.h
gnome/applet/wireless-security-option.h
- Move private function prototypes into wso-private.h
* gnome/applet/wso-wpa-psk-hex.[ch]
gnome/applet/wso-wpa-psk-passphrase.[ch]
- (append_dbus_params_func): get WPA version from checkbox and pass
it to the dbus serialization helper
- (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
key type combo changes
- (wso_wpa_psk_hex_new): set up the key type combo with the correct
model and options
* libnm-util/cipher-wpa-psk-hex.c
libnm-util/cipher-wpa-psk-passphrase.c
- (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
new function; allow the cipher to be changed after object creation
* src/nm-ap-security-wpa-psk.c
- (set_description): Do WPA2 descriptions too
* src/nm-ap-security.c
- (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1317 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
is defined in <linux/mii.h> to return the mii_ioctl_data structure
from the ifreq structure in lieu of an open coded solution. Removes
a life-threatening type-punning.
* configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
types, ever, whatsoever, baby.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1316 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
assignments to applet->nm_state into a new nmwa_set_state() function
for both cleanliness and to help debugging.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1314 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
seconds, exclusive. That is, we want to sleep x seconds such that
1 < x < 2.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1313 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
the attr fields according to the example in the email available at
mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
Conversely, we do have to free 'name', so we do so, fixing a leak.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1311 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
src/nm-device.c: Fix a FIXME! Reimplement the function
nm_device_update_hw_address() in device subclass variants,
nm_device_802_3_ethernet_set_address() and
nm_device_802_11_wireless_set_address(), hook them up, and use them.
This fixes the existing bug where MAC addresses are all zeros.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1309 4912f4e0-d625-0410-9fb7-b9a5a253dbdc