1. 05 Aug, 2017 1 commit
    • Beniamino Galvani's avatar
      device: add NMDevicePPP · df72cad1
      Beniamino Galvani authored
      The new device type represents a PPP interface, and will implement the
      activation of new-style PPPoE connections, i.e. the ones that don't
      claim the parent device.
      df72cad1
  2. 30 Jun, 2017 1 commit
  3. 17 Mar, 2017 1 commit
  4. 22 Feb, 2017 1 commit
    • Beniamino Galvani's avatar
      core: add support for dummy devices · b42f780e
      Beniamino Galvani authored
      Add support for creating dummy devices. This commit adds a D-Bus
      interface 'org.freedesktop.NetworkManager.Device.Dummy' which is used
      primarily for determining the device type but does not carry any
      properties.
      b42f780e
  5. 23 Nov, 2016 1 commit
  6. 02 Sep, 2016 1 commit
  7. 05 Apr, 2016 2 commits
  8. 26 Mar, 2016 1 commit
  9. 24 May, 2013 1 commit
  10. 18 May, 2012 1 commit
    • Pantelis Koukousoulas's avatar
      adsl: settings and initial "scaffolding" · 0e6f5ce3
      Pantelis Koukousoulas authored
      This patch adds the settings code (NMSettingAdsl) and the initial
      "scaffolding" i.e., a tiny stub version of NMDeviceAdsl and the
      udev handler code to get the device detected.
      
      With this patch you should be able to see an atm device being detected
      by networkmanager in the logs, although of course it doesn't
      do anything useful yet.
      
      Extract from the logs:
      
       [1304668252.341354] [nm-udev-manager.c:562] adsl_add(): adsl_add: ATM Device detected from udev. Adding ..
      (ueagle-atm0): failed to look up interface index
      (ueagle-atm0): new ADSL device (driver: 'ueagle-atm' ifindex: -1)
      (ueagle-atm0): exported as /org/freedesktop/NetworkManager/Devices/2
      (ueagle-atm0): now managed
      (ueagle-atm0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
      (ueagle-atm0): deactivating device (reason: 2).
       [1304668252.345102] [nm-system.c:1349] flush_routes(): (ueagle-atm0) failed to lookup interface index
       [1304668252.347821] [nm-device.c:3912] nm_device_state_changed(): (ueagle-atm0): device is available,
      
      In this version, we hack the nm-device.c:nm_device_get_priority() to get better priority
      instead of changing the DeviceType enum.
      Signed-off-by: default avatarPantelis Koukousoulas <pktoss@gmail.com>
      0e6f5ce3
  11. 16 Feb, 2012 1 commit
  12. 02 Dec, 2011 1 commit
  13. 22 Jun, 2010 1 commit
    • Jiří Klimeš's avatar
      core: MAC address spoofing/cloning (rh #447827) (bgo #553771) · 1b49f941
      Jiří Klimeš authored
      This commit implements MAC cloning feature in NetworkManager. To support that,
      'PermHwAddress' property is added into *.Device.Wired and *.Device.Wireless
      interfaces. The permanent MAC address is obtained when creating the device, and
      is used for 'locking' connections to the device. If a cloned MAC is specified
      in connection to be activated, the MAC is set to the interface in stage1. While
      disconecting, the permanent MAC is set back to the interface.
      1b49f941
  14. 05 Oct, 2009 1 commit
  15. 10 Jun, 2008 1 commit
  16. 12 Mar, 2008 1 commit
    • Dan Williams's avatar
      2008-03-12 Dan Williams <dcbw@redhat.com> · f30cf17b
      Dan Williams authored
      	Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
      	convert the libnm-glib NMDevice8023Ethernet to cached properties
      
      	* introspection/nm-device-802-3-ethernet.xml
      		- New 'Carrier' property
      		- New 'PropertiesChanged' signal
      
      	* introspection/nm-device.xml
      		- Remove 'Carrier' property
      		- Remove 'CarrierChanged' signal
      
      	* src/nm-device-interface.c
      	  src/nm-device-interface.h
      		- (nm_device_interface_init): remove 'carrier' property and
      			'carrier-changed' signal
      
      	* src/nm-device.c
      	  src/nm-device.h
      		- (nm_device_get_carrier, nm_device_set_carrier): remove
      		- (nm_device_activate_stage5_ip_config_commit): don't bother updating
      			the link here; wired device will handle that
      		- (handle_dhcp_lease_change): don't bother updating link here
      		- (get_property, nm_device_class_init): remove carrier property
      
      	* src/nm-device-802-11-wireless.c
      		- (real_update_link, nm_device_802_11_wireless_class_init): remove
      			real_update_link(); wireless devices don't use carrier at all
      		- (link_timeout_cb, supplicant_iface_state_cb_handler,
      		   supplicant_iface_connection_state_cb_handler,
      		   supplicant_mgr_state_cb_handler): remove anything to do with carrier
      
      	* src/nm-device-802-3-ethernet.c
      	  src/nm-device-802-3-ethernet.h
      		- (nm_device_802_3_ethernet_carrier_on,
      		   nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
      			instead of nm_device_set_carrier()
      		- (device_state_changed): update link from sysfs on activation;
      			replaces real_update_link()
      		- (real_update_link): remove, replaced by device_state_changed()
      		- (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
      		- (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
      		- (real_get_generic_capabilities, real_can_interrupt_activation): use
      			new get_carrier function
      		- (get_property): add 'carrier' property
      		- (nm_device_802_3_ethernet_class_init): add 'carrier' property and
      			hook into property-changed signal helper
      
      	* src/NetworkManagerPolicy.c
      		- (device_carrier_changed): will only ever be called with a wired device
      		- (device_added): only hook up to carrier-changed for wired devices
      
      	* libnm-glib/nm-device.c
      	  libnm-glib/nm-device.h
      		- (constructor, nm_device_class_init): remove carrier-changed signal
      		- (device_carrier_changed_proxy): remove; unused
      		- (nm_device_get_carrier): remove; carrier a property of wired devices
      
      	* libnm-glib/nm-device-802-3-ethernet.c
      	  libnm-glib/nm-device-802-3-ethernet.h
      		- Convert to cached properties like AP and Wireless objects
      		- (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
      			instead of a 'char *', return value should not be freed
      		- (nm_device_802_3_ethernet_get_carrier): return current carrier status
      		- (constructor): hook into properties-changed helper
      		- (set_property, get_property): new functions
      		- (nm_device_802_3_ethernet_class_init): export GObject properties
      
      	* test/nm-tool.c
      		- (detail_device): strdup the wired hardware address too since it's
      			cached now
      
      	* libnm-glib/libnm-glib-test.c
      		- (dump_wired): strdup the wired hardware address too since it's
      			cached now
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3428 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      f30cf17b
  17. 28 Feb, 2008 1 commit
  18. 27 Oct, 2007 1 commit
    • Dan Williams's avatar
      2007-10-26 Dan Williams <dcbw@redhat.com> · 792b14de
      Dan Williams authored
      	Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
      
      	* src/NetworkManagerAP.c
      	  src/NetworkManagerAP.h
      	  libnm-glib/nm-access-point.c
      	  libnm-glib/nm-access-point.h
      		- Make 'rate' property a guint32 to better match with WEXT and
      			wpa_supplicant and to allow representation of higher bitrates
      
      	* src/nm-device-802-11-wireless.c
      	  introspection/nm-device-802-11-wireless.xml
      	  libnm-glib/nm-device-802-11-wireless.c
      	  libnm-glib/nm-device-802-11-wireless.h
      		- Make 'bitrate' property a guint32 to match AP 'rate' property type
      
      	* src/nm-device-802-3-ethernet.c
      	  src/nm-device-802-3-ethernet.h
      	  introspection/nm-device-802-3-ethernet.xml
      	  libnm-glib/nm-device-802-3-ethernet.c
      	  libnm-glib/nm-device-802-3-ethernet.h
      		- Make 'speed' property a guint32 to match other speed/rate types
      		- Make nm_device_802_3_ethernet_get_speed() static
      
      	* test/nm-tool.c
      		- Update for the changes above
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3030 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      792b14de
  19. 07 May, 2007 1 commit
    • Tambet Ingo's avatar
      2007-05-07 Tambet Ingo <tambet@ximian.com> · ff0fd77b
      Tambet Ingo authored
      	* libnm-glib/Makefile.am: Link with libnm-util to gain access to
      	NMConnection.
      
      	* libnm-glib/nm-device-802-11-wireless.c:
      	(nm_device_802_3_ethernet_activate): Remove.
      
      	* libnm-glib/nm-device-802-3-ethernet.c
      	(nm_device_802_3_ethernet_activate): Remove.
      
      	* libnm-glib/nm-device.c (nm_device_activate): Implement.
      
      	* src/nm-device-802-3-ethernet.c: Implement the new activation using
      	NMConnection.
      
      	* src/nm-device-802-11-wireless.c: Store an activation AP once the
      	activation has started.
      	Implement the new activation using NMConnection.
      
      	* src/nm-activation-request.c: Store a generic connection object instead
      	of a wireless-specific AP.
      
      	* src/NetworkManagerPolicy.c (create_connection): Implement. Depending
      	on device type, create a device specific connection object suitable for
      	device activation.
      
      	* src/nm-device.c (nm_device_activate): Re-implement. Call the device
      	specific check to validate the connection and on success start the
      	activation.
      
      	* src/nm-device-interface.h: Add a activate virtual function to the
      	interface definition.
      
      	* src/nm-device-interface.c (nm_device_interface_activate): Implement.
      	(impl_device_activate): Implement.
      
      	* introspection/nm-device.xml: Add a generic device activation interface
      	that accepts an abstract NMConnection structure that has device-specific
      	information in it.
      
      	* introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
      	activation interface.
      
      	* introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
      	activation interface.
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2569 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      ff0fd77b
  20. 16 Feb, 2007 1 commit
    • Tambet Ingo's avatar
      2007-02-16 Tambet Ingo <tambet@ximian.com> · c4005138
      Tambet Ingo authored
      	* introspection/nm-ip4-config.xml: Implement.
      
      	* libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
      
      	* libnm-glib/nm-ip4-config.c:
      	* libnm-glib/nm-ip4-config.c: Implement.
      
      	* src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
      	securities. APs reference security.
      
      	* src/nm-device-802-11-wireless.c: Implement missing properties that need to
      	be exported over DBUS.
      
      	* src/nm-device-802-3-ethernet.c: Ditto.
      
      	* src/NetworkManagerAP.c:
      	* src/NetworkManagerAP.h:
      		- Convert to GObject, export over DBUS.
      
      	* src/nm-ip4-config.h:
      	* src/nm-ip4-config.h:
      		- Convert to GObject, export over DBUS.
      
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2322 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      c4005138
  21. 12 Feb, 2007 2 commits
    • Tambet Ingo's avatar
      2007-02-12 Tambet Ingo <tambet@ximian.com> · 7eeefaea
      Tambet Ingo authored
      	* libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
      
      	* libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
      
      	* introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
      	'HwAddress'.
      
      	* introspection/nm-device.xml: Remove 'UseDhcp' property.
      
      	* introspection/nm-access-point.xml: Remove 'Broadcast' property.
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2310 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      7eeefaea
    • Tambet Ingo's avatar
      2007-02-12 Tambet Ingo <tambet@ximian.com> · 8a4c57f6
      Tambet Ingo authored
      	Totally break NetworkManager. Please use 0.6 branch until futher notice.
      
      	* src/:
      		- Remove old low-level dbus interface implementations and replace them
      		  with dbus-glib one.
      
      	* configure.in:
      		- Require dbus-glib >= 0.72.
      		- Plug in new sources to build.
      
      	* libnm-glib/:
      		- Implement GObject wrappers on top of DBUS glib auto-generated bindings
      		  to make it more convenient to use from GObject based programs.
      
      	* introspection/:
      		- Implement DBUS XML introspection files, used by both NM and libnm-glib.
      
      
      
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2309 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
      8a4c57f6