Previous | Linux Wireless Access Point HOWTO |
Next |
[root@accesspoint root]# tar -zxvf NoCatAuth-0.82.tar.gz |
[root@accesspoint NoCatAuth-0.82]# make PREFIX=/usr/local/nocat/gateway |
# example /usr/local/nocat/gateway/nocat.conf
#Set logging verbosity. 10 is good for testing, 5 is good for day to day, 0 for off. Verbosity 10 # Set this to the name of your Access Point # NZ-Wireless operators should use your fully qualified domain name GatewayName simon.akld.nzwireless.org # Mode of operation GatewayMode Passive # Log file GatewayLog /usr/local/nocat/gateway/nocat.log # Timeout in seconds for clients to begin login sequence LoginTimeout 600 # Default redirect, to your wireless community group homepage is a good option HomePage http://www.nzwireless.org # The following file locations will only need to be changed if # you used a different PREFIX variable during the make. DocumentRoot /usr/local/nocat/gateway/htdocs SplashForm splash.html StatusForm status.html # Set this to the name of your wireless community group as # specified to your authentication service TrustedGroups NZWireless # Set this to any users who should have unrestricted access to your # LAN from the wireless network Owners oob@wildstar.net # Set to the IP or DNS address of your authentication service AuthServiceAddr authservice.nzwireless.org # The following URLs shouldn't need to be altered AuthServiceURL https://$AuthServiceAddr/cgi-bin/login LogoutURL https://$AuthServiceAddr/logout.html # Uncomment the following line _only_ if NoCat fails to determine # your LAN interface by itself # ExternalDevice eth0 # Your wireless interface. NoCat seems to need this one uncommented InternalDevice wlan0 # Set to the IP and mask of your wireless local network LocalNetwork 10.1.2.0/24 # Set to your DNS server address as given to wireless clients via # DHCP. Set to the WLAN0 IP address if you're running DNS on your # Access Point DNSAddr 10.1.2.1 # Allow traffic from the wireless network to pass through your LAN # to the Internet to contact the following sites AllowedWebHosts nocat.net nzwireless.org # Comment the following line out if you are running NAT RouteOnly 1 # Comment out the following line to allow public access MembersOnly 1 # Use one of the following. Ports that should/shouldn't be available # to wireless clients. IncludePorts 80 443 # ExcludePorts 22 25 |
# Set these to the total capacity of your Internet connection
TOTAL_DOWN=1mbit TOTAL_UP=1mbit # Set these limits for your own use OWNER_DOWN=1mbit          # fw mark 1 OWNER_UP=1mbit OWNER_OPTIONS="" # Set these to the amount of your bandwidth you are willing to share # with authenticated members of your community group COOP_DOWN=128kbit          # fw mark 2 COOP_UP=128kbit COOP_OPTIONS= # Set these to the amount of bandwith you are willing to share # with unauthenticated public users PUBLIC_DOWN=0kbit          # fw mark 3 PUBLIC_UP=0kbit PUBLIC_OPTIONS="bounded" |
[root@accesspoint gateway]# chmod +x /usr/local/nocat/gateway/bin/throttle.fw |
[root@accesspoint NoCatAuth-0.82]# cp etc/nocat.rc /etc/rc.d/init.d
[root@accesspoint NoCatAuth-0.82]# ln -s /etc/rc.d/init.d/nocat.rc /etc/rc3.d/S99nocat |
Previous | Home | Next |