Last change
on this file since 8962 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:
966 bytes
|
Line | |
---|
1 | #
|
---|
2 | #
|
---|
3 | # Read by /usr/local/sbin/wireless-up.pl
|
---|
4 | #
|
---|
5 | # config Proxy4 in woning Pergolesipad 95 bij NodeLivingLab
|
---|
6 | # verbonden met Portaal glasvezel (172.16.0.0) via Linksys router subnet 192.168.1.0
|
---|
7 | # nameservers: 217.149.192.6 en 217.149.196.6
|
---|
8 | # WAN: 82.215.33.247, gateway 82.215.32.1
|
---|
9 |
|
---|
10 | $master_ip='172.16.2.254';
|
---|
11 | $gateway='192.168.1.1';
|
---|
12 | $internalroute='172.16.2.253';
|
---|
13 | $internalif='sis1';
|
---|
14 | $nodetype='Proxy';
|
---|
15 | $nodename='Proxy4';
|
---|
16 | $proxyid='4';
|
---|
17 | $location="Pergolesipad 95, 2324 DG, Leiden";
|
---|
18 | $status='up';
|
---|
19 | $release="8.0-RELEASE";
|
---|
20 | $X='92036';
|
---|
21 | $Y='462256';
|
---|
22 |
|
---|
23 | $config{'sis0'}=sprintf <<SIS0;
|
---|
24 | COMMENT=Link naar Router
|
---|
25 | TYPE=ethernet
|
---|
26 | IP=192.168.1.100/24
|
---|
27 | DESC=Link naar Router
|
---|
28 | SDESC=uplink
|
---|
29 | DHCP=no
|
---|
30 | # user Linksys: <blanc>, standaard pwd
|
---|
31 | # admin interface via https
|
---|
32 | SIS0
|
---|
33 |
|
---|
34 | $config{'sis1'}=sprintf <<SIS1;
|
---|
35 | COMMENT=Link naar NodeLivingLab
|
---|
36 | TYPE=ethernet
|
---|
37 | IP=$master_ip/30
|
---|
38 | DESC=Link naar NodeLivingLab
|
---|
39 | SDESC=downlink
|
---|
40 | DHCP=no
|
---|
41 | SIS1
|
---|
Note:
See
TracBrowser
for help on using the repository browser.