-------- Original-Nachricht --------
Datum: Wed, 20 Jan 2010 10:15:59 +0800 Von: Marek Lindner lindner_marek@yahoo.de
Before we dive into debugging the code I'd suggest you send us your complete interface configuration. Maybe the problem is much more simple than it seems. Complete configuration means: brctl show, ifconfig, cat /proc/net/batman- adv/interfaces (or batctl if) and ping output.
Here we go: --- ##x> brctl show bridge name bridge id STP enabled interfaces ##> cat interfaces [ active] eth1 00:11:f6:83:af:ab ##> ifconfig bat0 Link encap:Ethernet HWaddr 32:21:CA:8E:37:DC inet addr:10.0.1.39 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1476 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
eth1 Link encap:Ethernet HWaddr 00:11:F6:83:AF:AB UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:179 errors:0 dropped:0 overruns:0 frame:0 TX packets:268 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6086 (5.9 KiB) TX bytes:10450 (10.2 KiB)
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 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)
##> route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 * 255.0.0.0 U 0 0 0 bat0 ##> ping 10.0.1.40 PING 10.0.1.40 (10.0.1.40): 56 data bytes
--- 10.0.1.40 ping statistics --- 10 packets transmitted, 0 packets received, 100% packet loss ---
I also checked the return value for dev_queue_xmit in send.c and it was 0.
-Juha
-Juha