1. 13 May, 2014 3 commits
  2. 12 May, 2014 1 commit
  3. 05 May, 2014 2 commits
  4. 02 May, 2014 10 commits
  5. 01 Apr, 2014 3 commits
  6. 31 Mar, 2014 9 commits
  7. 18 Mar, 2014 1 commit
  8. 21 Feb, 2014 2 commits
  9. 17 Feb, 2014 5 commits
  10. 16 Feb, 2014 4 commits
    • Alessandro Rubini's avatar
      userspace: run dhcpc in background forever, not through auto means · 162fb24e
      Alessandro Rubini authored
      Running "ifup eth0" if eth0 is configured for dhcp would make the
      client try a little while and then give up. Thus, if the dhcp server
      is currently down we end up without IP address. This happens after a
      power failure, if the switch reboots faster than the dhcp server.
      
      Also, avoid ifplugd, that won't help in this case (the link is up,
      so no "link up" will happen later.
      
      This new configuration works in all cases:
           - eth0 is configured with a static address in /etc/network/interfaces
           - dhcp-driven, and link goes down and then up
           - dhcp-driven, and server not ready at boot time
           - dhcp-driven and all fine since boot time
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      162fb24e
    • Alessandro Rubini's avatar
      userspace: fix ifplugd.action · bb1c0bad
      Alessandro Rubini authored
      The original ifplugd.action used "exec" improperly. Also,
      we should not force "ifconfig eth0 down" when link down is detected,
      or it will bever come up again.
      
      Fix both items, even if we are not going to use ifplugd any more in
      the next commit.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      bb1c0bad
    • Alessandro Rubini's avatar
      userspace: add empty ifplugd.conf · d0f2a460
      Alessandro Rubini authored
      it really looks like ifplugd is not reading this file, so overwrite
      the default one with an empty file, to avoid our users the effort to
      track its use. The file is not empty, actually, but include this
      message.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      d0f2a460
    • Alessandro Rubini's avatar
      Merge branch 'softpll-unify' · 9e0bb431
      Alessandro Rubini authored
      9e0bb431