• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None

      I configured a bridge interface br0 like this:
      --------------------------------
      template="bridge dhcpcd"
      slaves="netif.eth0 netif.tap0"
      stp="on"
      forwarding=1
      --------------------------------

      And make netif.br0 and dhcpcd automatically started at boot time.
      But dhcpcd always failed to assign a IP address to br0 and I have to restart
      dhcdcd manually after every boot like this:
      ---------------------------------
      sudo /etc/init.d/dhcpcd restart
      ---------------------------------

      Now I changed my script file /etc/init.d/dhcpcd to start dhcpcd after netif.br0
      ---------------------------------
      #!/sbin/runscript

      1. Copyright 2007-2008 Roy Marples <roy@marples.name>
      2. All rights reserved. Released under the 2-clause BSD license.

      command=/sbin/dhcpcd
      pidfile=/var/run/dhcpcd.pid
      command_args="-q -t 120"
      name="DHCP Client Daemon"

      depend()
      {
      need localmount
      use logger

      1. I have to add netif.br0 at this place.
        after bootmisc modules netif.br0
        before dns
        }
        ---------------------------------

      So I think funtoo should add a modification to netif.tmpl to make them
      start before dhcpcd,don't they?

      With Best Regards,
      jingtao.

            Unassigned Unassigned
            jingtaozf jingtao xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: