1 | #
|
---|
2 | #
|
---|
3 | # Read by /usr/local/sbin/wireless-up.pl
|
---|
4 | #
|
---|
5 | # config CNodeZwaluwAK
|
---|
6 |
|
---|
7 | $location="PC Basisschool De Zwaluw, A. Kleijnstraat 8, 2331 DV, Leiden";
|
---|
8 | $master_ip='172.22.0.1';
|
---|
9 | $gw_open='closed';
|
---|
10 | $nodetype='CNode';
|
---|
11 | $nodename='Zwaluwak';
|
---|
12 | $release="7.2-RELEASE";
|
---|
13 | $node_config_version="1";
|
---|
14 | $genesis_control="YES";
|
---|
15 |
|
---|
16 | $OS='FreeBSD';
|
---|
17 |
|
---|
18 | $status='up';
|
---|
19 |
|
---|
20 | # edugis x,y 90739,463249
|
---|
21 | $X='90739';
|
---|
22 | $Y='463249';
|
---|
23 |
|
---|
24 | $config{'ath0'}=sprintf <<ATH0; # Omni
|
---|
25 | TYPE=wireless
|
---|
26 | IP=$master_ip/24
|
---|
27 | DESC=omni voor de buurt
|
---|
28 | SDESC=omni
|
---|
29 | SPEED=11534336
|
---|
30 | DHCP=10-60
|
---|
31 | MODE=master
|
---|
32 | ESSID=ap-omni.zwaluwak.wleiden.net
|
---|
33 | CHANNEL=7
|
---|
34 | POLAR=Ver
|
---|
35 | ANTENNA=omni
|
---|
36 | GAIN=6dBi
|
---|
37 | DIRECTION=omni
|
---|
38 | BEAMWIDTH=360
|
---|
39 | CABLE=6
|
---|
40 | HEIGTH=10
|
---|
41 | ATH0
|
---|
42 |
|
---|
43 | $config{'vr0'}=sprintf <<VR0; # Ethernet
|
---|
44 | TYPE=ethernet
|
---|
45 | IP=172.22.0.65/29
|
---|
46 | MEDIA=100baseT/UTP
|
---|
47 | DESC=Ethernet naar proxy
|
---|
48 | SDESC=eth
|
---|
49 | SPEED=10240000000
|
---|
50 | DHCP=no
|
---|
51 | VR0
|
---|
52 |
|
---|
53 | $config{'vr1'}=sprintf <<VR1; # link naar Unigor via Bullet 1
|
---|
54 | TYPE=ethernet
|
---|
55 | EXTRA_TYPE=eth2wifibridge
|
---|
56 | IP=172.16.1.254/30
|
---|
57 | DESC=Link naar Unigor
|
---|
58 | SDESC=2unigor
|
---|
59 | SPEED=10240000000
|
---|
60 | POINT_TO_POINT=172.16.1.253
|
---|
61 | DHCP=no
|
---|
62 | VR1
|
---|
63 |
|
---|
64 | $config{'vr1:0'}=sprintf <<VR10; # to bullet 1 mgmt interface
|
---|
65 | TYPE=ethernet
|
---|
66 | IP=172.16.4.13/30
|
---|
67 | DESC=ethernet to bullet 1 mgmt interface
|
---|
68 | SDESC=manageBUL1
|
---|
69 | SPEED=10240000000
|
---|
70 | DHCP=no
|
---|
71 | #MODE=managed
|
---|
72 | #ESSID=il-z.unigor.wleiden.net
|
---|
73 | #POINT_TO_POINT=172.16.4.14
|
---|
74 | #POLAR=Hor
|
---|
75 | #ANTENNA=SD15
|
---|
76 | #GAIN=13dBi
|
---|
77 | #DIRECTION=10
|
---|
78 | #BEAMWIDTH=30
|
---|
79 | #CABLE=6
|
---|
80 | #HEIGTH=10
|
---|
81 | VR10
|
---|
82 |
|
---|
83 | $config{'vr2'}=sprintf <<VR2; # link naar Oblste via Bullet 2
|
---|
84 | TYPE=ethernet
|
---|
85 | EXTRA_TYPE=eth2wifibridge
|
---|
86 | IP=172.16.0.150/30
|
---|
87 | DESC=Link naar Oblste
|
---|
88 | SDESC=2oblste
|
---|
89 | SPEED=10240000000
|
---|
90 | POINT_TO_POINT=172.16.0.149
|
---|
91 | VR2
|
---|
92 |
|
---|
93 | $config{'vr2:0'}=sprintf <<VR20; # to bullet 2 mgmt interface
|
---|
94 | TYPE=ethernet
|
---|
95 | IP=172.16.4.17/30
|
---|
96 | DESC=ethernet to bullet 2 mgmt interface
|
---|
97 | SDESC=manageBUL2
|
---|
98 | SPEED=10240000000
|
---|
99 | DHCP=no
|
---|
100 | #MODE=managed
|
---|
101 | #ESSID=il-nw.oblste.wleiden.net
|
---|
102 | #POINT_TO_POINT=172.16.4.18
|
---|
103 | #POLAR=Hor
|
---|
104 | #ANTENNA=SD15
|
---|
105 | #GAIN=13dBi
|
---|
106 | #DIRECTION=160
|
---|
107 | #BEAMWIDTH=40
|
---|
108 | #CABLE=6
|
---|
109 | #HEIGTH=10
|
---|
110 | VR20
|
---|
111 |
|
---|
112 | #must be renamed to aue0 when g_list.pl script fixed
|
---|
113 | $config{'vr3'}=sprintf <<UE0; # a-link naar NodeUnigor via Airlive
|
---|
114 | TYPE=ethernet
|
---|
115 | EXTRA_TYPE=eth2wifibridge
|
---|
116 | SUBTYPE=802.11a
|
---|
117 | IP=172.16.4.22/30
|
---|
118 | DESC=A Link naar Unigor
|
---|
119 | SDESC=2unigor
|
---|
120 | SPEED=10240000000
|
---|
121 | POINT_TO_POINT=172.16.4.21
|
---|
122 | DHCP=no
|
---|
123 | UE0
|
---|
124 |
|
---|
125 | #must be renamed to aue0:0 when g_list.pl script fixed
|
---|
126 | $config{'vr3:0'}=sprintf <<UE00; # management interface Airlive
|
---|
127 | TYPE=ethernet
|
---|
128 | IP=172.16.4.25/30
|
---|
129 | DESC=mgmt interface airlive
|
---|
130 | SDESC=manageairlive
|
---|
131 | SPEED=10240000000
|
---|
132 | DHCP=no
|
---|
133 | #POINT_TO_POINT=172.16.4.26
|
---|
134 | #MODE=managed
|
---|
135 | #ESSID=il-zA.unigor.wleiden.net
|
---|
136 | UE00
|
---|