Todd,

I never tried the bridge without WEP.  I could not get the card to initialise 
with WEP in the soekris.  I have successfully initilaised the same card with 
WEP in hostap mode on my laptop, but not as a bridge.

My past attempts to use the card with software WEP in hostap mode have always 
failed!

I can get the wireless bit to work with ibss-master.  I have confirmed by 
assigning an IP address to wi0.
I can see that the bridge works as I can see the packets on both sides with 
tcpdump.  However, the bridge with wireless does not work!

Is hostap essential for bridging?

I'm appending my followup mail listing my experiment, for your reference.


Thanks & Regards,

Anwar.
-------------------------------------------------------------------------------------------------
=================================================================================================

I have some more information now.
I'm sorry, its a bit long winded, but I thought I'll document my experiment.
pf is disabled.
ip forwarding is disabled

I am completely stumped and will really appreciate any input.

Thanks & Regards,

Anwar.

Experiment follows:

--------------------------------------------------------------------------------------------------
 computer1 --------- wi0 - bridge1 - sis2 ---------------------computer2
 (192.168.5.3)       (soekris machine with no ip assigned)    (192.168.5.1)
 

ping 192.168.5.1 from computer1 (192.168.5.3)
On Soekris:
tcpdump -i wi0 
22:44:47.170157 arp who-has 192.168.5.1 tell 192.168.5.3
22:44:47.170528 arp reply 192.168.5.1 is-at 0:6:5b:d7:bf:f7
22:44:48.190277 arp who-has 192.168.5.1 tell 192.168.5.3
22:44:48.190618 arp reply 192.168.5.1 is-at 0:6:5b:d7:bf:f7

tcpdump -i sis2
22:45:34.080259 arp who-has 192.168.5.1 tell 192.168.5.3
22:45:34.080350 arp reply 192.168.5.1 is-at 0:6:5b:d7:bf:f7
22:45:35.100330 arp who-has 192.168.5.1 tell 192.168.5.3
22:45:35.100421 arp reply 192.168.5.1 is-at 0:6:5b:d7:bf:f7

--------------------------------------------------------------------------------------------------
Similarly, 
ping 192.168.5.3 from computer2
On soekris:
tcpdump -i sis2
22:46:55.190161 arp who-has 192.168.5.3 tell 192.168.5.1
22:46:57.190171 arp who-has 192.168.5.3 tell 192.168.5.1

tcpdump -i wi0
22:47:41.210268 arp who-has 192.168.5.3 tell 192.168.5.1
22:47:42.210266 arp who-has 192.168.5.3 tell 192.168.5.1

So it looks like the bridge works.

---------------------------------------------------------------------------------------------------
On soekris initially, no inet4 address assigned:
wi0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        address: 00:02:6f:33:bc:66
        ieee80211: nwid test2 nwkey 0x31415926535897932384603141 -21dBm (auto) 
        media: IEEE802.11 autoselect ibss-master (DS11)
        status: active
        inet6 fe80::202:6fff:fe33:bc66%wi0 prefixlen 64 scopeid 0x8

On Soekris, Now assign an IP address:
/root# ifconfig wi0 192.168.5.2 up
/root# ifconfig wi0                
wi0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        address: 00:02:6f:33:bc:66
        ieee80211: nwid test2 nwkey 0x31415926535897932384603141 -21dBm (auto) 
        media: IEEE802.11 autoselect ibss-master (DS11)
        status: active
        inet6 fe80::202:6fff:fe33:bc66%wi0 prefixlen 64 scopeid 0x8
        inet 192.168.5.2 netmask 0xffffff00 broadcast 192.168.5.255
-------------------------------------------------------------------------------------------
Now:
 computer1 --------- wi0 - bridge1 - sis2 ---------------------computer2
 (192.168.5.3)       (192.168.5.2 on wi0                       (192.168.5.1)
                      no ip address on sis2
                      soekris)
-------------------------------------------------------------------------------------------

ping 192.168.5.2 (soekris wi0) from computer1
On soekris: 
tcpdump -i wi0
22:52:33.710202 arp who-has 192.168.5.2 tell 192.168.5.3
22:52:33.710526 arp reply 192.168.5.2 is-at 0:2:6f:33:bc:66
22:52:33.711016 192.168.5.3 > 192.168.5.2: icmp: echo request
22:52:33.711283 192.168.5.2 > 192.168.5.3: icmp: echo reply
22:52:34.740159 192.168.5.3 > 192.168.5.2: icmp: echo request
22:52:34.740413 192.168.5.2 > 192.168.5.3: icmp: echo reply

It works! (So it looks like the wireless network is also working)
I do receive the ping replies on computer1.
---------------------------------------------------------------------------------------------

Similarly, from computer2
ping 192.168.5.2 (soekris wi0) from computer2
On soekris:
tcpdump -i sis2
22:56:15.620077 arp who-has 192.168.5.2 tell 192.168.5.1
22:56:15.620251 arp reply 192.168.5.2 is-at 0:2:6f:33:bc:66
22:56:15.620982 192.168.5.1 > 192.168.5.2: icmp: echo request (DF)
22:56:15.621159 192.168.5.2 > 192.168.5.1: icmp: echo reply (DF)
22:56:16.620089 192.168.5.1 > 192.168.5.2: icmp: echo request (DF)
22:56:16.620230 192.168.5.2 > 192.168.5.1: icmp: echo reply (DF)

That works as well... So the bridge is working as well.

---------------------------------------------------------------------------------------------
Now the old experiment again:
ping 192.168.5.1 (computer2) from computer1
On soekris:
tcpdump -i wi0
22:58:32.260139 arp who-has 192.168.5.1 tell 192.168.5.3
22:58:32.260508 arp reply 192.168.5.1 is-at 0:6:5b:d7:bf:f7
22:58:33.280221 arp who-has 192.168.5.1 tell 192.168.5.3
22:58:33.280579 arp reply 192.168.5.1 is-at 0:6:5b:d7:bf:f7

No echo request/ reply.  i.e. computer1 has not received the arp reply.

ping 192.168.5.3 (computer1) from computer2
On soekris:
tcpdump -i sis2
23:00:31.980133 arp who-has 192.168.5.3 tell 192.168.5.1
23:00:32.980131 arp who-has 192.168.5.3 tell 192.168.5.1

So the icmp request is not going out from wi0.
----------------------------------------------------------------------------------------------

Any ideas?


















Begin On Thu, 25 Aug 2005 16:04:44 -0600, "Todd C. Miller" <[EMAIL PROTECTED]> 
wrote:

> If it works OK w/o WEP have you tried using software WEP instead?
> E.g. wicontrol -x 1
> 
>  - todd

Reply via email to