I have built a firmware from r18587 in SVN for my wl500gp and it boots
fine, but I don't get any other interfaces plumbed except eth0.0 and
eth0.1.  The br-lan and wan interfaces are not getting plumbed for some
reason.

I have debugged to the point that I see an /etc/hotplug.d/net/10-net
event for interfaces lo, eth0 and eth1 being done in response
to /etc/rc.d/S10boot starting hotplug2 with:

        /sbin/hotplug2 --override --persistent  --max-children 1 --no-coldplug 
>/dev/null 2>&1 &

        # the coldplugging of network interfaces needs to happen later, so we 
do it manually here
        for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do
                /usr/bin/env -i ACTION=add INTERFACE="$iface" 
/sbin/hotplug-call net
        done

When eth0 is getting configured in hotplug.d/net/10-net, there is an
"add_vlan eth0.0" call made as well as eth0.1.

But by the time the boot is completely done and the router settled the
only interfaces that are up are eth0, eth0.0 and eth0.1.  No
br-lan.  :-(  eth0.1 (the Internet interface) doesn't even have udhcp
running on it so I don't think it's really been "ifup"ed yet even.

So what I am at a loss to understand exactly, is supposed to trigger the
plumbing of the br-lan bridge and start the WAN services (i.e. the
udhcp, etc.) on eth0.1.  It's clear that the "ifup -a"
in /etc/rc.d/S40network is only supposed to happen in the "start" case,
not the "boot" case.  So what does trigger br-lan and wan getting
configured?

Cheers and TIA for any light you can shed on this.

b.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to