Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
020-wireless
020_dns
Commits
5b0b666f
Commit
5b0b666f
authored
Feb 09, 2016
by
hark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed some files
parent
7f37fe4a
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
52 additions
and
63 deletions
+52
-63
CHANNELS
CHANNELS
+13
-0
FORWARD
FORWARD
+5
-0
dns/copy.sh
dns/copy.sh
+23
-55
dns/hostfiles/amsw_tunnel
dns/hostfiles/amsw_tunnel
+0
-0
dns/hostfiles/irl
dns/hostfiles/irl
+0
-0
dns/hostfiles/ki
dns/hostfiles/ki
+0
-0
dns/hostfiles/nwlan40
dns/hostfiles/nwlan40
+0
-0
dns/hostfiles/nwlan41
dns/hostfiles/nwlan41
+0
-0
dns/hostfiles/nwlan42
dns/hostfiles/nwlan42
+0
-0
dns/hostfiles/nwlan43
dns/hostfiles/nwlan43
+0
-0
dns/hostfiles/nwlan44
dns/hostfiles/nwlan44
+0
-0
dns/hostfiles/nwlan_mng
dns/hostfiles/nwlan_mng
+0
-0
dns/hostfiles/routers
dns/hostfiles/routers
+0
-0
dns/hostfiles/spcl.irl
dns/hostfiles/spcl.irl
+0
-1
dns/hostfiles/transfernet
dns/hostfiles/transfernet
+0
-0
dns/hostfiles/vlan1acta
dns/hostfiles/vlan1acta
+0
-0
dns/hostfiles/wfc
dns/hostfiles/wfc
+0
-0
dns/hostfiles/wg
dns/hostfiles/wg
+0
-0
dns/make.sh
dns/make.sh
+11
-7
No files found.
CHANNELS
0 → 100644
View file @
5b0b666f
WFC scan:
Scanned Frequencies:
5.18GHz 5.2GHz 5.22GHz 5.24GHz 5.26GHz 5.28GHz 5.3GHz 5.32GHz 5.5GHz 5.52GHz 5.54GHz 5.56GHz 5.58GHz 5.6GHz 5.62GHz 5.64GHz 5.66GHz 5.68GHz 5.7GHz
MAC Address SSID Device Name Encryption Signal / Noise, dBm Frequency, GHz Channel
38:D8:2F:25:E3:DE H369A25E3DD WPA2 -76 / -100 5.26 52
70:9F:2D:9C:1B:EF H369A9C1BEE WPA2 -79 / -100 5.26 52
0C:D6:BD:0F:19:F0 VFNL-0F19E35G WPA2 -81 / -100 5.26 52
24:A4:3C:FA:94:E0 020-acta-wfc ACTA_to_WFC_AP WPA2 -57 / -100 5.66 132
00:27:22:10:FD:F8 il-no.unigorn.wleiden.net il-NO NONE -78 / -100 5.26 52
FORWARD
0 → 100644
View file @
5b0b666f
yaesu Wires
46100, 46110, 46112, 46114, 46120, 46122
dns/copy.sh
View file @
5b0b666f
...
...
@@ -2,15 +2,19 @@
.
paths.sh
#HOSTS="stanleyH atc kalium"
HOSTS
=
"stanleyH kalium"
#
# copy all 020 reverse zones
#
#make_zone hostfile.amsw amsw.020 10.205.252:255.255.255.0
#make_zone hostfile.routers routers.020 10.205.253:255.255.255.0
#make_zone hostfile.transfernet transfernet.020 10.205.254:255.255.255.0
#make_zone hostfile.radio radio.020 10.205.255:255.255.255.0
cz
()
{
# copies the zonefiles
# $1 name
# $2 reverse
echo
"copying
$1
zone, with subnet
$2
"
cd
$OUT
/
$1
.020
scp db.
$1
db.
$2
root@
$H
:/etc/bind/zones/
cd
$OUT
}
for
H
in
$HOSTS
do
...
...
@@ -19,49 +23,18 @@ do
#gitzones
scp
$HFD
/gitzones.conf root@
$H
:/etc/bind/zones/
#forward
scp
$HFD
/forwardzones.conf root@
$H
:/etc/bind/zones/
#adm
scp
$HFD
/adm.conf root@
$H
:/etc/bind/zones/
#tinc tunnel
cd
$OUT
/amsw.020
scp db.10.205.252 db.amsw root@
$H
:/etc/bind/zones/
cd
$OUT
#routers
cd
$OUT
/routers.020
scp db.10.205.253 db.routers root@
$H
:/etc/bind/zones/
cd
$OUT
#transfernet
cd
$OUT
/transfernet.020
scp db.10.205.255 db.transfernet root@
$H
:/etc/bind/zones/
cd
$OUT
#radio
#cd $OUT/radio.020
#scp db.10.205.255 db.radio root@atc:/etc/bind/zones/
#scp db.10.205.255 db.radio root@stanleyH:/etc/bind/zones/
#cd $OUT
# ki zone
echo
"copying ki zone: "
cd
$OUT
/ki.020
scp db.10.205.14 db.ki root@
$H
:/etc/bind/zones/
cd
$OUT
#
#
irl
zone
#
autogenerated
zone
s
#
echo
"copying irl zone: "
cd
$OUT
/irl.020
scp db.10.205.12 db.irl root@
$H
:/etc/bind/zones/
cd
$OUT
cz amsw 10.205.252
cz routers 10.205.253
cz transfernet 10.205.255
cz ki 10.205.14
cz irl 10.205.12
#
# Copy static zones
...
...
@@ -73,23 +46,18 @@ do
#020.
scp
$STA
/db.020 root@
$H
:/etc/bind/zones/
# squesh.net
scp
$STA
/squesh.net.db root@
$H
:/etc/bind/zones/
# squest.net
scp
$STA
/net.020wireless.nl.db root@
$H
:/etc/bind/zones/
done
#
# reload configs
#
echo
"reload trashbat: "
ssh root@trashbat /etc/init.d/bind9 reload
#
echo "reload trashbat: "
#
ssh root@trashbat /etc/init.d/bind9 reload
echo
"reload stanleyH: "
ssh root@stanleyH /etc/init.d/named reload
echo
"reload air traffic control: "
ssh root@atc /etc/init.d/bind9 reload
#echo "reload air traffic control: "
#ssh root@atc /etc/init.d/bind9 reload
echo
"reload kalium"
ssh root@kalium /etc/init.d/bind9 reload
ssh root@kalium host test.020
...
...
dns/hostfiles/
hostfile.amsw
→
dns/hostfiles/
amsw_tunnel
View file @
5b0b666f
File moved
dns/hostfiles/
hostfile.
irl
→
dns/hostfiles/irl
View file @
5b0b666f
File moved
dns/hostfiles/
hostfile.
ki
→
dns/hostfiles/ki
View file @
5b0b666f
File moved
dns/hostfiles/
hostfile.
nwlan40
→
dns/hostfiles/nwlan40
View file @
5b0b666f
File moved
dns/hostfiles/
hostfile.
nwlan41
→
dns/hostfiles/nwlan41
View file @
5b0b666f
File moved
dns/hostfiles/
hostfile.
nwlan42
→
dns/hostfiles/nwlan42
View file @
5b0b666f
File moved
dns/hostfiles/
hostfile.
nwlan43
→
dns/hostfiles/nwlan43
View file @
5b0b666f
File moved
dns/hostfiles/
hostfile.
nwlan44
→
dns/hostfiles/nwlan44
View file @
5b0b666f
File moved
dns/hostfiles/
hostfile.
nwlan_mng
→
dns/hostfiles/nwlan_mng
View file @
5b0b666f
File moved
dns/hostfiles/
hostfile.
routers
→
dns/hostfiles/routers
View file @
5b0b666f
File moved
dns/hostfiles/spcl.irl
deleted
100644 → 0
View file @
7f37fe4a
test
dns/hostfiles/
hostfile.
transfernet
→
dns/hostfiles/transfernet
View file @
5b0b666f
File moved
dns/hostfiles/
hostfile.
vlan1acta
→
dns/hostfiles/vlan1acta
View file @
5b0b666f
File moved
dns/hostfiles/
spcl.ki
→
dns/hostfiles/
wfc
View file @
5b0b666f
File moved
dns/hostfiles/
hostfile.
wg
→
dns/hostfiles/wg
View file @
5b0b666f
File moved
dns/make.sh
View file @
5b0b666f
...
...
@@ -35,23 +35,27 @@
}
#routers /radios /etc.
make_zone hostfile.amsw amsw.020 10.205.252:255.255.255.0
make_zone hostfile.routers routers.020 10.205.253:255.255.255.0
make_zone hostfile.transfernet transfernet.020 10.205.255:255.255.255.0
make_zone routers routers.020 10.205.253:255.255.255.0
make_zone transfernet transfernet.020 10.205.255:255.255.255.0
#is same subnet as transfernet
#make_zone hostfile.radio radio.020 10.205.255:255.255.255.0
# acta vlan1
make_zone vlan1acta vlan1acta.020 192.168.88:255.255.255.0
make_zone amsw amsw.020 10.205.252:255.255.255.0
#
# irl.squesh.net zone
#
make_zone
hostfile.
irl irl.020 10.205.12:255.255.255.0:
make_zone
hostfile.
irl irl.squesh.net 10.205.12:255.255.255.0
make_zone irl irl.020 10.205.12:255.255.255.0:
make_zone irl irl.squesh.net 10.205.12:255.255.255.0
#ki zone
make_zone hostfile.ki ki.020 10.205.14:255.255.255.0
make_zone hostfile.ki ki.squesh.net 10.205.14:255.255.255.0
make_zone ki ki.020 10.205.14:255.255.255.0
make_zone ki ki.squesh.net 10.205.14:255.255.255.0
make_zone wfc wfc.020 10.205.9:255.255.255.0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment