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

Problem of running WTP/AC: connection refused #8

Closed
fatma09 opened this issue Mar 12, 2015 · 6 comments
Closed

Problem of running WTP/AC: connection refused #8

fatma09 opened this issue Mar 12, 2015 · 6 comments

Comments

@fatma09
Copy link

fatma09 commented Mar 12, 2015

Hello,
I am using the elena.ago branch
I built the WTP and the AC into two different Virtual machines.
Before building the WTP, I modified the setting.wtp.txt file as follows:

<RADIO_PHY_NAME_0>phy0

<RADIO_PHY_NAME_1>phy1
because when running "iw dev", I get:
phy#1
Interface wlan0
ifindex 3
type managed
The second change I made is setting the IP address of the AC in the config.wtp file.
Then I run "sudo make" and "./WTP ."
From the AC side, I run "sudo make", "./AC ." in the openCAPWAP folder. Next, I run "sudo make" in the wum folder.
I tried to run "./wum -c wtps" but I get "connect error:: Connection refused"
I get the same thing when trying to create a new interface on the WTP using the "wum -c addwlan..." command.

Could someone help me to figure out this problem?
Is there something missed in my configuration?

Another point: there is neither the wtp.log file nor the ac.log file!

@e-ago
Copy link
Collaborator

e-ago commented Mar 12, 2015

Did you run "./WTP ." and "./AC ." as a root user? Or with sudo?

@fatma09
Copy link
Author

fatma09 commented Mar 12, 2015

Thank you for your quick response!
You are right. It's working now!
Thanks

@fatma09
Copy link
Author

fatma09 commented Mar 12, 2015

Now, there is another problem!
When I run "./wum -c wtps", it's working and I get a table containing the name of the WTP. However, when I run "./wum -c addwlan -w -r 0 -l 0 -s wtpSSID -t 1", I get this message:
wtpIds: -rssid: wtpSSIDradioID: (null)wlanID: 0tunnel: 1ADD cmd radioID: (null), wlanID: 0 ssid: wtpSSID
invio a wtp 0
And in the "wtp.log.txt" file, there is no indication of receiving a configuration request. There are only "echo request messages".

@e-ago
Copy link
Collaborator

e-ago commented Mar 12, 2015

You haven't specified wtp number in "-w" option

@e-ago e-ago closed this as completed Mar 17, 2015
@lime19
Copy link

lime19 commented Mar 25, 2016

hello
I modified the setting.wtp.txt file same as fatma09
then I run "sudo make", "sudo ./AC ." in the openCAPWAP folder.
and I try to run "sudo ./wum -c wtps" but I get "connect error:: Connection refused"
btw,there isn't ac.log file in /var/log
How can I do with this issue?

@e-ago
Copy link
Collaborator

e-ago commented Mar 26, 2016

Hi,
if you don't have the ac log file, this means that ac is not running.
Type "make" without sudo, then as a root user type "./AC ."

Anyway pull again the code for the latest updated version

2016-03-25 16:48 GMT+01:00 lime19 notifications@github.com:

hello
I modified the setting.wtp.txt file same as fatma09
then I run "sudo make", "sudo ./AC ." in the openCAPWAP folder.
and I try to run "sudo ./wum -c wtps" but I get "connect error::
Connection refused"
btw,there isn't ac.log file in /var/log
what can I do with this issue?


You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#8 (comment)

Saluti
Elena

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

3 participants