| Last change
 on this file since 8261 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:
            1018 bytes | 
      
      
| Line |  | 
|---|
| 1 | # | 
|---|
| 2 | #  Read by /usr/local/sbin/wireless-up.pl | 
|---|
| 3 | # | 
|---|
| 4 | # config CNodeBrug | 
|---|
| 5 | $location="School de Brug, Wassenaarseweg 499,  2333 AL, Leiden"; | 
|---|
| 6 | $master_ip='172.19.160.1'; | 
|---|
| 7 | $nodetype='CNode'; | 
|---|
| 8 | $nodename='Brug'; | 
|---|
| 9 | $release="5.0-RELEASE"; | 
|---|
| 10 |  | 
|---|
| 11 | $DISK='FLASH'; | 
|---|
| 12 |  | 
|---|
| 13 | # edugis x,y 92258,465048 | 
|---|
| 14 | $X='92258'; | 
|---|
| 15 | $Y='465048'; | 
|---|
| 16 |  | 
|---|
| 17 | $status='up'; | 
|---|
| 18 |  | 
|---|
| 19 | $config{'sis0'}=sprintf <<SIS0; | 
|---|
| 20 | COMMENT=eth | 
|---|
| 21 | TYPE=ethernet | 
|---|
| 22 | IP=172.19.160.65/29 | 
|---|
| 23 |  | 
|---|
| 24 |  | 
|---|
| 25 | DESC=Ethernet naar de school | 
|---|
| 26 | SDESC=eth | 
|---|
| 27 |  | 
|---|
| 28 | DHCP=no | 
|---|
| 29 |  | 
|---|
| 30 |  | 
|---|
| 31 | SIS0 | 
|---|
| 32 |  | 
|---|
| 33 |  | 
|---|
| 34 | $config{'wi0'}=sprintf <<EW0; | 
|---|
| 35 | COMMENT=Locale Omni | 
|---|
| 36 | TYPE=wireless | 
|---|
| 37 | IP=$master_ip/26 | 
|---|
| 38 |  | 
|---|
| 39 | DESC=Omni voor de buurt | 
|---|
| 40 | SDESC=omni | 
|---|
| 41 |  | 
|---|
| 42 | DHCP=10-60 | 
|---|
| 43 |  | 
|---|
| 44 | MODE=master | 
|---|
| 45 | ESSID=ap-omni.brug.wleiden.net | 
|---|
| 46 | CHANNEL=10 | 
|---|
| 47 |  | 
|---|
| 48 |  | 
|---|
| 49 |  | 
|---|
| 50 | EW0 | 
|---|
| 51 |  | 
|---|
| 52 |  | 
|---|
| 53 | $config{'wi1'}=sprintf <<EW1; | 
|---|
| 54 | COMMENT=Link naar Unigor | 
|---|
| 55 | TYPE=wireless | 
|---|
| 56 | IP=172.16.0.18/30 | 
|---|
| 57 | DESC=Link naar Unigor | 
|---|
| 58 | SDESC=2Unigor | 
|---|
| 59 |  | 
|---|
| 60 |  | 
|---|
| 61 | MODE=managed | 
|---|
| 62 | ESSID=n-o.unigor.wleiden.net | 
|---|
| 63 | CHANNEL=1 | 
|---|
| 64 |  | 
|---|
| 65 |  | 
|---|
| 66 | DHCP=no | 
|---|
| 67 | EW1 | 
|---|
| 68 |  | 
|---|
| 69 | $config{'wi2'}=sprintf <<EW2; | 
|---|
| 70 | COMMENT=Link naar Lijtweg2 | 
|---|
| 71 | TYPE=wireless | 
|---|
| 72 | IP=172.16.1.178/30 | 
|---|
| 73 | DESC=Link naar Lijtweg2 | 
|---|
| 74 | SDESC=2lijtweg2 | 
|---|
| 75 |  | 
|---|
| 76 | MODE=managed | 
|---|
| 77 | ESSID=il-z.lijtweg2.wleiden.net | 
|---|
| 78 |  | 
|---|
| 79 |  | 
|---|
| 80 |  | 
|---|
| 81 | DHCP=no | 
|---|
| 82 | EW2 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.