Last change
on this file since 8962 was 8956, checked in by rick, 14 years ago |
New option CAPTIVE_PORTAL_WHITELIST used to set IP address to bypass the
captive portal, used (together! with DHCP_STATIC) for no-button devices.
|
-
Property svn:eol-style
set to
native
|
File size:
1.2 KB
|
Line | |
---|
1 | #
|
---|
2 | # config CNodeRick
|
---|
3 | $location="Rick van der Zwet, Brahmslaan 40, 2324 AN, Leiden";
|
---|
4 | $master_ip='172.20.145.1';
|
---|
5 | $nodetype='CNode';
|
---|
6 | $nodename='Rick';
|
---|
7 | $organization='WirelessLeiden';
|
---|
8 |
|
---|
9 | $status='up';
|
---|
10 |
|
---|
11 | # edugis x,y
|
---|
12 | $X='92280';
|
---|
13 | $Y='461707';
|
---|
14 |
|
---|
15 | $config{'sis0'}=sprintf <<EOF;
|
---|
16 | COMMENT=Link to proxy interface
|
---|
17 | TYPE=ethernet
|
---|
18 | STATUS=up
|
---|
19 | IP=172.16.3.97/30
|
---|
20 |
|
---|
21 | DESC=Proxy Link
|
---|
22 | SDESC=2proxy
|
---|
23 | EOF
|
---|
24 |
|
---|
25 |
|
---|
26 | $config{'ath0'}=sprintf <<ATH0;
|
---|
27 | COMMENT=Internal Wireless
|
---|
28 | TYPE=wireless
|
---|
29 | MODE=master
|
---|
30 | IP=$master_ip/26
|
---|
31 |
|
---|
32 | DHCP=10-60
|
---|
33 | SDESC=binnen
|
---|
34 |
|
---|
35 | DHCP_STATIC=00:22:43:84:32:6d,172.20.145.26;00:22:43:84:32:7d,172.20.145.27
|
---|
36 | CAPTIVE_PORTAL_WHITELIST=172.20.145.26
|
---|
37 |
|
---|
38 | CHANNEL=1
|
---|
39 | DESC=Internal Wireless
|
---|
40 | ESSID=ap-$organization-$nodename
|
---|
41 | ATH0
|
---|
42 |
|
---|
43 |
|
---|
44 |
|
---|
45 | $config{'sis1'}=sprintf <<EOF;
|
---|
46 | COMMENT=Link naar Haagwijk
|
---|
47 | TYPE=ethernet
|
---|
48 | STATUS=up
|
---|
49 | IP=172.16.4.148/29
|
---|
50 |
|
---|
51 | DESC=Link naar Haagwijk
|
---|
52 | SDESC=2haagwijk
|
---|
53 | MODE=bridge client wds
|
---|
54 | ESSID=il-zw.haagwijk.wleiden.net
|
---|
55 | NSMAC=
|
---|
56 | NS_IP=172.16.4.147/29
|
---|
57 | ESSID=il-zw.haagwijk.wleiden.net
|
---|
58 |
|
---|
59 | MODE=managed
|
---|
60 |
|
---|
61 | DHCP=no
|
---|
62 | EOF
|
---|
63 |
|
---|
64 | $config{'sis2'}=sprintf <<EOF;
|
---|
65 | COMMENT=Access Point achter
|
---|
66 | TYPE=ethernet
|
---|
67 | STATUS=up
|
---|
68 | IP=172.20.145.65/26
|
---|
69 |
|
---|
70 | DESC=Access Point
|
---|
71 | SDESC=2achter
|
---|
72 | MODE=master
|
---|
73 | ESSID=ap-$organization-${nodename}-2
|
---|
74 | NSMAC=
|
---|
75 | NS_IP=127.20.145.66/26
|
---|
76 |
|
---|
77 | DHCP=70-120
|
---|
78 | SDESC=binnen
|
---|
79 | EOF
|
---|
Note:
See
TracBrowser
for help on using the repository browser.