Changeset 8261 in genesis for nodes/CNodeLijtweg2


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

    r8260 r8261  
    1010$Y='466702';
    1111
    12 $config{'ath0'}=sprintf <<ATH0;  # ap zuid
     12$config{'ath0'}=sprintf <<ATH0;
     13COMMENT=ap zuid
    1314TYPE=wireless
    1415IP=$master_ip/26
     
    2122ATH0
    2223
    23 $config{'ue0'}=sprintf <<UE0;  # Ethernet naar Lijtweg1
     24$config{'ue0'}=sprintf <<UE0;
     25COMMENT=Ethernet naar Lijtweg1
    2426TYPE=ethernet
    2527IP=172.16.253.2/30
     
    2931UE0
    3032
    31 $config{'ue1'}=sprintf <<UE1;  # Link naar AZC
     33$config{'ue1'}=sprintf <<UE1;
     34COMMENT=Link naar AZC
    3235TYPE=ethernet
    3336EXTRA_TYPE=eth2wifibridge
     
    3639IP=172.16.1.98/30
    3740DHCP=no
    38 #MODE=bridge station
    39 #ESSID=il-n.azc.wleiden.net
    40 #CHANNEL=7
    41 #NS_IP=192.168.1.21
    42 #BulletMAC=
     41MODE=bridge station
     42ESSID=il-n.azc.wleiden.net
     43CHANNEL=7
     44NS_IP=192.168.1.21
     45BulletMAC=
    4346UE1
    4447
    45 $config{'vr0'}=sprintf <<VR0; # Link naar Rustenborch
     48$config{'vr0'}=sprintf <<VR0;
     49COMMENT=Link naar Rustenborch
    4650TYPE=ethernet
    4751EXTRA_TYPE=eth2wifibridge
     
    5054SDESC=2rustenborch
    5155DHCP=no
    52 #MODE=bridge ap
    53 #ESSID=il-w.lijtweg2.wleiden.net
    54 #CHANNEL=144
    55 #NS_IP=192.168.1.20
    56 #NSMAC=
     56MODE=bridge ap
     57ESSID=il-w.lijtweg2.wleiden.net
     58CHANNEL=144
     59NS_IP=192.168.1.20
     60NSMAC=
    5761VR0
    5862
    59 $config{'vr1'}=sprintf <<VR1; # Link naar Brug
     63$config{'vr1'}=sprintf <<VR1;
     64COMMENT=Link naar Brug
    6065TYPE=ethernet
    6166EXTRA_TYPE=eth2wifibridge
     
    6469SDESC=2brug
    6570DHCP=no
    66 #MODE=bridge ap
    67 #ESSID=il-z.lijtweg2.wleiden.net
    68 #CHANNEL=132
    69 #NS_IP=192.168.1.20
    70 #NSMAC=
     71MODE=bridge ap
     72ESSID=il-z.lijtweg2.wleiden.net
     73CHANNEL=132
     74NS_IP=192.168.1.20
     75NSMAC=
    7176VR1
    7277
    73 $config{'vr1:0'}=sprintf <<VR10; # Link naar Camimplants
     78$config{'vr1:0'}=sprintf <<VR10;
     79COMMENT=Link naar Camimplants
    7480TYPE=ethernet
    7581EXTRA_TYPE=eth2wifibridge
     
    8086VR10
    8187
    82 $config{'vr2'}=sprintf <<VR2; # Link naar Broekplein
     88$config{'vr2'}=sprintf <<VR2;
     89COMMENT=Link naar Broekplein
    8390TYPE=ethernet
    8491EXTRA_TYPE=eth2wifibridge
     
    8794SDESC=2broekplein
    8895DHCP=no
    89 #MODE=bridge station
    90 #ESSID=il-w.broekplein.wleiden.net
    91 #CHANNEL=44
    92 #NS_IP=192.168.1.21
    93 #NSMAC=
     96MODE=bridge station
     97ESSID=il-w.broekplein.wleiden.net
     98CHANNEL=44
     99NS_IP=192.168.1.21
     100NSMAC=
    94101VR2
    95102
Note: See TracChangeset for help on using the changeset viewer.