Closed biased closed 9 years ago
Are you working with the master or the elena.ago branch?
We are working with the master branch. What is difference between these branches?
the master branch is not longer maintained.
read this https://github.com/vollero/openCAPWAP/issues/4 for the differences.
Ok, thank you! We will install elena branch. Just in case, could you explain that how to install AC step by step? Maybe you have more detailed manual?
We have looked elena branch - it has the same wrapper as the master branch, so it does not help us. Maybe we use the wrong version of the kernel or hostapd?
You can find a slightly more maintained version here: https://github.com/travelping/openCAPWAP but we only take care of the WTP parts
In elenago branch there is no need of hostapd. Wrappers are obsolete.
Il giorno 22/gen/2015, alle ore 14:29, biased notifications@github.com ha scritto:
We have looked elena branch - it has the same wrapper as the master branch, so it does not help us. Maybe we use the wrong version of the kernel or hostapd?
\ Reply to this email directly or view it on GitHub.
Hello! Thanks for your help! Finally, we have build "travelping" project (hostapd + AC). Could you show logs of correctly working AC and WTP (ac.log.txt and wtp.log.txt)? Also, we have a few questions about:
iElenago,
"In elenago branch there is no need of hostapd. Wrappers are obsolete." Could you, please, explain, what does it mean? We don't need to patch hostapd or we don't need to use it at all(run ac and wtp with no hostapd)?
The linkage problems, describes in the beginning of this thread are happens when compilation of hostapd is done with several drivers enabled(CONFIG_DRIVER_HOSTAP, CONFIG_DRIVER_NL80211, CONFIG_DRIVER_CAPWAP), because some of them uses original netlink(but CAPWAP uses fake). If .config have only CONFIG_DRIVER_CAPWAP=y compilation is ok.
What is the proper way of configuring hostapd for AC?
Hi! Currently in elena.ago branch openCAPWAP can handle an access point without hostapd. If you want to use SPLIT MAC mode, you must set -DSPLIT_MAC flag in Makefile. Then after startup, WTP creates 2 interfaces: 1 monitor and 1 station. In Run state, it is possible to use the WUM utility (included in the openCAPWAP repository) to send commands to the AC and also to create a new AP interface on the WTP side through AC, specifying radio interface number, wlan interface number (the interface in station mode) and SSID: ./wum -c addwlan -w -r 0 -l 0 -s wtpSSID -t 1
We are working on a paper to explain all the new features included in this new openCAPWAP release
Hi, iElenago. Thanks for response.
Could you tell is your branch still working only with madwifi based cards?
No, I used nl80211 + mac80211 kernel module to interact with wireless interfaces. I used an Atheros card during my tests.
Hi,
How can I run opencapwap with hostapd? I can run WTP, AC (There is communication between WTP and AC) and hostapd on both sides, but I cannot see any ssid by means of scan command (iw dev
Hello,
we have tried to build the AC using your project: we have used hostapd1_1 and ubuntu 12.04 (3.13.0.-32-generic).
First of all, we have build 'pure' hostapd1_1 - no problems. After that, we added the wrapper by using your instruction: have obtained the following errors:
ieee80211_radiotap_iterator_init': /home/user/hostap_1_1/hostapd/../src/utils/radiotap.c:84: multiple definition of
ieee80211_radiotap_iterator_init' ../src/utils/radiotap.o:/home/user/hostap_1_1/hostapd/../src/utils/radiotap.c:84: first defined here ../src/utils/radiotap.o: In functionieee80211_radiotap_iterator_next': /home/user/hostap_1_1/hostapd/../src/utils/radiotap.c:160: multiple definition of
ieee80211_radiotap_iterator_next' ../src/utils/radiotap.o:/home/user/hostap_1_1/hostapd/../src/utils/radiotap.c:160: first defined here ../src/drivers/netlink_fake.o: In functionnetlink_init': /home/user/hostap_1_1/hostapd/../src/drivers/netlink_fake.c:48: multiple definition of
netlink_init' ../src/drivers/netlink.o:/home/user/hostap_1_1/hostapd/../src/drivers/netlink.c:98: first defined here ../src/drivers/netlink_fake.o: In functionnetlink_deinit': /home/user/hostap_1_1/hostapd/../src/drivers/netlink_fake.c:76: multiple definition of
netlink_deinit' ../src/drivers/netlink.o:/home/user/hostap_1_1/hostapd/../src/drivers/netlink.c:135: first defined here ../src/drivers/netlink_fake.o: In functionnetlink_send_oper_ifla': /home/user/hostap_1_1/hostapd/../src/drivers/netlink_fake.c:82: multiple definition of
netlink_send_oper_ifla' ../src/drivers/netlink.o:/home/user/hostap_1_1/hostapd/../src/drivers/netlink.c:148: first defined here ../src/drivers/linux_ioctl_fake.o: In functionlinux_set_iface_flags': /home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl_fake.c:29: multiple definition of
linux_set_iface_flags' ../src/drivers/linux_ioctl.o:/home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl.c:25: first defined here ../src/drivers/linux_ioctl_fake.o: In functionlinux_iface_up': /home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl_fake.c:34: multiple definition of
linux_iface_up' ../src/drivers/linux_ioctl.o:/home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl.c:64: first defined here ../src/drivers/linux_ioctl_fake.o: In functionlinux_get_ifhwaddr': /home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl_fake.c:36: multiple definition of
linux_get_ifhwaddr' ../src/drivers/linux_ioctl.o:/home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl.c:86: first defined here ../src/drivers/linux_ioctl_fake.o: In functionlinux_set_ifhwaddr': /home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl_fake.c:72: multiple definition of
linux_set_ifhwaddr' ../src/drivers/linux_ioctl.o:/home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl.c:109: first defined here ../src/drivers/linux_ioctl_fake.o: In functionlinux_br_add': /home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl_fake.c:91: multiple definition of
linux_br_add' ../src/drivers/linux_ioctl.o:/home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl.c:142: first defined here ../src/drivers/linux_ioctl_fake.o: In functionlinux_br_del': /home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl_fake.c:95: multiple definition of
linux_br_del' ../src/drivers/linux_ioctl.o:/home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl.c:154: first defined here ../src/drivers/linux_ioctl_fake.o: In functionlinux_br_add_if': /home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl_fake.c:99: multiple definition of
linux_br_add_if' ../src/drivers/linux_ioctl.o:/home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl.c:166: first defined here ../src/drivers/linux_ioctl_fake.o: In functionlinux_br_del_if': /home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl_fake.c:103: multiple definition of
linux_br_del_if' ../src/drivers/linux_ioctl.o:/home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl.c:188: first defined here ../src/drivers/linux_ioctl_fake.o: In functionlinux_br_get': /home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl_fake.c:107: multiple definition of
linux_br_get' ../src/drivers/linux_ioctl.o:/home/user/hostap_1_1/hostapd/../src/drivers/linux_ioctl.c:210: first defined hereWhere the problem might be?