*** 08/07/06 – Update, the patch just allows Chillispot to build successfully, tun.c needs some more patching before chillispot will work. Sorry π ***
I have made a patch which will enable Chillispot compile & run on OpenBSD, NetBSD & Mac OS X.
The patch has been tested working on the following versions of O/S’s
OpenBSD 3.9
NetBSD 3.0-STABLE & -CURRENT
Mac OS X 10.4.7
though it should work on previous versions aswell.
To build Chillipot 1.0 first download & extract Chillispot.
Then copy the patch into the Chillispot directory & issue:
patch -p1 < chillispot -1.0.patch
You should get the following result:
patching file src/chilli.c
patching file src/dhcp.c
patching file src/redir.c
patching file src/syserr.c
patching file src/tun.c
For NetBSD & OpenBSD:
Now run ./configure
with the relevant switches e.g.
./configure --sysconfdir=/etc --localstatedir=/var
then for OpenBSD: run make install chilli_LDFLAGS=""
For Mac OS X:
Run make install chilli_LDFLAGS="-lcrypto -lresolv"
If compiling fails with the following error:
redir.c: In function 'redir_accept':
redir.c:1400: error: nested functions are not supported on MacOSX
redir.c:1406: error: nested functions are not supported on MacOSX
make[2]: *** [redir.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
then you’re using GCC 4.0.1, use gcc_select
to switch to GCC 3.3 by running gcc_select 3.3
then rerunning make. When you’re done you can switch back to GCC 4 by running gcc_select 4.0
surprise surprise!!! π
Thanks a million!
However, I had to move to /src to apply the patch, guess I just canΓΒ΄t read right…
i try error when using in openbsd 3.9
i try error when using in openbsd 4.0
sicute, read the 1st 2 lines of the post, if you have a look at more recent posts on here you’ll find a port for OpenBSD which does work π
Hello,
Do you think it would be possible for chillispot to be compiled for iPhone>?
Let me know what you think Please.
Hi to all,
Has anyone compiled this for a complete download for Mac OS X.5+
Does Chillispot run on Mac OS X.6
Have had a problem with the Linux ver, the server losing it’s IP address every few hours.