driver loaded but can't send data


From: Kevin Matthews (kbm23_at_drexel.edu)
Date: 2002-08-21 04:28:13 UTC



I just set up the hostap driver for my wmp11 card and wpc11 adapter, but can't 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 that is set up to do IP Masquerading for another machine that is wired, and have played with the configuration to see if that was the problem, but nothing I did seemed to help. 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:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          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_init()
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
wlan0: authentication: 00:30:65:02:b0:18 len=6, auth_alg=1, auth_transaction=1, status_code=0, fc=0x00b0 wlan0: new STA 00:30:65:02:b0:18
wlan0: authentication: 00:30:65:02:b0:18 len=136, auth_alg=1, auth_transaction=3, status_code=0, fc=0x40b0 wlan0: STA 00:30:65:02:b0:18 authenticated wlan0: association request: from 00:30:65:02:b0:18 to 00:03:2f:00:c5:d9 len=20
  capability=0x0011, listen_interval=1 - new AID 1

and firewall ruleset:

*nat
-A POSTROUTING -o eth1 -j SNAT --to-source 64.194.235.253

*filter
-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
-A FORWARD -j LOG



This archive was generated by hypermail 2.1.4.