Line | |
---|
1 | #
|
---|
2 | #
|
---|
3 | # Read by /usr/local/sbin/wireless-up.pl
|
---|
4 | #
|
---|
5 | # config CNodeMarten
|
---|
6 |
|
---|
7 | $master_ip='172.18.16.1';
|
---|
8 | $gw_open='closed';
|
---|
9 | $nodetype='CNode';
|
---|
10 | $nodename='Marten';
|
---|
11 |
|
---|
12 | $OS='FreeBSD';
|
---|
13 | $labelpos='left';
|
---|
14 |
|
---|
15 |
|
---|
16 |
|
---|
17 | $NS_resolv="127.0.0.1 $master_ip 172.18.0.1 172.18.8.1";
|
---|
18 |
|
---|
19 | $NS_forward="$master_ip 172.18.0.1 172.18.8.1";
|
---|
20 |
|
---|
21 | $X='094544';
|
---|
22 | $Y='462769';
|
---|
23 | $N='52 09.047';
|
---|
24 | $E='04 30.251';
|
---|
25 |
|
---|
26 |
|
---|
27 | $config{'ed0'}=sprintf <<ED0; # Ethernet
|
---|
28 | TYPE=ethernet
|
---|
29 | IP=172.18.16.65/28
|
---|
30 | ROUTE=0.0.0.0/0 172.18.16.66
|
---|
31 |
|
---|
32 | DESC=Ethernet naar Marten
|
---|
33 | SDESC=eth0
|
---|
34 | SPEED=10240000000
|
---|
35 |
|
---|
36 | DHCP=no
|
---|
37 | NAT=no
|
---|
38 |
|
---|
39 | OSPF_AREA=0
|
---|
40 | OSPF_BROADCAST=no
|
---|
41 | OSPF_NEIGHBORS=no
|
---|
42 |
|
---|
43 | ED0
|
---|
44 |
|
---|
45 |
|
---|
46 |
|
---|
47 | $config{'wi0'}=sprintf <<EW0; # OMNI
|
---|
48 | TYPE=wireless
|
---|
49 | IP=$master_ip/26
|
---|
50 |
|
---|
51 | DESC=Omni voor de buurt
|
---|
52 | SDESC=omni
|
---|
53 | SPEED=11534336
|
---|
54 |
|
---|
55 | DHCP=10-60
|
---|
56 | #DHCP_STATIC= host ipaq1{hardware ethernet 00:02:2D:0E:4F:0D; fixed-address 172.18.8.2;} host ipaq2{hardware ethernet 00:02:2D:09:21:28; fixed-address 172.18.8.3;}
|
---|
57 |
|
---|
58 | NAT=no
|
---|
59 |
|
---|
60 | OSPF_AREA=0
|
---|
61 | OSPF_BROADCAST=no
|
---|
62 | OSPF_NEIGHBORS=no
|
---|
63 |
|
---|
64 | MODE=master
|
---|
65 | ESSID=omni.marten0.wleiden.net
|
---|
66 | CHANNEL=1
|
---|
67 |
|
---|
68 | TXPOWER=20
|
---|
69 | SENS=3
|
---|
70 |
|
---|
71 | POLAR=Ver
|
---|
72 | ANTENNA=omni
|
---|
73 | GAIN=10dBi
|
---|
74 | DIRECTION=omni
|
---|
75 | BEAMWIDTH=360
|
---|
76 | CABLE=0
|
---|
77 |
|
---|
78 | EW0
|
---|
79 |
|
---|
80 |
|
---|
81 | $config{'wi1'}=sprintf <<EW1; # link naar Evert
|
---|
82 | TYPE=wireless
|
---|
83 | IP=172.16.0.62/30
|
---|
84 | DESC=Link naar Evert
|
---|
85 | SDESC=2evert
|
---|
86 | SPEED=11534336
|
---|
87 | POINT_TO_POINT=172.16.0.61
|
---|
88 |
|
---|
89 | NAT=no
|
---|
90 |
|
---|
91 | OSPF_AREA=0
|
---|
92 | OSPF_BROADCAST=no
|
---|
93 | OSPF_NEIGHBORS=172.16.0.61
|
---|
94 |
|
---|
95 | MODE=managed
|
---|
96 | ESSID=Profwijk.evert0.wleiden.net
|
---|
97 | CHANNEL=9
|
---|
98 | TXPOWER=20
|
---|
99 | SENS=3
|
---|
100 |
|
---|
101 | POLAR=Vert
|
---|
102 | ANTENNA=Quad
|
---|
103 | GAIN=7dBi
|
---|
104 | DIRECTION=?
|
---|
105 | BEAMWIDTH=30
|
---|
106 | CABLE=1
|
---|
107 |
|
---|
108 | DHCP=no
|
---|
109 |
|
---|
110 | EW1
|
---|
111 |
|
---|
112 | $config{'wi2'}=sprintf <<EW2; # link naar Mark
|
---|
113 | TYPE=wireless
|
---|
114 | IP=172.18.17.1/26
|
---|
115 | DESC=Link naar Mark
|
---|
116 | SDESC=2imi
|
---|
117 | SPEED=11534336
|
---|
118 | POINT_TO_POINT=172.18.17.2
|
---|
119 |
|
---|
120 | NAT=no
|
---|
121 |
|
---|
122 | OSPF_AREA=0
|
---|
123 | OSPF_BROADCAST=no
|
---|
124 | #OSPF_NEIGHBORS=172.18.17.2
|
---|
125 |
|
---|
126 | MODE=managed
|
---|
127 | ESSID=hnode.mark.wleiden.net
|
---|
128 | CHANNEL=6
|
---|
129 | TXPOWER=20
|
---|
130 | SENS=3
|
---|
131 |
|
---|
132 | POLAR=Vert
|
---|
133 | ANTENNA=Omni
|
---|
134 | GAIN=7dBi
|
---|
135 | DIRECTION=0
|
---|
136 | BEAMWIDTH=30
|
---|
137 | CABLE=2
|
---|
138 |
|
---|
139 | DHCP=no
|
---|
140 |
|
---|
141 | EW2
|
---|
142 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.