Last change
on this file since 8399 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
-
Property svn:executable
set to
*
|
File size:
849 bytes
|
Line | |
---|
1 | #
|
---|
2 | #
|
---|
3 | # Read by /usr/local/sbin/wireless-up.pl
|
---|
4 | #
|
---|
5 | # config Proxy5 in school Woutertje Pieterse
|
---|
6 | # verbonden met glasvezel gateway 192.168.0.1
|
---|
7 | # nameservers: 217.149.192.6 en 217.149.196.6
|
---|
8 |
|
---|
9 | $master_ip='172.19.168.66';
|
---|
10 | $gateway='192.168.0.1';
|
---|
11 | $internalroute='172.19.168.65';
|
---|
12 | $internalif='sis1';
|
---|
13 | $nodetype='Proxy';
|
---|
14 | $nodename='Proxy5';
|
---|
15 | $proxyid='5';
|
---|
16 | $location=" Openbare Basisschool Woutertje Pieterse, Houtlaan 60, 2334 CL, Leiden";
|
---|
17 | $status='up';
|
---|
18 | $release="8.0-RELEASE";
|
---|
19 | $X='92927';
|
---|
20 | $Y='465365';
|
---|
21 |
|
---|
22 | $config{'sis0'}=sprintf <<SIS0;
|
---|
23 | COMMENT=Link naar router
|
---|
24 | TYPE=ethernet
|
---|
25 | IP=192.168.0.16/24
|
---|
26 | DESC=Link naar router
|
---|
27 | SDESC=uplink
|
---|
28 | DHCP=no
|
---|
29 | SIS0
|
---|
30 |
|
---|
31 | $config{'sis1'}=sprintf <<SIS1;
|
---|
32 | COMMENT=Link naar NodeWP
|
---|
33 | TYPE=ethernet
|
---|
34 | IP=$master_ip/30
|
---|
35 | DESC=Link naar NodeWP
|
---|
36 | SDESC=downlink
|
---|
37 | DHCP=no
|
---|
38 | SIS1
|
---|
Note:
See
TracBrowser
for help on using the repository browser.