WPA && bridge_packets dont work
Wilfried Klaebe
wk-hostap
Wed Sep 8 07:04:58 PDT 2004
Am Tue, Sep 07, 2004 at 11:15:36PM -0700 schrieb Jouni Malinen:
> On Tue, Sep 07, 2004 at 05:09:02PM +0200, Wilfried Klaebe wrote:
>
> > When I give the AP's eth0 it's IP, and wlan0 some private IP (10.40.0.1
> > in this case), there's no problem. My laptop can ping the AP from 10.40.0.2,
> > can ssh to it, can connect through it (via NAT) anywhere it wants, anything.
> >
> > But when I set up bridging - br0 with slaves eth0 and wlan0, eth0 and wlan0
> > both up, br0 with the IP that eth0 had before, just as described several
> > times before, my laptop I cannot ping it anymore.
>
> Have you tested this without RSN just using plaintext?
For this I used another machine with a comparable setup, since I am at
the moment not at the first machine. It too has a Prism2.5 PCI Card
with the mentioned firmware.
I just tested with ieee8021x=0 and wpa=0 instead of ieee8021x=1 and wpa=2:
Same thing. ARP requests incoming on wlan0, but not showing up on br0.
I also tried it the other way round: If I try to ping the laptop on the
WLAN, I can see the ARP requests going out on br0 and then eth0, but not
wlan0.
It seems not to be a problem of encryption, then, but somewhere else.
> Can you please send 'brctl show', 'brctl showstp br0', and 'ifconfig'
> output from the case where ping does not work?
This is without encryption.
brctl show:
bridge name bridge id STP enabled interfaces
br0 8000.0010dcca8d5d no eth0
wlan0
brctl showstp br0:
br0
STP is disabled for this interface
ifconfig (removed uninteresting devices (sit*, ippp*, lo)):
br0 Link encap:Ethernet HWaddr 00:10:DC:CA:8D:5D
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:875217 errors:0 dropped:0 overruns:0 frame:0
TX packets:1086722 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:94092273 (89.7 MiB) TX bytes:547047397 (521.7 MiB)
eth0 Link encap:Ethernet HWaddr 00:10:DC:CA:8D:5D
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:457605 errors:0 dropped:0 overruns:0 frame:0
TX packets:496211 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:1000
RX bytes:65529152 (62.4 MiB) TX bytes:366076552 (349.1 MiB)
Interrupt:11 Base address:0x9000
wifi0 Link encap:UNSPEC HWaddr 00-40-05-AF-4B-C9-00-00-00-00-00-00-00-00-00-00
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:132 errors:0 dropped:0 overruns:0 frame:0
TX packets:139 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10531 (10.2 KiB) TX bytes:11958 (11.6 KiB)
Interrupt:12 Memory:d09e2000-d09e3000
wlan0 Link encap:Ethernet HWaddr 00:40:05:AF:4B:C9
inet6 addr: fe80::240:5ff:feaf:4bc9/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:115 errors:0 dropped:0 overruns:0 frame:0
TX packets:118 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4830 (4.7 KiB) TX bytes:7212 (7.0 KiB)
Interrupt:12 Memory:d09e2000-d09e3000
wlan0ap Link encap:UNSPEC HWaddr 00-40-05-AF-4B-C9-30-30-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:2290 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:2778 (2.7 KiB)
Interrupt:12 Memory:d09e2000-d09e3000
Regards, Wilfried
--
Irgendwas ist ja immer...
More information about the Hostap
mailing list