Changeset 479

Show
Ignore:
Timestamp:
06/01/08 11:23:07 (3 months ago)
Author:
ChrisPHL
Message:

fixed issue about establishing MyPlace? without any encryption

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/sbin/ifup

    r469 r479  
    170170                         
    171171                        iwconfig ath2 channel 0 
    172                          
     172 
    173173                        case "$wanenc" in 
    174174                                wpa|WPA) 
     
    189189                                ;; 
    190190                                *) 
     191                                        iwconfig ath2 key open off 
    191192                                        iwconfig ath2 essid "$wanrssid" 
    192193                                ;; 
    193194                        esac 
     195 
    194196                        echo "`uptime | awk -F" " '{print $1}'`: $0 wandhcp=$wandhcp" >>/tmp/.startup_log 
    195197                        case "$wandhcp" in 
     
    260262                                                iwconfig ath1 enc "[$privatewepkey]" 
    261263                                        } 
     264                                ;; 
     265                                open|OPEN) 
     266                                        # http://madwifi.org/users-guide/node11.html 
     267                                        #iwconfig ath1 key off 
    262268                                ;; 
    263269                        esac 
  • trunk/www/cgi-bin/webif/private.sh

    r471 r479  
    123123                        ;; 
    124124                        *) 
     125                                get_default oldenc private oldenc 
     126                                if [ "$FORM_oldenc" != "WEP" -a "$FORM_oldenc" != "OPEN" ]; then 
     127                                        reboot_mandatory=1 
     128                                else 
     129                                        reboot_mandatory=0 
     130                                fi 
    125131                                save_setting fon private encryption OPEN 
    126132                                save_setting fon private oldenc "$FORM_auth"