The IP-less, OpenBSD copper to radio bridge I put together lets my only
wireless client, a PowerBook G4, get an IP issued to it from a bridged
wired network but friends wireless Windows clients cannot. There is no
activity on the bridge ports of a request for an IP when these Windows
boxes try to connect. I have tried the bridge on other networks with the
same results. Note there is no problem getting an IP when these Window
laptops connect via wire. I would appreciate any help on this subject.  

 
The following is my test configuration (no WEP or PF)          
           
               dhcpd                         / ~ ~ ~ ~
  --[router]------------[switch]-----[Bridge]~ ~ ~ ~ ~ ~ Wireless PC
           192.168.3.0/24                    \ ~ ~ ~ ~
                                 

The bridge is an IP-less Soekris net4801 with a NL-2511MP+ miniPC NIC. 
OpenBSD v3.6 is installed via the flashdist utility from a host system 
onto a compact flash. The network is configured by the /etc/rc file and 
not the hostname.if and bridgename.bridge0 files.  

$ cat /etc/rc
  ...
  ...
  HOSTNAME=BridgeBox
  /bin/hostname $HOSTNAME
  /sbin/ifconfig lo0 127.0.0.1 netmask 255.0.0.0
  /sbin/sysctl net.inet.ip.forwarding=1

  # sis0 Interface:
  /sbin/ifconfig sis0 up

  # sis1 Interface (not used):
  /sbin/ifconfig sis1 up

  # sis2 Interface:
  /sbin/ifconfig sis2 up
  /sbin/dhclient sis2

  # wi0 Interface:
  /sbin/ifconfig wi0 inet up nwid TestNET media DS11 mediaopt hostap
  /sbin/wicontrol wi0 -e 0  -f 11 -s TestSTA

  # bridge0 Interface:
  /sbin/ifconfig bridge0 create
  /sbin/brconfig bridge0 add sis0 add wi0 up
   ...
   ...


$ ifconfig wi0
wi0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        address: 00:02:6f:XX:XX:XX
        nwid: TestNET
        powersave: off
        media: IEEE802.11 DS11 hostap
        status: active

$ ifconfig sis0
sis0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu
1500
        address: 00:00:24:XX:XX:XX
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active

$ brconfig -a
bridge0: flags=41<UP,RUNNING>
        Configuration:
                priority 32768 hellotime 2 fwddelay 15 maxage 20
        Interfaces:
                wi0 flags=3<LEARNING,DISCOVER>
                        port 4 ifpriority 128 ifcost 55
                sis0 flags=3<LEARNING,DISCOVER>
                        port 1 ifpriority 128 ifcost 55
        Addresses (max cache: 100, timeout: 240):


$ wicontrol
NIC serial number:                      [ 04B260118    ]
Station name:                           [ TestSTA ]
SSID for IBSS creation:                 [ TestNET ]
Current netname (SSID):                 [ TestNET ]
Desired netname (SSID):                 [ TestNET ]
Current BSSID:                          [ 00:02:6f:XX:XX:XX ]
Channel list:                           [ 2047 ]
IBSS channel:                           [ 11 ]
Current channel:                        [ 11 ]
Comms quality/signal/noise:             [ 0 81 27 ]
Promiscuous mode:                       [ Off ]
Process 802.11b Frame:                  [ Off ]
Port type (1=BSS, 3=ad-hoc, 6=Host AP): [ 6 ]
MAC address:                            [ 00:02:6f:XX:XX:XX ]
TX rate (selection):                    [ 11 ]
TX rate (actual speed):                 [ 2 ]
Maximum data length:                    [ 2304 ]
RTS/CTS handshake threshold:            [ 2347 ]
Create IBSS:                            [ Off ]
Antenna diversity (0=auto,1=pri,2=aux): [ ]
Microwave oven robustness:              [ On ]
Roaming mode(1=firm,3=disable):         [ 1 ]
Access point density:                   [ 1 ]
Power Management:                       [ Off ]
Max sleep time:                         [ 100 ]
Enhanced Security mode:                 [ ]
Intersil Prism2-based card:             [ 1 ]
Card info:                              [ PRISM2.5 ISL3874A(Mini-PCI),
Firmware 1.4.9 ]
Encryption:                             [ Off ]
Encryption algorithm:                   [ Firmware WEP ]
Authentication type
(1=OpenSys, 2=Shared Key):              [ 1 ]
TX encryption key:                      [ 1 ]
Encryption keys:                        [  ][  ][  ][  ]

$ ifconfig -m wi0
wi0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        address: 00:02:6f:37:27:60
        nwid: TestNET
        powersave: off
        media: IEEE802.11 DS11 hostap
        status: active
        supported media:
                media autoselect
                media autoselect mediaopt adhoc
                media autoselect mediaopt ibss
                media autoselect mediaopt ibss-master
                media autoselect mediaopt hostap
                media DS1
                media DS1 mediaopt adhoc
                media DS1 mediaopt ibss
                media DS1 mediaopt ibss-master
                media DS1 mediaopt hostap
                media DS2
                media DS2 mediaopt adhoc
                media DS2 mediaopt ibss
                media DS2 mediaopt ibss-master
                media DS2 mediaopt hostap
                media DS5
                media DS5 mediaopt adhoc
                media DS5 mediaopt ibss
                media DS5 mediaopt ibss-master
                media DS5 mediaopt hostap
                media DS11
                media DS11 mediaopt adhoc
                media DS11 mediaopt ibss
                media DS11 mediaopt ibss-master
                media DS11 mediaopt hostap
                media manual


With a connected PowerBook...
$ wicontrol -l
00:0d:93:XX:XX:XX  asid=0360, flags=3<AUTH,ASSOC>,
caps=421<ESS,SHORT_PREAMBLE>, rates=f<1M,2M,5.5M,11M>, sig=44/7

I'm not sure if a tcpdump captured packets on the wi0 is any use. There
is nothing showing up on Windows boxes and since the PowerBook works,
there seems no need. But please advise.  Thanx

--tuco 

Reply via email to