|
Last change
on this file since 8481 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:
1.5 KB
|
| Line | |
|---|
| 1 | #
|
|---|
| 2 | # Read by /usr/local/sbin/wireless-up.pl
|
|---|
| 3 | #
|
|---|
| 4 | # config CNodeSpoortje
|
|---|
| 5 | $status='up';
|
|---|
| 6 |
|
|---|
| 7 | $release="5.0-RELEASE";
|
|---|
| 8 |
|
|---|
| 9 | $location="Openbare Bibliotheek t Spoortje, Bernardkade 38, 2316 RX, Leiden";
|
|---|
| 10 | $X='94605';
|
|---|
| 11 | $Y='464628';
|
|---|
| 12 |
|
|---|
| 13 | $nodetype='CNode';
|
|---|
| 14 | $nodename='Spoortje';
|
|---|
| 15 | $master_ip='172.18.52.1';
|
|---|
| 16 |
|
|---|
| 17 | ##########################ethernet######################
|
|---|
| 18 | $config{'ep0'}=sprintf <<EP0;
|
|---|
| 19 | COMMENT=Ethernet
|
|---|
| 20 | TYPE=ethernet
|
|---|
| 21 | DESC=ethernet naar bibliotheek #Airport : transparant
|
|---|
| 22 | SDESC=eth
|
|---|
| 23 | IP=172.18.52.65/28
|
|---|
| 24 | DHCP=70-78
|
|---|
| 25 | EP0
|
|---|
| 26 |
|
|---|
| 27 | #########################eerste wireless kaart#######################
|
|---|
| 28 | $config{'wi0'}=sprintf <<EW0;
|
|---|
| 29 | COMMENT=Omni
|
|---|
| 30 | TYPE=wireless
|
|---|
| 31 | DESC=omni voor de buurt
|
|---|
| 32 | SDESC=omni
|
|---|
| 33 | MODE=master
|
|---|
| 34 | ESSID=ap-omni.spoortje.wleiden.net
|
|---|
| 35 | CHANNEL=1
|
|---|
| 36 | IP=$master_ip/26
|
|---|
| 37 | DHCP=10-60
|
|---|
| 38 | EW0
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 | #########################tweede wireless kaart#######################
|
|---|
| 42 | $config{'wi1'}=sprintf <<EW1;
|
|---|
| 43 | TYPE=wireless
|
|---|
| 44 | DESC=Link naar Cetim2
|
|---|
| 45 | SDESC=2cetim2
|
|---|
| 46 |
|
|---|
| 47 | MODE=managed
|
|---|
| 48 | ESSID=il-no.cetim2.wleiden.net
|
|---|
| 49 |
|
|---|
| 50 | IP=172.16.8.30/30
|
|---|
| 51 | DHCP=no
|
|---|
| 52 | EW1
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 | #########################derde wireless kaart#######################
|
|---|
| 58 | $config{'wi2'}=sprintf <<EW2;
|
|---|
| 59 | TYPE=wireless
|
|---|
| 60 | DESC=Link naar Roomburgh1
|
|---|
| 61 | SDESC=2roomburgh1
|
|---|
| 62 |
|
|---|
| 63 | MODE=managed
|
|---|
| 64 | ESSID=il-n.roomburgh1.wleiden.net
|
|---|
| 65 |
|
|---|
| 66 | IP=172.16.0.130/30
|
|---|
| 67 | DHCP=no
|
|---|
| 68 | EW2
|
|---|
| 69 |
|
|---|
| 70 |
|
|---|
| 71 | #########################vierde wireless kaart#######################
|
|---|
| 72 | $config{'wi3'}=sprintf <<EW3;
|
|---|
| 73 | TYPE=wireless
|
|---|
| 74 | DESC=Link naar Som
|
|---|
| 75 | SDESC=2som
|
|---|
| 76 |
|
|---|
| 77 | MODE=managed
|
|---|
| 78 | ESSID=il-nw.som.wleiden.net
|
|---|
| 79 |
|
|---|
| 80 | IP=172.16.0.198/30
|
|---|
| 81 | DHCP=no
|
|---|
| 82 | EW3
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.