need help for NoCat configuration
twistedpickles <[email protected]> Sun, 2 Jul 2006 23:15:48 -0500
| Newsgroups | gmane.network.nocat |
|---|---|
| Message-ID | <[email protected]> |
On 7/2/06, Karra Setiawan <[email protected]> wrote: > I am a new comer in the wireless network. i would like to build portal captive system for wireless network in my campus. > > For additional information i use Linux Fedora Core 3, gnupg-1.4.3 (for gpgv) and NoCatAuth-nightly. > > After make install gnupg, and walk through to the next step ( building the gateway): > # make gateway (ofcourse i change my diretory first to the NoCat's extract directory) > > And then the trouble comes.. > The terminal view like this: > > # make gateway > Looking for gpgv... > Checking for firewall compatibility: No supported firewalls detected! Check your path. > Supported firewalls include: iptables, ipchains, ipf, pf. > Can't seem to find supported firewall software. Check your path? > make: *** [check_fw] Error 255 > > I've tried to checked my iptables status (#service iptables status) and Linux displayed that iptables have already running. > I also have checked PATH (echo $PATH) > > And displayed: > /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin: > /usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin > > I confused why NoCat can't seem to find firewall software in my computer. > > Can anybody help me??? please... > Thanks before.. > > Send instant messages to your online friends http://uk.messenger.yahoo.com > _______________________________________________ > NoCat mailing list > [email protected] > http://lists.nocat.net/mailman/listinfo/nocat > replace the contents of the original "detect-fw.sh" with below or look for "Linux 2.4" and change it to "Linux 2.6". The script has not been updated and is looking for Kernel ver 2.4 and you are using 2.6 copy below: #!/bin/sh export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin # Have we been explicitly told which firewall scripts to install? if [ -n "$1" -a -n "$2" -a -d "$2/$1" ]; then FIREWALL=$1 shift # Do we have iptables *and* are running Linux 2.6? # elif which iptables >/dev/null 2>&1 && \ test X"`uname -sr | cut -d. -f-2`" = X"Linux 2.6"; then FIREWALL=iptables FW_BIN=iptables # # Or do we have ipchains? # elif which ipchains >/dev/null 2>&1; then FIREWALL=ipchains FW_BIN=ipchains # # Or ip_filter (e.g. *BSD, Solaris, HP-UX, etc)? # <http://www.ipfilter.org/> # elif which ipf >/dev/null 2>&1; then ipf_running="`ipf -V | grep 'Running' | awk '{print $2}'`"; if [ "$ipf_running" = "yes" ]; then FIREWALL="ipfilter" FW_BIN=ipf else echo "ERROR: ip_filter appears to exist, but we're not postive that it's running" echo "1. You must be root for us to verify this" echo "2. Check that it's compiled in your kernel (either staticlly or a loaded module)" fi # Or packetfilter (OpenBSD 3.0+) elif which pfctl >/dev/null 2>&1; then FIREWALL=pf FW_BIN=pfctl else echo "No supported firewalls detected! Check your path." echo "Supported firewalls include: iptables, ipchains, ipf, pf." exit 1 fi echo $(which $FW_BIN) found. # Remove the existing *.fw links in /usr/local/nocat/bin (or wherever this is being run from) TARGET=$1 SOURCE=libexec if [ -n "$TARGET" ]; then rm -f $TARGET/*.fw # Then add new symlinks for each *.fw file in the appropriate firewall directory. for src in $SOURCE/$FIREWALL/*.fw; do dest=$TARGET/$(basename $src) echo "$src -> $dest" cp $src $dest done # Finally, symlink to the firewall binary src=$(which $FW_BIN) dest=$TARGET/$FW_BIN echo "$src -> $dest" ln -sf $src $dest fi -- ::twistedPickles:: :