Changeset 479
- Timestamp:
- 06/01/08 11:23:07 (3 months ago)
- Files:
-
- trunk/sbin/ifup (modified) (3 diffs)
- trunk/www/cgi-bin/webif/private.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/sbin/ifup
r469 r479 170 170 171 171 iwconfig ath2 channel 0 172 172 173 173 case "$wanenc" in 174 174 wpa|WPA) … … 189 189 ;; 190 190 *) 191 iwconfig ath2 key open off 191 192 iwconfig ath2 essid "$wanrssid" 192 193 ;; 193 194 esac 195 194 196 echo "`uptime | awk -F" " '{print $1}'`: $0 wandhcp=$wandhcp" >>/tmp/.startup_log 195 197 case "$wandhcp" in … … 260 262 iwconfig ath1 enc "[$privatewepkey]" 261 263 } 264 ;; 265 open|OPEN) 266 # http://madwifi.org/users-guide/node11.html 267 #iwconfig ath1 key off 262 268 ;; 263 269 esac trunk/www/cgi-bin/webif/private.sh
r471 r479 123 123 ;; 124 124 *) 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 125 131 save_setting fon private encryption OPEN 126 132 save_setting fon private oldenc "$FORM_auth"
