2013/2/7 Felix Fietkau <[email protected]>: > On 2013-02-07 1:50 PM, Rafał Miłecki wrote: >> The problem is that in failsafe my ethernet driver works fine (I can >> ping router and the other way), but in normal mode (with virtual >> interfaces) it stops working. My intention is to create all virtual >> interfaces manually, to see where exactly my eth driver fails. >> >> I've seen >> http://wiki.openwrt.org/doc/networking/start >> http://wiki.openwrt.org/doc/networking/network.interfaces >> http://wiki.openwrt.org/doc/uci/network >> but they don't explain what scripts/tools start the network. >> >> Can you point me to them? How can I manually perform the same >> operations manually, one by one? > Network isn't being set up by scripts anymore. The 'netifd' package > manages the state of all network interfaces.
Hm, so it reads /etc/config/network directly? OK, I've cleaned that file, rebooted, and indeed! None virtual interface was created! > What's interesting about the output that you posted is that the tx > packet counter stays at 0, so there aren't that many possibilities about > what's going on. My guess is one of the following: > > - link state is down > - tx packets are being dropped silently in the driver > - the MAC is locked up and tx packets are being held in the queue > (though shouldn't that produce netdev tx timeout warnings?) > > The important difference between failsafe and normal mode is probably > the bridge, as it enables promisc mode. I've tried "ifconfig eth0 promisc" and it didn't stop my interface. So there must be different problem, maybe related to the virtual interfaces or bridge... I'll try to reproduce netifd's configuration by doing the same manually (ifconfig and friends). Maybe that way I'll spot the moment when interface dies. I'll Google for it soon, but if someone has a nice howto on creating virtual interfaces and bridge, I'll glad to get the link ;) The weird thing is that even after pinging my router about ~100 time, I still get > RX packets:0 errors:0 dropped:1 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 Whoops, there must be a bug in bgmac! -- Rafał _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
