Changeset 8261 in genesis for nodes/CNodeSOM2


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

    r8218 r8261  
    1010$status='up';
    1111
    12 $config{'ath0'}=sprintf <<ATH0;  # ap zuidoost
     12$config{'ath0'}=sprintf <<ATH0;
     13COMMENT=ap zuidoost
    1314TYPE=wireless
    1415IP=$master_ip/26
     
    2122ATH0
    2223
    23 $config{'ath0:0'}=sprintf <<ATH00;  # link Spoortje
     24$config{'ath0:0'}=sprintf <<ATH00;
     25COMMENT=link Spoortje
    2426TYPE=wireless
    2527DESC=Link naar Spoortje
     
    2931ATH00
    3032
    31 $config{'ath0:1'}=sprintf <<ATH01;  # link Zijloever
     33$config{'ath0:1'}=sprintf <<ATH01;
     34COMMENT=link Zijloever
    3235TYPE=wireless
    3336IP=172.16.1.61/30
     
    3740ATH01
    3841
    39 $config{'ath0:2'}=sprintf <<ATH02;  # link Houtmarkt
     42$config{'ath0:2'}=sprintf <<ATH02;
     43COMMENT=link Houtmarkt
    4044TYPE=wireless
    4145IP=172.16.0.49/30
     
    4549ATH02
    4650
    47 $config{'ath0:3'}=sprintf <<ATH03;  # link NodeVeldBies
     51$config{'ath0:3'}=sprintf <<ATH03;
     52COMMENT=link NodeVeldBies
    4853TYPE=wireless
    4954IP=172.16.0.121/30
     
    5358ATH03
    5459
    55 $config{'ath0:4'}=sprintf <<ATH04;  # link NodeZwet
     60$config{'ath0:4'}=sprintf <<ATH04;
     61COMMENT=link NodeZwet
    5662TYPE=wireless
    5763IP=172.16.4.137/29
     
    6167ATH04
    6268
    63 $config{'vr0'}=sprintf <<VR0;  # Ethernet naar SOM1
     69$config{'vr0'}=sprintf <<VR0;
     70COMMENT=Ethernet naar SOM1
    6471TYPE=ethernet
    6572IP=172.16.3.138/30
     
    6976VR0
    7077
    71 $config{'vr1'}=sprintf <<VR1;  # Link naar Rabo
     78$config{'vr1'}=sprintf <<VR1;
     79COMMENT=Link naar Rabo
    7280TYPE=ethernet
    7381EXTRA_TYPE=eth2wifibridge
     
    7684SDESC=2Rabo
    7785DHCP=no
    78 #MODE=bridge ap
    79 #ESSID=il-w.som2.wleiden.net
    80 #CHANNEL=140
    81 #NSMAC=
     86MODE=bridge ap
     87ESSID=il-w.som2.wleiden.net
     88CHANNEL=140
     89NSMAC=
    8290VR1
    8391
    84 $config{'vr2'}=sprintf <<VR2; # link naar Graficall
     92$config{'vr2'}=sprintf <<VR2;
     93COMMENT=link naar Graficall
    8594TYPE=ethernet
    8695EXTRA_TYPE=eth2wifibridge
     
    8998SDESC=2Graficall
    9099DHCP=no
    91 #MODE=bridge station
    92 #ESSID=il-nw.graficall.wleiden.net
    93 #CHANNEL=60
    94 #NSMAC=
     100MODE=bridge station
     101ESSID=il-nw.graficall.wleiden.net
     102CHANNEL=60
     103NSMAC=
    95104VR2
    96105
Note: See TracChangeset for help on using the changeset viewer.