wlan0 up...but no data

From: soloha_at_kong.disbelieve.net
Date: 2002-08-17 02:54:55 UTC

I just set up the hostap driver for my wmp11 card and wpc11 adapter, but can seem to get any data to transmit. My laptop (Apple) sees the network and seems to join it after I enter the password, but I can't connect to anything. I have a firewall set up for IP Masquing another machine that is wired, but no matter how I configure it I can't see any data. I even tried turning it off all together and just logging packets. I have seen some logs from hostap that have my laptops MAC address in them so at least something is being transmitted. I've listed below any data I though might be relevant. Does anyone have any suggestions? Thanks.

This is the output from iwconfig:

wlan0     IEEE 802.11-DS  ESSID:"Defender"  
          Mode:Master  Frequency:2.462GHz  Access Point: 00:03:2F:00:C5:D9
          Bit Rate=11Mb/s   Tx-Power:3 dBm   Sensitivity=1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
			 Encryption key:xxxx-xxxx-xx   Encryption mode:restricted
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:29  Rx invalid frag:0
          Tx excessive retries:86  Invalid misc:38   Missed beacon:0

from ifconfig:

wlan0     Link encap:Ethernet  HWaddr 00:03:2F:00:C5:D9  
          inet addr:  Bcast:  Mask:
          RX packets:1979 errors:0 dropped:7 overruns:0 frame:0
          TX packets:65 errors:4 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:64262 (62.7 Kb)  TX bytes:6239 (6.0 Kb)
          Interrupt:10 Base address:0xcc00 

output from dmesg:

hostap_plx: hostap_plx.c 0.0.0 2002-05-19 (SSH Communications Security Corp, Jouni Malinen) hostap_plx: (c) SSH Communications Security Corp <jkm_at_ssh.com> PCI: Found IRQ 10 for device 00:0d.0
PCI: Sharing IRQ 10 with 00:02.7
PLX9052 PCI/PCMCIA adapter: mem=0xcfffec00, plx_io=0xd000, irq=10, pccard_io=0xcc00

hostap_plx: CIS: 01 03 00 00 ff 17 ...
hostap_plx: manfid=0x0156, 0x0002
hostap_plx: cor_index=0x1 cor_offset=0x3e0
Prism2/2.5 PC Card detected in PLX adapter PLX_INTCSR=0x1063
PLX_CNTRL=0x187866d2 (Serial EEPROM present=1)
hostap_plx: Registered netdevice wlan0
prism2_hw_config: initialized in 9623 iterations
wlan0: NIC: id=0x8002 v1.0.0

wlan0: PRI: id=0x15 v0.3.0
wlan0: STA: id=0x1f v0.8.3
spurious 8259A interrupt: IRQ7.
wlan0: INFO - fid=0x01cc - len=2 type=0xf200   LinkStatus=2 (Disconnected)
wlan0: INFO - fid=0x01cd - len=2 type=0xf200   LinkStatus=2 (Disconnected)
wlan0: INFO - fid=0x01ce - len=2 type=0xf200   LinkStatus=2 (Disconnected)
wlan0: INFO - fid=0x01cf - len=2 type=0xf200   LinkStatus=2 (Disconnected)
wlan0: prism2_open

and firewall ruleset:

-A POSTROUTING -o eth1 -j SNAT --to-source

-A INPUT -i eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i eth1 -p tcp -m multiport --ports ssh,smtp,www,imap2 -j ACCEPT
-A INPUT -i eth1 -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -i eth1 -j REJECT --reject-with icmp-port-unreachable
-A FORWARD -i eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i eth0 -o eth1 -j ACCEPT
-A FORWARD -i wlan0 -j ACCEPT

This archive was generated by hypermail 2.1.4.