--- elwix/config/etc/default/rc.d/011.ap_wpa.stop 2011/10/25 13:03:40 1.1.1.1.4.1 +++ elwix/config/etc/default/rc.d/011.ap_wpa.stop 2011/12/20 22:38:06 1.2.2.1 @@ -21,13 +21,13 @@ IP="172.31.1.1/30" echo "Config wireless AP (WPA) interface $IFACE ..." ifconfig $IFACE create wlandev $WIFIDEV wlanmode hostap -ifconfig $IFACE regdomain $REGDOMAIN -ifconfig $IFACE country $COUNTRY +#ifconfig $IFACE regdomain $REGDOMAIN +#ifconfig $IFACE country $COUNTRY ifconfig $IFACE $WIFIOPTS ifconfig $IFACE bintval $BINT ifconfig $IFACE channel $CHAN -mkhostconf $IFACE wpa $WPAPASS +mkhostconf $IFACE wpa "$WPAPASS" ifconfig $IFACE ssid $SSID ifconfig $IFACE inet ${IP} ${OPT} up