Hot-spot management software on (Free)BSD? ["oasis"]
David Wolfskill <[email protected]> Mon, 29 Sep 2003 15:58:03 -0700 (PDT)
| Newsgroups | gmane.network.wireless.bsd.general |
|---|---|
| Message-ID | <[email protected]> |
My new employer(! :-)) would like to start deploying hot-spots in certain locations; so far, so good. To avoid misunderstandings: no, these hot-spots would not be free, at least at this time. (They would not be part of the core of the business, either, so it's possible that over time, the use model for the hot-spots will change.) Since we mostly run FreeBSD on the general-purpose computing devices at work, we would prefer to do likewise with the machines that control access to the hot-spots. I see that FreeBSD is listed as a "supported platform" for "a future version of" each of NoCatAuth and NoCatSplash. On the other hand, over at http://software.stockholmopen.net/, I found some software that looks promising, claims that FreeBSD 4.4 is supported, and is released under the BSD license. (Re: supported platforms, README says: Oasis is known to compile on the following platforms: - i386 Debian GNU/Linux 3.0 - FreeBSD 4.4 - i386 RedHat 7.2 [end of README]) So I tried building it on my machine at work: frecnocpc9(4.9-RC)[13] uname -a FreeBSD frecnocpc9.noc.egation.com 4.9-RC FreeBSD 4.9-RC #3: Mon Sep 29 09:51:04 PDT 2003 [email protected]:/common/S1/obj/usr/src/sys/REPO i386 frecnocpc9(4.9-RC)[14] after installing ports devel/linuxpthreads and net/libnet. At first, "configure" choked, until I created the symlinks (as suggested by linuxpthreads' README.FreeBSD file). Then I got: ... gcc -g -O2 -o .libs/oasis -rdynamic main.o auth.o request.o common.o pamauth.o monitor.o list.o xmalloc.o modechange.o fwssl.o spawn.o fw.o stats.o getopt.o getopt1.o -L/common/home/david/src/oasis-1.0/libcfg/src -L/usr/local/lib /common/home/david/src/oasis-1.0/libcfg/src/.libs/libcfg.so -lnet -lnet -lpcap -lssl -lcrypto -lpthread -lpam -Wl,--rpath -Wl,/usr/local/lib monitor.o: In function `monitor_thread_main': /common/home/david/src/oasis-1.0/src/monitor.c:430: undefined reference to `pthread_cleanup_push' /common/home/david/src/oasis-1.0/src/monitor.c:562: undefined reference to `pthread_cleanup_push' /common/home/david/src/oasis-1.0/src/monitor.c:616: undefined reference to `pthread_cleanup_pop' *** Error code 1 Stop in /common/home/david/src/oasis-1.0/src. *** Error code 1 Stop in /common/home/david/src/oasis-1.0. *** Error code 1 Stop in /common/home/david/src/oasis-1.0. frecnocpc9(4.9-RC)[59] But maybe I'm confused: frecnocpc9(4.9-RC)[21] nm -D /usr/lib/libpthread.so | grep -C pthread_cleanup 0000cecc T _pthread_barrierattr_setpshared 0000cf20 T _pthread_cancel 00015358 T _pthread_cleanup_pop 00015474 T _pthread_cleanup_pop_restore 000152d8 T _pthread_cleanup_push 000153e0 T _pthread_cleanup_push_defer 0000cf44 T _pthread_cond_broadcast 0000cf90 T _pthread_cond_destroy frecnocpc9(4.9-RC)[22] [I also tried using "gmake" instead of (BSD) make; similar result.] So I have some questions (and yes, I sent a note to the oasis developer's list, after joining it myself): * Has anyone else looked at this code? And maybe got it working under FreeBSD? * Is there something especially silly or stupid that I'm doing (in this context)? I don't mind trying to get it to work; I would prefer to avoid re-doing the work if it's already been done, though. Thanks! Peace, david -- David H. Wolfskill [email protected] If you want true virus-protection for your PC, install a non-Microsoft OS on it. Plausible candidates include FreeBSD, Linux, NetBSD, OpenBSD, and Solaris (in alphabetical order). -- *bsd wireless list, a bawug thing <http://www.bawug.org/> [un]subscribe: http://lists.bawug.org/mailman/listinfo/bsd-wireless/