mirror of https://github.com/aredn/aredn.git
Merge branch 'RebrandToAREDN' into hotfix-3.0.2
This commit is contained in:
commit
7a5076bc83
|
@ -0,0 +1,25 @@
|
|||
In accordance with the permissions granted under section 10(e) of
|
||||
the GPLv3 License:
|
||||
|
||||
The AREDN(TM) trademark and AREDN(TM) logo and for use in official
|
||||
Amateur Radio Emergency Data Network (AREDN(TM)) sanctioned builds.
|
||||
|
||||
Permission is not granted to use the AREDN(TM) marks for any build
|
||||
that has been modified from official source channels.
|
||||
|
||||
The AREDN(TM) trademark and AREDN(TM) logo are property of
|
||||
Randolph Smith and are used with Permission.
|
||||
|
||||
--- End Additional terms ---
|
||||
Permission of Randolph Smith listed below:
|
||||
|
||||
I, Randolph Smith, grant a license to use the ARDEN(TM) trademark in
|
||||
officially sanctioned AREDN(TM) software releases and promotional material
|
||||
including, but not limited to, aredn.com, aredn.net, and aredn.org websites.
|
||||
Where questions arise as to the licensed use or the validity of an AREDN(TM)
|
||||
software release, the decision of Randolph Smith shall be binding.
|
||||
Upon receipt of a demand all use shall cease within 30 days. This license
|
||||
may be terminated for breach of this condition. This grant is made without
|
||||
royalty from the licensee and runs for an indefinite term.
|
||||
|
||||
/s/ Randolph Smith
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
<<'LICENSE'
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -16,18 +16,31 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material contained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
LICENSE
|
||||
|
||||
#This is a build script for use with the OpenWRT Image Builder to create the final images as used by BBHN
|
||||
#This is a build script for use with the OpenWRT Image Builder to create the final images as used by AREDN
|
||||
|
||||
# Initialize variables
|
||||
FILESDIR="files"
|
||||
AUSTINBUILD=false
|
||||
|
||||
while getopts "v:a:d:f" flag; do
|
||||
case "$flag" in
|
||||
v) REQVERSION=$OPTARG;;
|
||||
a) AUSTINBUILD=true;;
|
||||
d) DESTINATION=$OPTARG;;
|
||||
f) FILESDIR=$OPTARG;;
|
||||
esac
|
||||
|
@ -39,28 +52,16 @@ if [ ! $REQVERSION ]
|
|||
exit 1
|
||||
fi
|
||||
|
||||
VERSION=$REQVERSION
|
||||
|
||||
if [ ! $DESTINATION ]
|
||||
then
|
||||
echo "A destination folder must be provided with the -d flag"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
# If not an Austin build we can set the version and go direct, otherwise we need to do some prepwork on the files.
|
||||
if ! $AUSTINBUILD
|
||||
then
|
||||
VERSION=$REQVERSION
|
||||
else
|
||||
VERSION=$REQVERSION-Austin
|
||||
# Change repository URL's to reflect the Austin server
|
||||
sed -i 's/http:\/\/downloads.bbhndev.org\/firmware\/ubnt/http:\/\/broadband-hamnet.org\/download\/firmware\/ubnt/g' $FILESDIR/www/cgi-bin/admin
|
||||
sed -i 's/http:\/\/downloads.bbhndev.org/http:\/\/www.broadband-hamnet.org\/download/g' $FILESDIR/etc/opkg.conf
|
||||
|
||||
fi
|
||||
|
||||
|
||||
mkdir -p $DESTINATION;
|
||||
|
||||
echo $VERSION > files/etc/mesh-release
|
||||
fakeroot make image PLATFORM="UBNT" PACKAGES="bridge busybox dnsmasq dropbear iptables kmod-ipt-nathelper kmod-usb-core kmod-usb-uhci kmod-usb2 libgcc mtd ppp ppp-mod-pppoe uhttpd olsrd perl olsrd-mod-arprefresh olsrd-mod-dyn-gw olsrd-mod-httpinfo olsrd-mod-nameservice olsrd-mod-txtinfo olsrd-mod-dot-draw olsrd-mod-watchdog olsrd-mod-secure perlbase-essential perlbase-xsloader perlbase-file perlbase-perlio libpcap tcpdump-mini ntpclient xinetd kmod-ipv6 ip6tables kmod-ip6tables libip6tc ip iptables-mod-ipopt iwinfo libiwinfo socat" FILES="$FILESDIR" BIN_DIR="$DESTINATION/$VERSION"
|
||||
rename "s/openwrt/bbhn-$VERSION/g" /$DESTINATION/$VERSION/*
|
||||
rename "s/openwrt/AREDN-$VERSION/g" /$DESTINATION/$VERSION/*
|
||||
|
|
17
LICENSE
17
LICENSE
|
@ -1,4 +1,4 @@
|
|||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -15,3 +15,18 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material contained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
wifi_proto = static
|
||||
wifi_ip = 10.<MAC2>
|
||||
wifi_mask = 255.0.0.0
|
||||
wifi_ssid = BroadbandHamnet
|
||||
wifi_ssid = AREDN
|
||||
wifi_mode = adhoc
|
||||
wifi_txpower = 19
|
||||
wifi_channel = 1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
wifi_proto = static
|
||||
wifi_ip = 10.<MAC2>
|
||||
wifi_mask = 255.0.0.0
|
||||
wifi_ssid = BroadbandHamnet
|
||||
wifi_ssid = AREDN
|
||||
wifi_mode = adhoc
|
||||
wifi_txpower = 19
|
||||
wifi_channel = 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
src/gz packages http://downloads.bbhndev.org/attitude_adjustment/12.09/ar71xx/generic/packages
|
||||
src/gz packages http://downloads.aredn.org/attitude_adjustment/12.09/ar71xx/generic/packages
|
||||
dest root /
|
||||
dest ram /tmp
|
||||
lists_dir ext /var/opkg-lists
|
||||
|
|
|
@ -18,7 +18,7 @@ if ( $ARGV[0] ) {
|
|||
}
|
||||
else
|
||||
{
|
||||
$SSIDName= lc "BroadbandHamnet-20-v3";
|
||||
$SSIDName= lc "AREDN-20-v3";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
<<'LICENSE'
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -20,19 +20,19 @@ LICENSE
|
|||
|
||||
DHCPLANSECTION=`uci show dhcp|grep interface=lan|sed "s/dhcp.\@dhcp\[\(.*\)\].interface=lan/\1/"`
|
||||
|
||||
logger "BBHN Recovery: Reseting password to BBHN default"
|
||||
logger "AREDN(TM) Recovery: Reseting root password to: hsmm"
|
||||
/usr/local/bin/setpasswd hsmm
|
||||
|
||||
logger "BBHN Recovery: Restarting uhttpd"
|
||||
logger "AREDN(TM) Recovery: Restarting uhttpd"
|
||||
/etc/init.d/uhttpd restart
|
||||
|
||||
if [ "$DHCPLANSECTION" != "" ]
|
||||
then
|
||||
logger "BBHN Recovery: Enable DHCP on lan interface"
|
||||
logger "AREDN(TM) Recovery: Enable DHCP on lan interface"
|
||||
uci set dhcp.@dhcp\[$DHCPLANSECTION\].ignore=0
|
||||
uci -q commit
|
||||
|
||||
logger "BBHN Recovery: Restart dnsmasq"
|
||||
logger "AREDN(TM) Recovery: Restart dnsmasq"
|
||||
/etc/init.d/dnsmasq restart
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl -w
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
$seq = 0;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
<<'LICENSE'
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -18,6 +18,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
LICENSE
|
||||
|
||||
[ -f /etc/config/run-fccid ] || exit
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
<<'LICENSE'
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -18,6 +18,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
LICENSE
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
<<'LICENSE'
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -18,6 +18,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
LICENSE
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
<<'LICENSE'
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl -w -I/www/cgi-bin
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
use perlfunc;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl -w
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
# do the initial setup of the essential nvram variables
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl -w -I/www/cgi-bin
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
# this script generates the olsrd config file
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
# do nothing if olsrd is not running
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
<<'LICENSE'
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
<<'LICENSE'
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -18,6 +18,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
LICENSE
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl -w
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
unless(defined ($pw = shift))
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl -w -I/www/cgi-bin
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl -w
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
sub usage
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
|
@ -0,0 +1,69 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD H™L 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>AREDN™ information</title>
|
||||
<meta http-equiv='expires' content='0'>
|
||||
<meta http-equiv='cache-control' content='no-cache'>
|
||||
<meta http-equiv='pragma' content='no-cache'>
|
||||
<link rel=StyleSheet href='/style.css' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<img style="background:rgb(231,231,231)" src="/AREDN.png"></img>
|
||||
|
||||
<hr>
|
||||
|
||||
</br>
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks</br>
|
||||
Copyright (C) 2015 Conrad Lara</br>
|
||||
See Contributors file for additional contributors</br>
|
||||
</br>
|
||||
Copyright (c) 2013 David Rivenburg et al. BroadBand-HamNet</br>
|
||||
</br>
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation version 3 of the License</br>
|
||||
</br>
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.</br>
|
||||
</br>
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>.</br>
|
||||
</br>
|
||||
</br>
|
||||
Additional Terms:</br>
|
||||
</br>
|
||||
Additional use restrictions exist on the AREDN™ trademark and logo.</br>
|
||||
See AREDNLicense.txt for more info.</br>
|
||||
</br>
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.</br>
|
||||
</br>
|
||||
You must not misrepresent the origin of the material contained within.</br>
|
||||
</br>
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.</br>
|
||||
</br>
|
||||
AREDN™ Terms:</br>
|
||||
In accordance with the permissions granted under section 10(e) of the GPLv3 License: </br>
|
||||
</br>
|
||||
The AREDN™ trademark and AREDN™ logo and for use in official Amateur Radio Emergency Data Network (AREDN™) sanctioned builds. </br>
|
||||
</br>
|
||||
Permission is not granted to use the AREDN™ marks for any build that has been modified from official source channels.</br>
|
||||
</br>
|
||||
The AREDN™ trademark and AREDN™ logo are property of Randolph Smith and are used with Permission. </br>
|
||||
</br>
|
||||
--- End Additional terms --- </br>
|
||||
Permission of Randolph Smith listed below</br>
|
||||
</br>
|
||||
I, Randolph Smith, grant a license to use the ARDEN™ trademark in officially sanctioned AREDN™ software releases and promotional material including, but not limited to, aredn.com, aredn.net, and aredn.org websites. Where questions arise as to the licensed use or the validity of an AREDN™ software release, the decision of Randolph Smith shall be binding. Upon receipt of a demand all use shall cease within 30 days. This license may be terminated for breach of this condition. This grant is made without royalty from the licensee and runs for an indefinite term. </br>
|
||||
</br>
|
||||
/s/ Randolph Smith</br>
|
||||
</br>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
BEGIN {push @INC, '/www/cgi-bin'};
|
||||
|
@ -66,7 +81,7 @@ $patch_install = 0;
|
|||
%fw_md5 = ();
|
||||
|
||||
@serverpaths = (
|
||||
"http://downloads.bbhndev.org/firmware/ubnt"
|
||||
"http://downloads.aredn.org/firmware/ubnt"
|
||||
);
|
||||
|
||||
# refresh fw
|
||||
|
@ -223,9 +238,12 @@ DHCP lease and reset any name service caches you may be using.</h3>
|
|||
<h3>Wait for the Power LED to start blinking, then stop blinking.<br>
|
||||
When the DMZ LED turns off you can get your new DHCP lease and reconnect with<br>
|
||||
<a href='http://localnode.local.mesh:8080/'>http://localnode.local.mesh:8080/</a></h3>
|
||||
</center></body></html>
|
||||
</center>
|
||||
";
|
||||
|
||||
page_footer();
|
||||
print "</body></html>";
|
||||
|
||||
system "/sbin/reboot" unless $debug;
|
||||
exit;
|
||||
}
|
||||
|
@ -629,5 +647,6 @@ print "</center>\n";
|
|||
show_debug_info();
|
||||
show_parse_errors();
|
||||
|
||||
page_footer();
|
||||
print "</body>\n";
|
||||
print "</html>\n";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -16,6 +16,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
use perlfunc;
|
||||
|
@ -166,20 +181,7 @@ sub rf_channels_list
|
|||
|
||||
sub is_wifi_chanbw_valid
|
||||
{
|
||||
my ($wifi_chanbw,$wifi_ssid) = @_;
|
||||
my $boardinfo=hardware_info();
|
||||
if ( ( exists($boardinfo->{'rfband'}) ) && ( $boardinfo->{'rfband'} == "2400" ) && ( $wifi_chanbw != 20 ) )
|
||||
{
|
||||
if ( (( length $wifi_ssid >= 33 ) || ( length $wifi_ssid == 0 )) || ( $wifi_ssid =~ /BroadBandHamnet/i ))
|
||||
{
|
||||
# 2.4ghz and default ssid not 20mhz wide -- Invalid chan_bw
|
||||
return 0;
|
||||
} else {
|
||||
# chan_bw valid
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
# Not 2.4ghz or device is unknown, trust the user submission.
|
||||
# chan_bw valid
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -17,6 +17,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
print "Content-type:text\r\n\r\n";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
$debug = 0;
|
||||
|
@ -207,13 +222,17 @@ print "<button type=button onClick='window.location=\"status\"' title='Return to
|
|||
if($config ne "mesh")
|
||||
{
|
||||
print "<br><br><b>This page is available only when the router is acting as a Mesh Node.</b>\n";
|
||||
print "</center></form></body></html>\n";
|
||||
print "</center></form>";
|
||||
page_footer();
|
||||
print "</body></html>\n";
|
||||
exit;
|
||||
}
|
||||
elsif($txtinfo_err)
|
||||
{
|
||||
print "<br><br><b>Whoops! OLSR is not running, try again later.</b>\n";
|
||||
print "</center></form></body></html>\n";
|
||||
print "</center></form>";
|
||||
page_footer();
|
||||
print "</body></html>\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
@ -222,7 +241,9 @@ print "</nobr><br><br>\n";
|
|||
unless(keys %localhosts or keys %links)
|
||||
{
|
||||
print "No other nodes are available.\n";
|
||||
print "</center></form></body></html\n";
|
||||
print "</center></form>";
|
||||
page_footer();
|
||||
print "</body></html\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
@ -462,6 +483,7 @@ if($debug)
|
|||
show_debug_info();
|
||||
show_parse_errors();
|
||||
|
||||
page_footer();
|
||||
print "</body>\n";
|
||||
print "</html>\n";
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -18,6 +18,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
##########################
|
||||
|
@ -1288,8 +1303,14 @@ sub is_hardware_supported
|
|||
}
|
||||
|
||||
|
||||
# Needs to be renamed from alert_banner
|
||||
sub alert_banner
|
||||
{
|
||||
print "<div class=\"TopBanner\">";
|
||||
|
||||
#AREDN Banner
|
||||
print "<div class=\"LogoDiv\"><img src=\"/AREDN.png\" class=\"AREDNLogo\"></img></div>";
|
||||
|
||||
# Device compatibility alert
|
||||
if ( is_hardware_supported() != 1 ){
|
||||
if (is_hardware_supported() == 0 ){
|
||||
|
@ -1302,8 +1323,21 @@ sub alert_banner
|
|||
print "<div style=\"padding:5px;background-color:#FFFF00;border:1px solid #ccc;width:600px;\"><a href=\"/cgi-bin/sysinfo\">!!!! UNTESTED HARDWARE !!!!</a></div>\n";
|
||||
}
|
||||
}
|
||||
|
||||
#TopBanner
|
||||
print "</div>";
|
||||
}
|
||||
|
||||
sub page_footer
|
||||
{
|
||||
print "<div class=\"Page_Footer\">";
|
||||
print "<hr>";
|
||||
|
||||
print "<p class=\"PartOfAREDN\">Part of the AREDN™ Project. For more details please <a href=\"/about.html\" target=\"_blank\">see here</a></p>";
|
||||
|
||||
# Page_Footer
|
||||
print "</div>"
|
||||
}
|
||||
|
||||
#weird uhttpd/busybox error requires a 1 at the end of this file
|
||||
1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
$debug = 0;
|
||||
|
@ -48,7 +63,9 @@ if($config eq "" or -e "/tmp/reboot-required")
|
|||
print "The configuration has been changed.<br>This page will not be available until the node is rebooted.\n";
|
||||
}
|
||||
print "</b></td></tr>\n";
|
||||
print "</table></center></body></html>\n";
|
||||
print "</table></center>";
|
||||
page_footer();
|
||||
print "</body></html>\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
@ -632,6 +649,7 @@ foreach(@hidden) { print "$_\n" }
|
|||
|
||||
print "</form></center>\n";
|
||||
show_debug_info();
|
||||
page_footer();
|
||||
print "</body></html>\n";
|
||||
exit;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
$debug = 0;
|
||||
|
@ -69,5 +84,6 @@ print "</form>\n";
|
|||
show_debug_info();
|
||||
show_parse_errors();
|
||||
|
||||
page_footer();
|
||||
print "</body>\n";
|
||||
print "</html>\n";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
$debug = 0;
|
||||
|
@ -822,5 +837,6 @@ if($debug)
|
|||
|
||||
show_parse_errors();
|
||||
|
||||
page_footer();
|
||||
print "</body>\n";
|
||||
print "</html>\n";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
$debug = 0;
|
||||
|
@ -224,5 +239,6 @@ print "</form>\n";
|
|||
show_debug_info();
|
||||
show_parse_errors();
|
||||
|
||||
page_footer();
|
||||
print "</body>\n";
|
||||
print "</html>\n";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
$debug = 0;
|
||||
|
@ -44,7 +59,7 @@ else { system "rm -f /tmp/.night; cp -f /www/day.css /tmp/w
|
|||
|
||||
# generate the page
|
||||
http_header();
|
||||
html_header("Broadband-Hamnet Node $node", 1);
|
||||
html_header("AREDN™ Node $node", 1);
|
||||
print "<body><form method=post action=/cgi-bin/status enctype='multipart/form-data'>\n";
|
||||
print "<center>\n";
|
||||
|
||||
|
@ -100,13 +115,13 @@ if($config eq "not set")
|
|||
print "<br><br>\n";
|
||||
print "<div style=\"max-width: 540px\; text-align: left\">\n";
|
||||
print "<p>This device can be configured to either permit or prohibit known encrypted traffic on its RF link. It is up to the user to decide which is appropriate based on how it will be used and the license under which it will be operated. These rules vary by country, frequency, and intended use. You are encouraged to read and understand these rules before going further.</p>";
|
||||
print "<p>This device is pre-configured with no restrictions as to the type of data being passed and is currently compatible with the Linksys WRT54G-series BBHN firmware.</p>\n";
|
||||
print "<p>This device is pre-configured with no restrictions as to the type of data being passed.</p>\n";
|
||||
print "<p>Follow these steps if <span style=\"text-decoration: underline\">you wish to prohibit</span> known encrypted traffic on the RF link. These instructions will disappear, so copy them for your reference:</p>";
|
||||
print "<p><ol>\n";
|
||||
print "<li>Setup your node name and password as instructed at the top of this page</li>";
|
||||
print "<li>After you Save Changes allow your node to reboot</li>";
|
||||
print "<li>Return to the Node Status page and navigate to Setup > Administration</li>";
|
||||
print "<li>Obtain the blockknownencryption package from the BBHN website OR refresh the Package list (node must be connected to the internet)</li>";
|
||||
print "<li>Obtain the blockknownencryption package from the AREDN™ website OR refresh the Package list (node must be connected to the internet)</li>";
|
||||
print "<li>Install the blockknownencryption package by uploading it or choosing it from the package drop-down list</li>";
|
||||
print "<li>Wait until the package installs and then reboot your node</li>";
|
||||
print "</ol></p>\n";
|
||||
|
@ -263,5 +278,6 @@ print "</form>\n";
|
|||
show_debug_info();
|
||||
show_parse_errors();
|
||||
|
||||
page_footer();
|
||||
print "</body>\n";
|
||||
print "</html>\n";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
=for commnet
|
||||
|
||||
Part of BBHN Mesh -- Used for creating Amateur Radio friendly mesh networks
|
||||
Part of AREDN -- Used for creating Amateur Radio Emergency Data Networks
|
||||
Copyright (C) 2015 Conrad Lara
|
||||
See Contributors file for additional contributors
|
||||
|
||||
|
@ -19,6 +19,21 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Additional Terms:
|
||||
|
||||
Additional use restrictions exist on the AREDN(TM) trademark and logo.
|
||||
See AREDNLicense.txt for more info.
|
||||
|
||||
Attributions to the AREDN Project must be retained in the source code.
|
||||
If importing this code into a new or existing project attribution
|
||||
to the AREDN project must be added to the source code.
|
||||
|
||||
You must not misrepresent the origin of the material conained within.
|
||||
|
||||
Modified versions must be modified to attribute to the original source
|
||||
and be marked in reasonable ways as differentiate it from the original
|
||||
version.
|
||||
|
||||
=cut
|
||||
|
||||
BEGIN {push @INC, '/www/cgi-bin'};
|
||||
|
@ -56,5 +71,7 @@ print "\nnvram\n";
|
|||
system "uci -c /etc/local/uci show 2>&1";
|
||||
|
||||
print "</pre>\n";
|
||||
|
||||
page_footer();
|
||||
print "</body>\n";
|
||||
print "</html>\n";
|
||||
|
|
|
@ -1,10 +1,28 @@
|
|||
body { background:white; color:black }
|
||||
a:link { background:white; color:blue }
|
||||
a:visited { background:white; color:blue }
|
||||
a:active { background:white; color:blue }
|
||||
body { font-family:Verdana; background:rgb(231,231,231); color:black }
|
||||
a:link { background:rgb(231,231,231); color:rgb(190,30,44) }
|
||||
a:visited { background:rgb(231,231,231); color:rgb(190,30,44) }
|
||||
a:active { background:rgb(231,231,231); color:rgb(190,30,44) }
|
||||
h1 { font-family:Verdana; color:rgb(190,30,44); text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black }
|
||||
|
||||
hr {
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
color:rgb(108,231,232);
|
||||
background-color:rgb(108,231,232);
|
||||
}
|
||||
|
||||
body table {
|
||||
font-size: 12px;
|
||||
|
||||
}
|
||||
.navbar_select { background:black; color:white }
|
||||
.navbar_select a:link { background:black; color:white }
|
||||
.navbar_select a:visited { background:black; color:white }
|
||||
.navbar_select a:active { background:black; color:white }
|
||||
|
||||
.TopBanner { width:100%; }
|
||||
.LogoDiv { position:absolute left:0px; width:100%; height:95; }
|
||||
.AREDNLogo { background:rgb(231,231,231); position:absolute; left:10%; width:175; height:95; }
|
||||
.PartOfAREDN { font-family:Verdana; font-size:xx-small; text-align:center; }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Broadband-Hamnet Node Help</title>
|
||||
<title>AREDN™ Node Help</title>
|
||||
<meta http-equiv='expires' content='0'>
|
||||
<meta http-equiv='cache-control' content='no-cache'>
|
||||
<meta http-equiv='pragma' content='no-cache'>
|
||||
|
@ -141,18 +141,19 @@ temporary files. Memory is the amount of RAM available for running processes.
|
|||
<a name=setup><h2>Basic Setup</h2></a>
|
||||
<p>
|
||||
This is where the basic networking settings are made for the node. Because of
|
||||
the way Broadband-Hamnet is designed you generally will not need to change any of the
|
||||
the way AREDN™ is designed you generally will not need to change any of the
|
||||
settings on this page other than the node name/type and password.
|
||||
<u>Do not change any of the network settings unless you fully understand how
|
||||
the mesh works and why the default is not suitable for your application.</u>
|
||||
One reason Broadband-Hamnet exists is to eliminate, as much as possible, the need to
|
||||
One reason AREDN™ exists is to eliminate, as much as possible, the need to
|
||||
manually configure the network.
|
||||
</p>
|
||||
<p>
|
||||
The buttons on this page work as follows:
|
||||
</p>
|
||||
<ul>
|
||||
<li><strong>Save Changes</strong> will check the validity of all the
|
||||
<li><strong>Save Change
|
||||
s</strong> will check the validity of all the
|
||||
entered information and save it to flash memory if no errors are found. A
|
||||
reboot is required to make most changes on this page take effect, and should
|
||||
be done as soon as possible to avoid configuration mismatch problems.<br><br></li>
|
||||
|
@ -301,7 +302,7 @@ self explanatory. The <b>LAN Mode</b> is described in the next section.
|
|||
|
||||
<!--
|
||||
, but the <strong>Mesh Bridge</strong> function will be described
|
||||
here. Given that Broadband-Hamnet is not restricted to the standard channels of the
|
||||
here. Given that AREDN™ is not restricted to the standard channels of the
|
||||
2.4GHz ISM band, it is possible that two nodes can be in range but not be able
|
||||
to communicate because they are using different radio parameters or are on an
|
||||
entirely different band. The Mesh Bridge function allows them to communicate.
|
||||
|
@ -309,7 +310,7 @@ entirely different band. The Mesh Bridge function allows them to communicate.
|
|||
<br><br>
|
||||
<u>The use of this function requires central coordination. This is a
|
||||
specialized and rarely needed function. Improper use will cause network
|
||||
problems for everyone. Please contact us at broadband-hamnet.org to receive a set of
|
||||
problems for everyone. Please contact us at aredn.org to receive a set of
|
||||
customized network parameters if you have a need to bridge your meshes.</u>
|
||||
-->
|
||||
</p>
|
||||
|
@ -337,7 +338,7 @@ available to the node itself and to any computer connected to the LAN port.
|
|||
When the Mesh Gateway is enabled, this node will advertise to the mesh that it
|
||||
has internet access and will act as a gateway and provide internet access to
|
||||
the rest of the mesh. By default it is disabled, so consider carefully your
|
||||
intentions for enabling it. Broadband-Hamnet is an FCC Part 97 amateur radio
|
||||
intentions for enabling it. AREDN™ is an FCC Part 97 amateur radio
|
||||
computer network, so be sure that any internet traffic that will be sent over
|
||||
radio will comply with Part 97 rules. If you just want local wireless
|
||||
internet access, consider using a standard Part 15 compliant access point
|
||||
|
@ -629,7 +630,7 @@ automatically when it is needed.
|
|||
<strong>Package Management</strong> allows you to install and remove
|
||||
software packages on the node. <strong>Upload Package</strong> allows you to
|
||||
install a package file from your computer. <strong>Download Package</strong>
|
||||
allows you do retrieve a package over the internet from the Broadband-Hamnet website.
|
||||
allows you do retrieve a package over the internet from the AREDN™ website.
|
||||
Clicking <strong>Refresh</strong> will populate the list of packages available
|
||||
for download, but don't do this frivolously. The package information database
|
||||
gets stored locally and will use about 100KB of space in flash memory. The
|
||||
|
|
|
@ -13,3 +13,8 @@ select { background-color:gray; font-weight:bold }
|
|||
.navbar_select a:visited { background:red; color:black }
|
||||
.navbar_select a:active { background:red; color:black }
|
||||
|
||||
|
||||
.TopBanner { width:100%; }
|
||||
.LogoDiv { position:absolute left:0px; width:100%; height:95; }
|
||||
.AREDNLogo { background:rgb(231,231,231); position:absolute; left:10%; width:175; height:95; }
|
||||
.PartOfAREDN { font-family:Verdana; font-size:xx-small; text-align:center; }
|
||||
|
|
Loading…
Reference in New Issue