1. 13 May, 2021 1 commit
    • Jouke Witteveen's avatar
      More uniform profile loading and filtering · 8773d7f0
      Jouke Witteveen authored
      Hooks and interface scripts are now sourced more systematically.
      Settings of wireless profiles that depend on hooks are now picked up
      correctly by netctl-auto.
      Suggested by: Vitor Sakaguti <vis@tutao.de>
  2. 29 Jul, 2018 1 commit
  3. 23 Jun, 2018 1 commit
    • Jouke Witteveen's avatar
      Improved handling of exposed variables · 8c873b49
      Jouke Witteveen authored
      Hooks can now tell the command to be executed by looking at $Command.
      The value will be "start", "stop", or "" (undefined), depending on the
      reason a profile is being sourced.
  4. 13 Oct, 2017 1 commit
  5. 08 Oct, 2017 1 commit
  6. 14 Mar, 2017 2 commits
  7. 30 Nov, 2016 2 commits
    • Jouke Witteveen's avatar
      Additional granularity in `netctl list` · d1c992b7
      Jouke Witteveen authored
      Distinguish between started profiles and online profiles in the output
      of the list subcommand of netctl.
      To be consistent in symbol usage, the wifi-menu flags have changed too.
    • Jouke Witteveen's avatar
      Distinguish between network{,-online}.target (FS#50476) · e43a8221
      Jouke Witteveen authored
      The netctl@ service now yields before obtaining an IP address. This
      prevents holding up network.target unnecessarily. Waiting for profiles
      to obtain an IP address is possible through
      1) The netctl-wait-online service
      This service waits until all enabled profiles have obtained an address.
      It is ordered before network-online.target so that this target is now
      correctly implemented in netctl.
      2) The wait-online <PROFILE> subcommand to netctl
      This command waits for a started profile to obtain an address.
  8. 28 Sep, 2016 2 commits
  9. 05 Mar, 2014 1 commit
  10. 01 Mar, 2014 1 commit
  11. 27 Feb, 2014 1 commit
  12. 17 May, 2013 1 commit
    • Thomas Bächler's avatar
      Flush the interface configuration in ip_unset instead of bring_interface_down. · 032dfba3
      Thomas Bächler authored and Jouke Witteveen's avatar Jouke Witteveen committed
      When switching networks in auto.action, the addresses are not flushed. This
      is especially problematic with stateless ipv6 autoconfigutation, as invalid
      IPs may stay around until their (potentially very long) lifetime has expired.
      bring_interface_down is always called after ip_unset everywhere else, so
      this change does not affect anything else.
      V2: Make sure not to flush the link local address.
  13. 22 Mar, 2013 1 commit
  14. 03 Jan, 2013 1 commit
    • Jouke Witteveen's avatar
      Indentation fixes · 6539dfe0
      Jouke Witteveen authored
      This settles a style for 'case' statements:
      The label and closing colons are indented with two spaces,
      The body is indented with two more, totalling four spaces.
  15. 28 Dec, 2012 2 commits
  16. 12 Oct, 2012 1 commit
    • Jouke Witteveen's avatar
      Fix bond connections (FS#31770) · f60ec154
      Jouke Witteveen authored
      This commit removes an undocumented feature where IFACE_{UP,DOWN} would
      be evaluated when the interface is brought up or down.
      This functionality did not work as expected since the interface could
      potentially be brought up/down more than once in one netcfg invocation.
      This is apparent in the changes to the bonding code.
  17. 08 Jul, 2012 1 commit
  18. 03 Jul, 2012 1 commit
  19. 30 Jun, 2012 1 commit
    • Jouke Witteveen's avatar
      Don't be cryptic · 294a6513
      Jouke Witteveen authored
      The new way (cat) is common for netcfg and more readable.
      The old way (echo $(< )) is faster, but that is completely subordinate to readability, here.
  20. 24 Jun, 2012 1 commit
    • Jouke Witteveen's avatar
      Minor changes · 2d949d5a
      Jouke Witteveen authored
      $STATE_DIR/last_profile was unused and functionality one could want from it will soon be provided by netcfg-daemon.
  21. 21 Jun, 2012 2 commits
    • Jouke Witteveen's avatar
      Introduce polling timeout logic · 5ac724b8
      Jouke Witteveen authored
      This should fix FS#30361 along the way.
    • Jouke Witteveen's avatar
      Minor improvements · 4e034777
      Jouke Witteveen authored
      After this change, a profile started by a previous version of netcfg can potentially not be brought down anymore. This only concerns the updating process. Running `netcfg clean` should make everything OK again (potentially leaving your network down, but you can now bring up profiles again).
  22. 14 Jun, 2012 1 commit
  23. 12 Jun, 2012 1 commit
    • Jouke Witteveen's avatar
      Don't wait unnecessarily on bring_interface up · 4255f154
      Jouke Witteveen authored
      Good drivers indicate when they're up by the IFF_UP flag.
      This is the end of the (undocumented) UP_SLEEP variable and introduction of the UP_TIMEOUT (in seconds, default: 5) variable.
      This has 'noticeable speed improvement'-potential.
  24. 29 Apr, 2012 1 commit
    • Jouke Witteveen's avatar
      Fix handling of profilenames with spaces (FS#28522) · 154cbc6c
      Jouke Witteveen authored
      This was the result of commit b6964 which said to fix FS#17406 by reverting to the subshell-less for-loop that is once again removed in this commit.
      The real fix to FS#17406 was commit c3276 to the initscripts repository.
  25. 11 Apr, 2012 2 commits
  26. 09 Apr, 2012 1 commit
  27. 27 Feb, 2012 1 commit
  28. 08 Aug, 2011 1 commit
  29. 06 Aug, 2011 1 commit
  30. 14 Jul, 2011 1 commit
  31. 21 Nov, 2010 1 commit
  32. 30 Jan, 2010 1 commit
  33. 31 Dec, 2009 1 commit
  34. 03 Dec, 2009 1 commit
    • Jim Pryor's avatar
      network: is_interface ignoring $1 · 58684174
      Jim Pryor authored
      Was the intent for is_interface to be passed the INTERFACE as a
      parameter (that's how it's called in most or all places)? Or to read
      INTERFACE from the current environment? That's how it's implemented.
      Also made INTERFACE in bring_interface a local variable. I don't think
      this should break anything, but I'm only 95% confident.