1. 24 Apr, 2013 2 commits
  2. 18 Apr, 2013 1 commit
  3. 08 Apr, 2013 8 commits
  4. 26 Mar, 2013 1 commit
  5. 26 Feb, 2013 1 commit
  6. 18 Feb, 2013 1 commit
  7. 12 Feb, 2013 1 commit
  8. 05 Feb, 2013 1 commit
  9. 30 Nov, 2012 1 commit
  10. 20 Nov, 2012 1 commit
  11. 13 Nov, 2012 2 commits
  12. 01 Nov, 2012 1 commit
  13. 22 Oct, 2012 2 commits
  14. 17 Oct, 2012 1 commit
    • Jan Lübbe's avatar
      wifi: support ap-mode with wpa_supplicant · f9c72dee
      Jan Lübbe authored
      A new value for NM80211Mode is introduced (NM_802_11_MODE_AP) and the
      new mode is passed to wpa_supplicant analogous to adhoc-mode.
      The places which need to know the interface mode have been extended to
      handle the new mode.
      
      If the configuration does not contain a fixed frequency, a channel is
      selected the same way as with adhoc-mode before.
      f9c72dee
  15. 29 Aug, 2012 1 commit
  16. 08 Jun, 2012 1 commit
  17. 23 May, 2012 1 commit
  18. 18 May, 2012 1 commit
    • Pantelis Koukousoulas's avatar
      adsl: add libnm-glib and nmcli code · 8039dd30
      Pantelis Koukousoulas authored
      
      
      For the finale, this is the libnm-glib and nmcli part of the support,
      with this you can now make a full pppoatm connection from NetworkManager
      by configuring it in system scope in a keyfile.
      
      As an example, here is mine:
      (password and username snipped for obvious reasons)
      
      [connection]
      id=MYISP
      uuid=34d04e69-fdd9-4231-af2c-25ed1f34dc1e
      type=adsl
      timestamp=1304621332
      
      [adsl]
      username=user@myisp.com
      password=mypassword
      vpi=8
      vci=35
      encapsulation=vcmux
      protocol=pppoa
      
      [ipv6]
      method=ignore
      
      [ipv4]
      method=auto
      
      Extract from logs:
      NetworkManager[29155]: <info> Activation (ueagle-atm0) starting connection 'MYISP'
      NetworkManager[29155]: <info> (ueagle-atm0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 1 of 5 (Device Prepare) scheduled...
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 1 of 5 (Device Prepare) started...
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 2 of 5 (Device Configure) scheduled...
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 1 of 5 (Device Prepare) complete.
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 2 of 5 (Device Configure) starting...
      NetworkManager[29155]: <info> (ueagle-atm0): device state change: prepare -> config (reason 'none') [40 50 0]
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 2 of 5 (Device Configure) successful.
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 3 of 5 (IP Configure Start) scheduled.
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 2 of 5 (Device Configure) complete.
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 3 of 5 (IP Configure Start) started...
      NetworkManager[29155]: <info> (ueagle-atm0): device state change: config -> ip-config (reason 'none') [50 70 0]
      NetworkManager[29155]: <info> starting PPP connection
      NetworkManager[29155]: <debug> [1304671146.590156] [nm-ppp-manager.c:1047] nm_ppp_manager_start(): command line: /usr/sbin/pppd nodetach lock nodefaultroute user user@myisp.com plugin pppoatm.so 8.35 noipdefault noauth usepeerdns lcp-echo-failure 0 lcp-echo-interval 0 ipparam /org/freedesktop/NetworkManager/PPP/0 plugin /opt/nmadsl/lib/pppd/2.4.5/nm-pppd-plugin.so
      NetworkManager[29155]: <info> pppd started with pid 29175
      NetworkManager[29155]: <debug> [1304671146.591235] [NetworkManagerUtils.c:816] nm_utils_get_proc_sys_net_value(): (ueagle-atm0): error reading /proc/sys/net/ipv6/conf/ueagle-atm0/accept_ra: (4) Failed to open file '/proc/sys/net/ipv6/conf/ueagle-atm0/accept_ra': No such file or directory
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 3 of 5 (IP Configure Start) complete.
      Plugin pppoatm.so loaded.
      Plugin /opt/nmadsl/lib/pppd/2.4.5/nm-pppd-plugin.so loaded.
      ** Message: nm-ppp-plugin: (plugin_init): initializing
      ** Message: nm-ppp-plugin: (nm_phasechange): status 3 / phase 'serial connection'
      NetworkManager[29155]: <debug> [1304671146.612937] [nm-udev-manager.c:621] handle_uevent(): UDEV event: action 'add' subsys 'net' device 'ppp0'
      NetworkManager[29155]: <debug> [1304671146.613134] [nm-udev-manager.c:525] net_add(): ignoring interface with type 512
      NetworkManager[29155]: <debug> [1304671146.617308] [nm-netlink-monitor.c:117] link_msg_handler(): netlink link message: iface idx 35 flags 0x1090
      Using interface ppp0
      Connect: ppp0 <--> 8.35
      ** Message: nm-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
      ** Message: nm-ppp-plugin: (nm_phasechange): status 6 / phase 'authenticate'
      ** Message: nm-ppp-plugin: (get_credentials): passwd-hook, requesting credentials...
      NetworkManager[29155]: <debug> [1304671149.639511] [nm-agent-manager.c:1044] nm_agent_manager_get_secrets(): Secrets requested for connection /org/freedesktop/NetworkManager/Settings/0 (adsl)
      NetworkManager[29155]: <debug> [1304671149.639684] [nm-settings-connection.c:717] nm_settings_connection_get_secrets(): (34d04e69-fdd9-4231-af2c-25ed1f34dc1e/adsl:1) secrets requested flags 0x1 hint 'password'
      NetworkManager[29155]: <debug> [1304671149.640950] [nm-agent-manager.c:959] get_start(): (0x9b4ad10/adsl) system settings secrets sufficient
      NetworkManager[29155]: <debug> [1304671149.641332] [nm-settings-connection.c:573] agent_secrets_done_cb(): (34d04e69-fdd9-4231-af2c-25ed1f34dc1e/adsl:1) existing secrets returned
      NetworkManager[29155]: <debug> [1304671149.641541] [nm-settings-connection.c:579] agent_secrets_done_cb(): (34d04e69-fdd9-4231-af2c-25ed1f34dc1e/adsl:1) secrets request completed
      NetworkManager[29155]: <debug> [1304671149.643074] [nm-settings-connection.c:618] agent_secrets_done_cb(): (34d04e69-fdd9-4231-af2c-25ed1f34dc1e/adsl:1) new agent secrets processed
      ** Message: nm-ppp-plugin: (get_credentials): got credentials from NetworkManager
      PAP authentication succeeded
      ** Message: nm-ppp-plugin: (nm_phasechange): status 8 / phase 'network'
      local  IP address 94.70.90.201
      remote IP address 80.106.108.12
      primary   DNS address 195.170.0.1
      secondary DNS address 195.170.2.2
      ** Message: nm-ppp-plugin: (nm_phasechange): status 9 / phase 'running'
      ** Message: nm-ppp-plugin: (nm_ip_up): ip-up event
      ** Message: nm-ppp-plugin: (nm_ip_up): sending Ip4Config to NetworkManager...
      NetworkManager[29155]: <debug> [1304671150.607440] [nm-netlink-monitor.c:117] link_msg_handler(): netlink link message: iface idx 35 flags 0x110D1
      NetworkManager[29155]: <info> PPP manager(IP Config Get) reply received.
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 4 of 5 (IP4 Configure Get) scheduled...
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 4 of 5 (IP4 Configure Get) started...
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 5 of 5 (IP Configure Commit) scheduled...
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 4 of 5 (IP4 Configure Get) complete.
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 5 of 5 (IP Configure Commit) started...
      NetworkManager[29155]: <debug> [1304671150.608918] [nm-system.c:222] sync_addresses(): (ppp0): syncing addresses (family 2)
      NetworkManager[29155]: <info> (ueagle-atm0): device state change: ip-config -> activated (reason 'none') [70 100 0]
      NetworkManager[29155]: <info> Policy set 'MYISP' (ppp0) as default for IPv4 routing and DNS.
      NetworkManager[29155]: <info> Activation (ueagle-atm0) successful, device activated.
      NetworkManager[29155]: <info> Activation (ueagle-atm0) Stage 5 of 5 (IP Configure Commit) complete.
      Signed-off-by: default avatarPantelis Koukousoulas <pktoss@gmail.com>
      8039dd30
  19. 09 May, 2012 2 commits
    • Jiří Klimeš's avatar
      cli: show progress in --pretty mode for 'nmcli con up' · 191da673
      Jiří Klimeš authored
      We need to use a workaround for VPN connection state. There is a bug somewhere
      causing that vpn-state-changed signal is not issued on active VPN connection.
      Debugging showed that D-Bus PropertiesChanged and VpnStateChanged signals are
      not processed properly. That's why libnm-glib's VPN connection object is not
      updated. The issue may lie in libnm-glib or even in dbus-glib.
      I wasn't able to get VpnStateChanged signal via dbus-glib
      (dbus_g_proxy_add_signal() and dbus_g_proxy_connect_signal()), however received
      the signal successfully using GDBus.
      
      Until the issue is analyzed and fixed, we need to ask for VPN state of active
      VPN connection every second in order to show progress and exit correctly.
      191da673
    • Jiří Klimeš's avatar
  20. 28 Apr, 2012 2 commits
    • Jiří Klimeš's avatar
      cli: trivial, fix up spacing · c878ad82
      Jiří Klimeš authored
      c878ad82
    • Jiří Klimeš's avatar
      cli: add 'connect to SSID' feature: nmcli dev wifi connect <SSID> ... · 38a988cb
      Jiří Klimeš authored
      This is similar to clicking a Wi-Fi network's SSID in a GUI applet.
      The command does this:
      - creates new connection (fills the user data specified via options, the
        connection is then completed with default parameters by NM)
      - and then activates the connection on a Wi-Fi device.
      
      WPA-Enterprise is not supported as it requires a plethora of parameters and
      they can't be obtained automatically.
      Also, the created connection uses 'auto' IP method, which means that if the
      Wi-Fi network doesn't support DHCP, the connection will albeit be created,
      however the activation will fail (IP configuration won't be available).
      38a988cb
  21. 07 Mar, 2012 1 commit
  22. 06 Mar, 2012 3 commits
  23. 02 Mar, 2012 1 commit
  24. 09 Feb, 2012 1 commit
  25. 06 Jan, 2012 1 commit
  26. 05 Jan, 2012 1 commit