Changeset 8261 in genesis for nodes/CNodeCeTIM2


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/CNodeCeTIM2/wleiden.conf

    r8260 r8261  
    1111$Y='463704';
    1212
    13 $config{'ath0'}=sprintf <<ATH0;  # APs Z+W
     13$config{'ath0'}=sprintf <<ATH0;
     14COMMENT=APs Z+W
    1415TYPE=wireless
    1516IP=$master_ip/26
     
    2223ATH0
    2324
    24 $config{'ath0:1'}=sprintf <<ATH01;  # link naar Burcht
     25$config{'ath0:1'}=sprintf <<ATH01;
     26COMMENT=link naar Burcht
    2527TYPE=wireless
    2628IP=172.16.0.105/30
     
    3032ATH01
    3133
    32 $config{'vr0'}=sprintf <<VR0;  # Ethernet naar CeTIM1
     34$config{'vr0'}=sprintf <<VR0;
     35COMMENT=Ethernet naar CeTIM1
    3336TYPE=ethernet
    3437IP=172.16.0.34/30
     
    3841VR0
    3942
    40 $config{'vr1'}=sprintf <<VR1;  # a-link Nanostation5 Noord-West
     43$config{'vr1'}=sprintf <<VR1;
     44COMMENT=a-link Nanostation5 Noord-West
    4145TYPE=ethernet
    4246EXTRA_TYPE=eth2wifibridge
     
    4549SDESC=2lvln
    4650DHCP=no
    47 #ESSID=il-nw.cetim2.wleiden.net
    48 #CHANNEL=124
     51ESSID=il-nw.cetim2.wleiden.net
     52CHANNEL=124
    4953#mode 11a bridge master                                                                       
    5054VR1
    5155
    52 $config{'vr1:1'}=sprintf <<VR11;  # link naar OB
     56$config{'vr1:1'}=sprintf <<VR11;
     57COMMENT=link naar OB
    5358TYPE=ethernet
    5459IP=172.16.0.161/30
     
    5863VR11
    5964
    60 $config{'vr1:2'}=sprintf <<VR12;  # link naar Rund
     65$config{'vr1:2'}=sprintf <<VR12;
     66COMMENT=link naar Rund
    6167TYPE=ethernet
    6268IP=172.16.0.181/30
     
    6672VR12
    6773
    68 $config{'vr2'}=sprintf <<VR2;  #Interlinks ZW
     74$config{'vr2'}=sprintf <<VR2;
     75COMMENT=Interlinks ZW
    6976TYPE=ethernet
    7077EXTRA_TYPE=eth2wifibridge
     
    7380SDESC=2imi
    7481DHCP=no
    75 #MODE=11a bridge master
    76 #ESSID=il-zw.cetim2.wleiden.net
    77 #CHANNEL=116
     82MODE=11a bridge master
     83ESSID=il-zw.cetim2.wleiden.net
     84CHANNEL=116
    7885VR2
    7986
    80 $config{'vr2:0'}=sprintf <<VR20;  # link naar Huub
     87$config{'vr2:0'}=sprintf <<VR20;
     88COMMENT=link naar Huub
    8189TYPE=ethernet
    8290IP=172.16.4.25/29
     
    8694VR20
    8795
    88 $config{'ue0'}=sprintf <<UEO;  # Ethernet naar lokaal AP
     96$config{'ue0'}=sprintf <<UEO;
     97COMMENT=Ethernet naar lokaal AP
    8998TYPE=ethernet
    9099EXTRA_TYPE=eth2wifibridge
     
    93102SDESC=lokaalAP
    94103DHCP=10-250
    95 #ESSID=ap-WirelessLeiden-HooglandseKerk
    96 #CHANNEL=6
    97 #MODE 11b bridge master
     104ESSID=ap-WirelessLeiden-HooglandseKerk
     105CHANNEL=6
     106MODE 11b bridge master
    98107UEO
    99108
Note: See TracChangeset for help on using the changeset viewer.