Changeset 7036 in genesis for tools/iris/wleiden.pl


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

Bind configuration is going to the next level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.