|
Last change
on this file since 8306 was 8261, checked in by rick, 15 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:
952 bytes
|
| Line | |
|---|
| 1 | #
|
|---|
| 2 | #
|
|---|
| 3 | # Read by /usr/local/sbin/wireless-up.pl
|
|---|
| 4 | #
|
|---|
| 5 | # config Proxy7 Leythenrode
|
|---|
| 6 | # verbonden met 'vuil' internet van Zorggroep Rijnland
|
|---|
| 7 | # lokaal ip en nameservers via dhcp
|
|---|
| 8 | # LET OP: niet standaard configuratie ivm lokale ap's!
|
|---|
| 9 | # Proxy is ook dhcpd server voor de lokale gebruikers,
|
|---|
| 10 | # dus apart dnsmasq geinstalleerd en geconfigureerd
|
|---|
| 11 |
|
|---|
| 12 | $master_ip='172.17.0.1';
|
|---|
| 13 | $gateway='192.168.200.1';
|
|---|
| 14 | $internalroute='172.17.0.2';
|
|---|
| 15 | $internalif='sis1';
|
|---|
| 16 | $nodetype='Proxy';
|
|---|
| 17 | $nodename='Proxy7';
|
|---|
| 18 | $proxyid='7';
|
|---|
| 19 | $location="Verpleeghuis Leythenrode, Hoogmadeseweg 55, 2351CP, Leiderdorp";
|
|---|
| 20 | $status='up';
|
|---|
| 21 | $release="8.0-RELEASE";
|
|---|
| 22 | $X='96728';
|
|---|
| 23 | $Y='463407';
|
|---|
| 24 |
|
|---|
| 25 | $config{'sis0'}=sprintf <<SIS0;
|
|---|
| 26 | COMMENT=Link naar Router
|
|---|
| 27 | TYPE=ethernet
|
|---|
| 28 | IP=192.168.200.100/24
|
|---|
| 29 | DESC=Link naar Router
|
|---|
| 30 | SDESC=uplink
|
|---|
| 31 | DHCP=no
|
|---|
| 32 | SIS0
|
|---|
| 33 |
|
|---|
| 34 | $config{'sis1'}=sprintf <<SIS1;
|
|---|
| 35 | COMMENT=Local 24-subnet to node and clients
|
|---|
| 36 | TYPE=ethernet
|
|---|
| 37 | IP=$master_ip/24
|
|---|
| 38 | DESC=naar NodeLeythenrode and clients
|
|---|
| 39 | SDESC=Leythenrode_subnet
|
|---|
| 40 | DHCP=10-250
|
|---|
| 41 | SIS1
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.