[7272] | 1 | # template, deze vijf regels verwijderen
|
---|
| 2 | # regels met #? aanpassen en #? verwijderen
|
---|
| 3 | # de letters x,y,n,a,b,c en ri vervangen
|
---|
| 4 | # <tekst> vervangen door juiste tekst zonder <>
|
---|
| 5 | # dus..CNode<nodenaam> wordt CNodeExample
|
---|
| 6 | #
|
---|
| 7 | #
|
---|
| 8 | # Read by /usr/local/sbin/wireless-up.pl
|
---|
| 9 | #
|
---|
| 10 | # config CNodeTest
|
---|
| 11 | $node_config_version="1";
|
---|
| 12 | $status='planned';
|
---|
| 13 | $genesis_control="YES";
|
---|
| 14 | $gw_open='closed';
|
---|
| 15 |
|
---|
| 16 | $OS='FreeBSD';
|
---|
| 17 | $release="5.0-RELEASE";
|
---|
| 18 |
|
---|
| 19 | $location='testnode op apothekersdijk';
|
---|
| 20 | $X='93513';
|
---|
| 21 | $Y='463973';
|
---|
| 22 |
|
---|
| 23 | $nodetype='CNode';
|
---|
| 24 | $nodename='Test';
|
---|
| 25 | $master_ip='172.17.162.1';
|
---|
| 26 |
|
---|
| 27 | ##########################ethernet######################
|
---|
| 28 | $config{'ep0'}=sprintf <<EP0; # Ethernet
|
---|
| 29 | TYPE=ethernet
|
---|
| 30 | DESC=ethernet
|
---|
| 31 | SDESC=eth
|
---|
| 32 | IP=172.17.162.65/28
|
---|
| 33 | DHCP=no
|
---|
| 34 | EP0
|
---|
| 35 |
|
---|
| 36 |
|
---|
| 37 | ########################alias interface########################
|
---|
| 38 | $config{'ep0:0'}=sprintf <<EP00;
|
---|
| 39 | TYPE=ethernet
|
---|
| 40 | DESC=Link naar tested node
|
---|
| 41 | SDESC=2testednode
|
---|
| 42 | IP=172.16.0.225/30
|
---|
| 43 | POINT_TO_POINT=172.16.0.226
|
---|
| 44 | DHCP=no
|
---|
| 45 | EP00
|
---|
| 46 |
|
---|
| 47 | ########################alias interface########################
|
---|
| 48 | $config{'ep0:1'}=sprintf <<EP01;
|
---|
| 49 | TYPE=ethernet
|
---|
| 50 | DESC=CENTRUMpublic
|
---|
| 51 | SDESC=none
|
---|
| 52 | IP=172.17.161.99/28
|
---|
| 53 | #POINT_TO_POINT=172.16.0.226
|
---|
| 54 | DHCP=no
|
---|
| 55 | EP01
|
---|
| 56 |
|
---|
| 57 |
|
---|
| 58 | #########################eerste wireless kaart#######################
|
---|
| 59 | $config{'wi0'}=sprintf <<EW0;
|
---|
| 60 | TYPE=wireless
|
---|
| 61 | DESC=master voor tested1
|
---|
| 62 | SDESC=2tested1
|
---|
| 63 | MODE=master
|
---|
| 64 | ESSID=il-1.test.wleiden.net
|
---|
| 65 | CHANNEL=1
|
---|
| 66 | IP=172.16.1.9/30
|
---|
| 67 | POINT_TO_POINT=172.16.1.10
|
---|
| 68 | DHCP=no
|
---|
| 69 | EW0
|
---|
| 70 |
|
---|
| 71 | #########################alias interface########################
|
---|
| 72 | $config{'wi0:0'}=sprintf <<EW00;
|
---|
| 73 | TYPE=wireless
|
---|
| 74 | DESC=Link naar Tested2
|
---|
| 75 | SDESC=2tested2
|
---|
| 76 | IP=172.16.1.209/30
|
---|
| 77 | POINT_TO_POINT=172.16.1.210
|
---|
| 78 | DHCP=no
|
---|
| 79 | EW00
|
---|
| 80 |
|
---|
| 81 | #########################tweede wireless kaart#######################
|
---|
| 82 | $config{'wi1'}=sprintf <<EW1;
|
---|
| 83 | TYPE=wireless
|
---|
| 84 | DESC=Link naar tested3
|
---|
| 85 | SDESC=2tested3
|
---|
| 86 |
|
---|
| 87 | MODE=managed
|
---|
| 88 | ESSID=il-3.tested.wleiden.net
|
---|
| 89 |
|
---|
| 90 |
|
---|
| 91 | IP=172.16.1.138/30
|
---|
| 92 | POINT_TO_POINT=172.16.1.137
|
---|
| 93 | DHCP=no
|
---|
| 94 | EW1
|
---|
| 95 |
|
---|
| 96 |
|
---|
| 97 |
|
---|
| 98 |
|
---|
| 99 | #########################derde wireless kaart#######################
|
---|
| 100 | $config{'wi2'}=sprintf <<EW2;
|
---|
| 101 | TYPE=wireless
|
---|
| 102 | DESC=Link2 naar Tested3
|
---|
| 103 | SDESC=2:2tested3
|
---|
| 104 |
|
---|
| 105 | MODE=managed
|
---|
| 106 | ESSID=il-3.tested.wleiden.net
|
---|
| 107 |
|
---|
| 108 | IP=172.16.1.146/30
|
---|
| 109 | POINT_TO_POINT=172.16.1.145
|
---|
| 110 | DHCP=no
|
---|
| 111 | EW2
|
---|
| 112 |
|
---|
| 113 |
|
---|
| 114 | #########################vierde wireless kaart#######################
|
---|
| 115 | $config{'wi3'}=sprintf <<EW3;
|
---|
| 116 | TYPE=wireless
|
---|
| 117 | DESC=Link naar Tested4
|
---|
| 118 | SDESC=2tested4
|
---|
| 119 |
|
---|
| 120 |
|
---|
| 121 | MODE=master
|
---|
| 122 | ESSID=il-4.test.wleiden.net
|
---|
| 123 | CHANNEL=4
|
---|
| 124 |
|
---|
| 125 | IP=172.16.2.5/30
|
---|
| 126 | POINT_TO_POINT=172.16.2.6
|
---|
| 127 | DHCP=no
|
---|
| 128 | EW3
|
---|
| 129 |
|
---|
| 130 |
|
---|