Changeset 8261 in genesis for nodes/CNodeLeythenrode


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

    r8137 r8261  
    1010$Y='463407';
    1111
    12 $config{'ath0'}=sprintf <<ATH0;  # Ap voor buurt
     12$COMMENT=sprintf <<EOF;
     13##configuration of local AP's
     14##
     15AP-1 zuidoost
     16ESSID=ap-zo.leythenrode
     17LAN_IP=172.17.0.3/24
     18MODE=bridge
     19CHANNEL=2
     20##
     21AP-2 zuidwest
     22ESSID=ap-zw.leythenrode
     23LAN_IP=172.17.0.4/24
     24MODE=bridge
     25CHANNEL=11
     26#
     27AP-3 noordwest
     28ESSID=ap-nw.leythenrode
     29LAN_IP=172.17.0.5/24
     30MODE=bridge
     31CHANNEL=5
     32#
     33AP-4 noordoost
     34ESSID=ap-no.leythenrode
     35LAN_IP=172.17.0.6/24
     36MODE=bridge
     37CHANNEL=8
     38EOF
     39
     40$config{'ath0'}=sprintf <<ATH0;
     41COMMENT=Ap voor buurt
    1342TYPE=wireless
    1443IP=$master_ip/26
     
    2150ATH0
    2251
    23 $config{'ue0'}=sprintf <<UE0;  # ethernet to local subnet with PoE
     52$config{'ue0'}=sprintf <<UE0;
     53COMMENT=ethernet to local subnet with PoE
    2454IP=172.17.0.2/24
    2555DESC=local ethernet with proxy7 and local clients (ap's bridge)
     
    2959UE0
    3060
    31 #configuration of local AP's
    32 #
    33 #AP-1 zuidoost
    34 #ESSID=ap-zo.leythenrode
    35 #LAN_IP=172.17.0.3/24
    36 #MODE=bridge
    37 #CHANNEL=2
    38 #
    39 #AP-2 zuidwest
    40 #ESSID=ap-zw.leythenrode
    41 #LAN_IP=172.17.0.4/24
    42 #MODE=bridge
    43 #CHANNEL=11
    4461
    45 #AP-3 noordwest
    46 #ESSID=ap-nw.leythenrode
    47 #LAN_IP=172.17.0.5/24
    48 #MODE=bridge
    49 #CHANNEL=5
    50 
    51 #AP-4 noordoost
    52 #ESSID=ap-no.leythenrode
    53 #LAN_IP=172.17.0.6/24
    54 #MODE=bridge
    55 #CHANNEL=8
    56 
    57 $config{'vr0'}=sprintf <<VR0; # a-link naar AA24
     62$config{'vr0'}=sprintf <<VR0;
     63COMMENT=a-link naar AA24
    5864TYPE=ethernet
    5965EXTRA_TYPE=eth2wifibridge
     
    6167DESC=Ethernet naar interlink zuidoost (AA24)
    6268SDESC=2AA24
    63 #MODE=master
    64 #ESSID=il-zo.leythenrode.wleiden.net
    65 #CHANNEL=100
    66 #NSMAC=00:15:6D:EB:F1:33
     69MODE=master
     70ESSID=il-zo.leythenrode.wleiden.net
     71CHANNEL=100
     72NSMAC=00:15:6D:EB:F1:33
    6773VR0
    6874
    69 $config{'vr1'}=sprintf <<VR1; # a-link naar Graficall via Nanostation5
     75$config{'vr1'}=sprintf <<VR1;
     76COMMENT=a-link naar Graficall via Nanostation5
    7077TYPE=ethernet
    7178EXTRA_TYPE=eth2wifibridge
     
    7380DESC=Ethernet naar interlink noordoost (graficall)
    7481SDESC=2Graficall
    75 #MODE=master
    76 #ESSID=il-no.leythenrode.wleiden.net
    77 #CHANNEL=52
    78 #NSMAC=00:15:6D:BD:8A:06
    79 #NS_IP=192.168.1.20
     82MODE=master
     83ESSID=il-no.leythenrode.wleiden.net
     84CHANNEL=52
     85NSMAC=00:15:6D:BD:8A:06
     86NS_IP=192.168.1.20
    8087VR1
    8188
    82 $config{'vr2'}=sprintf <<VR2; # a-link to DeClercq via Nanostation5
     89$config{'vr2'}=sprintf <<VR2;
     90COMMENT=a-link to DeClercq via Nanostation5
    8391TYPE=ethernet
    8492EXTRA_TYPE=eth2wifibridge
     
    8694DESC=ethernet naar interlink zuidwest (DeClercq))
    8795SDESC=2DeClercq
    88 #MODE=master
    89 #ESSID=il-zw.leythenrode.wleiden.net
    90 #CHANNEL=44
     96MODE=master
     97ESSID=il-zw.leythenrode.wleiden.net
     98CHANNEL=44
    9199VR2
    92100
    93 $config{'vr2:0'}=sprintf <<VR20; # temp. a-link to Roomburgh2 via Nanostation5
     101$config{'vr2:0'}=sprintf <<VR20;
     102COMMENT=temp. a-link to Roomburgh2 via Nanostation5
    94103TYPE=ethernet
    95104EXTRA_TYPE=eth2wifibridge
     
    97106DESC=ethernet naar interlink zuidwest (Roomburgh2)
    98107SDESC=2Roomburgh2
    99 #MODE=master
    100 #ESSID=il-zw.leythenrode.wleiden.net
    101 #CHANNEL=44
     108MODE=master
     109ESSID=il-zw.leythenrode.wleiden.net
     110CHANNEL=44
    102111VR20
    103112
Note: See TracChangeset for help on using the changeset viewer.