When I just boot OpenWRT (or enter failsafe mode) I get such a minimalistic interface configuration:
> # ifconfig -a > eth0 Link encap:Ethernet HWaddr C8:3A:35:40:C1:88 > inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > Interrupt:4 > > lo Link encap:Local Loopback > LOOPBACK MTU:65536 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) However when I boot OpenWRT normally I get all the virtual interfaces (bridges, VLANs, etc.): [ 14.088000] device eth0.0 entered promiscuous mode [ 14.092000] device eth0 entered promiscuous mode [ 14.100000] br-lan: port 1(eth0.0) entered forwarding state [ 14.104000] br-lan: port 1(eth0.0) entered forwarding state [ 16.108000] br-lan: port 1(eth0.0) entered forwarding state > # ifconfig -a > br-lan Link encap:Ethernet HWaddr C8:3A:35:40:C1:88 > inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:402 (402.0 B) > > eth0 Link encap:Ethernet HWaddr C8:3A:35:40:C1:88 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > Interrupt:4 > > eth0.0 Link encap:Ethernet HWaddr C8:3A:35:40:C1:88 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:402 (402.0 B) > > eth0.1 Link encap:Ethernet HWaddr C8:3A:35:40:C1:88 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:1965 (1.9 KiB) > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:65536 Metric:1 > RX packets:48 errors:0 dropped:0 overruns:0 frame:0 > TX packets:48 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:3264 (3.1 KiB) TX bytes:3264 (3.1 KiB) 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? -- Rafał _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
