#!/bin/bash

wlanconfig ath0 destroy > /dev/null 2>&1

wlanconfig ath0 create wlandev wifi0 wlanmode ap bssid

ifconfig ath0 up

iwconfig ath0 mode Master

iwconfig ath0 rate auto

iwconfig ath0 channel 2

