source: genesis/nodes/CNodeHans/wleiden.conf@ 8299

Last change on this file since 8299 was 8261, checked in by rick, 14 years ago
  • Commented variables are kind of useless as no program will be able to parse them. So made them 'active'
  • The text behind the $config proves to be a more usefull description than the normal DESC field, pushed them into a variable called COMMENT so we can finally start using them.
  • Commented code is in general bad stuff with a revision control system as it clutters the view, made the non active interface just 'idle' active.
  • Property svn:eol-style set to native
File size: 998 bytes
Line 
1#
2#
3#
4# Read by /usr/local/sbin/wireless-up.pl
5#
6# config CNodeHans
7$location="Hans, Steenbokstraat, 2394 PC, Hazerswoude Rijndijk";
8$master_ip='172.25.144.1';
9$nodetype='CNode';
10$nodename='Hans';
11$release="5.0-RELEASE";
12
13
14$status='up';
15
16#edugis x,y 100945,460430
17$X='100945';
18$Y='460430';
19
20$config{'xl0'}=sprintf <<ED0;
21COMMENT=Local ethernet
22
23TYPE=ethernet
24IP=172.25.144.65/29
25
26DESC=Ethernet lokaal
27SDESC=eth0
28DHCP=68-70
29DHCP=no
30
31
32ED0
33
34$config{'wi0'}=sprintf <<EW0;
35TYPE=wireless
36IP=$master_ip/26
37DESC=Omni voor de buurt
38SDESC=omni.hans
39DHCP=10-60
40
41
42MODE=master
43ESSID=ap-omni.hans.wleiden.net
44CHANNEL=1
45
46
47EW0
48
49$config{'wi1'}=sprintf <<EW1;
50COMMENT=Link naar AA24
51TYPE=wireless
52IP=172.16.2.41/30
53
54DESC=Link naar AA24
55SDESC=2AA24
56
57
58
59
60MODE=master
61ESSID=il-w.hans.wleiden.net
62CHANNEL=4
63
64
65DHCP=no
66
67EW1
68
69$config{'wi2'}=sprintf <<EW2;
70COMMENT=link naar Gerard
71TYPE=wireless
72IP=172.16.1.189/30
73DESC=Link naar Gerard
74SDESC=2Gerard
75
76
77
78MODE=master
79ESSID=il-no.hans.wleiden.net
80CHANNEL=8
81
82
83DHCP=no
84
85EW2
86
87
88
Note: See TracBrowser for help on using the repository browser.