vollero / openCAPWAP

openCAPWAP
113 stars 83 forks source link

Station can't connect to WTP #22

Open wu790607 opened 8 years ago

wu790607 commented 8 years ago

Hi, everyone

I build the code, and run. AP and WTP run fine. But I try use my cellphone connect to WTP. The cellphone didn't get IP, please help me. I upload the log to dropbox. WTP log https://www.dropbox.com/s/ln2juio0bnle07o/wtp1.txt?dl=0 AC log https://www.dropbox.com/s/s6w0hdsrviy8efl/ac.log.txt?dl=0

And the device iw infomatiom phy#0 Interface WTPWLan00 ifindex 7 wdev 0x2 addr 8c:c7:aa:00:c0:48 ssid TEST789 type AP channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz

e-ago commented 8 years ago

there is a dhcp server on the AC side? OpenCAPWAP doesn't provide any DHCP-like service or IP assegnation

wu790607 commented 8 years ago

Thanks for your reply. Yes, the AC have the DHCP. The AC have two interface, one is wireless(eth0), an other is ethernet(eth1). I set up the dhcp server on eth1, and set ip 192.168.2.1 The WTP connect to 192.168.2.1.But the sta didn't get ip.

e-ago commented 8 years ago

Is the AC's tap interface in bridge with the eth1 interface?

wu790607 commented 8 years ago

Many thanks you help. I already solved this problem, but I have another question. I run the command ./wum -c delwlan -w 0 -l 1 -r 1. But it didn't delete the wlan, the ac.log.txt is show "ERROR IEEE 802.11 Configuration."

Please help me solve the problem.

bisongsong commented 6 years ago

I alse has the problem of "The cellphone didn't get IP", can you tell me how to solve it?

blackbolt308 commented 5 years ago

How do we get the address of WTP?