Changeset 7036 in genesis


Ignore:
Timestamp:
Jul 11, 2009, 9:16:51 AM (15 years ago)
Author:
rick
Message:

Bind configuration is going to the next level

Location:
tools/iris
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tools/iris/genesis.conf

    r6711 r7036  
    99
    1010#author credits
    11 $author="feb 2003 jasper\@WirelessLeiden.NL \| maart 2005 rick\@WirelessLeiden.NL";
     11$author="feb 2003 jasper\@WirelessLeiden.NL \| maart 2005/jul 2009 rick\@WirelessLeiden.NL";
    1212
    1313#filelist
     
    1616$filelist[1]="rc.node.local";
    1717$filelist[2]="resolv.conf";
    18 $filelist[3]="named.conf";
     18#$filelist[3]="named.conf";
    1919$filelist[4]="txtconfig";
    2020$filelist[5]="authorized_keys";
     
    3535
    3636chomp($hostname);
    37 $cgi_dir="http://$hostname/freebsd/7.0";
     37$cgi_dir="http://$hostname/freebsd/iris";
    3838$source="$cgi_dir/g_list.pl";
    3939
     
    4141$home="/usr/local/www/wlconfig.wirelessleiden.nl";
    4242$ndir="$home/nodes";
    43 $toolfile="$home/freebsd/7.0/wleiden.pl";
     43$toolfile="$home/freebsd/iris/wleiden.pl";
    4444
    4545
  • tools/iris/wleiden.pl

    r6665 r7036  
    210210        $output .= " $CARD_OPTION{$interface}";
    211211        if( $TYPE{$if} =~ /wireless/i ) {
    212           $output .= " ssid $ESSID{$interface} media DS/11Mbps";
     212          $output .= " ssid $ESSID{$interface}";
     213          if ( $SUBTYPE{$if} =~ /802.11a/i ) {
     214            $output .= " mode 11a";
     215          } elsif ( $SUBTYPE{$if} =~ /802.11g/i ) {
     216            $output .= " mode 11g";
     217          } else {
     218            # Default output
     219            $output .= " mode 11b";
     220          }
    213221
    214222          if( $MODE{$if}=~/master/i ) {
     
    232240  $output .=
    233241  "search wleiden.net.\n" .
     242  "nameserver 172.17.8.68    # proxy1\n" .
     243  "nameserver 172.17.143.4   # proxy2\n" .
     244  "nameserver 172.20.128.98  # proxy3\n" .
     245  "nameserver 172.16.2.254   # proxy4\n" .
     246  "nameserver 172.19.168.66  # proxy5\n" .
     247  "\n" .
     248  "# \n" .
     249  "# Legacy nameservers\n" .
    234250  "nameserver 127.0.0.1\n" .
    235251  "\n";
Note: See TracChangeset for help on using the changeset viewer.