vollero / openCAPWAP

openCAPWAP
113 stars 83 forks source link

Problem of running WTP/AC: connection refused #8

Closed fatma09 closed 9 years ago

fatma09 commented 9 years ago

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:

phy0

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 commented 9 years ago

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

fatma09 commented 9 years ago

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

fatma09 commented 9 years ago

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 commented 9 years ago

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

lime19 commented 8 years ago

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 commented 8 years ago

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 https://github.com/vollero/openCAPWAP/issues/8#issuecomment-201340057

Saluti Elena