Changeset 8261 in genesis for nodes/CNodeUniGor/wleiden.conf


Ignore:
Timestamp:
Aug 8, 2010, 12:14:27 PM (14 years ago)
Author:
rick
Message:
  • 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • nodes/CNodeUniGor/wleiden.conf

    r8209 r8261  
    1313$Y='464813';
    1414
    15 $config{'ath0'}=sprintf <<ATH0;  # AP Richting oost
     15$config{'ath0'}=sprintf <<ATH0;
     16COMMENT=AP Richting oost
    1617TYPE=wireless
    1718IP=$master_ip/26
     
    2425ATH0
    2526
    26 $config{'vr0'}=sprintf <<VR0;  # AP Richting zuid via Bullet 1
     27$config{'vr0'}=sprintf <<VR0;
     28COMMENT=AP Richting zuid via Bullet 1
    2729TYPE=ethernet
    2830IP=172.22.8.1/26
     
    3032SDESC=no
    3133DHCP=10-60
    32 #Bullet_IP=192.168.1.20
    33 #BulletMAC=
    34 #MODE=master
    35 #ESSID=ap-WirelessLeiden-Unigor-zuid
    36 #CHANNEL=7
     34Bullet_IP=192.168.1.20
     35BulletMAC=
     36MODE=master
     37ESSID=ap-WirelessLeiden-Unigor-zuid
     38CHANNEL=7
    3739VR0
    3840
    39 $config{'vr1'}=sprintf <<VR1;  # A link naar Cope via nanostation 1
     41$config{'vr1'}=sprintf <<VR1;
     42COMMENT=A link naar Cope via nanostation 1
    4043TYPE=ethernet
    4144IP=172.16.4.33/30
     
    4346SDESC=2copeA
    4447DHCP=no
    45 #ESSID=il-Z0.unigor.wleiden.net
    46 #CHANNEL=128
     48ESSID=il-Z0.unigor.wleiden.net
     49CHANNEL=128
    4750#mode 11a bridge master
    48 #IP nanostation 192.168.1.20
    49 #NSMAC=00:15:6D:F2:38:A0
     51NANO_IP=192.168.1.20
     52NSMAC=00:15:6D:F2:38:A0
    5053VR1
    5154
    52 $config{'vr1:0'}=sprintf <<VR10;  # A link naar LUMC
     55$config{'vr1:0'}=sprintf <<VR10;
     56COMMENT=A link naar LUMC
    5357TYPE=ethernet
    5458IP=172.16.4.81/29
     
    5862VR10
    5963
    60 $config{'vr2'}=sprintf <<VR2;  # A link naar Robijn via nanostation 2
     64$config{'vr2'}=sprintf <<VR2;
     65COMMENT=A link naar Robijn via nanostation 2
    6166TYPE=ethernet
    6267IP=172.16.4.37/30               
     
    6469SDESC=2robijnA
    6570DHCP=no
    66 #IP nanostation 192.168.1.20
    67 #NSMAC=00:15:6D:F2:38:BD
    68 #MODE=master
    69 #ESSID=ilA-z.unigor.wleiden.net
    70 #CHANNEL=104
     71NANO_IP=192.168.1.20
     72NSMAC=00:15:6D:F2:38:BD
     73MODE=master
     74ESSID=ilA-z.unigor.wleiden.net
     75CHANNEL=104
    7176VR2
    7277
    73 $config{'vr2:0'}=sprintf <<VR20;  # A Link naar Zwaluwak via nanostation 2
     78$config{'vr2:0'}=sprintf <<VR20;
     79COMMENT=A Link naar Zwaluwak via nanostation 2
    7480TYPE=ethernet
    7581IP=172.16.4.21/30
     
    7884VR20
    7985
    80 $config{'vr3'}=sprintf <<VR3;   # Link naar AZC via bullet 2
     86$config{'vr3'}=sprintf <<VR3;
     87COMMENT=Link naar AZC via bullet 2
    8188TYPE=ethernet
    8289IP=172.16.0.165/30
     
    8491SDESC=2azc
    8592DHCP=no
    86 #Bullet_IP=192.168.1.20
    87 #BulletMAC=
    88 #MODE=master
    89 #ESSID=n-o.unigor.wleiden.net
    90 #CHANNEL=1
     93Bullet_IP=192.168.1.20
     94BulletMAC=
     95MODE=master
     96ESSID=n-o.unigor.wleiden.net
     97CHANNEL=1
    9198VR3
    9299
    93 $config{'vr3:0'}=sprintf <<VR30;  # Link naar Brug via bullet 2
     100$config{'vr3:0'}=sprintf <<VR30;
     101COMMENT=Link naar Brug via bullet 2
    94102TYPE=ethernet
    95103IP=172.16.0.17/30
     
    99107VR30
    100108
    101 $config{'vr3:1'}=sprintf <<VR31;  # Link naar Camimplants via bullet 2
     109$config{'vr3:1'}=sprintf <<VR31;
     110COMMENT=Link naar Camimplants via bullet 2
    102111TYPE=ethernet
    103112IP=172.16.1.117/30
     
    107116VR31
    108117
    109 $config{'sis0'}=sprintf <<SIS0;  # a-link Nanostation5 naar DirkLos2
     118$config{'sis0'}=sprintf <<SIS0;
     119COMMENT=a-link Nanostation5 naar DirkLos2
    110120TYPE=ethernet
    111121EXTRA_TYPE=eth2wifibridge
     
    114124SDESC=2DirkLos2
    115125DHCP=no
    116 #IP nanostation 172.16.4.2
    117 #NSMAC=00:15:6D:D0:14:75
    118 #ESSID=il-0.unigor.wleiden.net
    119 #CHANNEL=52
    120 #mode 11a bridge master
     126NANO_IP=172.16.4.2
     127NSMAC=00:15:6D:D0:14:75
     128ESSID=il-0.unigor.wleiden.net
     129CHANNEL=52
     130MODE 11a bridge master
    121131SIS0
    122132
    123 $config{'sis1'}=sprintf <<SIS1;  # EthernetLink UniGorN
     133$config{'sis1'}=sprintf <<SIS1;
     134COMMENT=EthernetLink UniGorN
    124135TYPE=ethernet
    125136IP=172.16.1.169/30
     
    129140SIS1
    130141
    131 $config{'sis2'}=sprintf <<SIS2;  # Ethernet
     142$config{'sis2'}=sprintf <<SIS2;
     143COMMENT=Ethernet
    132144TYPE=ethernet
    133145IP=172.19.128.65/28
Note: See TracChangeset for help on using the changeset viewer.