Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCAPWAP #13

Closed
Helpper opened this issue Apr 24, 2015 · 5 comments
Closed

OpenCAPWAP #13

Helpper opened this issue Apr 24, 2015 · 5 comments

Comments

@Helpper
Copy link

Helpper commented Apr 24, 2015

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
Copy link
Collaborator

e-ago commented Apr 24, 2015

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

@Helpper
Copy link
Author

Helpper commented Apr 27, 2015

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 <WTP_ID> -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
Copy link
Author

Helpper commented Apr 27, 2015

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
Copy link
Collaborator

e-ago commented Apr 27, 2015

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

@e-ago e-ago closed this as completed Apr 27, 2015
@Helpper
Copy link
Author

Helpper commented Apr 27, 2015

Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants