vollero / openCAPWAP

openCAPWAP
113 stars 83 forks source link

OpenCAPWAP #13

Closed Helpper closed 9 years ago

Helpper commented 9 years ago

Hello everyone ! When I execute "sudo ./wum -c addwlan -w 0 -s test -r 1 -l 0 -t 1 ",I get an error in wtp log file ."NL80211 ERROR] Set new STA error: -22, Invalid argument".If you can solve this error ,help me ,Thank you !

e-ago commented 9 years ago

As I said before, send me by email your ac and wtp logs

Helpper commented 9 years ago

Hello iElenago! In your INSTALL file, it shows that if I want to create an ap on WTP side, I can run :"./wum -c addwlan -w -l 0 -r 0 -s -t 1", But if I run the command, it will get the error "Error ADD WLAN cmd: radioID or wlanID are <= 0" on AC side. So I check the code, I find the error in wumLib.c file, there is a function called WUMWTPwlanAdd(),it shows the error:

if(atoi(radioID) <= 0 || atoi(wlanID)) { fprintf(stderr, "Error ADD WLAN cmd: radioID or wlanID are <= 0."); return ERROR; } why?Can you tell me the use of radioID?Thank you!

Helpper commented 9 years ago

When I execute "sudo ./wum -c addwlan -w 0 -s test -r 1 -l 0 -t 1 ",I get an error in wtp log file ."NL80211 ERROR] Set new STA error: -22, Invalid argument".If you can solve this error ,help me ,Thank you ! Google Drive: https://drive.google.com/folderview?id=0B-JTYIdrlWlkRWVHVGFhcnpjc3c&usp=sharing This is my log file.

e-ago commented 9 years ago

Install notes updated. Type: ./wum -c addwlan -w -r 1 -l 1 -s -t 1

Helpper commented 9 years ago

Thank you for your help.