WDS cannot connect

Stuart Frame stuart
Sun Dec 21 19:06:20 PST 2003


Sorry for the long post, but I am at a dead end and was after any type of 
help possible.

I am trying to use WDS to connect to a remote cisco AP, it?s about 1KM 
away and I am able to connected to it fine with hostap in managed mode ? 
but not in master. The plan is to create another AP with hostap connected 
back to the cisco AP (1200) with WDS.

I have attached some configs, the local side of the hostap is working and 
i can ping it from a client. I cannot ping through to the the Cisco or 
even from the hostAP box through to the cisco AP.

Any ideas?

Stuart Frame 


--------------------------dmesg, boot
Linux version 2.4.22 (root at midas) (gcc version 3.2.3) #23 Tue Sep 2 
18:16:57 PDT 2003
Intel PCIC probe: 
  Intel i82365sl B step ISA-to-PCMCIA at port 0x3e0 ofs 0x00, 2 sockets
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.1.0 - 2003-10-14 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: ignoring Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 5.0, irq 5, io 0x0100-0x013f
hostap_cs: Registered netdevice wlan0
prism2_hw_init: initialized in 240 ms
wlan0: NIC: id=0x800c v1.0.0
wlan0: PRI: id=0x15 v1.1.1
wlan0: STA: id=0x1f v1.5.6
wlan0: adding automatic WDS connection to AP 00:0c:30:94:23:5a
wlan0: registered netdevice wlan0wds0
NET4: Ethernet Bridge 008 for NET4.0
device wlan0 entered promiscuous mode
device wlan0wds0 entered promiscuous mode
wlan0wds0: attempt to add interface with same source address.
br0: port 2(wlan0wds0) entering learning state
br0: port 1(wlan0) entering learning state
br0: port 2(wlan0wds0) entering forwarding state
br0: topology change detected, propagating
br0: port 1(wlan0) entering forwarding state
br0: topology change detected, propagating

--------------- ifconfig
br0       Link encap:Ethernet  HWaddr 00:02:6F:04:0F:A2  
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2358 (2.3 Kb)  TX bytes:2358 (2.3 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:02:6F:04:0F:A2  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:158 overruns:0 frame:0
          TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:3672 (3.5 Kb)
          Interrupt:3 Base address:0x100 

wlan0wds0 Link encap:Ethernet  HWaddr 00:02:6F:04:0F:A2  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:3 Base address:0x100 


-----------------iwconfig
wlan0     IEEE 802.11b  ESSID:"hut"  
          Mode:Master  Frequency:2.437GHz  Access Point: 
00:02:6F:04:0F:A2  
          Bit Rate:11Mb/s   Sensitivity=1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wlan0wds  IEEE 802.11b  ESSID:"hut"  
          Mode:Master  Frequency:2.437GHz  Access Point: 
00:02:6F:04:0F:A2  
          Bit Rate:11Mb/s   Sensitivity=1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

-------------route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
localnet        *               255.255.255.0   U     0      0        0 
br0
loopback        *               255.0.0.0       U     0      0        0 lo

------------traceroute 192.168.1.200
1  toshi.stu.com (192.168.1.10)  3001.315 ms !H  2999.278 ms !H  2999.378 
ms !H

---------ping 192.168.1.200
PING 192.168.1.200 (192.168.1.200) 56(84) bytes of data.
>From 192.168.1.10 icmp_seq=1 Destination Host Unreachable

-------- cat /proc/net/hostap/wlan0/00:0c:30:94:23:5a
AP=00:0c:30:94:23:5a
users=0
aid=0
flags=0x0003 AUTH ASSOC
capability=0x21
listen_interval=100
supported_rates=1Mbps 2Mbps 5.5Mbps 11Mbps 
jiffies=411561
last_auth=0
last_assoc=0
last_rx=411558
last_tx=411560
rx_packets=36981
tx_packets=2103
rx_bytes=1184013
tx_bytes=298697
buffer_count=0
last_rx: silence=156 signal=172 rate=10
tx_rate=110
tx[1M]=0
tx[2M]=0
tx[5.5M]=0
tx[11M]=2103
rx[1M]=36981
rx[2M]=0
rx[5.5M]=0
rx[11M]=0
channel=6
ssid=hut


Stuart Frame,
IT Manager, Niue Island.





More information about the Hostap mailing list